agentleFS
Amritesh-878Amritesh-878/Cerberus/AGENTS.md

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)…

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
  1. Very specific:

    No AI is built into the app itself.

    line 9
  2. Very specific:

    Transcripts are user data: Never log, index or display ~/.claude*/history.jsonl raw.

    line 35
  3. Very specific:

    Finish with real output: Run the gate once more on the finished work.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 and coding_standards.md say "plans/" and "templates/"; read them as ../Plans/ and ../Plans/templates/. The repo checks live in ../Plans/tools/. Start sessions here with claude --add-dir ../Plans. ../Plans is a private planning repo and is not published: DEC-### (decisions), TASK-### (tasks) and project_state.md all live there. If ../Plans is 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.md and its handoff completed/task-002.md. Only AGENTS.md, CLAUDE.md and SKILL.md stay 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.md sections 7 and 8).
  • Transcripts are user data. Never log, index or display ~/.claude*/history.jsonl raw; it holds pasted secrets.

Where things are

NeedRead
What is true now, what bites../Plans/project_state.md: read first, by section (grep -n '^#'), never whole
How to write code, commits and PRscoding_standards.md: before coding; the Code Reviewer enforces it
Why it is built this way../Plans/decisions/
The current plan and its tasksthe master_plan.md that project_state.md names
Which skill fits a jobskills/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 in project_state.md sets the process: 1 solo (no handoffs; types, tests, lint and CI are the reviewer), 2 sequential sessions, 3 parallel 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-quality skill. 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>.md from the handoff template with that output pasted verbatim. Never report a remembered result.
  • Write facts down the moment you learn them in project_state.md under "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.md under 300 lines: present tense only; closed work moves to archive.md beside 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. Run git status first and commit only the feature. Check with python ../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."

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.