跳到正文
cccskills
免费在 GitHub 公开

skill-creator

Plan and package agent skills by defining their use cases, structuring SKILL.md, and choosing optional scripts, references, or assets. The guide covers naming, initialization, editing, validation, packaging, and iteration for project-specific skills.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create or update skills. Use when designing, structuring, or packaging skills with scripts, references, and assets.

HKUDS/AutoSwarm星标 2,019(GitHub 2,019 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Turning a repeated workflow into a reusable skill
  • Structuring SKILL.md and bundled resources
  • Validating and packaging a skill for distribution

包含的文件(4)

  • SKILL.md3.9 KB
  • scripts/init_skill.py13.4 KB
  • scripts/package_skill.py4.6 KB
  • scripts/quick_validate.py6.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Skill Creator

Guidance for creating effective skills.

About Skills

Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools. Each skill is a directory containing a SKILL.md file and optional bundled resources.

What Skills Provide

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with specific file formats or APIs
  3. Domain expertise - Project-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks

Skill Locations in AutoSwarm

AutoSwarm uses a two-level skill system:

LevelPathScope
System.opc/skills/<skill-name>/Shared across all projects
Project.opc/projects/<project_id>/skills/<skill-name>/Specific to one project

Project skills with the same name override system skills. When creating new skills from project experience, always use the project level.

How Skills Are Created

Skills enter the system through two paths:

  1. Agent-driven (this skill): You identify a pattern, read this guide, and create the skill manually using init_skill.py or file_write.
  2. Auto-promoted: The system automatically distills playbook skills from repeated project reflections (threshold: 2 reflections with recurring patterns). These are saved as <employee>-<role>-<domain>-playbook under the project skills directory.

Both paths produce the same <skill-name>/SKILL.md format. This guide covers the agent-driven path; auto-promoted skills follow the same naming and format conventions.

Core Principles

Concise is Key

The context window is shared. Only add context the agent doesn't already have. Prefer concise examples over verbose explanations.

Anatomy of a Skill

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (name, description required)
│   └── Markdown instructions
└── Bundled Resources (optional)
    ├── scripts/          - Executable code
    ├── references/       - Documentation loaded as needed
    └── assets/           - Files used in output

Progressive Disclosure

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - When agent reads the skill (<5k words)
  3. Bundled resources - As needed (scripts can be executed without reading into context)

Naming

All skills — whether agent-created or auto-promoted — must follow these conventions:

  • Lowercase letters, digits, and hyphens only (e.g., backend-api-playbook)
  • Under 64 characters
  • Directory name must match the name field in frontmatter

Skill Creation Process

Step 1: Understand the skill with concrete examples

Clarify use cases: what triggers this skill, what does it produce?

Step 2: Plan reusable contents

Identify what scripts, references, and assets would help.

Step 3: Initialize the skill

For project-specific skills, create under .opc/projects/<project_id>/skills/:

python3 {baseDir}/scripts/init_skill.py <skill-name> --path .opc/projects/<project_id>/skills

Options: --resources scripts,references,assets and --examples.

Step 4: Edit the skill

Write SKILL.md with:

  • Frontmatter: name (hyphen-case, matches directory) and description (what it does + when to use it — this is the primary trigger for skill discovery)
  • Body: Instructions, examples, references to bundled resources

Step 5: Package (optional)

python3 {baseDir}/scripts/package_skill.py <path/to/skill-folder>

Validates the skill then creates a distributable .skill zip file.

Step 6: Iterate

Test, notice struggles, improve SKILL.md and resources.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clawhub

免费

Search ClawHub, a public registry for agent skills, using a natural-language query, then install a selected skill into a project or update installed skills. It also explains how to list skills already installed in that project.

中文简介正在准备中。当前显示英语简介。

  • Finding a skill for an unfamiliar task
  • Installing a selected skill in a project
  • Updating or listing project skills
HKUDS/AutoSwarm20192026年10月27日 更新

Set shared coordination practices for roles in an AutoSwarm company, including work-item boundaries, reviewable handoffs, peer messaging, meetings, and blocking requests. This playbook guides when to communicate and what information to leave for colleagues so work can continue across roles.

中文简介正在准备中。当前显示英语简介。

  • Preparing a reviewer-friendly handoff for a work item
  • Deciding when to message a teammate or request a response
  • Coordinating a meeting about a cross-role decision
HKUDS/AutoSwarm20192026年10月27日 更新

cron

免费

Use this skill to schedule recurring or one-time commands through the system crontab and `at`. It shows how to list, add, and remove jobs, with common schedules and practical notes about command paths and output logs.

中文简介正在准备中。当前显示英语简介。

  • Setting a recurring break reminder
  • Scheduling a one-time meeting reminder
  • Listing or removing scheduled jobs
HKUDS/AutoSwarm20192026年10月27日 更新

github

免费

Use the `gh` command-line tool to inspect GitHub issues, pull requests, and CI workflow runs. Check status and failure logs, retrieve specific repository data through the API, and filter structured JSON output for focused results.

中文简介正在准备中。当前显示英语简介。

  • Checking a pull request’s CI status
  • Finding failed steps in a workflow run
  • Listing recent repository workflow runs
HKUDS/AutoSwarm20192026年10月27日 更新

memory

免费

Maintain durable Markdown memory for stable preferences shared across projects and details specific to the current project. The skill guides when to update, what to exclude, and how to merge notes in the designated memory files.

中文简介正在准备中。当前显示英语简介。

  • Save a confirmed communication preference for future sessions
  • Record current project paths and coding conventions
  • Update project memory after the user confirms a lasting constraint
HKUDS/AutoSwarm20192026年10月27日 更新

Coordinate work with other agents in AutoSwarm company mode. Use the `opc-collab` CLI to send messages, ask for user input, delegate work, review a manager board, respond in meetings, and propose task changes.

中文简介正在准备中。当前显示英语简介。

  • Messaging a teammate about a blocker
  • Asking the user for missing input
  • Delegating work to direct reports
HKUDS/AutoSwarm20192026年10月27日 更新

查看 HKUDS 的全部技能

报告此技能的问题