agentleFS
phil65phil65/agentpool/.agents/skills/sync-skills-spec/SKILL.md

sync-skills-spec

Skill191 starsChanged 9 months agoMITView on GitHub

Sync the agentpool skills implementation with the official Agent Skills Spec by comparing against the reference repository.

  • Deletes or force-pushes

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep src/agentpool/skills/ aligned with the official Agent Skills Spec.

    line 8
  2. Distinctive:

    Check for missing fields, changed validation rules, new spec requirements

    line 27
  3. Very specific:

    Add any new frontmatter fields to the Skill model

    line 30
  4. Distinctive:

    Update validators to match spec changes (name format, length limits, allowed fields)

    line 31
  5. Very specific:

    Update to_prompt() if the recommended XML format changed

    line 32
  6. Very specific:

    Do NOT replace our registry/manager — those are agentpool-specific extensions

    line 33
  7. Very specific:

    Update the SPEC_SYNCED_COMMIT constant to the new hash

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Sync Skills Spec

Keep src/agentpool/skills/ aligned with the official Agent Skills Spec.

Steps

  1. Clone the reference repo into a temporary directory:
    tmp=$(mktemp -d)
    git clone --depth 1 https://github.com/agentskills/agentskills "$tmp/agentskills"
  2. Read the spec and reference implementation:
    • $tmp/agentskills/spec/ — the formal specification documents
    • $tmp/agentskills/implementations/ — reference implementations (especially Python)
    • Focus on the SkillProperties model, frontmatter fields, validation rules, and prompt generation
  3. Compare with our implementation:
    • src/agentpool/skills/skill.py — our Skill Pydantic model, validators, parse_frontmatter(), to_prompt()
    • src/agentpool/skills/registry.py — discovery and registration (our extension, not part of the spec)
    • src/agentpool/skills/manager.py — pool-wide management (our extension)
    • Check for missing fields, changed validation rules, new spec requirements
  4. Apply updates to our code:
    • Add any new frontmatter fields to the Skill model
    • Update validators to match spec changes (name format, length limits, allowed fields)
    • Update to_prompt() if the recommended XML format changed
    • Do NOT replace our registry/manager — those are agentpool-specific extensions
  5. Update the synced commit hash in src/agentpool/skills/skill.py:
    • Get the current HEAD of the cloned repo: git -C "$tmp/agentskills" rev-parse HEAD
    • Update the SPEC_SYNCED_COMMIT constant to the new hash
    • This tracks which version of the spec we last synced against
  6. Clean up:
    rm -rf "$tmp"

Key differences from upstream

Our implementation extends the spec with:

  • Async discovery via fsspec/UPath (supports GitHub, S3, etc.)
  • Registry pattern (SkillsRegistry extending BaseRegistry)
  • Pool-wide management (SkillsManager with async context manager)
  • YAML parsing via yamling (not strictyaml)

These are intentional and should be preserved.

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.