agent-guide
Skill0 starsChanged 4 months agoMITView on GitHub
Audit and losslessly simplify persistent AI-agent instruction files such as AGENTS.md, CLAUDE.md, GEMINI.md, and project rule files. Use when reviewing, comparing, rewriting, or rebuilding these instructions; preserve original intent, account for every meaningful rule, route content to the right layer, and regression-check the result. Do not use to verify whether MCP servers, hooks, plugins, permissions, or other runtime integrations actually work, or for ordinary application-code editing.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Markssuave/Markssuave-Agent-skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Markssuave/Markssuave-Agent-skills★ 1same name
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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 20 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
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
- Distinctive: line 15
Do not claim that an MCP server, hook, plugin, permission, CI rule, memory system, or other integration works unless it was separately …
- Distinctive: line 16
Treat MCP, plugins, and browsers as capability channels, not places to store prose.
- Distinctive: line 17
Do not invent a universal instruction-priority order.
- Distinctive: line 18
Do not assume the current working directory is the target.
- Distinctive: line 19
Do not edit global or personal instructions unless the user explicitly requests the edit.
- Distinctive: line 20
Never remove a safety boundary, permission boundary, no-touch path, required command, or required validation step without making the change …
- Distinctive: line 24
Use Audit when the user wants findings without a rewritten file.
- Distinctive: line 26
Use Rewrite when the user wants a lean replacement, diff, or old-versus-new comparison.
- Distinctive: line 28
Use Guided Rebuild when the user wants instructions built around their workflow but the important preferences and boundaries are still …
- Very specific: line 35
When drafting a new modular instruction file, read templates/agent-block-template.md and select only blocks justified by the user's …
- Distinctive: line 37
Do not load every resource by default.
- Distinctive: line 49
If only one file is available, audit it and state that cross-file conflicts and actual precedence were not assessed.
- Distinctive: line 55
Before rewriting, split the source into meaningful rules and assign each rule an ID.
- Distinctive: line 84
Keep authoritative architecture decisions, compliance boundaries, and domain constraints in project-controlled sources rather than personal …
- Distinctive: line 91
Do not describe this as moving prose “into MCP.”
- Distinctive: line 111
Do not invent commands, paths, installed skills, integrations, or precedence rules.
- Distinctive: line 134
If a critical behavior is weakened, lost, or cannot be verified, do not recommend adopting the draft as-is.
- Distinctive: line 178
Do not finish until:
- Distinctive: line 180
every meaningful old rule is accounted for.
- Distinctive: line 181
every moved rule has a concrete destination and an explicit reachability status.
- Distinctive: line 184
no cross-platform priority order was invented.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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 Guide
Refactor persistent Agent instructions without silently changing the workflow they protect.
The goal is not the shortest file. The goal is the smallest instruction set that preserves the user's intended behavior, safety boundaries, and project-specific knowledge.
Boundaries
- Analyze instruction text and recommend where each rule belongs.
- Do not claim that an MCP server, hook, plugin, permission, CI rule, memory system, or other integration works unless it was separately inspected and tested.
- Treat MCP, plugins, and browsers as capability channels, not places to store prose. Keep only the short routing rule in persistent instructions; keep configuration and implementation in their native system.
- Do not invent a universal instruction-priority order. If conflict resolution depends on platform-specific loading or precedence, verify the current platform rules or state that the effective chain is unverified.
- Do not assume the current working directory is the target.
- Do not edit global or personal instructions unless the user explicitly requests the edit. Otherwise return a proposed draft or diff.
- Never remove a safety boundary, permission boundary, no-touch path, required command, or required validation step without making the change explicit.
Choose A Branch
Use Audit when the user wants findings without a rewritten file.
Use Rewrite when the user wants a lean replacement, diff, or old-versus-new comparison.
Use Guided Rebuild when the user wants instructions built around their workflow but the important preferences and boundaries are still unknown.
Load Supporting Material
- For a full audit, or when a rule's destination is unclear, read
references/decision-matrix.md. - For a rewrite or old-versus-new comparison, read
templates/comparison-report-template.md. - For a guided rebuild, read
templates/guided-questions.mdand ask only questions whose answers would change the design. - When drafting a new modular instruction file, read
templates/agent-block-template.mdand select only blocks justified by the user's workflow.
Do not load every resource by default.
Workflow
1. Establish Scope
Identify:
- the target platform and instruction file;
- whether the task covers one file or the effective instruction chain;
- whether the user wants an audit, proposal, comparison, or file edit.
If only one file is available, audit it and state that cross-file conflicts and actual precedence were not assessed.
Completion criterion: the target, requested output, and any scope limitation are explicit.
2. Build The Intent Ledger
Before rewriting, split the source into meaningful rules and assign each rule an ID.
For every rule, record:
- source;
- original intent;
- behavior or boundary it protects;
- likely consequence if removed.
Group rules only when they are genuinely equivalent. Do not hide a safety rule inside a broad summary.
A generic aspiration with no unique observable behavior may protect no independent capability. Do not invent a replacement rule merely to preserve its sentiment.
Completion criterion: every meaningful source rule has an ID and an identified purpose.
3. Assign One Disposition Per Rule
Choose exactly one primary disposition:
- Keep here — applies broadly and must remain persistently visible.
- Keep at project level — depends on this repository, domain, architecture, command, or path.
- Rewrite — the intent matters but the wording is vague, duplicated, or too long.
- Move to a skill or reference — a conditional workflow or detailed procedure.
- Move to memory — an evolving preference or non-authoritative lesson that does not require enforcement.
- Enforce elsewhere — a behavior better guaranteed by hooks, settings, CI, permissions, or scripts.
- Document for humans — explanation, tutorial, background, examples, or source notes.
- Delete duplicate — fully represented by another rule.
- Delete no-op — generic advice that does not materially change model behavior.
Keep authoritative architecture decisions, compliance boundaries, and domain constraints in project-controlled sources rather than personal memory.
For content involving an external tool, distinguish between:
- the short instruction that tells the Agent when to use the capability; and
- the capability's actual configuration or implementation.
Do not describe this as moving prose “into MCP.”
Completion criterion: every rule ID has one disposition and, when moved, a concrete destination.
4. Draft Only After Classification
Rewrite retained rules as concrete trigger-action-boundary instructions:
When [specific situation], do [specific action]. Do not [relevant boundary].Preserve observable behavior while removing:
- generic exhortations;
- duplicated explanations;
- tutorials from always-loaded context;
- platform assumptions that were not verified;
- lists included only for visual completeness.
Do not invent commands, paths, installed skills, integrations, or precedence rules.
Completion criterion: every line in the draft changes behavior or routes the Agent to information needed for the current situation.
5. Run A Regression Check
Compare the draft with the intent ledger. Check at least:
- safety and permission boundaries;
- project and no-touch boundaries;
- required commands and validation;
- task or skill routing;
- user collaboration preferences;
- reporting or handoff requirements.
Mark each protected behavior as:
- preserved;
- moved and still reachable;
- proposed for migration but not yet reachable, with the original rule retained;
- intentionally changed with user approval;
- weakened or lost.
If a critical behavior is weakened, lost, or cannot be verified, do not recommend adopting the draft as-is.
Completion criterion: every protected behavior has a regression result.
6. Deliver The Result
For an audit, return:
Scope
Intent Ledger
Keep
Move
Rewrite
Delete
Risks
RecommendationFor a rewrite, return:
Scope
Proposed Draft
Rule Disposition Ledger
Preserved Behaviors
Moved Behaviors And Destinations
Lost Or Weakened Behaviors
Unverified Platform Assumptions
RecommendationFor a guided rebuild, return:
Questions Or Confirmed Assumptions
Modular Draft
Why Each Block Exists
Content Routed Elsewhere
Regression CheckCompletion Gate
Do not finish until:
- every meaningful old rule is accounted for;
- every moved rule has a concrete destination and an explicit reachability status;
- an unavailable proposed destination is never used as justification to remove the original rule;
- critical behavior has not disappeared silently;
- no cross-platform priority order was invented;
- runtime integrations are not presented as tested when only their instruction text was reviewed;
- generic aspirations are not replaced with newly invented generic rules;
- the user can see exactly what changed and why.
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.

