mish CLAUDE.md

mish CLAUDE.md is an instructions file for coding agents from aetherwing-io/mish. It costs 1,382 tokens per session, scanned A, original, MIT.

A project instruction file for Mish, a Rust program that proxies shell commands and provides an MCP server for supervising processes. It records the project's design status, naming rules, and documentation map.

In plain words
What is it for?
It helps navigate the architecture, specifications, command-line proxy, MCP server, streaming, classification, and other design documents.
Why use it?
It gives contributors a shared understanding of the unfinished project's architecture and prevents inconsistent terminology or documentation choices.

Instructions file

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/aetherwing-io/mish/claude-md
Clone the repo
git clone --depth 1 https://github.com/aetherwing-io/mish

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 mish CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aetherwing-io/mish/claude-md.svg)](https://agentmods.dev/instructions/aetherwing-io/mish/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aetherwing-io/mish/claude-md"><img src="https://agentmods.dev/badge/instructions/aetherwing-io/mish/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,382 This file is loaded in full into every session.
When invoked 1,382 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.01382 $0.01382
Opus 5 $0.00691 $0.00691
Sonnet 5 $0.00276 $0.00276
Haiku 4.5 $0.00138 $0.00138

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

Security

Grade A, and why

mish 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 3d 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 · 109 lines

How it starts

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

mish

LLM-native shell. A Rust binary that is both a CLI command proxy and a full MCP server for process supervision. It wraps shell commands with structured, context-efficient responses, manages concurrent PTY sessions, and provides process lifecycle control — all through a single binary.

Status

Design/spec phase. No source code yet. All work is in docs/.

Naming

The project is mish. Never use "llmsh" — that was the old name.

Docs

Start here: docs/ARCHITECTURE.md is the unified execution model — it shows how both modes (CLI proxy and MCP server) share a four-layer architecture: Entry Points → Category Router → Mode-Aware Handlers → Shared Primitives.

Doc Covers
ARCHITECTURE.md Unified execution model, module structure, PTY risk assessment
SPEC.md Project overview and quick reference
mish_spec.md MCP server mode definitive spec (process table, yield, handoff, policy)
PROXY.md CLI proxy mode and the 6-category routing system
GRAMMARS.md Grammar schema, tool grammar specs, dialect system
CLASSIFIER.md Three-tier classification engine
STREAMING.md Streaming buffer, PTY capture
DEDUP.md Deduplication engine
PREFLIGHT.md Argument injection (quiet/verbose flags)
VERBOSITY.md Verbose flag injection, file stat enrichment
ENRICH.md Error enrichment (failure diagnostics)

Three Modes, One Binary

Daemon (mish daemon)

Shared process table over Unix socket. All mish serve instances auto-connect to the daemon if running, enabling cross-agent visibility and coordination.

# Start daemon (background)
mish daemon &

# All subsequent `mish serve` instances proxy to the daemon
# Agents can see each other's processes via sh_session(action="list")
  • Socket: ~/.local/share/mish/mish.sock
  • Proc log: ~/.local/share/mish/procs.jsonl (crash recovery)
  • Orphan re-adoption: on startup, checks PIDs from log, re-adopts survivors

Read the full file on GitHub · 109 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. 3d ago First seen · 109 lines · 1,382 tokens per session scan A bdf459bab631

Subscribe to this mod's changes

mish CLAUDE.md is an instructions file published in the GitHub repository aetherwing-io/mish (5 stars, last pushed 5mo ago), licensed MIT. It adds 1,382 tokens to every session, about $0.0069 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.