obsidian-knowledge-base

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

A skill for managing notes in an Obsidian vault. Obsidian is a note-taking app that stores linked plain-text Markdown files in a folder called a vault.

In plain words
What is it for?
Use it to save or update notes, sort an Inbox, archive knowledge, audit a vault, or decide what conversation details are worth keeping.
Why use it?
It prevents the agent from saving notes without permission and provides rules for finding, organizing, updating, and checking the health of a vault.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to save or update notes, sort an Inbox, archive knowledge, audit a vault, or decide what conversation details are worth keeping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base
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.

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

Made for: 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/obsidian-knowledge-base/github.svg)](https://agentmods.dev/skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base)
Your own site
<a href="https://agentmods.dev/skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base"><img src="https://agentmods.dev/badge/skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base/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 obsidian-knowledge-base

Your own site · 80×15
<a href="https://agentmods.dev/skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base"><img src="https://agentmods.dev/badge/skills/spc-jgs/obsidian-kb-skill/obsidian-knowledge-base.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00108 $0.01009
Opus 5 $0.00054 $0.00504
Sonnet 5 $0.00022 $0.00202
Haiku 4.5 $0.00011 $0.00101

Measured 9d ago against content hash f52e1e7c8db1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d ago.

The scan reads SKILL.md. This mod also ships 26 executable files (scripts/obsidian_kb_skill/__init__.py, scripts/obsidian_kb_skill/scripts/__init__.py, scripts/obsidian_kb_skill/scripts/action_heading_contract.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

This is a copy

100% identical to obsidian-knowledge-base — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 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 15d 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. It is 100% identical to obsidian-knowledge-base, differing in 0 lines, and is treated as a copy.

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

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

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens