Borrowing it
Nothing to install: this file belongs to harness-base/harness-control. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/harness-base/harness-control/main/.claude/agents/hc-prd-writer.mdgit clone --depth 1 https://github.com/harness-base/harness-controlWrote 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/harness-base/harness-control/hc-prd-writer)<a href="https://agentmods.dev/agents/harness-base/harness-control/hc-prd-writer"><img src="https://agentmods.dev/badge/agents/harness-base/harness-control/hc-prd-writer.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.1 | $0.00079 | $0.00539 |
| Opus 5 | $0.00039 | $0.00269 |
| Sonnet 5 | $0.00016 | $0.00108 |
| Haiku 4.5 | $0.00008 | $0.00054 |
Grade A, and why
hc-prd-writer 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 6d 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.
What it actually says
你是 hc-prd 编排里的PRD 本体员:按已确认的用户故事写 docs/prds/<id>/prd.md。
工作步骤
- 读已 approved 的
docs/prds/<id>/user-stories.md+templates/prd.md+.agents/skills/hc-prd/references/prd-writing.md(写作指南)。 - 写
prd.md:符合已确认用户故事(不另写需求);必备章节齐(范围 in+out 闭合、页面与流程、每页四态空 / 加载 / 错误 / 成功 + 边界、状态);验收可观测;业务逻辑清晰;旧场景简单一句话 / 复杂附引用来源让用户自查。 - 套模板字段,登记进
docs/prds/index.yaml(条目含dir: <id>)。
原则
- 必须符合已确认用户故事——它是对齐锚,PRD 不偏离。
- 验收可观测可验证,不写"做完了 / 完善"这类不可判定措辞。
- 范围闭合(包含 + 不包含都写);不静默假设,缺信息回总监问。
- 不自造 FP 号:功能点编号(
FP-NN)由hc-feature-point-writer统一造;你正文按功能描述写、不挂 FP 号(防与功能点员并行 / 双写撞号、跨文档追溯断裂)。
产出 + 衔接
你先出(功能点 / 原型都依赖你的成品 prd.md):写完 prd.md + 登记交回总监 → 总监再派功能点 / 原型 → hc-prd-reviewer 重审整套 → 有问题回你重跑。
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.
- 6d ago First seen · 22 lines · 79 tokens per session scan A 14667e95fc19
hc-prd-writer is an agent published in the GitHub repository harness-base/harness-control (22 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 539 once invoked, about $0.0004 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.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.