claude-e AGENTS.md

Project instructions for claude-e, a Rust program distributed through npm that runs Claude Code. They also describe its command names, output format, source rules, and documentation.

In plain words
What is it for?
Use them when modifying claude-e, its command-line integration, JSONL output, build files, release packaging, or related documentation.
Why use it?
They give coding agents consistent rules for changing, testing, packaging, and documenting the runtime without breaking existing command or output compatibility.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/lidge-jun/claude-e/agents-md
Clone the repo
git clone --depth 1 https://github.com/lidge-jun/claude-e

Made for: Codex, OpenCode.

Per session 227 This file is loaded in full into every session.
When invoked 227 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00227 $0.00227
Opus 5 $0.00113 $0.00113
Sonnet 5 $0.00045 $0.00045
Haiku 4.5 $0.00023 $0.00023

Measured 2d ago against content hash c113f00f8698, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-e 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.

AGENTS.md · 17 lines

What it actually says

claude-e

claude-e is a standalone npm-distributed Rust runtime wrapper for Claude Code.

Source Rules

  • Keep generated build output out of git. target/ must stay ignored.
  • Prefer cargo fmt, cargo test, and cargo build --release before publishing runtime changes.
  • Keep the public npm package and short command name claude-e. The long claude-exec binary remains an intentional compatibility alias, alongside claude-i and jaw-claude-i, until cli-jaw fully migrates.
  • Preserve the stdout JSONL contract unless a migration document in structure/ and devlog/ describes the compatibility plan.

Documentation

  • structure/ is the architecture and runtime surface reference.
  • devlog/_plan/ holds active planning work. New durable plan docs use numbered prefixes such as 00_overview.md.
  • Update README.md, structure/INDEX.md, and the relevant devlog plan when command flags, protocol events, exit codes, packaging, or cli-jaw integration behavior changes.
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. 2d ago First seen · 17 lines · 227 tokens per session scan A c113f00f8698

Subscribe to this mod's changes

claude-e AGENTS.md is an instructions file published in the GitHub repository lidge-jun/claude-e (18 stars, last pushed 3mo ago), licensed MIT. It adds 227 tokens to every session, about $0.0011 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.