agentleFS
izkrenyizkreny/agentifico/skills/agents-guru/SKILL.md

agents-guru

Skill4 starsChanged 13 days agoMITView on GitHub

Write, review, check and export agent skills, and check agent definitions and a plugin's hooks file and manifest. An agent invokes it when told to, or when it reviews or checks a change to a skill, a SKILL.md file, a package of skills, an agent file, or a plugin's hooks file or manifest. Covers the frontmatter contract, the traps that fail silently and the routing-skill layout. Not for using a skill or an agent, only for the files that make one. Never invoked by an agent to install, update or remove a skill: the owner types `/agents-guru manage` for that.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

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

    If it starts with new → read workflows/new.md and follow it.

    line 63
  2. Very specific:

    If it starts with review → read workflows/review.md and follow it.

    line 64
  3. Very specific:

    If it starts with check, or is empty → read workflows/check.md and follow it, passing every --skip <rule> the argument carries through to …

    line 65
  4. Distinctive:

    If it matches no verb in this list → say so and name the verbs, rather than guessing which was meant.

    line 67

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

Tools used: Read / Grep / Glob to inspect existing skills, Write / Edit to author them, Bash(node:*) for the check in scripts/, which runs Vale with the prose rules in assets/, npm for the one-time install of what the check needs and for its suite and lint, skills for install and updates, and claude plugin validate for a plugin's sweep, all left out of allowed-tools so that each command prompts, Bash(gh:*) for repository visibility during export and, with git, for reading findings and fix commits when a phrase list grows.

This skill was invoked with the argument: $ARGUMENTS

This is a routing skill. Read $ARGUMENTS and the conversation context, pick exactly one workflow, read that workflow file, and follow its instructions inline.

All paths below are relative to this skill's own directory. Resolve them against wherever this skill is installed rather than assuming a location. A fenced command is different, because whoever pastes it stands in their own working directory rather than in the skill: there the skill's own files are named through <skill-dir>, the placeholder workflows/new.md defines for the directory this skill is installed to, and every workflow here uses that one placeholder rather than a bare scripts/... that runs only from inside the skill.

Where skills live

Keep one canonical copy in an agent-neutral location such as <home-dir>/.agents/skills/<name>/, and symlink each agent's skills directory to it as needed: one file then serves every agent, and no copy drifts. Each agent reads its own directory; Claude Code, for example, reads <home-dir>/.claude/skills/<name>/SKILL.md. When a workflow of this skill says "the skills directory", resolve it for the agent in use.

The facts every workflow here depends on

The description is the whole trigger surface

Only the frontmatter is read before a skill loads. As far as discovery is concerned the body does not exist, so every phrase that should cause the skill to fire has to appear in description:. A trigger documented only in the body will never fire, because nothing reads the body until something has already decided to load it.

The corollary matters when refactoring: moving a rule out of a global instructions file and into a skill only works if whatever made an agent reach for it survives in the description. Otherwise the rule is unreachable rather than relocated.

YAML eats the description at #

In an unquoted YAML scalar, a space followed by # starts a comment. Everything after it is discarded with no parse error, no warning, and a skill that still loads and still works. The only symptom is triggers that never fire.

description: Use when asked to review PR #N, or check what needs review.

Everything from the space before #N onward is gone. Backticks do not protect against it: a description containing `#123` survives only because the character before the # is a backtick rather than a space, which is luck, not correctness.

Write the description as a block scalar. It has no comment, anchor, tag or escape processing, so a trap that needs a plain or quoted value cannot reach it:

description: |
    Use when asked to review PR #N, or check what needs review.

Quoting also survives a space followed by #, but every quote style carries its own trap: inside "..." a backslash or an unescaped inner " is a parse error, inside '...' an apostrophe must be doubled, and curly “smart” quotes are not quotes at all, so a description that merely looks quoted still truncates. The family goes further, all verified against a real parser: a leading & or ! silently eats the first word, a duplicate description: key silently discards the first value, a bare yes becomes a boolean in some parsers, and a stray : or a leading *, [, {, % or @ is a parse error. A parse error is not loud in practice: the harness swallows it and the skill simply vanishes from the listing. workflows/check.md tests for all of these.

Then avoid a space followed by # in the prose anyway. Write "a numbered PR" rather than "PR #N", so the text stays safe under any later edit that changes the form.


Routing

Where $ARGUMENTS arrives unexpanded, read the argument from the conversation instead: whoever invoked the skill, the owner or an agent, named it last before this skill loaded. workflows/new.md owns the account of why a router owes that fallback.

Based on $ARGUMENTS, do exactly one of the following. Test the manage bullet before the others, so an install request is caught before an empty argument reaches check and before any verb its sentence opens with:

  • If it starts with manage, or the request that invoked this skill is about installing, updating or removing a skill someone else wrote → read references/managing.md, but only when the owner typed /agents-guru manage. Any other way in stops here, an agent's own invocation and a request phrased as a sentence alike, and says that the owner types /agents-guru manage for that: that file installs software whose instructions then run with the agent's permissions.
  • If it starts with new → read workflows/new.md and follow it.
  • If it starts with review → read workflows/review.md and follow it. It owns how a path covering more than one skill is read.
  • If it starts with check, or is empty → read workflows/check.md and follow it, passing every --skip <rule> the argument carries through to the command unchanged.
  • If it starts with export → read workflows/export.md and follow it.
  • If it matches no verb in this list → say so and name the verbs, rather than guessing which was meant. A mistyped verb and a verb this skill does not have look identical from here, and both are answered by printing the list.

Supporting files

FileWhat it holds
workflows/new.mdauthoring a skill from scratch: frontmatter, layout, content rules
workflows/review.mdreviewing an existing skill against the defects that actually occur
workflows/check.mdthe mechanical audit: a gate over one skill, a survey over a directory of them
workflows/export.mdpublishing a local skill to a shared repository
references/setup.mdinstalling what the check needs, once per install; read it before the first check and when the check refuses for Vale
references/managing.mdinstalling and updating skills, and why not to hand-edit an installed one
references/maintaining.mdregistering a rule, why the rules take their shape, growing a phrase list, and the suite; read it before editing assets/ or scripts/, and on no route
references/porting.mdwhether a rule from another tool's catalogue earns a place here, and where; read it before porting one, and on no route
references/readme.mdwhat a skill's README owes its reader, and when it links a file; read it when writing or reviewing a README
scripts/scripts/check.js, the command that runs markdownlint and Vale over a target with this skill's own rules; scripts/lint-config.js, the configuration and the rule list it runs with; the rules under scripts/rules/, beside the helpers they share; and the suite under scripts/test/, which re-verifies every rule and every argument shape after any edit

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.