skill-artifact
Validate, diagnose, and understand Agent Skills (SKILL.md) across Claude Code, Cursor, Codex, and Copilot CLI — spec compliance, vendor loading behavior, and known quirks.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- skill-artifact
- description
- Validate, diagnose, and understand Agent Skills (SKILL.md) across Claude Code, Cursor, Codex, and Copilot CLI — spec compliance, vendor loading behavior, and known quirks.
02 资源文件 7
- 参考文档evals/eval_queries.json982 B
- 参考文档evals/evals.json5.1 KB
- 参考文档references/agentskills-spec.md1.7 KB
- 参考文档references/claude.md2.5 KB
- 参考文档references/codex.md1.6 KB
- 参考文档references/copilot.md3.4 KB
- 参考文档references/cursor.md1.2 KB
03 SKILL.md 正文
Use this skill when working with SKILL.md files — validating format, diagnosing why a skill isn't loading or appearing in the catalog, or understanding vendor-specific behavior differences.
Validate the skill the user asked about — read its SKILL.md and directory and apply the checklist below. Do not audit this skill or other installed skills unless asked.
Spec validation checklist:
- Frontmatter must parse as YAML. Quote any value containing
:or#. In Claude Code a parse failure is silent:/namestill works, but the model never sees the description (see claude reference) name: required, lowercase a-z 0-9 hyphens only, must match directory namedescription: required, 1–1024 chars, used for catalog discovery — keep under 130 chars for large skill collections- No other frontmatter fields are required by the agentskills.io spec
compatibility,license,metadatafields exist in spec but trigger a loading bug in Claude Code — see claude reference
Directory layout (agentskills.io):
skill-name/
├── SKILL.md # required
├── references/ # optional: loaded on demand
├── scripts/ # optional: must be chmod +x
└── assets/ # optional: templates, data
Progressive disclosure (all vendors):
- Catalog: name + description only (~50–100 tokens) — always loaded
- Instructions: full SKILL.md body — loaded when agent decides it's relevant or user invokes
- Resources: scripts/, references/, assets/ — loaded on demand when instructions reference them
Invocation syntax by vendor:
- Claude Code:
/plugin-name:skill-name - Codex:
$skill-name(@plugin-name skill-namefor a plugin's skills) - Cursor:
/plugin-name:skill-name - Copilot CLI:
/skill-name
Skill directories by vendor:
- Claude Code: plugin
skills/, project.claude/skills/, user~/.claude/skills/ - Cursor: plugin
skills/, project.cursor/skills/+.agents/skills/+.claude/skills/+.codex/skills/, and the same four under~/ - Codex: plugin
skills/, repo.agents/skills/(cwd up to the repo root), user~/.agents/skills/. Codex reads no.claude/,.cursor/or.github/skill path - Copilot CLI: plugin
skills/, project.github/skills/+.claude/skills/+.agents/skills/, user~/.copilot/skills/+~/.agents/skills/
Cursor and Copilot both read Claude's project skill path, so a .claude/skills/ skill is not
Claude-only: it loads in all three, but not in Codex. Only .agents/skills/ reaches Cursor,
Copilot and Codex, and Claude Code does not read it: one copy for all four means a real
directory in one place and a symlink in the other.
Copilot resolves skills by name, first-found-wins, project skills before plugin skills, so a
project skill silently shadows a plugin skill of the same name — check that before anything
else when a plugin skill "isn't loading".
Keeping a skill user-only (never model-invoked), per vendor:
- Claude Code, Cursor:
disable-model-invocation: truein the frontmatter - Codex: ignores that field; add
agents/openai.yamlbeside SKILL.md withpolicy: {allow_implicit_invocation: false} - Copilot CLI: no documented equivalent (VS Code's Copilot honors
disable-model-invocation; the CLI docs do not list it). Do not rely on it: guard side effects in the body (confirm first), or leave the skill out of the Copilot build
Limiting a skill to some files: Claude Code and Cursor take paths in the frontmatter, glob
patterns (a comma-separated string or a YAML list, e.g. paths: "**/*.tf") that keep the skill
inactive until matching files are in play; Cursor also accepts the legacy globs. Codex and
Copilot CLI skills have no such field (Copilot's applyTo belongs to .instructions.md
files, not skills): there, scope it in the description.
argument-hint, user-invocable, model, context and agent are Claude Code only. Say per
vendor what a field does, not that it "may" work.
For vendor-specific loading quirks (metadata demotion bug, context budget limits, extension fields), see the references/ directory.
04 同仓库更多 Skills
doctor
暂无简介
add-seat
Add a named seat to a Wheelhouse - a crew member, a standing role (such as a dispatcher) or a worker - as a ynh harness with its charter, standing orders and only the tools its job needs, named from the Wheelhouse's roster. Use when asked to add, create or set up a seat, role, worker or agent in a Wheelhouse (a release manager, a PR watcher, a dispatcher, a designer, more workers), or to give a role a name, or to start on a Wheelhouse's team (its starter team), one role at a time. Also use to trial, make official or drop a seat.
voice
How voices work - what a voice skill contains, how to write a new one, and how several voices compose into one reply. Use whenever drafting a reply in a named voice, or when asked to create or change a voice.
voice-warm
A friendly voice that acknowledges the person and their effort. Compose with direct for friendly but brief.
voice-formal
A careful, complete voice for people outside the team - customers, partners, senior stakeholders.
voice-direct
A plain, brief voice that leads with the answer. The default when no voice is named.