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/lydakis/mcpx/agents-mdgit clone --depth 1 https://github.com/lydakis/mcpxWhat 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 | $0.00540 | $0.00540 |
| Opus 5 | $0.00270 | $0.00270 |
| Sonnet 5 | $0.00108 | $0.00108 |
| Haiku 4.5 | $0.00054 | $0.00054 |
Grade A, and why
mcpx AGENTS.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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Owner: George Lydakis (@lydakis)
Scope
- This file applies to this repository.
- Keep implementation aligned with docs/design.md.
Working Style
- Keep diffs small and reviewable.
- Favor root-cause fixes over patches.
- For behavior changes and bug fixes, add/adjust tests first when practical.
- Preserve the command contract unless intentionally changed:
mcpxlists serversmcpx <server>lists toolsmcpx <server> <tool>calls tool
- If repeated review rounds on the same subsystem keep surfacing new P1s, stop patching locally and write a short reset plan before continuing.
Quality Gates
- Run
go test ./...for changed scope. - Run
go vet ./.... - Run
go build ./.... - For performance-sensitive changes (daemon lifecycle, CLI dispatch, cache/pool hot paths), run
make perf; usemake perf-loopwhen validating warm CLI throughput. - Benchmark checks are manual/non-blocking unless explicitly requested as a hard gate; when run, include commands and a short before/after summary in handoff.
- If any gate cannot run, document why in handoff.
Architecture Boundaries
internal/cli: CLI argument parsing and UX surface only.internal/daemon+internal/ipc: lifecycle, socket auth, dispatch.internal/mcppool: MCP transport/session concerns only.internal/response: MCP result unwrapping/mapping only.internal/cache: cache keying and TTL storage only.
Runtime And Cache Invariants
- Preserve strict same-CWD correctness without adding synchronous config I/O to the unchanged warm path.
- Runtime source monitoring and fingerprinting must observe the same files, including config, fallback, auth, OAuth credentials, and symlink targets.
- Requested tool names control cache policy. Resolved backend tool identities control cache storage and validation.
- Check cold-daemon and keepalive-expired behavior when strengthening cache or tool-validation invariants.
- Cover unchanged and changed same-CWD requests, invalid config, cold-daemon cache hits, stale tools, and symlinked source edits with regressions.
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.
- 2d ago First seen · 52 lines · 540 tokens per session scan A d46ccb9d40f9
mcpx AGENTS.md is an instructions file published in the GitHub repository lydakis/mcpx (52 stars, last pushed 3d ago), licensed MIT. It adds 540 tokens to every session, about $0.0027 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
shell-mcp CLAUDE.md
Claude Code instructions for luciVuc/shell-mcp, covering claude.md, project overview, common commands, build the typescript project and run in development mode (with tsx).
llm-context.py CLAUDE.md
Instructions for cyberchitta/llm-context.py, covering claude.md, working notes (gitignored) and draining the field notes.
seekstone CLAUDE.md
Instructions for shaqmughal/seekstone, covering claude.md, what this repo is, commands, the harness itself (run after npm install) and architecture.
Plonk AGENTS.md
Instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
mcp-dockhand copilot-review.instructions.md
Instructions for strausmann/mcp-dockhand: When reviewing pull requests in this repository.
cyxj-groksearch CLAUDE.md
Instructions for chenyuxiaojin/cyxj-groksearch, covering claude.md, 常用命令 and 结构与坑.