/ai-plugin-toolkit:skill-portability-auditfrom ai-plugin-toolkit
Audit whether an agent skill works across every harness (Claude Code, DeepSeek Harness dsh, Codex, Gemini CLI, Copilot, Cursor) before publishing or after a "my skill loads in Claude but not in dsh" report. Checks name collisions across roots, tier shadowing, discovery rules, and trigger quality per agent.
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 that works in one agent frequently breaks silently in another. The failure modes are specific and checkable — run this audit before publishing, and whenever a user reports "it loads in X but not in Y".
<project>/.agents/skills (tier 200) and ~/.agents/skills (tier 500).
The same skill name at both levels: the project copy wins silently —
no warning, ever. If a user's project has an unrelated skill with your
name, yours never loads.skills/a/SKILL.md loads; skills/a/b/SKILL.md is invisible
in all of them. Monorepos that nest skills under product directories hit
this constantly.name: My Skill! gets normalized
differently by different tools — some mangle, some reject. The safe form
is kebab-case matching the directory name exactly.description is the only thing
agents match requests against. "A collection of helpers" never triggers;
a description listing every keyword triggers on everything and dilutes
routing.my-skill.md files are a dsh convenience —
Claude Code only reads <dir>/SKILL.md. And relative links to files
outside the skill folder break the moment the skill is copied.Run these in order; stop and fix at the first red flag.
# 1. Structural lint (frontmatter, nesting, links, orphans)
aipx lint skills/
# 2. Where does each agent actually see it?
aipx list # user-scope view, per agent root
aipx list --project # project-scope view
# 3. Collision check across ALL roots — the shadowing trap:
# does the same skill name exist in more than one root?
# (compare the output of `aipx list` against the project roots)
Manual checks the tooling can't do for you:
name is kebab-case AND equals the directory namedescription answers "when should I fire?" in one sentence — read it
and ask: would an agent route a real user request here? Too broad?
Too vague?references/Install once with aipx, then verify in each agent the user cares about:
| Agent | Verify how |
|---|---|
| Claude Code | skill appears in /doctor output; new session needed |
| dsh | / command palette → Skills group; needs DEEPSEEK_API_KEY |
| Codex | appears in skill listing on next run |
| Gemini CLI | next session; check aipx list root exists |
When multiple issues exist, fix in this order — discovery problems first (invisible skills), then trigger problems (loads but never fires), then cosmetics:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub zhangliang0115/ai-plugin --plugin ai-plugin-toolkit8 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./deepseek-migrationMigrate an existing coding agent or workflow from OpenAI/Anthropic APIs to DeepSeek (deepseek-chat / deepseek-reasoner). Covers endpoint compatibility, environment variables, caching behavior, tool-calling differences, cost levers, and the DeepSeek Harness (dsh) option. Use when a user wants to switch to DeepSeek or cut their LLM bill./dsh-plugin-devPackage and publish a DeepSeek Harness (dsh) plugin bundle that registers skills, tools or services. Use when building a dsh plugin, writing a cordis.patch.yml, or installing a GitHub plugin into a dsh profile./improve-claude-mdimprove a CLAUDE.md file using <important if> blocks to improve instruction adherence/show-meHelp the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.