linux-kernel-crash-debug / rules
AGENTS.md9 starsChanged 8 months agoMIT-0View on GitHub
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- rohitg00/awesome-claude-code-toolkitword for word, first seen Feb 4, 2026
Other versions1 project uses a version of this.
Word for word · 1
- rohitg00/awesome-claude-code-toolkit★ 2.7k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- linux-kernel-crash-debugSkill
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
- Distinctive: line 4
Use a subagent for tasks that require focused expertise (security audit, performance analysis, test generation).
- Distinctive: line 5
Use a subagent when the main task would exceed the context window if done inline.
- Distinctive: line 6
Use a subagent for parallel work streams that do not depend on each other.
- Distinctive: line 7
Do not use a subagent for simple, single-step tasks.
- Very specific: line 17
Use /compact when approaching 60% of the context window.
- Distinctive: line 18
Prefer reading specific file sections over entire files.
- Distinctive: line 20
Use glob and grep to find relevant code before reading full files.
- Distinctive: line 23
Start with the high-level structure before diving into details.
- Distinctive: line 31
If a step fails, the previous steps should still be valid.
- Distinctive: line 32
Use checklists to track progress on multi-step tasks.
- Distinctive: line 35
Never run destructive commands (rm -rf, DROP TABLE, force push) without explicit confirmation.
- Distinctive: line 37
Prefer reversible changes.
- Distinctive: line 38
When uncertain, ask rather than guess.
- Distinctive: line 42
When presenting options, list tradeoffs for each.
- Distinctive: line 43
If something will take multiple steps, outline them upfront with estimated effort.
- Distinctive: line 44
After completing a task, summarize what changed and what to verify.
≈ “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.
Files
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
/compactwhen 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.
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
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.

