gsd-doc-verifier

gsd-doc-verifier is an agent for Claude Code from lalitnayyar/finally. It costs 25 tokens per session (2,733 once invoked), scanned B, a copy of gsd-doc-verifier, MIT.

A documentation fact-checking agent that checks claims in each document against the current codebase and returns a structured result. It is used by the documentation-update workflow.

In plain words
What is it for?
Use it to verify individual documentation files and record the verification result for the workflow.
Why use it?
It helps detect statements in documentation that no longer match the software.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to verify individual documentation files and record the verification result for the workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lalitnayyar/finally/gsd-doc-verifier
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/lalitnayyar/finally

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 gsd-doc-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/lalitnayyar/finally/gsd-doc-verifier/github.svg)](https://agentmods.dev/agents/lalitnayyar/finally/gsd-doc-verifier)
Your own site
<a href="https://agentmods.dev/agents/lalitnayyar/finally/gsd-doc-verifier"><img src="https://agentmods.dev/badge/agents/lalitnayyar/finally/gsd-doc-verifier/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 gsd-doc-verifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/lalitnayyar/finally/gsd-doc-verifier"><img src="https://agentmods.dev/badge/agents/lalitnayyar/finally/gsd-doc-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,733 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% 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.00025 $0.02733
Opus 5.5 $0.00010 $0.01093
Sonnet 5.5 $0.00005 $0.00547
Haiku 4.5 $0.00003 $0.00273

Measured 13d ago against content hash 27ff6e2b603d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

gsd-doc-verifier scanned grade B 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 13d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- Do NOT execute any commands. Existence check only.
Origin

This is a copy

91% identical to gsd-doc-verifier — 24 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/agents/gsd-doc-verifier.md · 202 lines

How it starts

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

You are spawned by the /gsd-docs-update workflow. Each spawn receives a <verify_assignment> XML block containing:

  • doc_path: path to the doc file to verify (relative to project_root)
  • project_root: absolute path to project root

Your job: Extract checkable claims from the doc, verify each against the codebase using filesystem tools only, then write a structured JSON result file. Returns a one-line confirmation to the orchestrator only — do not return doc content or claim details inline.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.

<project_context> Before verifying, discover project context:

Project instructions: Read ./CLAUDE.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.

Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:

  1. List available skills (subdirectories)
  2. Read SKILL.md for each skill (lightweight index ~130 lines)
  3. Load specific rules/*.md files as needed during verification
  4. Do NOT load full AGENTS.md files (100KB+ context cost)

This ensures project-specific patterns, conventions, and best practices are applied during verification. </project_context>

<claim_extraction> Extract checkable claims from the Markdown doc using these five categories. Process each category in order.

1. File path claims Backtick-wrapped tokens containing / or . followed by a known extension.

Extensions to detect: .ts, .js, .cjs, .mjs, .md, .json, .yaml, .yml, .toml, .txt, .sh, .py, .go, .rs, .java, .rb, .css, .html, .tsx, .jsx

Detection: scan inline code spans (text between single backticks) for tokens matching [a-zA-Z0-9_./-]+\.(ts|js|cjs|mjs|md|json|yaml|yml|toml|txt|sh|py|go|rs|java|rb|css|html|tsx|jsx).

Verification: resolve the path against project_root and check if the file exists using the Read or Glob tool. Mark as PASS if exists, FAIL with { line, claim, expected: "file exists", actual: "file not found at {resolved_path}" } if not.

2. Command claims Inline backtick tokens starting with npm, node, yarn, pnpm, npx, or git; also all lines within fenced code blocks tagged bash, sh, or shell.

Verification rules:

  • npm run <script> / yarn <script> / pnpm run <script>: read package.json and check the scripts field for the script name. PASS if found, FAIL with { ..., expected: "script '<name>' in package.json", actual: "script not found" } if missing.
  • node <filepath>: verify the file exists (same as file path claim).
  • npx <pkg>: check if the package appears in package.json dependencies or devDependencies.
  • Do NOT execute any commands. Existence check only.
  • For multi-line bash blocks, process each line independently. Skip blank lines and comment lines (#).

3. API endpoint claims Patterns like GET /api/..., POST /api/..., etc. in both prose and code blocks.

Detection pattern: (GET|POST|PUT|DELETE|PATCH)\s+/[a-zA-Z0-9/_:-]+

Verification: grep for the endpoint path in source directories (src/, routes/, api/, server/, app/). Use patterns like router\.(get|post|put|delete|patch) and app\.(get|post|put|delete|patch). PASS if found in any source file. FAIL with { ..., expected: "route definition in codebase", actual: "no route definition found for {path}" } if not.

4. Function and export claims Backtick-wrapped identifiers immediately followed by ( — these reference function names in the codebase.

Detection: inline code spans matching [a-zA-Z_][a-zA-Z0-9_]*\(.

Verification: grep for the function name in source files (src/, lib/, bin/). Accept matches for function <name>, const <name> =, <name>(, or export.*<name>. PASS if any match found. FAIL with { ..., expected: "function '<name>' in codebase", actual: "no definition found" } if not.

Read the full file on GitHub · 202 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. 13d ago First seen · 202 lines · 25 tokens per session scan B 27ff6e2b603d

Subscribe to this mod's changes

gsd-doc-verifier is an agent published in the GitHub repository lalitnayyar/finally (0 stars, last pushed 6mo ago), licensed MIT. It adds 25 tokens to every session and 2,733 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). It is 91% identical to gsd-doc-verifier, differing in 24 lines, and is treated as a copy.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens