knowledge

A workflow for finding ideas that recur across project notes and rewriting them as shared engineering notes. It uses semantic search to compare notes from different projects and keeps links back to their sources.

In plain words
What is it for?
Scanning project knowledge notes, identifying shared concepts or patterns, drafting a global Engineering note, and creating it after user approval.
Why use it?
It prevents useful lessons from remaining isolated inside individual projects and makes repeated knowledge easier to reuse.

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/thoreinstein/gemini-obsidian/knowledge
Any agent
npx skills add thoreinstein/gemini-obsidian --skill knowledge
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/gemini-obsidian

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% 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 $0.00042 $0.00415
Opus 5 $0.00021 $0.00208
Sonnet 5 $0.00008 $0.00083
Haiku 4.5 $0.00004 $0.00042

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

Security

Grade A, and why

knowledge 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 2d 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

This is a copy

97% identical to compound — 4 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/knowledge/SKILL.md · 46 lines

What it actually says

Compound Knowledge Promotion

Identify knowledge that has crystallized across multiple projects and promote it to a global Engineering/ note.

Workflow

  1. Scan project knowledge dirs — Call obsidian_list_notes with subfolder: "working". Filter results to paths matching working/*/knowledge/*.md.

  2. Semantic clustering — For each knowledge note path, call obsidian_rag_query with the note filename (without extension) as query, limit: 8. Track which notes appear in results from 2+ different projects — these are candidates.

  3. Read candidates — Call obsidian_read_note on shortlisted files. Look for shared definitions, patterns, or insights worth generalizing.

  4. Draft global note — Compose a new Engineering/<ConceptName>.md with:

    • Frontmatter: type: concept, created: <today>
    • Synthesized body (not copy-paste — rewrite for clarity)
    • ## Source Notes section with [[wikilinks]] back to originating notes
  5. Show draft to user — Present the proposed note content and path before creating. Ask for confirmation.

  6. Create on approval — Call obsidian_create_note with the approved content.

  7. Report cross-links — List which project knowledge notes should now add [[ConceptName]] to avoid re-discovering this knowledge next time.

Arguments

Optional topic hint: /compound authentication patterns

Tips

  • If obsidian_rag_query returns no results, suggest running /obsidian:index first
  • If no notes appear in 2+ projects, report that and suggest manual promotion
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. 2d ago First seen · 46 lines · 42 tokens per session scan A cf763681141c

Subscribe to this mod's changes

knowledge is a skill published in the GitHub repository thoreinstein/gemini-obsidian (102 stars, last pushed 1mo ago), licensed ISC. It adds 42 tokens to every session and 415 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to compound, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

triage-issue

Investigate a reported bug to root cause, then emit a TDD-shaped fix plan as an issue artifact. Trigger when the user reports a bug, says "triage", asks for issue investigation, or wants a fix plan before code changes.

OutlineDriven/odin-gemini-cli-extension · 54 tokens

git-guardrails-claude-code

Install a Claude-Code PreToolUse hook that blocks destructive git commands (push variants including force-push, hard reset, force clean, branch -D, checkout/restore overwrites) before Bash runs them. Use when the user wants git safety rails, force-push prevention, or repository-wipe protection.

OutlineDriven/odin-gemini-cli-extension · 71 tokens

duet

Two-party posture — user as director, agent as executor; every fork, tradeoff, or choice surfaced via batched AskUserQuestion with a recommended default. Use when the user invokes /duet, says "ask before" / "pair with me" / "human-in-the-loop", or for aesthetic/architectural/irreversible decisions.

OutlineDriven/odin-gemini-cli-extension · 73 tokens

explore

Read-only codebase exploration: discovery, structural reading, and emission of architecture/pattern/tooling/dependency summaries. Use to understand existing code, map files, trace function flow, locate symbols, or build pre-implementation context. Uses a staged 1/3/5 Explore-agent escalation protocol scaled to scope.…

OutlineDriven/odin-gemini-cli-extension · 122 tokens

deps-upgrade

Dependency-upgrade campaign — outdated scan, batch-by-severity, breaking-change remediation, lockfile audit. Use when CVEs require remediation, when a major upstream version lands, when stack compatibility forces a sweep, or on a scheduled (quarterly) hygiene cadence. CVE-driven bumps consume security audit findings…

OutlineDriven/odin-gemini-cli-extension · 68 tokens

design-by-contract

Design-by-Contract (DbC) development. Use when implementing with formal preconditions, postconditions, and invariants across any language.

OutlineDriven/odin-gemini-cli-extension · 32 tokens