loomem: Instructions file for Claude Code

CLAUDE.md

loomem CLAUDE.md is an instructions file for Claude Code from vvooki-sys/loomem. It costs 3,809 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for Loomem, a single-user memory engine that stores context for AI agents and exposes memory tools.

In plain words
What is it for?
Use them when changing Loomem’s code, documentation, website content, or release files.
Why use it?
They tell AI coding assistants which rules apply to Rust, documentation, releases, and live project data, reducing accidental changes outside the task.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is vvooki-sys/loomem's own configuration. It tells Claude Code how to work on loomem itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything loomem configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vvooki-sys/loomem. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vvooki-sys/loomem/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/vvooki-sys/loomem

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for loomem CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vvooki-sys/loomem/claude-md/github.svg)](https://agentmods.dev/instructions/vvooki-sys/loomem/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vvooki-sys/loomem/claude-md"><img src="https://agentmods.dev/badge/instructions/vvooki-sys/loomem/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for loomem CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vvooki-sys/loomem/claude-md"><img src="https://agentmods.dev/badge/instructions/vvooki-sys/loomem/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,809 This file is loaded in full into every session.
When invoked 3,809 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03809 $0.03809
Opus 5.5 $0.01524 $0.01524
Sonnet 5.5 $0.00762 $0.00762
Haiku 4.5 $0.00381 $0.00381

Measured 9d ago against content hash d1838d2eeeeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loomem CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — rules for AI code generators in the Loomem repo

Hard rules every AI assistant (Claude Code, Cowork, Copilot, Cursor, …) must follow when touching this repo. Some are enforced by CI; the rest are enforced in review. Deep rationale, complexity carve-outs and edge cases live in docs/agent-conventions.md — this file stays short on purpose, because it loads into context every session.

What Loomem is. An open-core, single-user memory engine (Apache-2.0, vvooki-sys/loomem), forked from Engram. The repo is public — assume external readers and their agents. Public positioning: "the open-source context layer for LLM agents." It is memory-only (the memory_* MCP tool set, no file layer) and single-user (no accounts, RBAC, SSO, multi-tenancy). Those two product boundaries are frozen (see § Product boundaries).


Router — read the subset that applies

  • Changing Rust code → § Five hard rules + § Build & run + § Repo map + § Rust rules.
  • Docs / landing / content / GEO → § Docs & site + hard rule 5 (surgical). A docs task never touches Rust.
  • Dashboard (loomem-dashboard/, React SPA) → § Build & run (dashboard bullet) + hard rule 5. A dashboard task touches no Rust beyond loomem-server/src/spa.rs.
  • Cutting a release → § Releases.
  • Always → § Five hard rules, especially live-state (rule 4), product boundaries (rule 3), secrets (rule 1).

Five hard rules (never break these)

  1. Secrets & personal data never get committed. No API keys, tokens, passwords, production endpoints — and no real names or private data in entities.toml / synonyms.toml (gitignored; only *.example variants are tracked). Any user content that gets persisted anywhere, including derived/audit fields like original_content, must pass through sanitizer + the PII filter — not just the visible content. .gitleaks.toml catches some leaks; you are the first gate. See something sensitive in a diff → stop and tell the user.

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed · +4 lines · +496 tokens per session d1838d2eeeeb
  2. 2mo ago First seen · 122 lines · 3,313 tokens per session scan A 21ad829bc950

Subscribe to this mod's changes

loomem CLAUDE.md is an instructions file published in the GitHub repository vvooki-sys/loomem (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,809 tokens to every session, about $0.0152 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

loomem CLAUDE.md compared with instructions from other repositories

loomem CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loomem CLAUDE.mdvvooki-sys/loomemInstructions file4yesterdayApache-2.0A3,809Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode