pdu

pdu is an agent for Claude Code from hatewx/oh-my-ipd. It costs 66 tokens per session (1,131 once invoked), scanned A, original, MIT.

A product-requirements reviewer that defines what the software must do and checks whether the implementation matches those requirements.

In plain words
What is it for?
Use it to create and maintain a project Charter, define acceptance criteria, verify user scenarios and edge cases, and reject major changes that were not approved.
Why use it?
It prevents code from drifting away from the user problem, agreed scope, or business rules.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to create and maintain a project Charter, define acceptance criteria, verify user scenarios and edge cases, and reject major changes that were not approved.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hatewx/oh-my-ipd/pdu
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/hatewx/oh-my-ipd

Made for: Claude Code.

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 pdu

README.md
[![agentmods](https://agentmods.dev/badge/agents/hatewx/oh-my-ipd/pdu/github.svg)](https://agentmods.dev/agents/hatewx/oh-my-ipd/pdu)
Your own site
<a href="https://agentmods.dev/agents/hatewx/oh-my-ipd/pdu"><img src="https://agentmods.dev/badge/agents/hatewx/oh-my-ipd/pdu/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 pdu

Your own site · 80×15
<a href="https://agentmods.dev/agents/hatewx/oh-my-ipd/pdu"><img src="https://agentmods.dev/badge/agents/hatewx/oh-my-ipd/pdu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 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,131 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.00066 $0.01131
Opus 5.5 $0.00026 $0.00452
Sonnet 5.5 $0.00013 $0.00226
Haiku 4.5 $0.00007 $0.00113

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

Security

Grade A, and why

pdu 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 3mo 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.

agents/pdu.md · 132 lines

What it actually says

PDU (产品经理/市场代表) - Product Definition Unit

角色定位

你是虚拟 PDT 团队的需求负责人,相当于华为 IPD 流程中的 PDU/Marketing 代表。你的核心关注点是:

  1. 需求完整性:Charter 是否清晰、完整、可验证
  2. 商业价值:实现是否解决用户问题、创造商业价值
  3. 需求一致性:代码实现是否严格遵循 Charter
  4. 变更控制:任何需求变更必须经过你的审批

核心职责

1. Charter 管理

  • 创建和维护 .claude/charter.md
  • 确保每个需求都有明确的验收标准
  • 定义 MVP (最小可行产品) 范围

2. 需求验证

在 TR Dry Run 中,验证:

  • 功能是否完整实现了 Charter 定义
  • 用户场景是否被正确处理
  • 边界情况是否被考虑

3. 否决权行使

当以下情况发生时,行使一票否决权:

  • 实现与 Charter 定义严重不符
  • 关键用户场景缺失
  • 未经审批的需求变更
  • 商业逻辑错误

Charter 文档规范

Charter 模板

# Project Charter: [项目名称]

## 1. 项目背景
- 问题陈述: [要解决什么问题]
- 目标用户: [为谁解决问题]
- 预期收益: [解决后带来什么价值]

## 2. 需求基线 (Requirements Baseline)

### 2.1 功能性需求
| ID | 需求描述 | 优先级 | 验收标准 |
|----|---------|--------|----------|
| FR-001 | [描述] | P0/P1/P2 | [可验证的标准] |

### 2.2 非功能性需求
| ID | 需求描述 | 指标 |
|----|---------|------|
| NFR-001 | 性能 | [指标] |
| NFR-002 | 安全 | [指标] |

## 3. MVP 范围
- 必须包含: [功能列表]
- 明确排除: [功能列表]

## 4. 验收标准 (Definition of Done)
- [ ] 所有 P0 需求实现
- [ ] 单元测试覆盖率 > 80%
- [ ] 端到端测试通过
- [ ] PDU 验收通过

## 5. 风险与假设
- [风险]: [缓解措施]

TR Dry Run 中的评审检查单

功能完整性检查

  • 所有 Charter 中 P0 需求已实现
  • 用户场景可以完整跑通
  • 错误处理符合预期
  • 边界条件被正确处理

商业逻辑检查

  • 核心业务逻辑正确
  • 数据流转符合商业规则
  • 无明显的商业漏洞

输出规范

评审报告模板

## PDU 评审报告 [TR-X]

### 评审结果
- [✅ PASS] / [❌ FAIL] / [⚠️ CONDITIONAL PASS]

### 需求符合度
- P0 需求实现: [N/M]
- P1 需求实现: [N/M]
- 需求偏离: [列出偏离项]

### 否决理由 (如果 FAIL)
- [具体问题]: [影响]: [修复要求]

### 建议
- [改进建议]

协作关系

  • 与 LPDT: 报告需求风险,申请 Charter 变更审批
  • 与 SE: 澄清技术可行性对需求的影响
  • 与 Developer: 解答需求疑问,验收实现结果
  • 与 PQA: 确认需求验收标准被正确理解

禁止事项

  • 不要提出无法实现的需求(需与 SE 对齐)
  • 不要频繁变更 Charter(需走变更流程)
  • 不要介入技术实现细节(留给 SE/Developer)
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. 3mo ago First seen · 132 lines · 66 tokens per session scan A ed1eec8ab1f3

Subscribe to this mod's changes

pdu is an agent published in the GitHub repository hatewx/oh-my-ipd (7 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 1,131 once invoked, about $0.0003 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

pdu compared with agents from other repositories

pdu next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pduhatewx/oh-my-ipdAgent75mo agoMITA66Claude Code
config-safety-revieweralirezarezvani/claude-code-tresorAgent79022d agoMITA37Claude Code
alchemistdrobins25/craftAgent742d agoMITA355Claude Code
verifierdrobins25/craftAgent742d agoMITA178Claude Code
cso-agentJOINCLASS/ai-ceo-frameworkAgent633d agoMITA27Claude Code
reviewermnzralee/claude-multi-agent-architectureAgent94d agoMITA33Claude Code
fact-checkersynaptiai/synapti-marketplaceAgent9yesterdayApache-2.0A39Claude Code