butgo-specdrive-lab: Skill for Claude Code

.agents/skills/doc-work-bundle/SKILL.md

doc-work-bundle is a skill for Claude Code, Codex from butgo/butgo-specdrive-lab. It costs 38 tokens per session (2,700 once invoked), scanned A, original, MIT.

A document-review workflow that works on one target document together with the related documents listed in a bundle map. It supports checking the documents for mutual consistency and revising them while keeping bundle-specific history snapshots.

In plain words
What is it for?
Use it when a specification document must be checked or revised alongside its mapped reference documents.
Why use it?
It helps find conflicts between documents that affect one another. It also keeps the review focused on the configured bundle instead of reading unrelated material.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex; $skill-name invocation.

This is butgo/butgo-specdrive-lab's own configuration. It tells Claude Code and Codex how to work on butgo-specdrive-lab itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything butgo-specdrive-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to butgo/butgo-specdrive-lab. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/butgo/butgo-specdrive-lab/main/.agents/skills/doc-work-bundle/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/butgo/butgo-specdrive-lab

Made for: Claude Code, Codex.

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 doc-work-bundle

README.md
[![agentmods](https://agentmods.dev/badge/skills/butgo/butgo-specdrive-lab/doc-work-bundle.svg)](https://agentmods.dev/skills/butgo/butgo-specdrive-lab/doc-work-bundle)
Your own site
<a href="https://agentmods.dev/skills/butgo/butgo-specdrive-lab/doc-work-bundle"><img src="https://agentmods.dev/badge/skills/butgo/butgo-specdrive-lab/doc-work-bundle.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,700 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.00038 $0.02700
Opus 5 $0.00019 $0.01350
Sonnet 5 $0.00008 $0.00540
Haiku 4.5 $0.00004 $0.00270

Measured 7d ago against content hash 396cd2af4ab1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

doc-work-bundle 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 7d 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.

.agents/skills/doc-work-bundle/SKILL.md · 325 lines

How it starts

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

Doc Work Bundle

Use this skill when a target document should be checked or revised against its configured mutual-impact document bundle.

This skill sits above $doc-work-ref:

  • $doc-work reads one target document only.
  • $doc-work-ref reads the target document plus reference_docs from affected-docs-map.json only.
  • $doc-work-bundle reads the target document plus bundle_refs from doc-work-bundle-map.json.
  • $doc-work-bundle is for mutual consistency checks, not broad impact validation by default.

Read First

Read these registries first:

specdrive/config/target-registry.json
specdrive/config/doc-work-bundle-map.json

If the user did not provide a target key or document path, list bundle entry keys and mapped target keys from doc-work-bundle-map.json and stop.

Resolve the user input against doc-work-bundle-map.json first, then use target-registry.json to enrich metadata when a mapped target key exists.

Find the matching bundle entry by:

  1. exact bundle entry key
  2. target_keys
  3. target document path after removing the bundle map base_path
  4. entry path

If the input matches only target-registry.json, use the target's document_path to find the bundle entry. If the input matches a bundle entry key, resolve the target document by joining base_path and entry path.

If the user provided only a target and no action, read only the target metadata and bundle entry metadata. Show the action choices.

Supported actions for now:

  • reference
  • revise

For reference or revise, read first:

  1. the resolved target document
  2. documents listed in that entry's bundle_refs

Resolve relative path and bundle_refs against the bundle map base_path.

Do not inspect docs/history/** file contents unless the user explicitly asks for history lookup.

Missing optional or future documents should be reported, not invented.

History Rules

If a bundle action updates one document, save one history snapshot and one note for that document.

Read the full file on GitHub · 325 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. 7d ago First seen · 325 lines · 38 tokens per session scan A 396cd2af4ab1

Subscribe to this mod's changes

doc-work-bundle is a skill published in the GitHub repository butgo/butgo-specdrive-lab (1 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 2,700 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.