govreposcrape: Command for Claude Code

.claude/commands/bmad/core/tools/shard-doc.md

shard-doc is a command for Claude Code from chrisns/govreposcrape. It costs 19 tokens per session (58 once invoked), scanned A, a copy of shard-doc, MIT.

A document-splitting command that turns one large Markdown file into smaller files using its level-two headings.

In plain words
What is it for?
Use it to split a document into organized files by its ## sections, using that heading level by default.
Why use it?
It makes long Markdown documents easier to maintain, review, and navigate.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is chrisns/govreposcrape's own configuration. It tells Claude Code how to work on govreposcrape 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 govreposcrape configures →

Part of the govreposcrape plugin — 1 skill, 29 commands, 9 agents, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to chrisns/govreposcrape. 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/chrisns/govreposcrape/main/.claude/commands/bmad/core/tools/shard-doc.md
Clone the repo
git clone --depth 1 https://github.com/chrisns/govreposcrape

Made for: Claude Code.

Or install govreposcrape, the plugin that ships this one along with the rest of its 1 skill, 29 commands, 9 agents, 1 MCP server.

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 shard-doc

README.md
[![agentmods](https://agentmods.dev/badge/commands/chrisns/govreposcrape/shard-doc.svg)](https://agentmods.dev/commands/chrisns/govreposcrape/shard-doc)
Your own site
<a href="https://agentmods.dev/commands/chrisns/govreposcrape/shard-doc"><img src="https://agentmods.dev/badge/commands/chrisns/govreposcrape/shard-doc.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 58 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 100% 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.1 $0.00019 $0.00058
Opus 5 $0.00010 $0.00029
Sonnet 5 $0.00004 $0.00012
Haiku 4.5 $0.00002 $0.00006

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

Security

Grade A, and why

shard-doc 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 8d 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.

Origin

This is a copy

100% identical to shard-doc — 2 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.

.claude/commands/bmad/core/tools/shard-doc.md · 10 lines

What it actually says

Shard Document

LOAD and execute the tool at: .bmad/core/tools/shard-doc.xml

Follow all instructions in the tool file exactly as written.

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. 8d ago First seen · 10 lines · 19 tokens per session scan A 6100056f5e30

Subscribe to this mod's changes

shard-doc is a command published in the GitHub repository chrisns/govreposcrape (24 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 58 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to shard-doc, differing in 2 lines, and is treated as a copy.