cartographer CLAUDE.md

cartographer CLAUDE.md is an instructions file for coding agents from BeppeTemp/cartographer. It costs 1,695 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Cartographer, a Go server that lets coding agents use MCP tools to work with an Agentic Wiki knowledge base. It maps the project’s documentation, commands, configuration, testing, and development rules.

In plain words
What is it for?
Use it to navigate Cartographer’s documentation, run its build and test commands, understand its MCP tools, configure deployments, and add MCP tools.
Why use it?
It gives an agent a reliable route through the codebase and records where key facts live, reducing guesswork and incorrect edits.

Instructions file

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 instructions/beppetemp/cartographer/claude-md
Clone the repo
git clone --depth 1 https://github.com/BeppeTemp/cartographer

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 cartographer CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/beppetemp/cartographer/claude-md.svg)](https://agentmods.dev/instructions/beppetemp/cartographer/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/beppetemp/cartographer/claude-md"><img src="https://agentmods.dev/badge/instructions/beppetemp/cartographer/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,695 This file is loaded in full into every session.
When invoked 1,695 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01695 $0.01695
Opus 5 $0.00847 $0.00847
Sonnet 5 $0.00339 $0.00339
Haiku 4.5 $0.00169 $0.00169

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

Security

Grade A, and why

cartographer CLAUDE.md 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 5d 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.

make smoke-http # operator-level HTTP smoke test (creates temp KBs via curl)
CLAUDE.md · 102 lines

How it starts

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

AGENTS.md — Cartographer

Go MCP server for the Agentic Wiki (Karpathy pattern + OKF). The agent never touches files directly: it operates via MCP tools; the server enforces the invariants. → docs/overview.md

Where to look for what (not duplicated here):

Need Source of truth
Full doc map + reading paths docs/index.md (read that first, then only the relevant pages)
Project status and planned work GitHub issues, pull requests and releases (links in docs/index.md)
Why behind a choice (AD/D entries) docs/decisions.md routes to the topic registers; search docs/decisions/
List of MCP tools docs/control-plane.md §API MCP
CARTOGRAPHER_* env vars, YAML config, deploy docs/deployment.md
Client subcommands / TUI docs/configurator.md
Test strategy and pre-release checklist docs/testing.md
Go conventions docs/conventions.md

Commands

make build           # → bin/cartographer
make test            # go test ./...
make vet             # go vet ./...
make fmt             # gofmt -w .
make run             # stdio with demo KB
make run-http        # HTTP on :39273 with demo KB
make smoke           # build + quick stdio test
make smoke-http      # operator-level HTTP smoke test (creates temp KBs via curl)
make e2e             # deterministic HTTP/CLI end-to-end scenarios
make test-install    # network-free install.sh/Cask packaging suite + goreleaser guard
make docker          # build Docker image
make clean           # removes bin/ and demo-kb/
./bin/cartographer serve --kb /path/to/kb --init      # local stdio server
./bin/cartographer serve --config config.yaml         # HTTP/stdio server (YAML, see config.example.yaml)
./bin/cartographer connect|disconnect|status|sync     # multi-provider client (HTTP)
./bin/cartographer                                    # TUI dashboard (if TTY), otherwise usage

Protocol: JSON-RPC 2.0. Stdio = newline-delimited. HTTP = POST /mcp. Logs on stderr.

Read the full file on GitHub · 102 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. 5d ago First seen · 102 lines · 1,695 tokens per session scan A 2a142f0ec7f0

Subscribe to this mod's changes

cartographer CLAUDE.md is an instructions file published in the GitHub repository BeppeTemp/cartographer (17 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,695 tokens to every session, about $0.0085 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories