agentleFS
sarveshcoresarveshcore/claude-skills/AGENTS.md

claude-skills

AGENTS.md2 starsChanged 3 months agoMITView on GitHub

You are reading this because a human opened this repository in Codex or Claude Code and wants the toolkit installed. Your job is to operate ./install.sh for them, ask for the few things only they know, and prove the result with ./install.sh --verify. Follow these steps in order. Do not skip the confirmation points. The installer writes CLAUDE.md.new or AGENTS.md.new beside an existing protocol file. Offer to show a diff (diff ~/.claude/CLAUDE.md ~/.claude/CLAUDE.md.new) and let them decide what to merge.…

  • Reads credentials

The file

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

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not commit, push, or create branches in this repository.

    line 7
  2. Very specific:

    Do not edit files outside the install targets (~/.claude, ~/.codex or $CODEX_HOME, ~/.agents/skills).

    line 8
  3. Very specific:

    Never invent an API key, never look for one elsewhere on the machine, and never print one back in chat.

    line 9
  4. Distinctive:

    If a step fails, show the exact error output and stop.

    line 10
  5. Very specific:

    Detect: Run command -v claude; command -v codex.

    line 14
  6. Distinctive:

    Name: Ask what name the protocol should use when it addresses them.

    line 15
  7. Very specific:

    Preview: Run ./install.sh <target> --user "<name>" --dry-run and show the plan.

    line 16
  8. Very specific:

    Install files, plugins, and MCP: Run ./install.sh <target> --user "<name>".

    line 17
  9. Very specific:

    Verify: Run ./install.sh <target> --verify.

    line 19

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

Setup guide for the agent

You are reading this because a human opened this repository in Codex or Claude Code and wants the toolkit installed. Your job is to operate ./install.sh for them, ask for the few things only they know, and prove the result with ./install.sh --verify. Follow these steps in order. Do not skip the confirmation points.

Hard rules

  • Do not commit, push, or create branches in this repository.
  • Do not edit files outside the install targets (~/.claude, ~/.codex or $CODEX_HOME, ~/.agents/skills). The installer handles merges into settings.json, hooks.json, and config.toml; never edit those by hand.
  • Never invent an API key, never look for one elsewhere on the machine, and never print one back in chat. Keys go into .env in this repository, which is gitignored.
  • If a step fails, show the exact error output and stop. Do not work around it.

Steps

  1. Detect. Run command -v claude; command -v codex. Tell the human which harnesses were found. Ask which target they want: --claude, --codex, or --all. Recommend --all if both are present.
  2. Name. Ask what name the protocol should use when it addresses them. Offer the output of git config user.name as the default.
  3. Preview. Run ./install.sh <target> --user "<name>" --dry-run and show the plan. Point out that existing files are backed up to a timestamped directory under their home, and that an existing protocol file is never overwritten.
  4. Install files, plugins, and MCP. Run ./install.sh <target> --user "<name>". Plugins and MCP servers that need no key are installed now. Report the backup directory if the output names one.
  5. Keys. The output lists any MCP server skipped because its key is unset. For each, ask the human for the key by its exact variable name (CONTEXT7_API_KEY, FIRECRAWL_API_KEY), and tell them where to get it (.env.example has the links). Copy .env.example to .env and write the values there. Then run ./install.sh <target> --mcp-only. If they do not want a server, skip it and say so in the summary.
  6. Verify. Run ./install.sh <target> --verify. Show the table. If anything is MISSING, rerun the matching --<component>-only flag once, then verify again. If it is still missing, show the output and stop.
  7. Hand over. Tell the human to restart their agent, and suggest three things to try first: type grill-me before a fuzzy task, run /doc-sweep in a repo with stale docs, and dispatch the bug-hunter agent on a real bug. Point them to README.md for the full workflow table.

If the human has an existing setup

The installer writes CLAUDE.md.new or AGENTS.md.new beside an existing protocol file. Offer to show a diff (diff ~/.claude/CLAUDE.md ~/.claude/CLAUDE.md.new) and let them decide what to merge. Do not merge it for them unless asked.

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.