ingest

ingest is a command for Claude Code from Michael-OvO/obsidian-knowledge-agent. It costs 21 tokens per session (374 once invoked), scanned A, original, MIT.

A note-making workflow for turning source material into one note, a small linked set, or a fully organised knowledge structure in an Obsidian vault. Obsidian is an app for storing connected plain-text notes.

In plain words
What is it for?
Use it to capture a quick note, build a small collection with an index, or create a larger structure with a concept graph. It can also record the work and suggest updates to the vault’s conventions.
Why use it?
It prevents you from putting every piece of material through the same oversized process. It also checks the vault’s existing structure so new notes fit in.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the obsidian-knowledge plugin — 1 skill, 12 commands, 2 hooks shipped together

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 commands/michael-ovo/obsidian-knowledge-agent/ingest
Clone the repo
git clone --depth 1 https://github.com/Michael-OvO/obsidian-knowledge-agent

Made for: Claude Code.

Or install obsidian-knowledge, the plugin that ships this one along with the rest of its 1 skill, 12 commands, 2 hooks.

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 ingest

README.md
[![agentmods](https://agentmods.dev/badge/commands/michael-ovo/obsidian-knowledge-agent/ingest.svg)](https://agentmods.dev/commands/michael-ovo/obsidian-knowledge-agent/ingest)
Your own site
<a href="https://agentmods.dev/commands/michael-ovo/obsidian-knowledge-agent/ingest"><img src="https://agentmods.dev/badge/commands/michael-ovo/obsidian-knowledge-agent/ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 374 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.1 $0.00021 $0.00374
Opus 5 $0.00010 $0.00187
Sonnet 5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00037

Measured 6d ago against content hash c66b675780a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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.

plugins/obsidian-knowledge/commands/ingest.md · 27 lines

What it actually says

Handle whatever I point you at — or everything in Inbox/ if I don't say.

If this folder isn't a vault yet (no .agents/ and no notes), don't force a build — say so and offer /obsidian-knowledge:setup first, then come back to this.

  1. Recall. If this vault has .agents/learned/, read conventions.md and examples.md and scan .agents/learned/skills/ for a matching playbook. Look at how this vault is already organized and plan to fit in, not impose.
  2. Pick the altitude. Match the effort to the material — a single note (Capture), a few notes plus a light index (Small collection), or the full scaffold with a concept-graph canvas (Full build). Default to the lightest that fits; when unsure, go lighter and offer to go deeper. See "Choose the altitude" in .agents/ingestion-workflow.md. (For an obvious one-note save, just use /obsidian-knowledge:capture.)
  3. Do the work at that altitude, following the obsidian-knowledge skill and the vault's .agents/*.md if present (otherwise the skill's bundled references/).
  4. Reflect. Append a journal entry and propose any durable convention / example / playbook updates for review. Commit per the approval policy; surface rule-change diffs before committing them.

$ARGUMENTS

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. 6d ago First seen · 27 lines · 21 tokens per session scan A c66b675780a7

Subscribe to this mod's changes

ingest is a command published in the GitHub repository Michael-OvO/obsidian-knowledge-agent (206 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 374 once invoked, about $0.0001 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-30.