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/codika-io/clave/claude-mdgit clone --depth 1 https://github.com/codika-io/claveWhat 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.03625 | $0.03625 |
| Opus 5 | $0.01813 | $0.01813 |
| Sonnet 5 | $0.00725 | $0.00725 |
| Haiku 4.5 | $0.00363 | $0.00363 |
Grade A, and why
clave CLAUDE.md scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **PATH resolution in packaged app (CRITICAL)**: Packaged Electron apps have a minimal PATH (`/usr/bin:/bin:/usr/sbin:/sbin`). The user's full PATH must be resolved by spawning a login shell. **NEVER use `execSync`** — How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clave
Mac desktop app for managing multiple coding-agent CLI sessions in parallel. Provider-agnostic: it orchestrates Claude Code (Cmd+N), Antigravity CLI (Cmd+I), and Codex CLI (Cmd+U) sessions side by side, plus plain terminals (Cmd+T) and remote agents over OpenClaw. Electron + React + TypeScript.
Clave's companion agent plugin (clave, exposing /clave:create-workspace and /clave:recover-sessions) ships from plugin/ in this repo — see plugin/CLAUDE.md. It is installed with npx plugins add codika-io/clave, resolved through .claude-plugin/marketplace.json at the root. The Electron app reads installed plugins from ~/.claude/plugins/ at runtime and never reads plugin/ directly; the folder is here so a .clave format change and the skill that describes it land in the same commit (see the schema sync rule below).
Commands
npm run dev— start dev (Electron window + hot reload)npm run build— typecheck + buildnpm run build:mac— build + package macOS universal dmg + zip (signed + notarized)npm run typecheck— typecheck onlynpm run lint— eslint- Releases ship via CI on push to
prod(bump from a[minor]/[major]commit-message marker, else patch) — see.claude/rules/release.md.npm run release -- --patch|--minor|--majorremains the local fallback.
Architecture
Three-process Electron app:
- Main (
src/main/): Electron window, node-pty, IPC handlers, domain managers. PTY spawns/bin/zsh -l -c claudeper session. IPC handlers are split into modular files underipc-handlers/. - Preload (
src/preload/): Typedwindow.electronAPIvia contextBridge. All main↔renderer communication goes through IPC. - Renderer (
src/renderer/src/): React + Zustand + xterm.js + Tailwind v4 + Framer Motion.
Windows (PRDCT-1703): a window is the whole app once more, on whatever workspace the user put it on — several windows may show the same workspace. One main process, one MCP server, one pty-manager, one event store; each window is a renderer with its own Zustand stores. Sessions and groups live in the window they were opened in, and that is all "which window" means: every window has a persisted windowKey (windows.json, src/main/window-state.ts), its own sidebar layout file (sidebar-layouts/windows/<key>.json), and session records carry the key of their home window. The runtime truth (window ↔ key ↔ workspace, session → window) is src/main/window-registry.ts; the lowest-id live window is the primary: it adopts orphans at boot (records and layouts whose window no longer exists) and takes in what a closing window leaves (its tmux-backed tabs re-home there with their groups, ids preserved). Moving a tab or a group between windows is the same detach + re-adopt (window:move-sessions / window:move-group), and the agent tools take a window argument for it. A call from an agent lands in the window holding its subject session, else the window it names, else the caller's window — never a window picked from the workspace argument.
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.
- 2d ago First seen · 90 lines · 3,625 tokens per session scan A 4178c4411f53
clave CLAUDE.md is an instructions file published in the GitHub repository codika-io/clave (47 stars, last pushed 4d ago), licensed MIT. It adds 3,625 tokens to every session, about $0.0181 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
outline-apps AGENTS.md
AGENTS.md instructions for OutlineFoundation/outline-apps, covering welcome to the outline monorepo!, repository structure, the npm run action command, common actions and other useful commands.
warp AGENTS.md
AGENTS.md instructions for warpdotdev/warp, covering agents.md, development commands, build and run, running with local warp-server and connect to server on default port 8080.
outline-apps CLAUDE.md
Claude Code instructions for OutlineFoundation/outline-apps: This project uses AGENTS.md instead of CLAUDE.md.
wispterm AGENTS.md
Instructions for xuzhougeng/wispterm, covering agents.md, architecture, ui presentation styles, cohesion and coupling and integration layer vs feature domains.
liney AGENTS.md
Instructions for everettjf/liney, covering liney repository collaboration guide, 交流语言 / communication language, project overview, repository layout and build and test.
starboard CLAUDE.md
Instructions for palamim/starboard, covering claude.md, commands, code style, architecture and non-obvious gotchas (not discoverable by reading the code).