Borrowing it
Nothing to install: this file belongs to PetePeter/helm. 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/PetePeter/helm/master/CLAUDE.mdgit clone --depth 1 https://github.com/PetePeter/helmWrote 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/petepeter/helm/claude-md)<a href="https://agentmods.dev/instructions/petepeter/helm/claude-md"><img src="https://agentmods.dev/badge/instructions/petepeter/helm/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.
<a href="https://agentmods.dev/instructions/petepeter/helm/claude-md"><img src="https://agentmods.dev/badge/instructions/petepeter/helm/claude-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.03938 | $0.03938 |
| Opus 5.5 | $0.01575 | $0.01575 |
| Sonnet 5.5 | $0.00788 | $0.00788 |
| Haiku 4.5 | $0.00394 | $0.00394 |
Grade A, and why
helm 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 yesterday.
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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Helm
Mission
DIY Xbox controller → CLI session manager. Control multiple AI coding CLIs (Claude Code, Copilot CLI, etc.) from a single game controller. Embedded terminals via node-pty + xterm.js — no external windows. Built as an Electron 41 desktop app on Windows.
Scope of this file: orientation and the invariants that constrain code anywhere in the repo. It is deliberately NOT a feature catalogue — per-feature behaviour lives in
docs/. When you add a feature, document it there and link it from the table; do not grow this file.
System Overview
graph TB
XC[Gamepad<br/>Xbox USB/BT · Generic/DirectInput]
subgraph "Electron App"
subgraph "Renderer Process"
UI[UI: Sessions / Settings<br/>Vue 3 + Pinia]
BGA[Browser Gamepad API]
TV[TerminalManager → xterm.js]
end
subgraph "Main Process"
IPC[IPC Handlers<br/>domain files + orchestrator]
SM[SessionManager<br/>EventEmitter]
PTY[PtyManager<br/>node-pty]
SD[StateDetector<br/>activity + AIAGENT-* keywords]
CL[ConfigLoader<br/>Profile YAML]
FEAT[Feature managers<br/>Plans · Drafts · Artifacts · …]
end
UI <-->|contextBridge| IPC
BGA -->|button events| UI
TV <-->|pty:data / pty:write| PTY
end
XC --> BGA
IPC --> SM & PTY & CL & FEAT
PTY --> SD
Every feature manager follows the same shape: an EventEmitter class in src/session/, an injected persist sink writing YAML/JSON under the user config dir, IPC channels exposed through the preload bridge, and a renderer composable owning the reactive mirror. Match that shape when adding one.
Data Flow
Gamepad → Browser Gamepad API (renderer polling, 16ms)
→ IPC gamepad:event → debounce (250ms)
→ Resolve binding (the CLI type's binding profile)
→ Execute action (keyboard/voice/spawn/switch/context-menu)
D-pad / left stick navigates sessions and auto-selects the terminal.
Keyboard input routes to the active terminal (PTY stdin), blocked while a
selection-mode modal overlay is visible.
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.
- yesterday Changed · +1 lines · +29 tokens per session 997fa200a8f5
- 16d ago Changed · +2 tokens per session 9326f55e2df5
- 17d ago Changed · +13 tokens per session a6a551ce4a15
- 20d ago Changed · +1 lines · +52 tokens per session 2f6f7d20d59e
- 20d ago Changed · +1 lines · +14 tokens per session ed98ad5f9137
- 22d ago Changed · +2 lines · +99 tokens per session 61dfd0cf0d7e
- 29d ago Changed · +1 lines · +42 tokens per session b23edde45eec
- 1mo ago Changed b2bf698be437
- 1mo ago Changed · +1 lines · +43 tokens per session 5dfcedd74343
- 1mo ago First seen · 199 lines · 3,644 tokens per session scan A 7bd64f05d28c
helm CLAUDE.md is an instructions file published in the GitHub repository PetePeter/helm (30 stars, last pushed today), licensed MIT. It adds 3,938 tokens to every session, about $0.0158 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-30.
helm CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| helm CLAUDE.mdPetePeter/helm | Instructions file | 30 | today | MIT | A | 3,938 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |