/ai-plugin-toolkit:skill-authorfrom ai-plugin-toolkit
Write, structure, and publish a SKILL.md skill that works across every harness — Claude Code, DeepSeek Harness (dsh), Codex CLI, Gemini CLI, Copilot, Cursor — including the cross-agent gotchas generic guides miss: tier shadowing between project and user roots, discovery rules, and trigger-description design. Use when creating a new skill, fixing a skill that fails to load in some agents, or preparing a skill repo for distribution.
Ships in ai-plugin-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A skill is a folder with a SKILL.md file inside. The file starts with a YAML
frontmatter block (name + description) followed by Markdown instructions the
agent loads on demand. Because Claude Code, DeepSeek Harness (dsh), Codex CLI,
Gemini CLI, Copilot and Cursor all read this same format, one well-authored
skill serves every agent.
my-skill/
├── SKILL.md # required: frontmatter + instructions
├── references/ # optional: long-form docs the model reads on demand
└── scripts/ # optional: helper scripts the skill may run
---
name: my-skill
description: >-
One or two sentences: what it does AND when to use it. This is the trigger
the agent matches against the user's request — write it like a routing rule.
---
# My skill
Step-by-step instructions. Assume a competent engineer; be concrete, not vague.
name must be kebab-case — lowercase letters, digits, hyphens; max 64
chars. Agents reject or mangle other names. aipx normalizes for you, but
ship it correct.description is the trigger, not documentation. Bad: "Utilities for
working with things." Good: "Summarize YouTube/Bilibili videos and podcasts
from a URL. Use when the user pastes a video or audio link."references/*.md and link
to them ("see references/schema.md"). Agents load the body only when the
skill triggers; huge bodies waste context and dilute behavior.skills/a/SKILL.md is found, skills/a/b/SKILL.md is not.scripts/x.py, the whole folder travels together — never link outside the
skill directory.| Root | Read by |
|---|---|
~/.agents/skills/<name>/SKILL.md | DeepSeek Harness (dsh), Codex CLI |
~/.claude/skills/<name>/SKILL.md | Claude Code |
~/.gemini/skills/<name>/SKILL.md | Gemini CLI |
~/.copilot/skills/<name>/SKILL.md | GitHub Copilot CLI |
Project-scoped equivalents exist too (e.g. .claude/skills/, .agents/skills/
in the repo). Don't copy by hand — use aipx sync to link one copy into every
agent root.
# does it parse and get discovered?
aipx install ./my-skill --dry-run
aipx install ./my-skill
aipx list
Then open your agent and confirm the skill appears (Claude Code: it shows in
the skill list; dsh: / command palette → Skills group).
skills/my-skill/description states trigger conditions, not just featuresaipx install owner/repo#path:/skills/my-skill)agent-skills, claude-code,
dsh-plugin (if it also ships a dsh bundle), deepseek (if DS-related)dsh-plugin-dev and
claude-plugin-dev skillsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zhangliang0115/ai-plugin --plugin ai-plugin-toolkitOther plugins' skills for the same job
8 skills in this plugin
/claude-plugin-devPackage and publish a Claude Code plugin and marketplace (.claude-plugin/ manifests, skills, commands, agents, hooks) with a dual-target twist: the same repo simultaneously serves DeepSeek Harness (dsh), Codex, Gemini CLI and Copilot via plain skills and a dsh bundle. Use when creating a Claude Code plugin, setting up a marketplace repo, or making one repo installable across every agent./deepseek-cost-routerRoute coding tasks between DeepSeek chat and reasoning models (deepseek-chat vs deepseek-reasoner) to minimize API cost while keeping quality. Use when configuring an agent to use DeepSeek, choosing a model for a task batch, or optimizing token spend./