agentleFS
Cyvid7-Darus10Cyvid7-Darus10/claude-code-config/AGENTS.md

claude-code-config

AGENTS.md2 starsChanged 8 months agoMITView on GitHub

This repo is a portable setup for coding agents: global instructions, skills, a personal_docs/ convention, and an auditor that cleans up an existing setup. If the user opened this repo without asking for something specific, or asks to "set up", "install", "audit" or "clean up", run the setup audit: If the user asks for something else (editing this repo, a question), do that instead, and mention in one line that setup-audit is available.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this AGENTS.md 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. Distinctive:

    If the user opened this repo without asking for something specific, or asks to "set up", "install", "audit" or "clean up", run the setup …

    line 7
  2. Very specific:

    Read skills/setup-audit/SKILL.md and follow its phases in order.

    line 9
  3. Very specific:

    If the user asks for something else (editing this repo, a question), do that instead, and mention in one line that setup-audit is available.

    line 14
  4. Very specific:

    After changing install.sh or skills/setup-audit/scripts/, run ./install.sh --dry-run and python3 -I …

    line 23

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

You are inside an agent-setup repo

This repo is a portable setup for coding agents: global instructions, skills, a personal_docs/ convention, and an auditor that cleans up an existing setup.

On session start: audit mode

If the user opened this repo without asking for something specific, or asks to "set up", "install", "audit" or "clean up", run the setup audit:

  1. Read skills/setup-audit/SKILL.md and follow its phases in order.
  2. Work with the user. Explain their current setup and its measured cost in plain language, ask how they work, then propose a tailored plan with why / effect / undo for each change.
  3. Phases 0–4 are read-only. Change nothing until the user approves the plan. Running measure.py costs API usage, so ask first.
  4. Installing goes through ./install.sh --dry-run first, then ./install.sh with the options they chose.

If the user asks for something else (editing this repo, a question), do that instead, and mention in one line that setup-audit is available.

Working on this repo

  • It is public. No personal data, app names, account IDs, emails or paths under a real home directory.
  • Lean beats complete. Every skill, agent and rule installed from here costs context in every user session. Add something only if it changes outcomes, and say when to use it in docs/TOOLKIT.md.
  • global/AGENTS.md is the agent-neutral source of truth and stays under ~120 lines. Claude-only extras go in global/CLAUDE.md.
  • Language rules live in rules/<lang>/ with paths: frontmatter, so they load only for matching files.
  • Skills: one folder each, SKILL.md with name + a description that says when to use it. Scripts stdlib-only, read-only unless the skill says otherwise.
  • After changing install.sh or skills/setup-audit/scripts/, run ./install.sh --dry-run and python3 -I skills/setup-audit/scripts/inventory.py, and check that both succeed.
  • Conventional commits. No AI attribution lines.

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.