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.
npx agentmods add agents/intense-visions/harness-engineering/harness-documentation-maintainergit clone --depth 1 https://github.com/Intense-Visions/harness-engineeringWrote 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.
[](https://agentmods.dev/agents/intense-visions/harness-engineering/harness-documentation-maintainer)<a href="https://agentmods.dev/agents/intense-visions/harness-engineering/harness-documentation-maintainer"><img src="https://agentmods.dev/badge/agents/intense-visions/harness-engineering/harness-documentation-maintainer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00032 | $0.14104 |
| Opus 5 | $0.00016 | $0.07052 |
| Sonnet 5 | $0.00006 | $0.02821 |
| Haiku 4.5 | $0.00003 | $0.01410 |
Grade A, and why
harness-documentation-maintainer 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 1,294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
Detect documentation drift, validate doc coverage, align docs with code changes, run full documentation health pipeline
Skills
- detect-doc-drift
- align-documentation
- harness-knowledge-mapper
- validate-context-engineering
- harness-docs-pipeline
Steps
- Run
harness check-docs(always) - Run
harness validate(always) - Run
harness scan(always)
Methodology
Detect Doc Drift
Detect documentation that has drifted from code. Find stale docs before they mislead developers and AI agents.
When to Use
- After completing a feature, bug fix, or refactoring
- During code review — check if the changed files have associated docs that need updating
- As a periodic hygiene check (weekly or per-sprint)
- When
on_post_featureoron_doc_checktriggers fire - When onboarding reveals confusion caused by outdated documentation
- NOT during active development — wait until the code is stable before checking docs
- NOT for writing new documentation from scratch (use align-documentation instead)
Process
Phase 1: Scan — Run Drift Detection
-
Run
harness check-docsto identify all documentation issues. Capture the full output. -
Run
harness cleanup --type driftfor a deeper analysis that cross-references code changes against documentation references. -
Check for stale constraints. Run
detect_stale_constraintsalongside drift detection to find architectural constraints that no longer match the codebase. -
Optionally, run
git diffagainst a baseline (last release, last sprint, etc.) to identify which code files changed. This helps prioritize — docs for recently changed files are most likely to be drifted.
Graph-Enhanced Context (when available)
When a knowledge graph exists at .harness/graph/, use graph queries for faster, more accurate drift detection:
query_graph— finddocumentsedges where the target code node has changed since the doc node was last updated
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.
- 5d ago First seen · 1,294 lines · 32 tokens per session scan A c49459f2ea7e
harness-documentation-maintainer is an agent published in the GitHub repository Intense-Visions/harness-engineering (20 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 14,104 once invoked, about $0.0002 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.