agentleFS
seankoji-comseankoji-com/.agents/skills/new-skill/SKILL.md

new-skill

Skill2 starsChanged 11 days agoMITView on GitHub

Add a skill to this library with a description agents can match, steps a small model can follow, trigger evals and full registration.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-skill, commit and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MongoDBSkill

    review-skill

    Review a proposed Agent Skill for structural validity and content quality before publishing. Runs the skill-validator CLI to check for structural issues, scores the skill with an LLM judge, and interprets results to advise SMEs on what to address. Use when a user wants to review, validate, or quality-check an Agent Skill.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    List the cases: Write each distinct situation the skill handles as a phrase the owner would type.

    line 25
  2. Distinctive:

    Write the description: Use this shape:

    line 34
  3. Very specific:

    Write trigger evals: if the skill is model-invoked.

    line 61
  4. Very specific:

    Add the name to SKILLS in scripts/check_library.py.

    line 68
  5. Very specific:

    Add a row to site/index.html with its Source link, install command and one host-support tier chip.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “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

Add a skill to this library

Read writing-for-agents before drafting the body. It covers trigger wording, disclosure, completion conditions and no-ops. This skill covers what it leaves out: the description contract that scripts/check_library.py enforces, trigger evals and this repository's registration steps.

Input: what the skill should do, in the owner's words. If it is missing, ask for it and stop.

Steps

  1. Check neighbours. List every description with grep -H -m2 -E '^(name|description):' skills/*/SKILL.md and read the host's skill list for built-in and plugin skills. If one already covers the request, name it, propose extending it and stop. Done when every skill whose cases overlap is named.
  2. List the cases. Write each distinct situation the skill handles as a phrase the owner would type. Merge phrases that rename one case. Done when each case takes a different path through the body.
  3. Choose the invocation. Make the skill model-invoked only when an agent or another skill must reach it unprompted. Otherwise set disable-model-invocation: true (Claude Code) and add agents/openai.yaml with policy.allow_implicit_invocation: false (Codex), as this skill does.
  4. Name it. Lowercase letters, digits and hyphens, matching the folder. Use a word the owner already types, different from every existing and built-in name.
  5. Write the description. Use this shape:

    <Verb> <what it produces>. Use when <case>, <case> or <case>. <Which neighbour wins a near case.>

    The checker fails a description over 40 words or 250 characters, one that says "I", "you", "your" or "this skill" outside quotes, one that says "then" anywhere, and a model-invoked one without a Use when/for/at or when asked/the user clause. Keep the procedure, and rules that matter only after selection, in the body: an agent that reads steps in the description can run them and skip the body.

  6. Write the body. Stay under 1,500 words. In order:

    PartRule
    InputsWhat must exist first, and what to do if it is missing
    StepsNumbered, one action each, each ending on a checkable done condition
    BranchesA table instead of nested "if" prose
    Exits"If X is unavailable, report Y and stop"
    OutputAn exact template

    Move exact or fragile work into a stdlib Python helper with --help, and tell the agent to run it. Put material only some cases need in references/, one level deep. Write each local link in a sentence that says when to read it, using a word such as when, before, after, if or for.

  7. Write trigger evals if the skill is model-invoked. Create references/trigger-evals.md in the shape of skills/think/references/trigger-evals.md: 5 should-fire prompts and 5 should-not-fire prompts. Take the should-not prompts from the neighbours in step 1 and end each with (expect: <skill|none>), naming a skill in this library or none.
  8. Register.
    • Add the name to SKILLS in scripts/check_library.py.
    • Add a row to site/index.html with its Source link, install command and one host-support tier chip.
    • Change site/workflows.html only if the skill joins a documented workflow.
    • Review the README and site diagrams, then run python3 -B scripts/check_library.py --update-readme --acknowledge-docs.
  9. Check. Run python3 scripts/check_library.py, python3 -m unittest discover -s tests -v and python3 scripts/check_library.py --stats. Run any new helper from a foreign working directory. Done when all pass.
  10. Offer the trigger evals. They are opt-in. Run them only when the owner asks for evidence that the description selects well, by following the trigger-eval procedure.

Output

Skill: <name> (<model-invoked|user-invoked>)
Description: <text> (<words> words)
Neighbours checked: <names>
Files: <paths>
Checks: check_library <pass|fail>, unittest <pass|fail>, entry <words> words
Trigger evals: <not run | n of 10 matched; misses listed>

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.