跳到正文
cccskills
免费在 GitHub 公开

skill-creator

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(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 and install agent skills from ClawHub, the public skill registry. Use when needing new capabilities, searching for skills, installing skills, or updating installed skills.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

Standing rules for how any role in an AutoSwarm company coordinates with its peers — work-item discipline, messaging, meetings, and blocking collaboration. Loaded only in company_mode.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

cron

免费

Schedule reminders, recurring tasks, and one-time jobs using system crontab.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

github

免费

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

memory

免费

Manage durable global/project memory in `.opc/memory/global.md` and `.opc/memory/projects/<current_project_id>.md`.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

Collaborate with other agents in AutoSwarm company mode via the `opc-collab` CLI — send messages, request user input, delegate work, read the manager board, respond in meetings, propose task adjustments.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18572026年10月17日 更新

查看 HKUDS 的全部技能

报告此技能的问题