geo-seo-audit
CLAUDE.md9 starsChanged 7 months agoMITView on GitHub
These rules govern how Claude (or any AI agent) works in this repository. They are loaded at the start of every session and override defaults. The repo is a GEO audit toolkit, audit-only, no sales/CRM (see docs/LLM_RETRIEVAL_ARCHITECTURE.md for methodology). The rules below come from Anthropic's internal dev practices — adopt them strictly. The TodoWrite tool stays the in-session runtime tracker. tasks/todo.md is the durable, repo-visible plan that survives sessions and is part of the project's collaboration contract.
In this repository7 other files it gives its agents.
- geoSkill
- geo-auditSkill
- geo-clientSkill
- geo-content-healthSkill
- geo-crawlersSkill
- geo-rrfSkill
- geo-schemaSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
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
- Distinctive: line 13
If something goes sideways, STOP and re-plan immediately — don't keep pushing.
- Distinctive: line 14
Use plan mode for verification steps, not just building.
- Distinctive: line 15
Write detailed specs upfront to reduce ambiguity.
- Distinctive: line 18
Use subagents liberally to keep the main context window clean.
- Very specific: line 24
After ANY correction from the user: update tasks/lessons.md with the pattern.
- Distinctive: line 25
Write rules for yourself that prevent the same mistake.
- Distinctive: line 30
Never mark a task complete without proving it works.
- Distinctive: line 32
Ask yourself: "Would a staff engineer approve this?"
- Distinctive: line 33
Run tests, check logs, demonstrate correctness.
- Distinctive: line 37
If a fix feels hacky: "Knowing everything I know now, implement the elegant solution."
- Distinctive: line 42
When given a bug report: just fix it.
- Very specific: line 71
Audit-only philosophy: never recommend pricing tiers, MRR projections, traffic uplift estimates, or "client-ready" sales framing.
- Very specific: line 75
site-client/is gitignored: never commit audit artefacts.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.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
CLAUDE.md — operating rules for this repo
These rules govern how Claude (or any AI agent) works in this repository. They are loaded at the start of every session and override defaults.
The repo is a GEO audit toolkit, audit-only, no sales/CRM (see docs/LLM_RETRIEVAL_ARCHITECTURE.md for methodology). The rules below come from Anthropic's internal dev practices — adopt them strictly.
Working Rules
1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions).
- If something goes sideways, STOP and re-plan immediately — don't keep pushing.
- Use plan mode for verification steps, not just building.
- Write detailed specs upfront to reduce ambiguity.
2. Subagent Strategy
- Use subagents liberally to keep the main context window clean.
- Offload research, exploration, and parallel analysis to subagents.
- For complex problems, throw more compute at it via subagents.
- One task per subagent for focused execution.
3. Self-Improvement Loop
- After ANY correction from the user: update
tasks/lessons.mdwith the pattern. - Write rules for yourself that prevent the same mistake.
- Ruthlessly iterate on these lessons until mistake rate drops.
- Review lessons at session start when relevant to the current task.
4. Verification Before Done
- Never mark a task complete without proving it works.
- Diff behaviour between
mainand your changes when relevant. - Ask yourself: "Would a staff engineer approve this?"
- Run tests, check logs, demonstrate correctness.
5. Demand Elegance (Balanced)
- For non-trivial changes: pause and ask "is there a more elegant way?"
- If a fix feels hacky: "Knowing everything I know now, implement the elegant solution."
- Skip this for simple, obvious fixes — don't over-engineer.
- Challenge your own work before presenting it.
6. Autonomous Bug Fixing
- When given a bug report: just fix it. Don't ask for hand-holding.
- Point at logs, errors, failing tests — then resolve them.
- Zero context switching required from the user.
- Go fix failing CI tests without being told how.
Task Management
- Plan First — Write the plan to
tasks/todo.mdwith checkable items. - Verify Plan — Check in with the user before starting implementation on non-trivial work.
- Track Progress — Mark items complete as you go.
- Explain Changes — High-level summary at each step.
- Document Results — Add a review section to
tasks/todo.md. - Capture Lessons — Update
tasks/lessons.mdafter corrections.
The TodoWrite tool stays the in-session runtime tracker. tasks/todo.md is the durable, repo-visible plan that survives sessions and is part of the project's collaboration contract.
Core Principles
- Simplicity First — Make every change as simple as possible. Impact minimal code.
- No Laziness — Find root causes. No temporary fixes. Senior developer standards.
Project-Specific Reminders
- Audit-only philosophy: never recommend pricing tiers, MRR projections, traffic uplift estimates, or "client-ready" sales framing. Findings are framed in
effort × score-gain × confidence. Seefeedback_audit_onlyin user memory. - Per-LLM analysis: report citation likelihood per LLM (ChatGPT/Google, Gemini/Google, Perplexity/multi, Claude/Brave, Le Chat/Brave). No single composite "AI readiness" score — see
docs/LLM_RETRIEVAL_ARCHITECTURE.md. - Evidence over claim: distinguish proven signals (Schema validity, crawler access, Wikipedia/Wikidata presence, SERP rank) from emerging / weakly-evidenced ones (llms.txt, citability passage scoring). Tag confidence on every finding.
- No paid APIs: the toolkit must run without paid LLM/search APIs. Free public APIs (MediaWiki, Wikidata SPARQL, Brave Search free tier, Wayback) and respectful scraping only.
site-client/is gitignored: never commit audit artefacts. Local-only by design.- Branch hygiene: single branch
main. Noupstreamremote is configured. Don't reintroduce one — the repo's history is intentionally self-contained. - Output language: audit reports default to the audited site's language (detected via
scripts/site_locale.py— HTMLlang→Content-Language→ TLD → fallbacken). The user can override with--output-lang <iso2>. Fallback: English. This applies to all skills and scripts that produce user-facing Markdown / prose. Seetasks/lessons.md2026-04-25 entry for rationale.
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.

