obsidian-memory
Skill2 starsChanged 7 months agoMITView on GitHub
Explicit-only Obsidian memory workflow. Use when the user explicitly asks to work with an Obsidian vault, LLM wiki, agent memory, RAW/source ingest, provenance, QUERY, LINT, or release safety for a markdown knowledge system. Do not auto-route ordinary coding sessions into external vault workflows.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- utxo-AG/claude-skillstheir own version, first seen Feb 10, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- utxo-AG/claude-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
45 rules. About 0 are common, 26 are distinctive, and 19 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill only after an explicit user request.
- Distinctive: line 80
Create the folder structure above.
- Very specific: line 85
Create 12-shared/ and one private 12-{agent}/ folder per agent.
- Very specific: line 86
Add a .gitignore policy that keeps RAW binaries local while tracking wiki, converted markdown, provenance, scripts, and docs.
- Distinctive: line 87
If using Git sync, configure Obsidian Git or another sync path after the RAW policy is in place.
- Very specific: line 89
Read references/setup.md for the detailed version.
- Very specific: line 93
Put RAW files into local intake, usually raw-sources/00 RAW INBOX/ or raw-sources/pdfs/.
- Distinctive: line 97
Add source frontmatter to the converted markdown.
- Very specific: line 98
Create wiki/summaries/summary-{slug}.md using the summary template.
- Very specific: line 101
Update the relevant domain MOC in wiki/domains/.
- Distinctive: line 105
Safety: never overwrite conflicting RAW files silently.
- Very specific: line 109
Read wiki/CLAUDE.md or AGENTS.md if not already in context.
- Very specific: line 110
Read wiki/index.md to identify domains and candidate pages.
- Very specific: line 111
Search wiki/ and, when helpful, raw-sources/converted/.
- Distinctive: line 112
Read the most relevant pages.
- Distinctive: line 114
If the answer requires 3+ sources, is strategically recurring, or would save future work, propose a synthesis page.
- Very specific: line 115
Create wiki/synthesis/synthesis-{topic}.md only after user approval or a direct request.
- Very specific: line 133
After LINT, write a LINT entry only when the operation changed files or produced a meaningful report worth preserving.
- Distinctive: line 137
Use practical bridges to make layer gaps visible without inventing a full ontology or mutating the vault automatically.
- Very specific: line 150
Every bridge finding should include a next script-checkable step.
- Distinctive: line 167
Use the Control Tower layer before public releases, branch closeout, or large memory-operator changes.
- Distinctive: line 183
Use qualification before adopting a new retrieval, context-index, semantic, or OpenViking-style pattern.
- Distinctive: line 188
Run the current baseline first: lexical search, existing graph/hybrid tools, and any already-approved query path.
- Distinctive: line 189
Write a gap report that names observed failure modes.
- Distinctive: line 191
Keep safety metrics at zero before any promotion discussion.
- Very specific: line 193
Default rule: no measured failure mode, no new memory layer.
- Distinctive: line 197
Use runtime shadow work only when a local operator has built a private runtime layer and wants to test whether dynamic context is worth …
- Distinctive: line 201
Keep runtime data outside the vault.
- Distinctive: line 202
Keep dynamic context advisory and off by default.
- Distinctive: line 204
Treat promotion as immutable proposal first.
- Distinctive: line 205
Run fixed canaries and organic shadow sessions before considering persistent use.
- Distinctive: line 207
Do not publish local runtime reports, approval manifests, proposals, session drafts, or hook-run records.
- Distinctive: line 232
Never write one agent's private context into another agent's folder.
- Distinctive: line 237
Before committing or pushing a vault:
- Very specific: line 239
Ensure RAW PDF/DOCX/ZIP files are not staged.
- Distinctive: line 240
Verify provenance links between manifest, converted markdown, and wiki pages.
- Distinctive: line 242
Check that agent-private memory isolation is preserved.
- Distinctive: line 244
Commit in meaningful groups: tooling/docs, wiki content, provenance/index updates.
- Very specific: line 246
Read references/release-safety.md for a concrete policy and command pattern.
- Very specific: line 265
Explicit only: use this skill only for direct vault/wiki/memory requests.
- Distinctive: line 268
No raw overwrite: never overwrite RAW files with the same name but different hash.
- Very specific: line 271
Wikilinks: use [[wikilinks]] inside wiki pages.
- Very specific: line 272
Connectivity: every durable wiki page should be reachable from index.md, a domain MOC, or a related page.
- Very specific: line 273
Timestamps: update updated: frontmatter on changed wiki pages.
- Distinctive: line 276
No performative writes: if a read-only answer is sufficient, do not write just to satisfy a rule.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Obsidian Memory — LLM Wiki + Agent Memory System
The agent is the operator. Obsidian is the IDE. The wiki is the codebase.
Use this skill only after an explicit user request. It touches an external vault, so treat every write as an intentional memory operation with provenance, routing, and sync consequences.
Architecture
Recommended vault layout:
vault/
├── wiki/ # LLM-maintained knowledge base
│ ├── CLAUDE.md or AGENTS.md # Vault schema and operator rules
│ ├── index.md # Catalog of wiki pages
│ ├── log.md # Operation log
│ ├── summaries/ # One digest per source
│ ├── entities/ # People, companies, tools, products
│ ├── concepts/ # Methodologies, frameworks, ideas
│ ├── synthesis/ # Cross-source answers and analysis
│ └── domains/ # Maps of Content
├── 12-shared/ # Shared operational memory for all agents
│ ├── memory_decisions.md # Append-only durable decisions
│ ├── memory_routing.json # Routing contract
│ └── scripts/ # Optional operator tooling
├── 12-{agent}/ # Canonical private memory per agent
│ ├── memory_active.md
│ ├── memory_corrections.md
│ ├── memory_improvements_backlog.md
│ ├── memory_heartbeat.md
│ └── memory_metrics.md
├── raw-sources/
│ ├── converted/ # Markdown converted from raw sources; Git-tracked
│ ├── provenance/ # Source manifest and provenance docs; Git-tracked
│ ├── pdfs/ # Local RAW cache; usually Git-ignored
│ ├── 00 RAW INBOX/ # Local intake; usually Git-ignored
│ └── quarantine/ # Conflicts/invalid sources; usually local
└── templates/Core separation:
wiki/= accumulated knowledge: what the system knows and which sources support it.12-shared/= durable shared operating rules, routing, decisions, and optional scripts.12-{agent}/= private working memory for one agent only. Never mix agent-private context.raw-sources/converted/+raw-sources/provenance/= Git-safe source-derived artifacts.- RAW binaries such as PDF/DOCX/ZIP are usually local cache, not canonical Git content.
Quick Reference
| Operation | When | Entry point |
| SETUP | First time, empty vault | Create folder structure, copy assets, configure sync policy |
| INGEST | New source to process | RAW intake → provenance → converted markdown → wiki pages |
| QUERY | Need knowledge from wiki | Read index/schema → search → answer with evidence → propose synthesis if useful |
| LINT | Weekly or before release | Check links, frontmatter, index drift, unprocessed converted files |
| MEMORY | Working with agent context | Load shared + correct private memory roots in order |
| HOOKS | Runtime memory integration | Configure or verify SessionStart, PostToolUse, and PreCompact |
| BRIDGE | Checking memory-layer continuity | Run practical bridge health across RAW, wiki, graph, lessons, and drafts |
| TOWER | Release and closure discipline | Run release-status, branch-close, release-surface-check, decision-review, and lesson-review |
| QUALIFY | Testing retrieval/context ideas | Golden set -> baseline contest -> gap report -> minimal read-only trial |
| RUNTIME SHADOW | Evaluating optional dynamic context | Run advisory shadow/canary sessions while runtime switches remain disabled |
| RELEASE | Before committing/pushing | Guard RAW, verify provenance, run wiki lint, check isolation |
Operations
SETUP — First-Time Initialization
- Create the folder structure above.
- Copy
assets/vault-CLAUDE.mdtowiki/CLAUDE.mdor adapt it intoAGENTS.md. - Copy
assets/vault-index.mdtowiki/index.md. - Copy
assets/vault-log.mdtowiki/log.md. - Copy
assets/templates/totemplates/. - Create
12-shared/and one private12-{agent}/folder per agent. - Add a
.gitignorepolicy that keeps RAW binaries local while tracking wiki, converted markdown, provenance, scripts, and docs. - If using Git sync, configure Obsidian Git or another sync path after the RAW policy is in place.
Read references/setup.md for the detailed version.
INGEST — Adding a Source
- Put RAW files into local intake, usually
raw-sources/00 RAW INBOX/orraw-sources/pdfs/. - Compute source identity before conversion:
sha256, size, filename, source type, and local cache path. - Record or update
raw-sources/provenance/raw-local-manifest.jsonl. - Convert source to markdown in
raw-sources/converted/{slug}.md. - Add source frontmatter to the converted markdown.
- Create
wiki/summaries/summary-{slug}.mdusing the summary template. - Extract entities mentioned across multiple sources into
wiki/entities/. - Extract durable ideas/frameworks into
wiki/concepts/. - Update the relevant domain MOC in
wiki/domains/. - Update
wiki/index.md. - Append an
INGESTentry towiki/log.md.
Safety: never overwrite conflicting RAW files silently. If the same filename has a different hash, quarantine/report it and ask the user.
QUERY — Searching the Wiki
- Read
wiki/CLAUDE.mdorAGENTS.mdif not already in context. - Read
wiki/index.mdto identify domains and candidate pages. - Search
wiki/and, when helpful,raw-sources/converted/. - Read the most relevant pages.
- Answer with an evidence section naming the pages used.
- If the answer requires 3+ sources, is strategically recurring, or would save future work, propose a synthesis page.
- Create
wiki/synthesis/synthesis-{topic}.mdonly after user approval or a direct request. - Log meaningful QUERY operations in
wiki/log.md, especially if a synthesis/runbook/index update was made.
Default QUERY behavior: answer first, propose the durable artifact second. Do not turn every useful answer into a page automatically.
LINT — Health Check
Check and report:
- Broken wikilinks.
- Orphan pages with no incoming links.
- Incomplete frontmatter.
- Stale pages.
- Converted markdown without wiki summary.
- Index drift.
- Duplicate entities.
- Provenance gaps between RAW manifest, converted markdown, and wiki summaries.
After LINT, write a LINT entry only when the operation changed files or produced a meaningful report worth preserving.
BRIDGE — Practical Bridge Health
Use practical bridges to make layer gaps visible without inventing a full ontology or mutating the vault automatically.
Recommended bridges:
raw -> convertedconverted -> summarysummary -> domainwiki -> graphgraph action -> review-statecorrection -> lessonlesson -> gatesession draft -> memory_active
Every bridge finding should include a next script-checkable step. Known backlog can remain visible without becoming a release blocker. Read references/bridge-health.md for the detailed version.
HOOKS — Runtime Memory Integration
Codex lifecycle hooks are optional but first-class runtime assets:
SessionStartloads bounded active/shared/correction context at startup.PostToolUsenotices important tool events such asgit pushand reminds the agent to update memory.PreCompactwrites a non-canonical draft before context compaction.hooks.json.templateprovides a starting wiring pattern.
Hooks are live only after local runtime configuration and hooks-status or equivalent smoke checks confirm they run. They must not edit wiki/, raw-sources/, shared memory, or canonical memory automatically. Read references/codex-hooks.md.
If an operator adds a local runtime memory layer around these hooks, treat that layer as private, disposable, and outside the vault. Capture, query, dynamic context, promotion, and auto-proposal switches should start disabled. Dynamic context is advisory only: it may suggest evidence candidates, but it never replaces direct source reading and never becomes instructions.
TOWER — Operator Control Tower And Workflow Discipline
Use the Control Tower layer before public releases, branch closeout, or large memory-operator changes.
Recommended read-only checks:
release-status— repo identity, branch/upstream, push boundary, staged files, RAW binary risk, and post-push obligations.branch-close— compact handoff with done candidates, remaining candidates, risks, backlog, and verification commands.release-surface-check— public README/hooks/graph/license/attribution visibility.decision-review— candidates for durable routing into shared decisions, wiki synthesis, runbooks, private lessons, or public surface notes.lesson-review— private operational lessons before any promotion from case to pattern/principle.
These reports are advisory by default. decision-review-mark is the only lifecycle write in this layer, and it must be approval-gated and append-only under 12-{agent}/decision-review/. Do not publish private review-state or lesson content. Read references/workflow-discipline.md.
If the operator is tuning agent skill routing, use the optional Routing Feedback Ledger pattern before creating a full trigger eval harness. It records significant branch-level observations with evidence level, causal confidence, routing case type, and runtime/approval metadata, then turns weekly review into action candidates. It is documented as a portable pattern rather than bundled as an automatic recorder. Read references/routing-feedback-ledger.md.
QUALIFY — Retrieval And Context Trials
Use qualification before adopting a new retrieval, context-index, semantic, or OpenViking-style pattern.
Sequence:
- Build a golden set with real queries, negative cases, forbidden targets, and holdout items.
- Run the current baseline first: lexical search, existing graph/hybrid tools, and any already-approved query path.
- Write a gap report that names observed failure modes.
- Trial only the smallest read-only pattern that addresses one failure mode.
- Keep safety metrics at zero before any promotion discussion.
Default rule: no measured failure mode, no new memory layer. Read references/memory-qualification.md.
RUNTIME SHADOW — Optional Dynamic Context Review
Use runtime shadow work only when a local operator has built a private runtime layer and wants to test whether dynamic context is worth enabling.
Rules:
- Keep runtime data outside the vault.
- Keep dynamic context advisory and off by default.
- Require reviewed gate evidence plus explicit operator approval before any switch is enabled.
- Treat promotion as immutable proposal first; canonical apply is a separate approval gate.
- Run fixed canaries and organic shadow sessions before considering persistent use.
Do not publish local runtime reports, approval manifests, proposals, session drafts, or hook-run records.
MEMORY — Loading Agent Context
Determine the current agent_id before reading private memory.
Recommended roots:
- Shared:
12-shared/ - Codex private:
12-codex/ - Claude private:
12-claude/ - Optional project-local auxiliary layer:
agent-memory-{agent}/
Load in this order:
12-{agent}/memory_active.md— current focus and blockers.12-shared/memory_decisions.md— durable shared conventions.12-{agent}/memory_corrections.md— last relevant process mistakes before non-trivial tasks.- Domain/project files from
12-shared/based on routing. - At most two extra related files unless the user explicitly asks for a broad audit.
Write rules:
- Private operational files go only to the current agent's
12-{agent}/. - Shared decisions go append-only to
12-shared/memory_decisions.mdwith attribution. - Never write one agent's private context into another agent's folder.
- Project-local
agent-memory-{agent}/is auxiliary, not canonical, unless the vault explicitly says otherwise.
RELEASE — Commit/Push Safety
Before committing or pushing a vault:
- Ensure RAW PDF/DOCX/ZIP files are not staged.
- Verify provenance links between manifest, converted markdown, and wiki pages.
- Run wiki lint.
- Check that agent-private memory isolation is preserved.
- Confirm
git statuscontains only expected changes. - Commit in meaningful groups: tooling/docs, wiki content, provenance/index updates.
Read references/release-safety.md for a concrete policy and command pattern.
OPTIONAL RUNTIME — Advisory Tools
assets/operator/ contains portable, optional helper scripts:
operation_registry.py— descriptive registry for operator commands and safety posture.retrieval_eval.py— keyword retrieval query/replay checks before any semantic/vector decision.bridge_health.py— practical bridge report and bridge/storage dashboard.skill_repo_audit.py— advisory resolver/skill repository audit.
These tools are inspired by GBrain-style runtime discipline, but they do not introduce a DB, vector layer, MCP runtime, or auto-fix behavior. Read references/operator-runtime.md.
For optional runtime safety gates, shadow sessions, promotion proposals, retention cleanup, and qualification-first context trials, read references/operator-runtime.md and references/memory-qualification.md.
Core Rules
- Explicit only: use this skill only for direct vault/wiki/memory requests.
- Evidence first: QUERY answers must name the wiki pages or converted sources used.
- Synthesis by approval: propose durable synthesis when useful; create it after approval or direct instruction.
- No raw overwrite: never overwrite RAW files with the same name but different hash.
- No RAW in Git by default: Git should usually contain wiki, converted markdown, provenance, scripts, docs, and routing, not heavy source binaries.
- Private memory isolation: one agent never reads/writes another agent's private folder unless the user explicitly asks for an audit.
- Wikilinks: use
[[wikilinks]]inside wiki pages; external URLs belong in source/provenance fields when needed. - Connectivity: every durable wiki page should be reachable from
index.md, a domain MOC, or a related page. - Timestamps: update
updated:frontmatter on changed wiki pages. - No duplication: wiki stores knowledge; memory stores operating context.
- Quality over quantity: one well-linked synthesis can beat ten isolated summaries.
- No performative writes: if a read-only answer is sufficient, do not write just to satisfy a rule. Write when it improves future retrieval, traceability, or operation safety.
References
references/wiki-schema.md— wiki page types, frontmatter, provenance fields, INGEST/QUERY/LINT details.references/memory-schema.md— shared/private memory roots, load order, routing, self-improvement loop.references/release-safety.md— Git/RAW/provenance safety contract.references/bridge-health.md— practical bridges between memory layers; not a full ontology.references/operator-runtime.md— optional GBrain-inspired registry/retrieval/audit tools.references/memory-qualification.md— qualification-first workflow for retrieval/context patterns.references/workflow-discipline.md— portable Control Tower, branch close, decision review, and lesson review.references/setup.md— first-time setup guide.references/graphify.md— optional Graphify-inspired derived graph/retrieval layer; Obsidian markdown remains source of truth.references/codex-hooks.md— optional Codex lifecycle hooks; verify runtime support before relying on them.assets/vault-CLAUDE.md— drop-in schema file forwiki/CLAUDE.md.assets/templates/— page templates for summary/entity/concept/synthesis/domain pages plus optional MemPalace-style wings/drawers.
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.

