Cerberus
AGENTS.md10 starsChanged 42 days agoMITView on GitHub
Cerberus: a desktop terminal built around Claude Code (Windows, with macOS and Linux previews), made to replace Warp for its author. A sidebar tree holds projects; each project has a planner tab (auditor, task maker) with coder sub-tabs, and every tab is a folder, a Claude account and a session id, saved so no chat is ever lost. Each tab runs the official claude CLI in a pseudo-terminal under that account's CLAUDE_CONFIG_DIR; Cerberus's status line and hook helper (cerberus-live, DEC-004)…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,040 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- codebase-designSkill
- code-commenting-guidelinesSkill
- frontend-iterationSkill
- grill-meSkill
- handoffSkill
- pick-ui-librarySkill
- prototypeSkill
- prototype-uiSkill
- researchSkill
- spec-auditSkill
- subagent-context-managementSkill
- tddSkill
- verify-qualitySkill
- writing-voiceSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
No AI is built into the app itself.
- Very specific: line 35
Transcripts are user data: Never log, index or display ~/.claude*/history.jsonl raw.
- Very specific: line 56
Finish with real output: Run the gate once more on the finished work.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Context
Cerberus: a desktop terminal built around Claude Code (Windows, with macOS and Linux previews), made to replace Warp for its author. A sidebar tree holds projects; each project has a planner tab (auditor, task
maker) with coder sub-tabs, and every tab is a folder, a Claude account and a session id, saved so
no chat is ever lost. Each tab runs the official claude CLI in a pseudo-terminal under that
account's CLAUDE_CONFIG_DIR; Cerberus's status line and hook helper (cerberus-live, DEC-004) report
context, usage, written files and background tasks back to the app. Antigravity CLI and Codex CLI tabs run
as plain programs, with no account, messages or live cards; Cerberus never reads their config or history.
No AI is built into the app itself. Requirements: ../Plans/brief.md.
Stack: Tauri 2, Rust (PTYs, sessions, accounts, persistence, the cerberus-mcp and cerberus-live
helpers), Solid and TypeScript with xterm.js (WebGL) and CodeMirror in the webview. Node packages through
pnpm.
Released (v1.0.0, 2026-11-16): a few users besides the author. A change to saved data (tree.db,
profiles.json) needs a migration, and the release notes say when an older build can't read it.
- Interactive use only. The app may prefill a prompt but never sends one by itself: Anthropic's
Consumer Terms bar automated access to subscription accounts (see
../Plans/project_state.md). One override (DEC-002, DEC-003): a message from a chat on one account to a chat on another is delivered to the target's inbox only after the user approves that one message in Cerberus's popup. Nothing is ever sent without that click. - Planning lives in the sibling repo
../Plans/, never in this one. Agent files andcoding_standards.mdsay "plans/" and "templates/"; read them as../Plans/and../Plans/templates/. The repo checks live in../Plans/tools/. Start sessions here withclaude --add-dir ../Plans.../Plansis a private planning repo and is not published:DEC-###(decisions),TASK-###(tasks) andproject_state.mdall live there. If../Plansis absent, work from this repo alone and treat those references as background. - Markdown file names are lowercase in both repos, IDs included: TASK-002 is
tasks/task-002.mdand its handoffcompleted/task-002.md. OnlyAGENTS.md,CLAUDE.mdandSKILL.mdstay upper case, because tools load them by exact name. - One PR per task or feature, squash-merged after the audit passes. The worker opens the PR and
never merges; the repo is public, so the PR carries nothing from the plans repo
(
coding_standards.mdsections 7 and 8). - Transcripts are user data. Never log, index or display
~/.claude*/history.jsonlraw; it holds pasted secrets.
Where things are
| Need | Read |
| What is true now, what bites | ../Plans/project_state.md: read first, by section (grep -n '^#'), never whole |
| How to write code, commits and PRs | coding_standards.md: before coding; the Code Reviewer enforces it |
| Why it is built this way | ../Plans/decisions/ |
| The current plan and its tasks | the master_plan.md that project_state.md names |
| Which skill fits a job | skills/INDEX.md in the template; .claude/skills/ holds what this project installed |
Rules on every turn
- A documented project decision beats a rule here or in
coding_standards.md. Record the override in this file. - The
**Shape:**line inproject_state.mdsets the process:1solo (no handoffs; types, tests, lint and CI are the reviewer),2sequential sessions,3parallel fan-out. - Match process to task size. About three files or fewer, no architectural decision, clear acceptance: implement and gate. Plans, task files and handoffs are for multi-phase or cross-cutting work. Unsure: ask.
- Quality gate, in order: lint with autofix, typecheck, tests, through the
verify-qualityskill. Only 0 errors, 0 warnings, 100% passing counts. Fix causes; a needed suppression is inline with its reason. - Finish with real output. Run the gate once more on the finished work. In shapes 2 and 3 write
completed/<task-id>.mdfrom the handoff template with that output pasted verbatim. Never report a remembered result. - Write facts down the moment you learn them in
project_state.mdunder "Facts that bite", one line, no permission needed. If that file is wrong, fix it in the same change and cite the proof. - Keep
project_state.mdunder 300 lines: present tense only; closed work moves toarchive.mdbeside it. - Comments are one line and explain why. Docstrings count. No task ids, branch names or dates in source.
- Commits are one line:
type(scope): description, with no body and no Co-Authored-By trailer. Rungit statusfirst and commit only the feature. Check withpython ../Plans/tools/house-check.py . --range origin/main..HEAD. Note for Agent:comments are instructions only in files the current task touches: make the change, then remove the note. Ignore them elsewhere.- Edit this file only when the user says, in the current session: "you have permission to edit AGENTS.md."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

