checking-skill-portability
Skill16 starsChanged 6 days agoMITView on GitHub
Check if an Agent Skills package works across harnesses and agents. Use when auditing portability, before publishing a skill from a harness's skill-creator, or moving it between Claude Code, Codex, or another agent. Not for writing skills or testing behavior.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- active-learningSkill
- managing-issuesSkill
- managing-personal-crmSkill
- personal-chief-of-staffSkill
- repo-captainSkill
- reviewing-meetingsSkill
- reviewing-prsSkill
- storm-researchSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Run the reference validator from the specification's repository, pinned to a reviewed commit:
- Very specific: line 31
No frontmatter fields other than name, description, license, compatibility, metadata, and allowed-tools.
- Very specific: line 47
The package is self-contained: Every local link resolves inside the package, no more than one level below SKILL.md.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Checking Skill Portability
A portable skill works the same in any harness and with any agent that supports the Agent Skills specification. Check one or more packages and return a verdict with findings. This is read-only: fixing a package belongs to whoever writes it.
Run the specification validator
Run the reference validator from the specification's repository, pinned to a reviewed commit:
uvx --from "git+https://github.com/agentskills/agentskills@f130f348f502d9804278a617f86929846896d2e9#subdirectory=skills-ref" skills-ref validate <skill-directory>It checks the name, the directory match, and the frontmatter fields. If it cannot run, check these rules by hand and say the validator did not run:
name: 1–64 lowercase letters, digits, and hyphens, with no leading, trailing, or doubled hyphen, and equal to the directory name.description: 1–1024 characters.compatibility, when present: at most 500 characters.- No frontmatter fields other than
name,description,license,compatibility,metadata, andallowed-tools.
Check what the validator cannot
- One instruction set for every harness. The instructions name the
capability they need, such as asking the user, starting a subagent, or
tracking tasks, rather than one harness's tool for it. Claude Code's
AskUserQuestion,Agent, orTodoWriteand Codex'srequest_user_input,spawn_agent, orupdate_planare findings when they are the only way the skill says to do the step. Listing each harness's equivalent is fine, and so is invocation syntax such as/nameor$nameshown as one harness's form. - Harness extras are optional. A field or file that only one harness reads,
such as Codex's
agents/openai.yamlor a tool pre-approval list, is not needed for the skill to work, and it never stands in for a real permission or approval boundary. - The package is self-contained. Every local link resolves inside the
package, no more than one level below
SKILL.md. Bundled scripts carry their imports and resources or name the installed dependency they use. Any external command, service, or credential the skill needs is declared, with where to get it, incompatibilityor the instructions. - Every installer gets the same skill. Nothing depends on the author's machine or accounts: no absolute path to a home directory, private name, personal alias, vault or account detail, or credential the instructions do not declare.
Report
Lead with the verdict: portable, portable after the listed fixes, or not portable. Give each finding its file and line, the check it fails, and the smallest fix. Say whether the validator ran. These checks read the package; they do not show that it behaves the same in each harness. When that matters, say so, and suggest running the skill once in each harness the user cares about with the same realistic request and comparing what each did.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

