Norn
CLAUDE.md3 starsChanged 6 months agoMITView on GitHub
In this repository15 other files it gives its agents.
- brandkitSkill
- design-motion-principlesSkill
- design-taste-frontendSkill
- design-taste-frontend-v1Skill
- full-output-enforcementSkill
- gpt-tasteSkill
- high-end-visual-designSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- impeccableSkill
- industrial-brutalist-uiSkill
- minimalist-uiSkill
- redesign-existing-projectsSkill
- stitch-design-tasteSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Avoid the three AI defaults: cream+serif+terracotta.
- Distinctive: line 37
Update this file when decisions change.
≈ “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
Norn — Project Context
What this is
A local-first memory layer for AI coding tools. An MCP server that remembers context across sessions/projects, plus a dashboard to SEE, SEARCH, EDIT, DELETE every memory. The differentiator is transparency + control + craft — not the retrieval algorithm.
Stack (v1)
- MCP server: TypeScript, @modelcontextprotocol/sdk
- Store: local SQLite + sqlite-vec (local-first = privacy + zero infra). Supabase pgvector later, only when cloud sync is needed.
- Embeddings: small embedding model (swappable behind an interface).
- Dashboard: Next.js (App Router) + TypeScript + Tailwind + shadcn/ui + Framer Motion.
v1 scope — build ONLY this
- MCP tools: remember(), recall(), forget(), list()
- Dashboard: list memories, full-text + semantic search, inline edit, delete, per-project grouping.
- One "wow": it just remembers, and you can see everything.
NOT in v1 (resist)
Teams, multi-user, auth beyond local, billing, voice, 10 framework integrations.
Design direction (do NOT use generic AI-slop looks)
- Mood: premium, quiet, editorial. Think "the well of memory" — depth, calm, precision.
- Spend boldness in ONE signature element; keep everything else disciplined and quiet.
- Typography carries the personality: pick a characterful display face used sparingly + a clean body face + a mono/utility face for memory metadata. Set a real type scale.
- Avoid the three AI defaults: cream+serif+terracotta; near-black+acid-green; broadsheet hairline columns. If you reach for one, justify it or change it.
- Quality floor, non-negotiable: responsive to mobile, visible keyboard focus, prefers-reduced-motion respected.
- Copy is design material: name things by what the user controls ("Forget this memory", not "Delete vector"). Active voice. Empty states invite action.
Working rules
- Update this file when decisions change. Small commits. Ask before adding scope.
Repo layout (decided)
/core—@samad001z/norn-core:Storageinterface +SqliteStorage(SQLite + sqlite-vec), swappableEmbedderinterface. Shared by server and web./server—@samad001z/norn-server: MCP server over stdio. Tools:remember(content, tags?, project?),recall(query, limit?),forget(id),list(project?).
Store resolution & isolation (decided)
resolveStore(cwd)in/corereturns{ dbPath, scope, isolate }. Path precedence: (1)NORN_DB_PATHif set, (2) nearest project-local.norn/norn.dbwalking up from cwd, (3) global~/.norn/norn.db.resolveDbPath()(path only) is kept for back-compat. Server, CLI, and web all resolve throughresolveStore, so they agree per project.- Primary isolation = separate db files.
norn init(initProjectStore) scaffolds<repo>/.norn/with a.gitignorethat commitsnorn.dband ignores the WAL sidecars. The committed db ships memory with the repo. - Defense in depth = the
scopecolumn (project root path, auto-stamped on write; distinct from the freeformprojectlabel).recall/listfilterscope = current OR scope IS NULL(null = global, visible everywhere).isolateis false for dedicated.norndbs (the file is the boundary; not filtering keeps a committed db portable across machines where the absolute root path differs) and forNORN_DB_PATHoverrides (pooled, back-compat); true for the shared global db, so un-inited projects don't pool there. - Migration:
addScopeColumn()runsALTER TABLE memories ADD COLUMN scope TEXTonly if absent. Pre-scope rows becomescope = NULL= global → still visible, no data loss. - The dashboard lists across all scopes (shows the whole store file it opened); the MCP tools and CLI apply the scope filter so an agent only sees its own + global memories.
- Backward compatible: no
.nornand no env var → global store, with new writes isolated by cwd project root. - Git-friendly export/import (decided). The committed db is binary SQLite (holds
vectors and diffs poorly), so
core/transfer.tsadds a human-readable companion at.norn/memory.json.norn exportserializes the project's memories (text, tags, project, id, timestamps) — never embeddings (regenerated) and neverscope(a machine-specific absolute path that would churn diffs); output is deterministic (stable key + memory order, trailing newline) so re-exports diff cleanly.norn importrebuilds rows viaStorage.restore()(upsert by id → idempotent), re-embedding locally with MiniLM. CLI-only by design — NOT MCP tools: repo-maintenance ops that wipe/rebuild the store don't belong on the agent's remember/recall/forget/list surface (dashboard buttons are the future home). Commitmemory.jsonfor clean diffs; the db stays the source of truth. /web—@samad001z/norn-web: Next.js App Router + Tailwind + shadcn/ui. UI not built yet.- npm workspaces. Build order: core → server → web (server/web consume core's
dist).
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.

