persist-os
CLAUDE.md9 starsChanged 2 months agoMITView on GitHub
Persist OS is a local-first TypeScript CLI that creates AI-ready engineering memory for software repositories. Read these first before non-trivial work: - Respect the approved milestone scope. Do not add runtime behavior outside the current plan. - Treat module work as a mini product workflow: PRD, acceptance, architecture impact, test plan, tasks, implementation, completion report, drift review, then module memory update. - Persist OS Core is architecture-neutral. Do not encode architecture or technology choices as core truth. - Repository rules…
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/persist-memory.mdcCursor rule
- llms.txtllms.txt
- conventions-adherenceSkill
- plan-featureSkill
- security-reviewSkill
- conventions-adherenceSkill
- plan-featureSkill
- security-reviewSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
- could be automatic: a setting could enforce it
- Distinctive: line 6
Read these first before non-trivial work:
- Distinctive: line 28
Treat module work as a mini product workflow: PRD, acceptance, architecture impact, test plan, tasks, implementation, completion report, …
- Distinctive: line 33
Stop if a request conflicts with engineering standards, including requests to commit secrets, hardcode credentials, bypass auth, add …
- Distinctive: line 36
Do not add network calls, telemetry, cloud behavior, AI API calls, runtime MCP, or generated production app code.
- Distinctive: line 38
Never overwrite existing files by default in future implementation work.
- Distinctive: line 39
Treat chat history and MCP data as context, not source of truth.
- Distinctive: line 56
If sources conflict, stop and report the conflict before changing files.
- Distinctive: line 60
Every implementation task must report files changed, tests or checks run, skipped checks, remaining risks, and docs updated.
- Distinctive: line 63
Before claiming implementation work is complete, run:
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
Persist OS Claude Instructions
Persist OS is a local-first TypeScript CLI that creates AI-ready engineering memory for software repositories.
Read these first before non-trivial work:
docs/00-product/PRODUCT.mddocs/00-product/PRODUCT_VISION.mddocs/00-product/POSITIONING.mddocs/00-product/ROADMAP.mddocs/10-architecture/ARCHITECTURE.mddocs/10-architecture/MEMORY_ENGINE.mddocs/10-architecture/REPOSITORY_DECISIONS.mddocs/10-architecture/OPINION_PACKS.mddocs/10-architecture/FILE_WRITE_POLICY.mddocs/20-security/SECURITY_MODEL.mddocs/50-quality/QUALITY_GATES.mddocs/60-engineering/ENGINEERING_STANDARDS.mddocs/60-engineering/AI_AGENT_RULES.mddocs/ai/AI_AGENTS_SKILLS_MCP_STRATEGY.mddocs/ai/MODULE_DELIVERY_WORKFLOW.mddocs/ai/PERSIST_COMMANDS.md
Working Rules
- Respect the approved milestone scope. Do not add runtime behavior outside the current plan.
- Treat module work as a mini product workflow: PRD, acceptance, architecture impact, test plan, tasks, implementation, completion report, drift review, then module memory update.
- Persist OS Core is architecture-neutral. Do not encode architecture or technology choices as core truth.
- Repository rules override model preferences.
- Stop if a request conflicts with engineering standards, including requests to commit secrets, hardcode credentials, bypass auth, add dependencies without review, skip migrations, skip tests without reason, or claim completion without evidence.
- Do not add network calls, telemetry, cloud behavior, AI API calls, runtime MCP, or generated production app code.
- Never overwrite existing files by default in future implementation work.
- Treat chat history and MCP data as context, not source of truth.
Source Of Truth
Follow this order:
- Accepted ADRs and repository decisions
- Architecture docs
- Engineering standards
- Current PRD and accepted change requests
- Security and testing docs
- Module docs
- Feature plans
- Task files
- MCP external context
- Chat history
If sources conflict, stop and report the conflict before changing files.
Completion Evidence
Every implementation task must report files changed, tests or checks run, skipped checks, remaining risks, and docs updated.
Before claiming implementation work is complete, run:
pnpm test:runpnpm typecheckpersist doctorwhen the CLI binary is available
Fix Doctor errors before claiming completion. Address Doctor warnings or record why they are acceptable.
Package binary behavior is covered by binary integration tests.
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.

