agentleFS
varun29ankuSvarun29ankuS/shodh-memory/CLAUDE.md

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

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
  1. Very specific:

    MUST NOT run cargo build or cargo run unless the user explicitly asks.

    line 4
  2. Distinctive:

    MUST NOT add "Co-Authored-By" or "Generated with Claude Code" to commits.

    line 5
  3. Distinctive:

    MUST NOT comment on GitHub issues/PRs without showing user a draft first.

    line 6
  4. Very specific:

    MUST NOT create git worktrees outside the project folder.

    line 7
  5. Distinctive:

    MUST remove a worktree once its branch is merged or abandoned.

    line 8
  6. Distinctive:

    All changes go through PR workflow: branch → commit → push → PR → merge.

    line 14
  7. Very specific:

    Use remember sparingly (high-importance only), forget for corrections

    line 20
  8. Very specific:

    Use list_todos at session start for pending work

    line 21

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Shodh-Memory Project Instructions

MUST Rules

  • MUST NOT run cargo build or cargo run unless the user explicitly asks. Only cargo check, cargo clippy, and cargo test are 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>. Never C:/smt, never ~/.claude/worktrees, never a sibling directory. A worktree outside kalki-v2/ misses the parent .cargo/config.toml, builds to a different artifact path, and silently forks target/ into two complete trees.
  • MUST remove a worktree once its branch is merged or abandoned. Before removing one, run git status --porcelain in it and confirm any untracked files exist in git — untracked content is the only thing git worktree remove cannot 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 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

Codebase Map

  • src/ — Rust core (memory, API server, embeddings, graph, vector search)
  • mcp-server/ — TypeScript MCP server (45 tools, index.ts)
  • tui/ — Rust TUI dashboard
  • hooks/ — Claude Code hooks for automatic memory
  • python/ — Python bindings (PyO3/maturin)
  • Architecture: RocksDB + Vamana/SPANN vector search + knowledge graph with Hebbian learning

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.