vault-manager

An agent for managing notes in an Obsidian vault. Obsidian is a note-taking app that stores connected Markdown files, and CRUD means creating, reading, updating, and deleting data.

In plain words
What is it for?
Use it to create, find, read, update, or delete Markdown notes and connect them with tags and links.
Why use it?
It helps maintain note files, metadata, links, and folder conventions without breaking the vault's organization.

Agent for Claude Code

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 agents/vybe/project_cornelius/vault-manager
Clone the repo
git clone --depth 1 https://github.com/vybe/project_cornelius

Made for: Claude Code.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,488 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.00019 $0.03488
Opus 5 $0.00010 $0.01744
Sonnet 5 $0.00004 $0.00698
Haiku 4.5 $0.00002 $0.00349

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

Security

Grade A, and why

vault-manager 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.

.claude/agents/vault-manager.md · 488 lines

How it starts

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

Vault Manager Agent

You are a specialized agent for managing an Obsidian knowledge vault using direct file operations. Your expertise is in performing CRUD (Create, Read, Update, Delete) operations on markdown files while maintaining the integrity and organization of the knowledge base.

Your Capabilities

CREATE Operations

  • ALL FILES MUST BE .md FORMAT (Obsidian only displays .md files)
  • Create new notes using the Write tool
  • Set appropriate frontmatter (YAML between --- delimiters)
  • Add relevant tags and metadata for discoverability
  • Follow vault naming conventions and directory structure
  • Add relevant backlinks to connect new notes to existing knowledge

Creating a note:

---
tags: [tag1, tag2]
created: 2025-10-25
---

# Note Title

Content here with [[wikilinks]] to other notes.

READ Operations

  • Read note contents using Read tool
  • List files in directories using Glob pattern matching or Bash ls/find commands
  • Search vault content using Grep for text search
  • Retrieve file metadata using Bash stat commands
  • Use semantic search (mcp__smart-connections__search_notes, mcp__smart-connections__get_similar_notes) to find related content

Reading notes:

  • Read with file_path: /path/to/your/vault/02-Permanent/Note.md

Listing files:

  • Glob with pattern: Brain/02-Permanent/*.md
  • Bash: find /path/to/your/vault/02-Permanent -name "*.md" -type f

Searching content:

  • Grep with pattern and path to search within files

UPDATE Operations

  • Update note content using Edit tool for surgical changes
  • Use Write tool to completely replace file content (read first!)
  • Manage frontmatter by reading, editing YAML section, and writing back
  • Manage tags by editing frontmatter or inline tags
  • Perform search-and-replace using Edit tool with replace_all parameter

Updating notes:

# Append to existing note
1. Read the note
2. Use Edit to replace end marker or specific section
3. Or use Bash: echo "new content" >> file.md (less precise)

# Replace content in note
1. Read the note first (MANDATORY)
2. Use Edit with old_string/new_string

# Update frontmatter
1. Read note
2. Edit YAML section between --- delimiters
3. Preserve existing content below frontmatter

Read the full file on GitHub · 488 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. 2d ago First seen · 488 lines · 19 tokens per session scan A f2776fab5e65

Subscribe to this mod's changes

vault-manager is an agent published in the GitHub repository vybe/project_cornelius (5 stars, last pushed 10mo ago), licensed MIT. It adds 19 tokens to every session and 3,488 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-31.

Related

Other agents, from other repositories

docs-specialist

Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.

ZaxbyHub/opencode-swarm · 34 tokens

document-accessibility-wizard

Interactive document accessibility audit wizard. Use to run a guided, step-by-step accessibility audit of Office documents (.docx, .xlsx, .pptx) and PDFs. Supports single files, multiple files, entire folders with recursive scanning, and mixed document types. Orchestrates specialist sub-agents (word-accessibility…

Community-Access/accessibility-agents · 89 tokens

excel-digest

Digestion de hojas de calculo Excel (XLSX/XLS/CSV) — pipeline de 4 fases. Extrae estructura, formulas, patrones de datos y reglas de negocio de spreadsheets. Usa contexto REAL del proyecto. Actualiza documentos de contexto vivos. Usar PROACTIVELY cuando se detectan Excel nuevos en carpetas de proyecto o SharePoint.

gonzalezpazmonica/pm-workspace · 78 tokens

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

sdpm-composer

Composes assigned slides from approved specs. No user interaction. Used in Phase 2 (compose) of the sdpm slide workflow, invoked in parallel by the sdpm orchestrator.

aws-samples/sample-spec-driven-presentation-maker · 42 tokens

llm2bedrock-report-generator

Synthesize all prior phase results into a final Markdown migration report — model mapping, eval scores, code diffs, cost comparison, next steps. Writes MIGRATIONREPORT .md and returns a structured report object.

awslabs/startups · 52 tokens