obsidian-knowledge-base

obsidian-knowledge-base is a skill for Claude Code, Codex from Spc-jgs/obsidian-kb-skill. It costs 108 tokens per session (1,009 once invoked), scanned A, original, MIT.

A skill for creating, updating, archiving, and auditing notes in an Obsidian vault, a folder of linked Markdown notes used as a personal knowledge base. It requires explicit permission before writing to the vault.

In plain words
What is it for?
Use it when you explicitly want to save conversation knowledge, create or update notes, sort an Inbox, archive content, or check vault health.
Why use it?
It keeps personal knowledge organized while avoiding unwanted changes to your notes. It also separates read-only review from actions that modify the vault.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/spc-jgs/obsidian-kb-skill/qoderwork
Any agent
npx skills add Spc-jgs/obsidian-kb-skill --skill qoderwork
Clone the repo
git clone --depth 1 https://github.com/Spc-jgs/obsidian-kb-skill

Made for: Claude Code, Codex.

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 obsidian-knowledge-base

README.md
[![agentmods](https://agentmods.dev/badge/skills/spc-jgs/obsidian-kb-skill/qoderwork.svg)](https://agentmods.dev/skills/spc-jgs/obsidian-kb-skill/qoderwork)
Your own site
<a href="https://agentmods.dev/skills/spc-jgs/obsidian-kb-skill/qoderwork"><img src="https://agentmods.dev/badge/skills/spc-jgs/obsidian-kb-skill/qoderwork.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00108 $0.01009
Opus 5 $0.00054 $0.00504
Sonnet 5 $0.00022 $0.00202
Haiku 4.5 $0.00011 $0.00101

Measured 5d ago against content hash f52e1e7c8db1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

obsidian-knowledge-base 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

platforms/qoderwork/SKILL.md · 45 lines

How it starts

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

Obsidian Personal Knowledge Base

Overview

Agent-agnostic instructions to create, organize, and update notes in an Obsidian vault. Any tool that reads/writes local files can use it.

DO NOT auto-save

This skill never writes to the vault on its own. Write only after explicit save intent ("save to Obsidian", "沉淀", "总结存档"). An explicit request to evaluate what from a conversation is worth capturing may run conversation-harvest.md as analysis only. For unrelated Q&A, debugging, or casual chat: do nothing.

When the user asks to save or review capture candidates

  1. Route analysis before Vault discovery: for an analysis-only conversation review, read conversation-harvest.md, return the candidate proposal, and stop without locating or scanning a Vault. Otherwise continue.
  2. Find vault for a write: env OBSIDIAN_KB_VAULT~/.obsidian-kb-config → ask. Refuse unless a real vault (.obsidian/ + Templates/).
  3. Read the smallest operation-specific reference set before writing. Read Vault governance first, then let one compact discovery call answer this: required_references names every file the selected type, template, and destination require, so read that set instead of discovering it one failure at a time. Pass the governed route as --folder — a crowded child folder does not make its parent look crowded. The full map:
    • New note: read only note-creation.md.
    • Finished source-backed article: after note-creation.md routes it, also read web-capture.md; verified captures additionally load deep-capture.md.
    • Crowded selected destination: when compact discovery reports it, also read folder-routing.md; uncrowded destinations do not load it.
    • Existing note: read only update-note.md.
    • Filing the Inbox: read only process-inbox.md. Filing moves notes the user already wrote; it never authors one, so ≤1 note written does not bound it.
    • Conversation context archive: read conversation-digest.md.
    • Conversation knowledge review: read conversation-harvest.md; load note-creation.md only after one durable candidate is selected for writing.
    • Task Memory: read task-memory.md only after explicit opt-in (off by default).
    • YAML, rules, and Git references are troubleshooting or post-processing material: load yaml-standards.md, rules-and-errors.md, or git.md only when the current task requires it.
  4. Prefer bundled helpers (never a one-off script): run python <skill-root>/scripts/run_helper.py <helper> ..., where <skill-root> contains this SKILL.md. For new notes use create-note --preflight-json, inspect the structured validation, then apply with --from-preflight <content.sha256> --apply --compact-json instead of resending the body; update-note is only for Task Memory, while ordinary existing-note edits follow update-note.md with native file tools.
  5. Stay bounded: ≤10 files scanned, ≤1 note written, ≤5 wikilinks. Never overwrite; add -2 on name clash. Validate after.
  6. Route: daily→15-Daily · meeting→10-Work · learning/article→20-Learning · insight/digest→30-Insights · project→40-Projects · person→50-People · quick/unread source→00-Inbox. An ordinary finished article uses standard capture; verified capture is explicit or evidence-sensitive.

Read the full file on GitHub · 45 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. 5d ago First seen · 45 lines · 108 tokens per session scan A f52e1e7c8db1

Subscribe to this mod's changes

obsidian-knowledge-base is a skill published in the GitHub repository Spc-jgs/obsidian-kb-skill (5 stars, last pushed 11d ago), licensed MIT. It adds 108 tokens to every session and 1,009 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens