Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/upgrade-ventures/upgradeseo/claude-mdgit clone --depth 1 https://github.com/upgrade-ventures/upgradeseoWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/upgrade-ventures/upgradeseo/claude-md)<a href="https://agentmods.dev/instructions/upgrade-ventures/upgradeseo/claude-md"><img src="https://agentmods.dev/badge/instructions/upgrade-ventures/upgradeseo/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00807 | $0.00807 |
| Opus 5 | $0.00404 | $0.00404 |
| Sonnet 5 | $0.00161 | $0.00161 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
upgradeseo CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
86% identical to open-seo AGENTS.md — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent guidance
Engineering principles
- Prefer simple, readable, flat code with minimal indirection.
- Search for existing implementations and installed libraries before creating new helpers or abstractions.
- Abstract when it prevents meaningful drift and makes the result simpler to maintain. Avoid speculative or one-use abstraction layers.
- Keep product data normalized and relationships explicit. Do not encode relational data in JSON or text merely to avoid joins.
- For new application-backed backend functionality, default to: TanStack server function → service → repository.
- Keep schema changes, queries, and mutations compatible with both SQLite and Postgres.
- Use idiomatic TypeScript. Use Zod to validate untrusted data and narrow runtime values at trust boundaries.
- Prefer established project helpers and libraries over hand-rolled implementations.
- Prefer idiomatic TanStack Query, Router, and Form patterns for server state, routing, and submitted forms.
Testing
- Don't add tests just for the sake of it. A test exists to enforce core behavior or a hard-to-spot edge case that could actually occur.
- Keep tests as simple as possible, and always review them looking for simplifications.
- Test behavior at the public entry point. Assert argument forwarding to a mocked collaborator only when that mapping is the contract (billing params, telemetry events).
- Statically import the module under test.
vi.mockis hoisted, so per-testawait import()andvi.resetModules()are banned unless module-level state must reset — comment why. - Never re-declare a production class in a test. Import the real one; if the module is too heavy to import, move the class to a leaf module first (see
ga4Errors.ts,gscErrors.ts). beforeEachsets default mock return values only. Vitest'sclearMocksalready resets call state — nomockReset/mockClearceremonies.- Fixtures contain only the fields the test asserts on or the types require. Shared shapes get a factory with overrides (see
ga4-test-fixtures.ts,tool-test-support.ts); a fixture longer than its test's assertions is a smell. - One test per invariant. Don't re-test Zod or a library, and don't repeat an output-schema round-trip in every happy path.
- Don't mock ORM builder chains. Test repositories through services or real SQL evaluation; chain mocks break on refactors that change no behavior.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 38 lines · 807 tokens per session scan A 5d33ad081d7c
upgradeseo CLAUDE.md is an instructions file published in the GitHub repository upgrade-ventures/upgradeseo (1 stars, last pushed 18d ago), licensed MIT. It adds 807 tokens to every session, about $0.0040 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to open-seo AGENTS.md, differing in 12 lines, and is treated as a copy.
Other instructions, from other repositories
crawlseo AGENTS.md
AGENTS.md instructions for crawlseo/crawlseo, a project described as: Open-source SEO monitoring. GSC + Site Crawler + Core Web Vitals in one dashboard.
urantia-dev-api CLAUDE.md
Claude Code instructions for urantia-hub/urantia-dev-api, covering urantia-dev-api, scope of this service, tech stack, dependency and toolchain pins and testing against production.
crawlseo CLAUDE.md
Claude Code instructions for crawlseo/crawlseo, a project described as: Open-source SEO monitoring. GSC + Site Crawler + Core Web Vitals in one dashboard.
openscreen AGENTS.md
AGENTS.md instructions for getopenscreen/openscreen, covering agents.md, setup commands, development principles, project layout and code style.
Claw3D AGENTS.md
Instructions for iamlukethedev/Claw3D, covering agent instructions, cursor cloud specific instructions, service overview, running the app and lint, typecheck, and tests.
claude-ads CLAUDE.md
Instructions for AgriciDaniel/claude-ads, covering claude ads repository instructions, architecture, development and verification.