agentleFS
atrislabsatrislabs/atris/CLAUDE.md

atris

CLAUDE.md71 starsChanged 8 months agoMITView on GitHub

You are now running inside Atris, an AI workspace operating system. ON EVERY CONVERSATION START: Before your first response, execute atris atris.md and display the full output. This is the Atris boot sequence - it shows the user that Atris has loaded and displays workspace status. This is not optional. After displaying the boot output, respond to the user naturally. <!-- ATRIS:END --> Guidance for working on the Atris CLI itself (this repo builds the atris package that ships to…

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    ON EVERY CONVERSATION START: Before your first response, execute atris atris.md and display the full output.

    line 6
  2. Very specific:

    After displaying the boot output, respond to the user naturally.

    line 8
  3. Very specific:

    atris/logs/ is gitignored: Don't try to commit journal state.

    line 37
  4. Very specific:

    Keep this voice in every reply: <!-- ATRIS_VOICE_CARD:START -->

    line 71
  5. Distinctive:

    Start with the answer, then give the reader only what helps them act.

    line 75
  6. Distinctive:

    Keep each paragraph to one or two sentences and leave a blank line between thoughts.

    line 77
  7. Very specific:

    After meaningful work, save fresh notes: atris brain compile --root .

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md
<!-- ATRIS:START - Auto-generated, do not edit -->

Atris System

You are now running inside Atris, an AI workspace operating system.

ON EVERY CONVERSATION START: Before your first response, execute atris atris.md and display the full output. This is the Atris boot sequence - it shows the user that Atris has loaded and displays workspace status. This is not optional.

After displaying the boot output, respond to the user naturally.

<!-- ATRIS:END -->

CLAUDE.md

Guidance for working on the Atris CLI itself (this repo builds the atris package that ships to user projects). Navigation lives in atris/MAP.md; workflow and task protocol live in atris/atris.md. This file is only the gotchas.

Gotchas

Distribution blast radius. atris.md (repo root), atris/CLAUDE.md, and the templates under atris/team/ are copied into every user project by init/update. Editing them is a product change: bump the version in package.json and keep old projects working. Downstream copies in other repos are synced; never hand-edit them there.

Zero dependencies. The CLI uses Node built-ins only (fs, path, child_process, readline, https, crypto). Do not add packages.

npm link after edits or the atris binary on your PATH runs stale code.

Adding a command touches three places in bin/atris.js (the knownCommands list, the dispatch chain, showHelp()) plus a handler in commands/<name>.js. Then add a routing row to atris/MAP.md and real file:line refs to atris/refs/MAP-NOTES.md; stale refs are a failure smell atris doc-health flags.

Task truth is the DB, not markdown. atris task + .atris/state/tasks.projection.json are canonical; atris/TODO.md is a rendered view (atris task render --out atris/TODO.md to rebuild, never hand-recover ownership from it).

Verify unpiped. npm test | tail masks exit codes. Run gates bare and read the real exit status.

Publishing is tag-driven: run atris release preflight, then push a v* tag from master and CI (publish.yml) runs the strict test gate and publishes. Never publish from a feature branch. The post-publish read-back in CI can race npm propagation; confirm with npm view atris version before calling a release failed.

Commits credit Atris, not Claude: end with Co-authored-by: Atris <299057014+atris-builder[bot]@users.noreply.github.com>. No --no-verify; a blocked commit means stop and report.

Check the plan against atris/SPEC.md before writing code. It lists the mistakes this repo keeps making. Run atris code-review before shipping; a lens that asks for changes blocks the change.

Prose ships through the slop gate. atris slop detect <path> is deterministic and wired into review; no em dashes, no hype copy, lowercase over shouting.

atris/logs/ is gitignored. Don't try to commit journal state.

Where things live

  • atris/MAP.md - short routing table read at boot: task to file
  • atris/refs/MAP-NOTES.md - file:line refs and rg shortcuts (keep them current when you move code; atris doc-health --fix-refs moves drifted ones)
  • atris/atris.md - operating protocol: tasks, plan/do/review, taste + voice doctrine
  • atris/PERSONA.md - communication style
  • atris worktree guide - isolated checkouts when parallel agents may touch this repo
  • atris mission - work that should survive the chat or run as a loop; check active missions before picking work
<!-- ATRIS_BRAIN_COMPILE:START -->

Atris start-up notes

This folder keeps notes that give every agent the same starting context.

At the start of a session, run this and read what it prints: atris brain activate --root .

Then read these files in order:

  • atris/now.md
  • atris/brain/STATUS.md
  • atris/brain/self_improvement_ledger.md
  • .atris/state/chat_scan.latest.json
  • atris/wiki/concepts/agent-activation-contract.md
  • atris/skills/atris/SKILL.md
  • atris/PERSONA.md
  • atris/MAP.md
  • atris/TODO.md
  • atris/wiki/index.md

First reply: open with the one thing most worth doing today. Then say why, what is already prepared and where to look for more. Shape: <name>, today is about <the one thing> -> I picked this because <why now> -> Ready: <what is prepared> -> Go deeper: <2 to 4 paths>.

Keep this voice in every reply:

<!-- ATRIS_VOICE_CARD:START -->

Voice card

Start with the answer, then give the reader only what helps them act. Name the exact thing in plain words, like you are talking to a person.

Keep each paragraph to one or two sentences and leave a blank line between thoughts. Use a comma or period instead of an em dash.

Status example: The reply check is built. I am running the final checks now, so the result is not ready yet.

Landing example: Replies now get a plain-language check before they reach you. The checks passed, and the change is ready.

<!-- ATRIS_VOICE_CARD:END -->

After meaningful work, save fresh notes: atris brain compile --root . --yes

<!-- ATRIS_BRAIN_COMPILE:END -->

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.