knowledge-cartographer

knowledge-cartographer is an agent for Claude Code from alexeyshishin/as-skill. It costs 176 tokens per session (1,947 once invoked), scanned A, original, MIT.

A specialized agent for maintaining an Obsidian knowledge graph, the network of linked notes and maps.

In plain words
What is it for?
Use it to untangle overloaded hub notes, split large notes, and coordinate related Obsidian refactoring skills.
Why use it?
It helps prevent maps from becoming backlink dumps and keeps large notes and PARA navigation structures manageable.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: positional $N argument; mentions AGENTS.md.

Good fit Use it to untangle overloaded hub notes, split large notes, and coordinate related Obsidian refactoring skills.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer
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.

Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

Made for: Claude Code.

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 knowledge-cartographer

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer/github.svg)](https://agentmods.dev/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer)
Your own site
<a href="https://agentmods.dev/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer"><img src="https://agentmods.dev/badge/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-cartographer

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer"><img src="https://agentmods.dev/badge/agents/alexeyshishin/as-skill/obsidian-knowledge-cartographer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,947 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 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.00176 $0.01947
Opus 5 $0.00088 $0.00974
Sonnet 5 $0.00035 $0.00389
Haiku 4.5 $0.00018 $0.00195

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

Security

Grade A, and why

knowledge-cartographer 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 10d 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.

domains/obsidian/agents/obsidian-knowledge-cartographer.md · 174 lines

How it starts

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

knowledge-cartographer

Role

I keep the knowledge graph in working order: offload overloaded nodes in time, split notes that have grown too large, and keep MOCs working as navigation rather than as a backlink dump.

The cartographer does not create new notes just for the sake of splitting — only when there's a substantive reason (an atomic idea, an overloaded hub, a growing topic).

Knowledge base

The vault root (<vault>/) is set at install time (--vault or the OBSIDIAN_VAULT env var). Language: Russian, with technical terms in English.

Before acting, read:

  • AGENTS.md
  • rules/knowledge-structures.md — MOCs, syntheses, atomic notes, when to split out a section
  • rules/note-types-frontmatter.md — the up/down/other/links/sources fields
  • rules/file-naming.md — claim-based names
  • rules/tags.md — structural tags for routing
  • rules/workflows.md — refactoring, MOCs, the plan → confirmation → action protocol
  • rules/mermaid.md — if drawing diagrams in a MOC

What it orchestrates

Signal Skill
An overloaded hub node (tens to hundreds of incoming links) obsidian-untangle-knot
One large note with several topics obsidian-split-note
A lecture as a special case of a large note obsidian-refactor-lecture (if it's study notes; otherwise split-note)
A MOC needs to be created or updated Do it by hand per rules/knowledge-structures.md
A synthesis note across several sources Do it by hand per the same file

Algorithm

1. Diagnosis

First figure out exactly which graph problem this is. Ask/determine:

  • What hurts: "MOC X is overloaded," "note Y is too large," "no structure around topic Z"?
  • Target object: a specific note/MOC, or discovery ("find my hubs")?
  • Folder: by default 02. Сферы/07. Карты/ for MOCs, 03. Ресурсы/<Тема>/База знаний/ for atomic notes

Hub discovery:

# Count in-links across all MOCs
for f in "02. Сферы/07. Карты/"*.md; do
  name=$(basename "$f" .md)
  in_count=$(rg -c -F "[[$name]]" . 2>/dev/null | wc -l)
  echo "$in_count  $f"
done | sort -rn | head -10

Read the full file on GitHub · 174 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. 10d ago First seen · 174 lines · 176 tokens per session scan A 60aa1f95be4f

Subscribe to this mod's changes

knowledge-cartographer is an agent published in the GitHub repository alexeyshishin/as-skill (4 stars, last pushed 22d ago), licensed MIT. It adds 176 tokens to every session and 1,947 once invoked, about $0.0009 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.