shodh-memory
CLAUDE.md300 starsChanged 11 months agoApache-2.0View on GitHub
You have session continuity via shodh-memory hooks. Key behaviors: - Relevant memories surface automatically — don't manually "check" memory - Use remember sparingly (high-importance only), forget for corrections - Use list_todos at session start for pending work - The memory system you're using IS this codebase
In this repository2 other files it gives its agents.
- orchestrateSkill
- shodh-memorySkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
MUST NOT run cargo build or cargo run unless the user explicitly asks.
- Distinctive: line 5
MUST NOT add "Co-Authored-By" or "Generated with Claude Code" to commits.
- Distinctive: line 6
MUST NOT comment on GitHub issues/PRs without showing user a draft first.
- Very specific: line 7
MUST NOT create git worktrees outside the project folder.
- Distinctive: line 8
MUST remove a worktree once its branch is merged or abandoned.
- Distinctive: line 14
All changes go through PR workflow: branch → commit → push → PR → merge.
- Very specific: line 20
Use remember sparingly (high-importance only), forget for corrections
- Very specific: line 21
Use list_todos at session start for pending work
≈ “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
Shodh-Memory Project Instructions
MUST Rules
- MUST NOT run
cargo buildorcargo rununless the user explicitly asks. Onlycargo check,cargo clippy, andcargo testare allowed by default. - MUST NOT add "Co-Authored-By" or "Generated with Claude Code" to commits. Clean commit messages only.
- MUST NOT comment on GitHub issues/PRs without showing user a draft first.
- MUST NOT create git worktrees outside the project folder. All worktrees go in
<repo>/.claude/worktrees/<name>. NeverC:/smt, never~/.claude/worktrees, never a sibling directory. A worktree outsidekalki-v2/misses the parent.cargo/config.toml, builds to a different artifact path, and silently forkstarget/into two complete trees. - MUST remove a worktree once its branch is merged or abandoned. Before removing one, run
git status --porcelainin it and confirm any untracked files exist in git — untracked content is the only thinggit worktree removecannot recover, since branch refs survive removal.
Code Standards
- IMPORTANT: Production grade code only. No TODOs, no placeholders, no mocks, no stubs.
- IMPORTANT: Understand architecture and data flow before fixing anything. Read files before editing.
- IMPORTANT: No assumptions. Always read the actual source code to verify API shapes, response fields, status codes, endpoint methods, and data structures before writing code or tests against them. Never guess.
- All changes go through PR workflow: branch → commit → push → PR → merge.
Persistent Memory (shodh-memory MCP)
You have session continuity via shodh-memory hooks. Key behaviors:
- Relevant memories surface automatically — don't manually "check" memory
- Use
remembersparingly (high-importance only),forgetfor corrections - Use
list_todosat session start for pending work - The memory system you're using IS this codebase
Codebase Map
src/— Rust core (memory, API server, embeddings, graph, vector search)mcp-server/— TypeScript MCP server (45 tools, index.ts)tui/— Rust TUI dashboardhooks/— Claude Code hooks for automatic memorypython/— Python bindings (PyO3/maturin)- Architecture: RocksDB + Vamana/SPANN vector search + knowledge graph with Hebbian learning
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.

