autograph

A schema-enforcement and maintenance toolkit for an Obsidian vault, a collection of linked Markdown notes. It discovers the vault's structure, checks it, creates or updates cards, repairs links, builds indexes, and finds disconnected notes.

In plain words
What is it for?
Use it to bootstrap a vault, run health checks, create or update knowledge cards, find duplicates and orphan notes, strengthen links, and generate indexes.
Why use it?
It reduces inconsistent note formats, broken links, duplicate entries, and uncategorized information in a knowledge vault.

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/smixs/iva-agent/docs
Any agent
npx skills add smixs/iva-agent --skill docs
Clone the repo
git clone --depth 1 https://github.com/smixs/iva-agent

Made for: Claude Code, Codex.

Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 89% 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.00089 $0.04805
Opus 5 $0.00044 $0.02403
Sonnet 5 $0.00018 $0.00961
Haiku 4.5 $0.00009 $0.00481

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

Security

Grade A, and why

autograph scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

No hardcoded domains, types, or paths. The agent discovers structure from data, builds a schema, then enforces it. All scripts share `common.py`. Zero external dependencies (stdlib only, API calls via urllib).
Origin

This is a copy

89% identical to autograph — 245 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.

scripts/autograph/docs/SKILL.md · 375 lines

How it starts

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

autograph — typed vault engine

One schema. One graph. Works on any vault.

Overview

No hardcoded domains, types, or paths. The agent discovers structure from data, builds a schema, then enforces it. All scripts share common.py. Zero external dependencies (stdlib only, API calls via urllib).

Quick Reference: 6 Workflows

Workflow When to use Entry point
BOOTSTRAP New vault / after import / first setup discover.pyenforce.pygraph.py health
HEALTH Daily maintenance / on request graph.py health → fix → moc → decay
CREATE / UPDATE New knowledge card, or new info about an existing one search.py dedup → ADD/UPDATE/SUPERSEDE → link → touch
SEARCH & LINK Find info + strengthen connections Hub → links → target; graph.py orphans → connect
ORCHESTRATE Automated multi-agent workflows (no API keys) orchestrate.py health|bootstrap
DAILY → CARDS Turn a day's raw notes into linked cards daily.py extract → dedup-first process → link

Workflow 1: BOOTSTRAP (raw vault → structured graph)

When to use: New vault, bulk import, first setup. Run once, then switch to HEALTH.

Full guide: references/bootstrap-workflow.md

Summary (10 phases)

  1. Discover: uv run scripts/autograph/discover.py <vault-dir> --verbose > /tmp/discovery.json
  2. Generate schema: Script baseline (generate_schema.py) + agent swarm (swarm_prepare.py → Wave 1 haiku → swarm_reduce.py → Wave 2 sonnet). NEVER skip the swarm.
  3. Review: Human approves schema. Never auto-apply.
  4. Bootstrap + Enforce: engine.py init + enforce.py --apply
  5. Link cleanup: link_cleanup.py --apply (before enrichment)
  6. Tag enrich: enrich.py tags --apply (via OpenRouter API)
  7. Deduplicate: dedup.py --apply (before link enrichment)
  8. Link enrich: enrich.py swarm-links --apply (always swarm-links, never links)
  9. MOC generation: moc.py generate
  10. Verify: graph.py health + enforce.py → target 90+/100

Read the full file on GitHub · 375 lines

Files

What ships with it

6 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. 2d ago First seen · 375 lines · 89 tokens per session scan A 2f645fdb36ee

Subscribe to this mod's changes

autograph is a skill published in the GitHub repository smixs/iva-agent (189 stars, last pushed 6d ago), licensed MIT. It adds 89 tokens to every session and 4,805 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 89% identical to autograph, differing in 245 lines, and is treated as a copy.