agentleFS
jrgilbertsonjrgilbertson/the-rookery/skills/checking-skill-portability/SKILL.md

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.

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
  1. Distinctive:

    Run the reference validator from the specification's repository, pinned to a reviewed commit:

    line 17
  2. Very specific:

    No frontmatter fields other than name, description, license, compatibility, metadata, and allowed-tools.

    line 31
  3. Very specific:

    The package is self-contained: Every local link resolves inside the package, no more than one level below SKILL.md.

    line 47

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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, and allowed-tools.

Check what the validator cannot

  1. 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, or TodoWrite and Codex's request_user_input, spawn_agent, or update_plan are 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 /name or $name shown as one harness's form.
  2. Harness extras are optional. A field or file that only one harness reads, such as Codex's agents/openai.yaml or 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.
  3. 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, in compatibility or the instructions.
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.