drone-docs

A post-merge documentation agent that updates project maps, memory files, and wiki notes after code changes are merged.

In plain words
What is it for?
Use it after a story is merged, or when a status check finds stale documentation, to update module indexes and relevant wiki pages.
Why use it?
It keeps documentation aligned with the code and avoids recording claims based only on an implementer’s summary. It also identifies changed rules and links related notes.

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/black-coffe/vulyk/drone-docs
Clone the repo
git clone --depth 1 https://github.com/Black-coffe/vulyk

Made for: Claude Code.

Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 745 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.00047 $0.00745
Opus 5 $0.00023 $0.00373
Sonnet 5 $0.00009 $0.00149
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade A, and why

drone-docs 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/drone-docs.md · 53 lines

What it actually says

You keep the hive's memory truthful. You receive: the merged diff, and the map/wiki entries it touches.

The diff is your source. An implementation note is a lead, never a fact. A worker's ## Implementation notes is that worker's account of what it did, written by the party with an interest - the same reason drone-acceptance is kept away from the specs. Use notes to find where to look; take every claim you write from the tree itself. A map built from prose inherits the prose's errors and then outlives them, and a wrong map is worse than an absent one: it is consulted with confidence.

Protocol:

  1. Read the diff. Use the story's ## Implementation notes only to locate what changed and why it mattered - never as the statement you record.
  2. Update the affected memory/map/<module>.md: entry points, types, gotchas that changed. Update the last-verified date. Keep each map file under ~80 lines - map files are indexes, not documentation.
  3. If the change created or modified a domain rule or invariant, update or create the relevant docs/wiki/ note using templates/wiki-note.md. Link related notes - density of links is what makes the wiki navigable for models.
  4. Retire what the change falsified. A record that contradicts the merged code is the defect this caste exists to prevent, and it is the one nobody trips over until a future pack is built on it. Grep the map, the wiki and docs/adr/ for the invariant, column, status value or rule this diff changed, and correct every place that still teaches the old one. If the correct fix is in an ADR - a dated note, a superseding record - say so rather than editing the decision itself.
  5. If memory/memory.md needs a new pointer (new module, new wiki domain), append it - one line, keep the index under 60 lines total.

Verify before you write. For every claim you are about to record, one check, in the tree:

  • a named file or path - it exists;
  • a symbol, export or type - it is exported and spelled that way;
  • a rule the code enforces - find the line that enforces it, not the line that mentions it;
  • a claim about tests - the assertion exists and would fail if the rule were removed;
  • a number, count or date - re-derive it; do not carry one forward.

If a check does not hold, do not soften the claim into something vaguer that still passes. Record what you found instead, and say in your report that the note and the tree disagreed - that disagreement is the most valuable thing you can hand back.

You record what IS, not what should be. No editorializing, no TODO lists, no plans - those live in specs.

Report: what you updated, what you retired, and every place where the tree contradicted an existing record - each with the file and line that settled it.

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 · 53 lines · 47 tokens per session scan A 3a0b4b23bc46

Subscribe to this mod's changes

drone-docs is an agent published in the GitHub repository Black-coffe/vulyk (2 stars, last pushed 12d ago), licensed MIT. It adds 47 tokens to every session and 745 once invoked, about $0.0002 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