validate-docs

validate-docs is a command for Claude Code from justinjdev/fellowship. It costs 18 tokens per session (1,171 once invoked), scanned A, original, Apache-2.0.

A report-only check that compares project documentation with the current codebase. Documentation includes changelogs, feature pages, agent pages, marketplace details, and configuration information.

In plain words
What is it for?
Checking site and README changelogs, recent commits, skills and commands, agents, marketplace descriptions, and configuration schemas.
Why use it?
It finds missing or outdated documentation without changing any files.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions .claude-plugin.

Part of the fellowship plugin — 20 skills, 20 commands, 4 agents, 3 hooks shipped together

Good fit Checking site and README changelogs, recent commits, skills and commands, agents, marketplace descriptions, and configuration schemas.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/justinjdev/fellowship/validate-docs
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/justinjdev/fellowship

Made for: Claude Code.

Or install fellowship, the plugin that ships this one along with the rest of its 20 skills, 20 commands, 4 agents, 3 hooks.

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 validate-docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/justinjdev/fellowship/validate-docs/github.svg)](https://agentmods.dev/commands/justinjdev/fellowship/validate-docs)
Your own site
<a href="https://agentmods.dev/commands/justinjdev/fellowship/validate-docs"><img src="https://agentmods.dev/badge/commands/justinjdev/fellowship/validate-docs/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 validate-docs

Your own site · 80×15
<a href="https://agentmods.dev/commands/justinjdev/fellowship/validate-docs"><img src="https://agentmods.dev/badge/commands/justinjdev/fellowship/validate-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,171 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.00018 $0.01171
Opus 5.5 $0.00007 $0.00468
Sonnet 5.5 $0.00004 $0.00234
Haiku 4.5 $0.00002 $0.00117

Measured 3mo ago against content hash e1c37aee65ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate-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 3mo 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/commands/validate-docs.md · 112 lines

How it starts

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

Validate Docs

Layout assumption: This skill expects the standard fellowship layout — site at site/src/routes/, plugin at plugin/. If your project uses a different structure, the path checks below will not match.

Overview

Checks that documentation is current against the codebase: the site changelog, README changelog, skills/commands page, agents page, marketplace description, and config schema. Collects all findings across Steps 1–6, then emits a single structured report in Step 7. Does not modify any files — report-only.

Process

Step 1: Changelog (site)

Read site/src/routes/changelog/+page.svelte. If the file does not exist, flag it as missing and continue to Step 2.

  • If there is an <!-- unreleased --> section, flag it: changelog has unreleased changes that need a version.
  • If there is no unreleased section, check commits since the last tag:
    git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges
    
    If git describe --tags --abbrev=0 fails (no tags exist), skip the commit comparison and note "no tags found." Otherwise, if there are feat/fix commits not reflected in the changelog, flag it.

Step 2: Changelog (README)

Read README.md and find the ## Changelog section. If README.md does not exist, flag it as missing and continue to Step 3.

Check commits since the last tag:

git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges

If git describe --tags --abbrev=0 fails (no tags exist), skip the commit comparison and note "no tags found." Otherwise, if there are feat/fix commits not covered by the latest README changelog entry, flag it.

Step 3: Skills and commands page

Read site/src/routes/skills/+page.svelte. If the file does not exist, flag it as missing and continue to Step 4.

List all skills in plugin/skills/*/SKILL.md and all commands in plugin/commands/*.md. Cross-reference against what's documented on the skills page. Flag any that are present in the plugin but missing from the page.

Read the full file on GitHub · 112 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. 3mo ago First seen · 112 lines · 18 tokens per session scan A e1c37aee65ef

Subscribe to this mod's changes

validate-docs is a command published in the GitHub repository justinjdev/fellowship (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,171 once invoked, about $0.0001 per session on Opus 5.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

validate-docs compared with commands from other repositories

validate-docs next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validate-docsjustinjdev/fellowshipCommand52mo agoApache-2.0A18Claude Code
auto-modeShaheerKhawaja/ProductionOSCommand87mo agoMITA68Claude Code
max-researchShaheerKhawaja/ProductionOSCommand87mo agoMITA48Claude Code
omni-planShaheerKhawaja/ProductionOSCommand87mo agoMITA62Claude Code
auto-swarm-nthShaheerKhawaja/ProductionOSCommand87mo agoMITA51Claude Code
frontend-upgradeShaheerKhawaja/ProductionOSCommand87mo agoMITA56Claude Code
omni-plan-nthShaheerKhawaja/ProductionOSCommand87mo agoMITA51Claude Code