doc-quality

doc-quality is a command for Claude Code from arimxyer/doc-manager-mcp. It costs 3 tokens per session (507 once invoked), scanned A, original, MIT.

A command for assessing the quality of project documentation against criteria such as accuracy, clarity, relevance, consistency, and structure.

In plain words
What is it for?
Use it to run a documentation quality assessment and validation, then report scores, specific issues, file locations, and recommended fixes.
Why use it?
It helps find unclear content, broken links, missing files, invalid code examples, and other documentation problems.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the doc-manager plugin — 3 skills, 4 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to run a documentation quality assessment and validation, then report scores, specific issues, file locations, and recommended fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/arimxyer/doc-manager-mcp/doc-quality
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/arimxyer/doc-manager-mcp

Made for: Claude Code.

Or install doc-manager, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 2 agents, 1 hook, 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 doc-quality

README.md
[![agentmods](https://agentmods.dev/badge/commands/arimxyer/doc-manager-mcp/doc-quality.svg)](https://agentmods.dev/commands/arimxyer/doc-manager-mcp/doc-quality)
Your own site
<a href="https://agentmods.dev/commands/arimxyer/doc-manager-mcp/doc-quality"><img src="https://agentmods.dev/badge/commands/arimxyer/doc-manager-mcp/doc-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 507 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.00003 $0.00507
Opus 5 $0.00002 $0.00253
Sonnet 5 $0.00001 $0.00101
Haiku 4.5 $0.00000 $0.00051

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

Security

Grade A, and why

doc-quality 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.

plugin/commands/doc-quality.md · 81 lines

What it actually says

Documentation Quality Assessment

Run comprehensive quality assessment against 7 criteria.

doc-expert agent Please run a documentation quality assessment.

Execute the quality assessment workflow:

  1. Run Assessment: Execute docmgr_assess_quality to evaluate documentation against 7 criteria:

    • Relevance
    • Accuracy
    • Purposefulness
    • Uniqueness
    • Consistency
    • Clarity
    • Structure
  2. Also Run Validation: Execute docmgr_validate_docs to check:

    • Broken links
    • Missing assets
    • Code snippet syntax
    • Convention compliance
  3. Present Findings: Provide a comprehensive report with:

    • Overall quality score
    • Per-criterion scores
    • Specific issues with file paths and line numbers
    • Validation results
    • Actionable recommendations

Format the output:

## Documentation Quality Report

### Overall Assessment: {excellent | good | fair | poor}

### Quality Scores

| Criterion | Score | Issues |
|-----------|-------|--------|
| Relevance | {score} | {count} |
| Accuracy | {score} | {count} |
| Purposefulness | {score} | {count} |
| Uniqueness | {score} | {count} |
| Consistency | {score} | {count} |
| Clarity | {score} | {count} |
| Structure | {score} | {count} |

### Validation Results
- **Links**: {count} checked, {count} issues
- **Assets**: {count} checked, {count} issues
- **Code Snippets**: {count} checked, {count} issues

### Specific Issues

**High Priority** (poor scores):
- {file}:{line} - {issue description}

**Medium Priority** (fair scores):
- {file}:{line} - {issue description}

### Recommendations
1. {actionable recommendation}
2. {actionable recommendation}

### Next Steps
- Fix high-priority issues first
- Run /doc-sync after fixes to update baseline

If user wants to fix issues:

Would you like me to help fix these issues? I can delegate the revisions to doc-writer agent.
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 · 81 lines · 3 tokens per session scan A 67ec145ad7db

Subscribe to this mod's changes

doc-quality is a command published in the GitHub repository arimxyer/doc-manager-mcp (6 stars, last pushed 7mo ago), licensed MIT. It adds 3 tokens to every session and 507 once invoked, about $0.0000 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.