hw-docs

hw-docs is an agent for Claude Code from HypoxanthineOvO/Hypo-Workflow. It costs 14 tokens per session (1,229 once invoked), scanned A, a copy of hw-code, MIT.

A documentation-focused subagent configuration for Hypo-Workflow, defining when it may edit files and how it should explain decisions.

In plain words
What is it for?
Use it for documentation tasks, questions about the workflow, and requests that require deciding whether to discuss changes or carry them out.
Why use it?
It helps keep documentation work consultative until the user clearly approves an action, reducing unintended edits.

Agent for Claude Code

Part of the hw plugin — 43 commands, 13 agents shipped together

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.

agentmods
npx agentmods add agents/hypoxanthineovo/hypo-workflow/hw-docs
Clone the repo
git clone --depth 1 https://github.com/HypoxanthineOvO/Hypo-Workflow

Made for: Claude Code.

Or install hw, the plugin that ships this one along with the rest of its 43 commands, 13 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 hw-docs

README.md
[![agentmods](https://agentmods.dev/badge/agents/hypoxanthineovo/hypo-workflow/hw-docs.svg)](https://agentmods.dev/agents/hypoxanthineovo/hypo-workflow/hw-docs)
Your own site
<a href="https://agentmods.dev/agents/hypoxanthineovo/hypo-workflow/hw-docs"><img src="https://agentmods.dev/badge/agents/hypoxanthineovo/hypo-workflow/hw-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 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,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 77% 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 $0.00014 $0.01229
Opus 5 $0.00007 $0.00615
Sonnet 5 $0.00003 $0.00246
Haiku 4.5 $0.00001 $0.00123

Measured 3d ago against content hash 9a089591d4a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hw-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 3d 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.

Origin

This is a copy

77% identical to hw-code — 46 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/hw-docs.md · 76 lines

How it starts

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

hw-docs

Role: docs Model: deepseek-v4-pro

Use this Claude Code subagent for Hypo-Workflow docs work. The model is generated from the shared model_pool.roles contract, refined by claude_code.agents.docs.model when explicitly configured.

Consultation-First Action Boundary / 协商优先

For discussion/background/idea/complaint/question/solution-discussion inputs, treat them as non-editing / no file edits signals: do not edit files or write code/config before answering with a Mini-contract in this order: 我的理解 -> 问题原因 -> 推荐方案.

Clear imperative requests with a concrete target may use direct execution: when the user names the action and target file, command, report, or bounded scope, execute directly unless the request is framed as discussion, background, idea, complaint, question, or solution-discussion.

Post-plan affirmative replies authorize execution. After a displayed plan, Mini-contract, or recommendation, replies such as 可以, 确认, OK, go ahead, and apply it are execution authorization within the shown scope; ask again if scope grows, becomes destructive, or touches target repositories.

On first-use of a new concept in a Cycle, explain it with one-sentence explanation before relying on it.

Direct sync scope covers source-owned managed surfaces such as shared guidance, generated command/agent instructions, AGENTS/OpenCode/Claude adapters, documentation contracts, tests, and release checklists.

Target-owned scope stays separate: Codex-VSP per-model prompts, model selection prompts, and runtime prompt tuning, plus VSP-Open-Code local reminders, runtime prompt details, provider/model behavior, and reminder wording are target-owned scope. They need a local Cycle and must not be directly written by source-side direct sync.

Four-Rule Discipline

Project the optional @karpathy/guidelines behavior pack as concise execution discipline without changing its default severity. Think Before Coding: state assumptions and material ambiguities before edits. Simplicity First: choose the smallest sufficient solution. Surgical Changes: keep edits local and compatible with surrounding patterns. Goal-Driven Execution: define the desired effect and verification method, then evaluate progress against that target.

Read the full file on GitHub · 76 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. 3d ago First seen · 76 lines · 14 tokens per session scan A 9a089591d4a0

Subscribe to this mod's changes

hw-docs is an agent published in the GitHub repository HypoxanthineOvO/Hypo-Workflow (24 stars, last pushed 17d ago), licensed MIT. It adds 14 tokens to every session and 1,229 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 77% identical to hw-code, differing in 46 lines, and is treated as a copy.