curie
CLAUDE.md36 starsChanged 3 months agoApache-2.0View on GitHub
See AGENTS.md - the agent instructions for this repo live there. Never publish real customer or downstream deployment information in files, commit messages, branch or tag names, PRs, issues, comments, releases, or CI logs and artifacts. Anonymize live-test evidence and provenance before publication. Review the exact outgoing content; a green secret scan does not cover every public surface or every identifier. Dev and operator flows go through the curie CLI, not loose shell scripts or bare tool invocations. When you…
- Installs packages
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- cli/CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- runner/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- implementSkill
- update-architecture-atlasSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Never publish real customer or downstream deployment information in files, commit messages, branch or tag names, PRs, issues, comments, …
≈ “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
See AGENTS.md - the agent instructions for this repo live there.
Never publish real customer or downstream deployment information in files, commit messages, branch or tag names, PRs, issues, comments, releases, or CI logs and artifacts. Anonymize live-test evidence and provenance before publication. Review the exact outgoing content; a green secret scan does not cover every public surface or every identifier.
One entry point: curie <command>
Dev and operator flows go through the curie CLI, not loose shell scripts or
bare tool invocations. When you would otherwise add a ./scripts/foo.sh, tell
someone to run a raw docker/helm/uv/pnpm command, or document a
multi-step setup, add or extend a curie subcommand instead — a single,
discoverable surface beats a scatter of scripts. The script or tool call can
stay the implementation; it just isn't the interface.
- Building the runner image →
curie build(not a copy-pasteddocker build -f runner/Dockerfile ...). That tags bothcurie-runner(whatcurie skill upruns) andghcr.io/curie-eng/curie-runner:dev(whatcurie local up --buildruns), socurie update --imagerefreshes a--buildstack's runner. - First-run dev bootstrap →
curie install(or./get-curie.shfrom a source checkout, which also putscurieon PATH the first time by building it). - Refresh the on-PATH CLI after a code change →
curie update(rebuilds andcargo installs the CLI to~/.cargo/bin;--imagealso rebuilds the runner). The per-change loop, so you never re-run the bootstrap script. - Run the local stack on YOUR checkout →
curie local up --build.curie updatecovers the CLI and the runner image; the stack's api, worker, dispatcher and ui otherwise come from the registry, so a source-built CLI ends up talking to whatever was last published. That skew does not announce itself — it surfaces as a serde error about a field name, or a missing Python module from inside a container (#1915). It needs a source-built curie or an explicit-f compose.dev.yaml: a released binary runs the version-pinned release compose, which cannot read the tags--buildwrites, so that combination is refused (#1926). - Contributor/CI scripts (contract codegen, chart render-asserts, the e2e round-trip) →
curie dev <...>. Thedevnamespace fences off commands that need a source checkout + dev toolchains; they error clearly when run from a released binary. - Operator/product commands stay top-level:
init,build,skill,local,cluster.
New tooling ships as a curie subcommand (add the clap surface in
cli/src/main.rs, the handler in cli/src/commands.rs); a new loose script in
scripts/ should be the exception with a reason, not the default.
Release train selection
main is the stable line and next is the integration branch for the next
feature release. Those are roles, not versions, so the branch table does not name
a release number. Before starting work, choose the release train from that table
in AGENTS.md, then
create the worktree and PR against that base. Do not assume main is the target
for every feature.
Architecture Decision Records (ADRs)
docs/adr/ is the system of record for architecture decisions. Each ADR captures
what was decided and when, along with the reasoning and the alternatives
weighed at that time. That record is durable even after a decision evolves: ADRs
are immutable once Accepted, so when the thinking changes you add a new ADR that
supersedes the old one rather than editing it. The chain of supersessions is the
history of how intent shifted over time (the intent-gap record), not just a
snapshot of the current state.
Workflow for non-trivial work:
- For an architectural decision that qualifies for an ADR under
AGENTS.md, write a Draft ADR, numbered sequentially indocs/adr/. A Draft may merge for discussion but cannot authorize implementation. - Obtain explicit maintainer acceptance before implementation. Acceptance
means the ADR is published with
Status: Accepted. Normally, acceptance must precede implementation. As the coordinated exception, an ADR may landAcceptedalongside implementation only with recorded explicit maintainer approval and a named realizing code path. - Issues reference their Accepted ADR(s). A GitHub issue that implements a decision links the ADR, so an agent picking up the issue reads the decision's intent first and builds to it.
- Division of labor: ADRs are the "why + when", issues are the "what + track
the work", and
ARCHITECTURE.mdis the "what talks to what." Keep decision rationale in the ADR, not duplicated across issues. Followdocs/adr/AGENTS.mdfor the complete procedure.
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.

