Borrowing it
Nothing to install: this file belongs to alamops/agetor. 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/alamops/agetor/main/CLAUDE.mdgit clone --depth 1 https://github.com/alamops/agetorWrote 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/alamops/agetor/claude-md)<a href="https://agentmods.dev/instructions/alamops/agetor/claude-md"><img src="https://agentmods.dev/badge/instructions/alamops/agetor/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/alamops/agetor/claude-md"><img src="https://agentmods.dev/badge/instructions/alamops/agetor/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.14872 | $0.14872 |
| Opus 5.5 | $0.05949 | $0.05949 |
| Sonnet 5.5 | $0.02974 | $0.02974 |
| Haiku 4.5 | $0.01487 | $0.01487 |
Grade C, and why
agetor CLAUDE.md scanned grade C with 2 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 4d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
4. `DELETE /tasks/:id` kills any active run, then best-effort `git worktree remove --force` + `git branch -D` (with an `rm -rf` fallback under `dataDir/worktrees/`). It never blocks the delete. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **Every spawn goes through `coreSpawn` / `coreSpawnSync`.** A raw `Bun.spawn`, `spawnSync`, `child_process` or `Bun.$` in `src/bun` or `src/shared` fails `core-spawn-allowlist.test.ts`; call sites never call `disclaimA How it starts
The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
It holds what every change needs: the architecture in brief, the rules that apply everywhere, the commands, the conventions and the known traps. The full contract of each subsystem (routes, invariants, edge cases, test seams) lives in docs/architecture/. Before you change a subsystem, read its doc from the Topic map. The long ones are easier to grep for the symbol you're touching than to read end to end. When a change alters a subsystem's behavior, update its doc in the same change, and add to this file only what every task needs to know.
What this is
Agetor is a local desktop app that orchestrates CLI coding agents (Claude Code, OpenAI Codex, others) from a kanban board. Each task is a prompt + working directory + agent choice; running it spawns the agent as a child process, streams its stdout/stderr to the UI, and moves the card through columns based on exit status.
It is Electrobun (not Electron) — native webviews driven by a Bun main process. Do not reach for Electron APIs, IPC patterns, or Node-only modules.
Stack and architecture
Two processes share this repo and a small shared types directory:
- Bun main process (
src/bun/) owns the ElectrobunBrowserWindow, a SQLite store, and an HTTP API the webview talks to. The webview is loaded either from the Vite dev server (http://localhost:5173when present) or from the bundledviews://mainview/index.html. - React webview (
src/mainview/) renders the kanban board with dnd-kit, talks to the Bun side overfetch+ SSE, and uses hand-rolled shadcn/ui primitives styled with Tailwind v3 + CSS variables. - Shared (
src/shared/types.ts) is the only place both processes import from. Keep it free of runtime imports from either side.
The browser ↔ main connection is intentionally a localhost HTTP API (Bun.serve on AGETOR_API_PORT, default 4317), not Electrobun's RPC. In brief (the full contract is security.md; the rationale and decisions D1–D26 are in docs/plans/master-token-agent-read.md):
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.
- 4d ago Changed · +1 lines · +500 tokens per session c29f1119d49d
- 5d ago Changed · +45 lines · -35,050 tokens per session scan F → C 5900d9a09209
- 1mo ago Changed · +2 lines · +761 tokens per session 1962e80d1d59
- 1mo ago Changed · +2 lines · +2,232 tokens per session 78bf5c57c5de
- 1mo ago Changed · +11 lines · +6,655 tokens per session 043e62f68d5d
- 1mo ago Changed · +1 lines · +5,121 tokens per session d360ce5bbbe3
- 1mo ago Changed · +3,312 tokens per session 1dcc1d71519f
- 2mo ago Changed · +1 lines · +317 tokens per session 996aa26d7d01
- 2mo ago Changed · +2 lines · +4,835 tokens per session f04abdb0b9fd
- 2mo ago First seen · 264 lines · 26,189 tokens per session scan F d7a451432a0c
agetor CLAUDE.md is an instructions file published in the GitHub repository alamops/agetor (123 stars, last pushed today), licensed MIT. It adds 14,872 tokens to every session, about $0.0595 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
agetor CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agetor CLAUDE.mdalamops/agetor | Instructions file | 123 | today | MIT | C | 14,872 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |