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/eksdev007/xcodeinstrumentmcp/agents-mdgit clone --depth 1 https://github.com/eksdev007/xcodeinstrumentmcpWhat 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.00622 | $0.00622 |
| Opus 5 | $0.00311 | $0.00311 |
| Sonnet 5 | $0.00124 | $0.00124 |
| Haiku 4.5 | $0.00062 | $0.00062 |
Grade A, and why
xcodeinstrumentmcp 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 yesterday.
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 — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Repository expectations
- Read
docs/task-definition.mdbefore editing code. - Treat
docs/spec.mdanddocs/appendix.mdas normative requirements, not suggestions. - The first public release is the feature set formerly discussed as
v1.1; ship tag remainsv1.0.0. - This repository is a single package implementation target. Do not convert it into a monorepo.
- Prefer
pnpmfor all package operations. - Keep the implementation ESM-only TypeScript on Node.js 22+.
- Do not add production dependencies unless required by the specs or documented in
docs/architecture-decisions.md.
Execution loop
- Before making broad architectural changes, re-read
docs/architecture-decisions.md. - After each meaningful change, run
bash scripts/verify.sh. - Do not mark any requirement complete unless verification evidence exists in tests, fixtures, or a documented manual validation note.
- When a behavior changes, update docs, fixtures, and snapshots in the same change.
- Prefer small validated diffs over speculative large rewrites.
Priority order
- failing verification script outputs
- missing required public surface from the specs
- fixture coverage gaps
- docs drift
- convenience improvements
Guardrails
- Never expose raw low-level
xctracepassthrough tools in the public MCP surface unless the specs explicitly require them. - Never implement signpost rewriting with regex. Use the SwiftSyntax helper path described in
docs/appendix.md. - Never claim metric precision that is unsupported by the exported evidence.
- Keep outputs bounded by default.
- Preserve privacy-first local behavior.
Audit Answer Expectations
- Do not turn sparse or low-signal traces into broad performance narratives.
- Lead with the strongest defensible conclusion, not a tour of every instrument result.
- Separate app-owned evidence from SDK, wrapper, analytics, and framework noise.
- If the trace is weak, say so explicitly:
no actionable app bottleneck isolatedis better than generic advice. - Prefer one concrete suspect path, symbol, or subsystem over a long generic hotspot list.
- State confidence and limits in plain language when the capture window is too quiet, too broad, or dominated by vendor code.
- End with the next targeted recording step needed to answer the unresolved human question.
- When summarizing for humans, answer these four questions directly:
- What is the most likely real issue?
- How confident is that conclusion?
- What specific code or subsystem should be inspected next?
- What capture should be rerun if the evidence is still weak?
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.
- yesterday First seen · 60 lines · 622 tokens per session scan A c9570b70d001
xcodeinstrumentmcp AGENTS.md is an instructions file published in the GitHub repository eksdev007/xcodeinstrumentmcp (2 stars, last pushed 4mo ago), licensed MIT. It adds 622 tokens to every session, about $0.0031 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-31.
Other instructions, from other repositories
Xcode-Build-Optimization-Agent-Skill AGENTS.md
Instructions for AvdLee/Xcode-Build-Optimization-Agent-Skill, covering agent guidance, layout, skills, rules and handoff between skills.
Xcode-Build-Optimization-Agent-Skill copilot-instructions.md
Instructions for AvdLee/Xcode-Build-Optimization-Agent-Skill, covering repository mission, agent skill requirements, behavior constraints, build optimization focus areas and common issues to flag.
pymobiledevice3 AGENTS.md
AGENTS.md instructions for doronz88/pymobiledevice3, covering agents, scope, commit expectations, project conventions and where to add things.
pymobiledevice3 CLAUDE.md
Claude Code instructions for doronz88/pymobiledevice3, a project described as: Pure python3 implementation for working with iDevices (iPhone, etc...).
instruments-mcp-server CLAUDE.md
Instructions for nemanjavlahovic/instruments-mcp-server, covering instrumentsmcp, what this is, architecture, key design decisions and adding new parsers.
serve-sim AGENTS.md
Instructions for EvanBacon/serve-sim, covering native build notes, e2e testing with agent-browser and e2e testing via the serve-sim cli.