agentleFS
flurdyflurdy/agent-skills/CLAUDE.md

agent-skills

CLAUDE.md9 starsChanged 3 months agoMITView on GitHub

Assembles Claude Code skills and agents from layered source dirs into ~/.claude/{skills,agents} as symlinks. See README.md for the full model (layers, profiles, machines, clients) and make help for every target. Also supports other LLMs and harnesses such as Codex, Gemini, Pi, and OpenRouter that can use the same skills and agents. See README.md for the full model. The active dirs hold symlinks into this repo, so editing files inside an existing skill/agent is live immediately — no re-apply needed. But…

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Keep public user, contributor, and component-contract documentation beside its component.

    line 29
  2. Very specific:

    Keep generated or disposable output under ignored /.artifacts/.

    line 30
  3. Distinctive:

    Prefer small executable shell scripts for simple command wrappers and orchestration.

    line 55
  4. Distinctive:

    Keep Python helpers standard-library-only unless an additional dependency is explicitly justified and documented.

    line 58
  5. Distinctive:

    Keep scripts focused, composable, and governed by narrow command-line or JSON contracts.

    line 60
  6. Distinctive:

    When multiple skills need the same behavior, give one skill an authoritative helper and invoke it from the consumers instead of copying …

    line 61
  7. Very specific:

    Document required runtimes and external commands in the owning SKILL.md, including whether the skill fails clearly or degrades gracefully …

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md

Repo guide

Assembles Claude Code skills and agents from layered source dirs into ~/.claude/{skills,agents} as symlinks. See README.md for the full model (layers, profiles, machines, clients) and make help for every target.

Also supports other LLMs and harnesses such as Codex, Gemini, Pi, and OpenRouter that can use the same skills and agents. See README.md for the full model.

After changing skills or agents

The active dirs hold symlinks into this repo, so editing files inside an existing skill/agent is live immediately — no re-apply needed. But adding, renaming, or removing a skill/agent dir changes the set of symlinks, so re-apply:

  • make validate-skills — check skill metadata, catalog parity, and local references
  • make test-validate-skills — run the validator's fixture suite after validator changes
  • make dry-run — preview what would change (read-only)
  • make apply — (re)create the symlinks; run after a new / renamed / removed unit
  • make doctor — check for broken or duplicate links
  • make apply-codex — same for Codex (skips agents)

make apply cleans and re-applies all managed symlinks each run, leaving your own non-managed skills/agents untouched. Options (PROFILE, MACHINE, CLIENTS, FORCE) are in README.md.

Documentation placement

Keep public user, contributor, and component-contract documentation beside its component. Keep generated or disposable output under ignored /.artifacts/; do not commit raw run output without an explicit retention decision. Mark superseded durable records with their replacement, not a generic archive folder.

Public repository: no client details

This repo is public. Never commit employer or client specifics in skills, examples, tests, fixtures, or docs: Jira project keys, real ticket numbers or summaries, sprint or board names, custom field values, branch names, hostnames, repo or service names, or people. Use neutral placeholders (ABC-123, ABC Sprint 1, example.atlassian.net). Generic workflow terms such as Ready for QA are fine. Real values belong in the private workspace config the skill reads, or in the private client layer (agent-skills-private).

Authoring conventions

  • A skill is skills/<name>/SKILL.md; declare model-tier (economy, standard, or premium) plus effort (low, medium, high, or xhigh), version, and author in frontmatter. Avoid hard-coding provider/model IDs in shared skills — the exception is an optional floating model: alias (haiku/sonnet/opus/fable) as a Claude Code routing hint; agents omit it because Pi may honor model: in agent files. See MODEL_ROUTING.md and README.md for the add-a-skill steps.
  • List every new skill in skills/README.md under the one topic matching its primary use, alphabetically within that table. Cross-list it under a second topic only when it genuinely serves that use case too, with an identical description. Prefer an existing topic; add a new ## topic only when none fits. make validate-skills enforces these rules.
  • Prefer small executable shell scripts for simple command wrappers and orchestration. Use Python 3.10+ when structured-data processing, state management, subprocess control, or shell quoting would otherwise make the implementation difficult to test or maintain. Keep Python helpers standard-library-only unless an additional dependency is explicitly justified and documented.
  • Keep scripts focused, composable, and governed by narrow command-line or JSON contracts. When multiple skills need the same behavior, give one skill an authoritative helper and invoke it from the consumers instead of copying implementations. Keep skill-specific behavior local rather than creating premature shared abstractions.
  • Document required runtimes and external commands in the owning SKILL.md, including whether the skill fails clearly or degrades gracefully when a dependency is unavailable.

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.