tasktrooper
CLAUDE.md109 starsChanged 2 months agoApache-2.0View on GitHub
Three parts, one product: the macOS desktop app. Read the directory's own CLAUDE.md before working in it. make test runs all three. - Local only. One user, no login. The UI authenticates to the backend with one bearer token: the desktop generates it and passes it to the server as SERVER_API_KEY and to the page as window.__tasktrooperDesktop.apiToken; make dev uses VITE_API_KEY. - The desktop app is the backend's supervisor. It spawns bin/agent-server with PORT=0, reads the LISTENING http://127.0.0.1:<port> line, polls…
- Reads credentials
In this repository2 other files it gives its agents.
- desktop/CLAUDE.mdCLAUDE.md
- server/CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
No code comments that explain WHAT.
- Very specific: line 37
No LLM-facing prose in Go: prompts, guard wording and tool descriptions live in catalog/system (see catalog/system/README.md).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
TaskTrooper — monorepo
Three parts, one product: the macOS desktop app. Read the directory's own
CLAUDE.md before working in it.
| dir | what | verify |
server/ | Go backend (hexagonal), embedded Postgres, agent runtime | go build ./... && go vet ./... && go test ./... |
desktop/ | Electron shell: supervises the backend + embedder, serves the UI from app://tasktrooper | npm run typecheck && npm run lint && npm test |
desktop/ui/ | React UI, bundled into the app | npx tsc --noEmit && npm run build && npm run check:locales |
make test runs all three.
Shape
- Local only. One user, no login. The UI authenticates to the backend with
one bearer token: the desktop generates it and passes it to the server as
SERVER_API_KEYand to the page aswindow.__tasktrooperDesktop.apiToken;make devusesVITE_API_KEY. - The desktop app is the backend's supervisor. It spawns
bin/agent-serverwithPORT=0, reads theLISTENING http://127.0.0.1:<port>line, polls/health, then opens the window. The server starts its own Postgres from the zonky binaries under the data directory whenDATABASE_URLis empty. - Two contracts cross directories and move together:
desktop/src/ipc/host.ts↔desktop/ui/src/lib/desktop-bridge.ts(the bridge), and the server's env/stdout contract inserver/README.md↔desktop/src/main/supervisor/.
Rules
- No code comments that explain WHAT. Only a non-obvious invariant, a workaround, or a WHY.
domain/applicationnever importadapterinserver/.- Nothing multi-tenant, no cloud, no control plane comes back: no Firebase, no
tunnel, no
X-Internal-*headers, no team/invite/billing-plan UI. - Secrets never go on argv; children are
spawned withshell: false. - No LLM-facing prose in Go: prompts, guard wording and tool descriptions live
in
catalog/system(seecatalog/system/README.md); code passes data.
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.

