docs-grounder

docs-grounder is an agent for Claude Code from ihudak/ihudak-claude-plugins. It costs 141 tokens per session (2,687 once invoked), scanned A, original, MIT.

A read-only research agent that finds relevant existing product-documentation pages for a planned writing task. It uses a documentation folder and optional Jira details or topic themes to return a limited reference summary.

In plain words
What is it for?
It is for grounding new or changed documentation in existing product docs, including work connected to a Jira ticket.
Why use it?
It helps authors find documented facts and comparable examples before writing, reducing unsupported claims and inconsistent explanations.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the workflows-core plugin — 2 skills, 6 commands, 5 agents shipped together

Good fit It is for grounding new or changed documentation in existing product docs, including work connected to a Jira ticket.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ihudak/ihudak-claude-plugins
Claude Code
/plugin install workflows-core

Made for: Claude Code.

Or install workflows-core, the plugin that ships this one along with the rest of its 2 skills, 6 commands, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/docs-grounder/github.svg)](https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/docs-grounder)
Your own site
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/docs-grounder"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/docs-grounder/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 docs-grounder

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/docs-grounder"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/docs-grounder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 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,687 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.00141 $0.02687
Opus 5.5 $0.00056 $0.01075
Sonnet 5.5 $0.00028 $0.00537
Haiku 4.5 $0.00014 $0.00269

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

Security

Grade A, and why

docs-grounder 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 2mo 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.

plugins/workflows-core/agents/docs-grounder.md · 152 lines

How it starts

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

Ground an authoring task in the product's existing documentation so the author can build on documented behavior, model new work on well-documented analogs, and reconcile the draft against what already ships. Read-only reference discovery — never a writer, never a gate.

Inputs

docs_path:       <absolute path to the docs root ($DOCS_PATH); a single directory>
feature_summary: <2–4 sentences: the goal + what this run is about>
key:        <optional — a PRD/Epic/ticket key; enables the git-grep backstop>
themes:          <optional capability themes from the caller, or []>

Refuse to run without docs_path and a non-empty feature_summary. If docs_path is not an existing readable directory, return status: ERROR with a one-line notes (the caller treats this as OFF and proceeds).

Process — two-path retrieval

Where each call runs. Your Bash tool starts every call in the session's directory — where the dispatching command stands, which need not be docs_path — and a cd does not persist between calls. So the one git call below names docs_path with -C, every Grep and Glob call takes docs_path as its path (without one they search the session's directory), and Read takes absolute paths. The qmd calls stay in the session's directory by design: qmd picks up a project-local .qmd index from the directory it runs in, which is what Path A's probe checks for.

Path A — qmd (preferred)

Use when the qmd binary is available (command -v qmd). This agent never builds or refreshes the index — that belongs to resolve-docs-grounding (${CLAUDE_PLUGIN_ROOT}/references/docs-grounding.md step 3.5), which can ask the user first. Here, probe what already exists and pick a rung.

  1. Probe — model-free and mutation-free. timeout 10s qmd status and timeout 10s qmd collection list.
    • qmd status's first line is Index: <path>. When that path is not the user-scope ~/.cache/qmd/index.sqlite, a project-local .qmd index in the current directory is shadowing it: record that in notes and take rung 3.
    • For "does the collection have embeddings", prefer timeout 10s qmd collection show <name> when it reports a per-collection embedding count — a global Vectors: count from qmd status can be satisfied by a different collection. Fall back to the global count when per-collection is unavailable.
  2. Select the rung.

Read the full file on GitHub · 152 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. 2mo ago Changed d2dba27e82de
  2. 2mo ago Changed · +3 lines c84521bbe492
  3. 2mo ago Changed · +7 lines 1d112ac47074
  4. 2mo ago Changed 2f04662a3464
  5. 2mo ago Changed · +1 lines · +1 tokens per session 369fbcaaf960
  6. 3mo ago First seen · 141 lines · 140 tokens per session scan A c8c4248925ac

Subscribe to this mod's changes

docs-grounder is an agent published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 141 tokens to every session and 2,687 once invoked, about $0.0006 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

docs-grounder compared with agents from other repositories

docs-grounder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-grounderihudak/ihudak-claude-pluginsAgent22mo agoMITA141Claude Code
code-reviewerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A41Claude Code
docs-checkerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A117Claude Code
deep-reviewerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A69Claude Code
code-resolverJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A56Claude Code
context-spotterJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A68Claude Code
code-filterJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A54Claude Code