agentleFS
rohitg00rohitg00/awesome-claude-code-toolkit/rules/agents.md

awesome-claude-code-toolkit / rules

AGENTS.md2.7k starsChanged 10 months agoApache-2.0View on GitHub

  • Deletes or force-pushes

1 other project uses a version of this.

Trending

Less talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the rohitg00/awesome-claude-code-toolkit repository that our weekly crawl found: only 7 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about rohitg00/awesome-claude-code-toolkit

The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 7

Talked about on GitHub (7 times).

On GitHub · 7

2 more on GitHub

The file

Show its rules and text

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

16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use a subagent for tasks that require focused expertise (security audit, performance analysis, test generation).

    line 4
  2. Distinctive:

    Use a subagent when the main task would exceed the context window if done inline.

    line 5
  3. Distinctive:

    Use a subagent for parallel work streams that do not depend on each other.

    line 6
  4. Distinctive:

    Do not use a subagent for simple, single-step tasks.

    line 7
  5. Very specific:

    Use /compact when approaching 60% of the context window.

    line 17
  6. Distinctive:

    Prefer reading specific file sections over entire files.

    line 18
  7. Distinctive:

    Use glob and grep to find relevant code before reading full files.

    line 20
  8. Distinctive:

    Start with the high-level structure before diving into details.

    line 23
  9. Distinctive:

    If a step fails, the previous steps should still be valid.

    line 31
  10. Distinctive:

    Use checklists to track progress on multi-step tasks.

    line 32
  11. Distinctive:

    Never run destructive commands (rm -rf, DROP TABLE, force push) without explicit confirmation.

    line 35
  12. Distinctive:

    Prefer reversible changes.

    line 37
  13. Distinctive:

    When uncertain, ask rather than guess.

    line 38
  14. Distinctive:

    When presenting options, list tradeoffs for each.

    line 42
  15. Distinctive:

    If something will take multiple steps, outline them upfront with estimated effort.

    line 43
  16. Distinctive:

    After completing a task, summarize what changed and what to verify.

    line 44

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

Agent Rules

When to Use Subagents

  • Use a subagent for tasks that require focused expertise (security audit, performance analysis, test generation).
  • Use a subagent when the main task would exceed the context window if done inline.
  • Use a subagent for parallel work streams that do not depend on each other.
  • Do not use a subagent for simple, single-step tasks. The overhead is not worth it.

Subagent Design

  • Give each subagent a clear, single responsibility and a defined scope.
  • Specify the tools the subagent is allowed to use. Restrict to the minimum needed.
  • Provide the subagent with relevant context, not the entire conversation history.
  • Set explicit success criteria: what output is expected and in what format.

Token Budget Management

  • Track approximate token usage across the session.
  • Use /compact when approaching 60% of the context window.
  • Prefer reading specific file sections over entire files.
  • Summarize findings instead of copying large code blocks verbatim.
  • Use glob and grep to find relevant code before reading full files.

Progressive Disclosure

  • Start with the high-level structure before diving into details.
  • Show the plan before executing it. Get confirmation on the approach.
  • Report progress incrementally: what was done, what is next.
  • Surface important decisions that need human input early in the process.

Task Decomposition

  • Break complex tasks into 3-7 sequential steps.
  • Each step should produce a verifiable intermediate result.
  • If a step fails, the previous steps should still be valid.
  • Use checklists to track progress on multi-step tasks.

Safety and Guardrails

  • Never run destructive commands (rm -rf, DROP TABLE, force push) without explicit confirmation.
  • Validate assumptions before acting on them. Read the code before modifying it.
  • Prefer reversible changes. Commit before refactoring so rollback is easy.
  • When uncertain, ask rather than guess. A wrong assumption costs more than a clarifying question.

Communication Style

  • Be direct and specific. State what you did, what you found, and what you recommend.
  • When presenting options, list tradeoffs for each. Recommend one with reasoning.
  • If something will take multiple steps, outline them upfront with estimated effort.
  • After completing a task, summarize what changed and what to verify.

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.