wiki-ingest

wiki-ingest is a skill for Claude Code from thoreinstein/obsidian-rag. It costs 64 tokens per session (1,207 once invoked), scanned A, a copy of wiki-ingest, MIT.

A document-import workflow for an Obsidian vault, a folder of connected Markdown notes. It processes PDFs, Markdown files, transcripts, Readwise exports, and other documents into notes with sources recorded.

In plain words
What is it for?
Use it to extract reusable patterns, pitfalls, decisions, and concepts from documents, while tracking where each piece of knowledge came from.
Why use it?
It prevents useful information from getting lost in unprocessed files and avoids importing the same unchanged source repeatedly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the obsidian-rag plugin — 13 skills, 2 agents shipped together

Good fit Use it to extract reusable patterns, pitfalls, decisions, and concepts from documents, while tracking where each piece of knowledge came from.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thoreinstein/obsidian-rag/wiki-ingest
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 thoreinstein/obsidian-rag --skill wiki-ingest
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/obsidian-rag

Made for: Claude Code.

Or install obsidian-rag, the plugin that ships this one along with the rest of its 13 skills, 2 agents.

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 wiki-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/wiki-ingest.svg)](https://agentmods.dev/skills/thoreinstein/obsidian-rag/wiki-ingest)
Your own site
<a href="https://agentmods.dev/skills/thoreinstein/obsidian-rag/wiki-ingest"><img src="https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/wiki-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,207 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.00064 $0.01207
Opus 5 $0.00032 $0.00603
Sonnet 5 $0.00013 $0.00241
Haiku 4.5 $0.00006 $0.00121

Measured 8d ago against content hash 4dabf9b17cee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wiki-ingest 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 8d 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

100% identical to wiki-ingest — 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/wiki-ingest/SKILL.md · 135 lines

How it starts

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

Wiki Ingest

Distill external sources into vault-native notes following VAULT_CONVENTIONS, with provenance tracking and deduplication.

Workflow

1. Identify Sources

Accept one or more source paths from the user. Sources can be:

  • Files on disk (markdown, PDF, text, transcripts)
  • Vault-internal notes (Readwise highlights, working notes to promote)
  • A directory to scan for ingestible files

For vault-internal sources, use obsidian_read_note. For external files, use the Read tool.

2. Check Manifest

Read .manifest.json from the vault root using Read tool.

For each source path, check if it exists in sources:

  • Not present → new source, proceed to extract
  • Present but source modified since ingested_at → re-ingest
  • Present and unchanged → skip (tell user "already ingested, use --force to re-process")

3. Extract Knowledge

Read the source content. Identify:

  • Patterns — reusable approaches, techniques, or practices
  • Traps — pitfalls, anti-patterns, things that went wrong
  • Decisions — architectural or design choices with rationale
  • Concepts — definitions, mental models, frameworks

For each extraction, classify its provenance:

  • Extracted (unmarked) — directly stated in the source
  • Inferred ^[inferred] — synthesized, generalized, or implied but not stated
  • Ambiguous ^[ambiguous] — source is unclear or contradicts other sources

4. Deduplicate

For each extracted concept, search the vault:

  1. Call obsidian_rag_query with the concept name/summary, limit: 5
  2. If a strong match exists, read the existing note with obsidian_read_note
  3. Decide: merge into existing note or create new note

Merge when: the existing note covers the same concept and the new source adds information. Create when: no existing note covers this concept, or the angle is sufficiently different.

5. Present Plan

Before creating or modifying any notes, present the plan to the user:

## Ingest Plan for: <source name>

### New Notes
- Engineering/Patterns/<name>.md — <one-line summary>
- Engineering/Traps/<name>.md — <one-line summary>

### Merge Into Existing
- Engineering/Patterns/<existing>.md — adding: <what's new>

### Skipped
- <concept> — already covered in [[existing-note]]

Read the full file on GitHub · 135 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. 8d ago First seen · 135 lines · 64 tokens per session scan A 4dabf9b17cee

Subscribe to this mod's changes

wiki-ingest is a skill published in the GitHub repository thoreinstein/obsidian-rag (2 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 1,207 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to wiki-ingest, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

kb-ingest

Ingest documents from the workhub vault inbox into the knowledge base. Classifies notes into projects/knowledge/archive, proposes tasks for actionable items, links, and indexes. Use when new notes land in inbox/ or a path needs filing.

atman-33/workhub · 52 tokens

acm-handoff

Use when resuming work from a previous session that reached context threshold, or when a handoff summary exists. Reads handoff state and markdown to restore context, todos, and continue seamlessly.

povvo/claudikins-automatic-context-manager · 43 tokens

acm-config

Use when the user wants to customize Claudikins Automatic Context Manager behavior, configure trigger threshold, snooze duration, summary length, or runs '/acm:config'. Interactively asks questions and saves preferences to config file.

povvo/claudikins-automatic-context-manager · 50 tokens

memorb-ingest

A skill for turning raw content into structured memory pages. It is intended for material such as transcripts, articles, and PDFs.

iamjosuho/memOrb · 79 tokens

user-profile

Use to create or update the user's anchor profile — a single private file (/bettersense-work-reflections/profile.md) that captures who the user is, what they do, what context other skills need to know about them. Read automatically by other skills in the bundle when present, so the user doesn't re-explain themselves…

shwetank/bettersense · 131 tokens

career-retro

Use for a periodic (quarterly / annual) career retrospective across the ENTIRE bettersense memory — producing a longitudinal self-assessment with cited growth deltas since the last retro and the honest gaps to work on next. Trigger phrases include "run my career retro", "where am I in my career", "annual…

shwetank/bettersense · 166 tokens