Borrowing it
Nothing to install: this file belongs to edgar-durand/codeagent-mobile-clients. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/edgar-durand/codeagent-mobile-clients/main/AGENTS.mdgit clone --depth 1 https://github.com/edgar-durand/codeagent-mobile-clientsWrote 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/edgar-durand/codeagent-mobile-clients/agents-md)<a href="https://agentmods.dev/instructions/edgar-durand/codeagent-mobile-clients/agents-md"><img src="https://agentmods.dev/badge/instructions/edgar-durand/codeagent-mobile-clients/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/edgar-durand/codeagent-mobile-clients/agents-md"><img src="https://agentmods.dev/badge/instructions/edgar-durand/codeagent-mobile-clients/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.00850 | $0.00850 |
| Opus 5.5 | $0.00340 | $0.00340 |
| Sonnet 5.5 | $0.00170 | $0.00170 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
codeagent-mobile-clients 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 1mo 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 — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Canonical agent instructions for this repo live in
CLAUDE.md. Read it first — this file is a cross-tool entry point that points there and surfaces the highest-signal rules inline.
This is the client-side repo: codeam-cli (npm), the VS Code / Cursor / Windsurf extension, the JetBrains plugin, and @codeam/shared (the wire protocol). The backend lives in the sibling codeagent-mobile repo.
Non-negotiables (full detail in CLAUDE.md)
- Releases are tag-triggered: all three clients ship under ONE version line.
git tag vX.Y.Z && git push origin vX.Y.Zpublishes npm + VS Code Marketplace + Open VSX + JetBrains. Commits tomainrun CI but do NOT release. - Protocol code is shared: parsing / pricing / chunk shapes change ONLY in
packages/shared(@codeam/shared); both CLI and VS Code import through it. - No polling for realtime: react inside the PTY/SSE event (
OutputService.push), don't addsetTimeout"check again" loops. The HTTP-polling fallback incommand-relay.service.tsis the one documented exception. - Typing: no
as unknown as/anyto silence TS — fix the source.
Agent-failure messaging (2026-06-24 — apps/cli/src/agents/acp/runner.ts)
A turn must NEVER end silently or with a misleading status. Tests: __tests__/agents/acp.failureBubble.test.ts.
failureBubbleis the sole arbiter, keyed on the agent's OWN error.- The provider-outage bubble fires ONLY from the agent's error — NEVER from polling the status page. A status-page incident can be live while the user's local agent is fine. The
checkProviderStatusstatus-page catch-all was removed inv2.42.0for that false positive. The status page is the link inside the bubble, not a trigger. - Auth notice as a completed-turn reply (
Not logged in · Please run /loginprinted as plain text, turn ends cleanly) → caught byreplyIsAuthFailure(≤200-char guard) → re-auth bubble +reportCredentialInvalid. - 1M-context usage-credits gate (
v2.43.0, reworked): claude Code v2.1.x always sends thecontext-1mbeta even on credit-less accounts → 429 "Usage credits required for 1M context" every turn.looksLike1mContextCreditsErrorclassifies it; the recovery is to reconnect the Claude subscription via the in-app OAuth (acodeam://reauthbubble +reportCredentialInvalid), because the credential simply lacks the entitlement — the old "Disable 1M context and continue"select_promptdid NOT fix it (2026-06-24) and was removed.
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.
- 1mo ago Changed · +4 tokens per session 385e25f76006
- 1mo ago First seen · 30 lines · 846 tokens per session scan A bc4d78d73c3a
codeagent-mobile-clients AGENTS.md is an instructions file published in the GitHub repository edgar-durand/codeagent-mobile-clients (8 stars, last pushed 2d ago), licensed MIT. It adds 850 tokens to every session, about $0.0034 per session on Opus 5.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
plugin-files-mode
Rosetta Plugin Mode Bootstrap.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).