codeagent-mobile-clients: Instructions file for Claude Code

CLAUDE.md

codeagent-mobile-clients CLAUDE.md is an instructions file for Claude Code from edgar-durand/codeagent-mobile-clients. It costs 13,162 tokens per session, scanned A, original, MIT.

A set of project instructions for CodeAgent Mobile's client-side code, including a command-line tool, editor extensions, and shared TypeScript packages.

In plain words
What is it for?
Use it when changing the CLI, VS Code or similar editor extension, JetBrains plugin, or shared client code.
Why use it?
It gives an AI coding agent the repository layout and a rule to question a proposed approach when a better one is apparent.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is edgar-durand/codeagent-mobile-clients's own configuration. It tells Claude Code how to work on codeagent-mobile-clients itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codeagent-mobile-clients configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/edgar-durand/codeagent-mobile-clients/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/edgar-durand/codeagent-mobile-clients

Made for: Claude Code.

Wrote 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.

agentmods badge for codeagent-mobile-clients CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/edgar-durand/codeagent-mobile-clients/claude-md/github.svg)](https://agentmods.dev/instructions/edgar-durand/codeagent-mobile-clients/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/edgar-durand/codeagent-mobile-clients/claude-md"><img src="https://agentmods.dev/badge/instructions/edgar-durand/codeagent-mobile-clients/claude-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.

agentmods 80×15 button for codeagent-mobile-clients CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/edgar-durand/codeagent-mobile-clients/claude-md"><img src="https://agentmods.dev/badge/instructions/edgar-durand/codeagent-mobile-clients/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,162 This file is loaded in full into every session.
When invoked 13,162 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.13162 $0.13162
Opus 5.5 $0.05265 $0.05265
Sonnet 5.5 $0.02632 $0.02632
Haiku 4.5 $0.01316 $0.01316

Measured 7d ago against content hash 1c130c4ac774, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codeagent-mobile-clients 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 7d 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.

CLAUDE.md · 644 lines

How it starts

The opening of the file, as written. The whole thing — 644 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Guidance for Claude Code (claude.ai/code) when working inside this repository.

Overview

This repo holds the client-side pieces of CodeAgent Mobile:

  • apps/cli — codeam-cli, the Node.js CLI that spawns Claude Code under a PTY and relays mobile prompts. Published to npm.
  • apps/vsc-plugin — The VS Code / Cursor / Windsurf extension. Published to VS Code Marketplace and Open VSX.
  • apps/jetbrains-plugin — The IntelliJ-family plugin (IntelliJ IDEA, WebStorm, PyCharm, Rider, GoLand, …). Published to JetBrains Marketplace (stable channel) by the tag-triggered release workflow.
  • packages/shared — @codeam/shared, pure-TypeScript modules (chunk-protocol parser, Anthropic pricing tables) bundled into the CLI and the VS Code extension at build time.

The backend, mobile app, and web dashboard are maintained elsewhere and are not in scope here.

Cuestiona lo que se te pide cuando veas algo mejor

Si el usuario propone A y ves que B es mejor, DILO antes de construir A. No te calles una opción mejor por ser obediente: callársela es una decisión, y es la peor de las dos.

Cómo hacerlo sin frenar el trabajo:

  • Di la alternativa y por qué, en dos frases. Lo que gana, lo que cuesta. Nada de encuestas de opciones ni de "podríamos considerar".
  • Recomienda una. Si te preguntan qué harías, ya tienes la respuesta.
  • Si es reversible y claramente mejor, hazlo y dilo — el usuario lo ve en el resultado y puede pedirte que vuelvas. Si es difícil de deshacer, cambia el alcance, o depende de algo que solo el usuario sabe, pregunta ANTES.
  • Si te reafirma su idea, esa es la decisión. Constrúyela entera y sin reproches; ya dijiste lo tuyo.

Un ejemplo real de por qué existe esta regla (2026-08-27): se pidió mover la cabecera a un raíl lateral para que el simulador cupiera entero. Mover la cabecera ganaba ~48 px, pero el marco medía ~869 px de alto y en un portátil seguía sin caber: sin escalarlo al alto disponible, el objetivo no se alcanzaba igual. Decirlo con la aritmética delante ahorró una ronda entera.

Read the full file on GitHub · 644 lines

Changes

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.

  1. 7d ago Changed · +14 lines · +326 tokens per session 1c130c4ac774
  2. 14d ago Changed · +2 lines · +58 tokens per session 7ee9107e7d59
  3. 15d ago Changed · +2 lines · +334 tokens per session c538752e54d6
  4. 19d ago Changed · +13 lines · +334 tokens per session 6fbc7f53056e
  5. 26d ago Changed · +7 lines · +258 tokens per session 944bc1f3f3e4
  6. 1mo ago Changed · +7 lines · +124 tokens per session 403dced6f216
  7. 1mo ago Changed · -29 lines · -582 tokens per session scan B → A 8f033cec61c2
  8. 1mo ago First seen · 628 lines · 12,310 tokens per session scan B ebc82983e2df

Subscribe to this mod's changes

codeagent-mobile-clients CLAUDE.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 13,162 tokens to every session, about $0.0526 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.