ipd-charter

ipd-charter is a command for coding agents from hatewx/oh-my-ipd. It costs 27 tokens per session (800 once invoked), scanned A, original, MIT.

A command for managing a project Charter, a document that records the agreed requirements, initial scope, and acceptance criteria.

In plain words
What is it for?
Use it to create, view, and update the Charter, or process a change request through business, technical, and resource reviews.
Why use it?
It provides a documented baseline for requirements and a process for reviewing, approving, or recording changes.

Command

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 commands/hatewx/oh-my-ipd/ipd-charter
Clone the repo
git clone --depth 1 https://github.com/hatewx/oh-my-ipd

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 ipd-charter

README.md
[![agentmods](https://agentmods.dev/badge/commands/hatewx/oh-my-ipd/ipd-charter.svg)](https://agentmods.dev/commands/hatewx/oh-my-ipd/ipd-charter)
Your own site
<a href="https://agentmods.dev/commands/hatewx/oh-my-ipd/ipd-charter"><img src="https://agentmods.dev/badge/commands/hatewx/oh-my-ipd/ipd-charter.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00800
Opus 5 $0.00014 $0.00400
Sonnet 5 $0.00005 $0.00160
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

ipd-charter 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.

commands/ipd-charter.md · 104 lines

What it actually says

Charter 管理

Charter 是 IPD-OMO 流程的需求基线,由 PDU 负责管理。

操作模式

action=create: 创建新 Charter

激活 pdu Agent 创建 Charter:

  1. 收集项目背景信息
  2. 定义需求基线
  3. 确定 MVP 范围
  4. 定义验收标准
  5. 输出到 .claude/charter.md

action=update: 更新 Charter

激活 pdu Agent 更新现有 Charter:

  1. 读取现有 Charter
  2. 识别需要更新的部分
  3. 更新内容
  4. 记录变更历史

action=view: 查看 Charter

显示当前 Charter 的完整内容。

action=change: 处理变更请求

处理需求变更流程:

  1. 接收变更描述
  2. PDU 评估变更影响
  3. SE 评估技术可行性
  4. LPDT 审批变更
  5. 更新 Charter
  6. 记录变更历史

变更控制流程

变更请求
    │
    ▼
┌─────────────┐
│  PDU 评估   │──── 拒绝 ────▶ 记录原因
│  (商业价值) │
└──────┬──────┘
       │ 批准
       ▼
┌─────────────┐
│  SE 评估    │──── 拒绝 ────▶ 技术不可行
│  (技术可行) │
└──────┬──────┘
       │ 可行
       ▼
┌─────────────┐
│  LPDT 审批  │──── 拒绝 ────▶ 资源不足
│  (资源/风险)│
└──────┬──────┘
       │ 批准
       ▼
┌─────────────┐
│ 更新 Charter│
│ 记录变更历史│
└─────────────┘

输出格式

Charter 创建/更新报告

╔════════════════════════════════════════════════════════════╗
║  Charter [创建/更新] 报告                                  ║
╠════════════════════════════════════════════════════════════╣
║  项目名称: [name]                                          ║
║  版本: [version]                                           ║
║  最后更新: [timestamp]                                     ║
╠════════════════════════════════════════════════════════════╣
║  需求统计                                                  ║
║  • P0 (必须): [N] 项                                       ║
║  • P1 (应该): [N] 项                                       ║
║  • P2 (可以): [N] 项                                       ║
╠════════════════════════════════════════════════════════════╣
║  变更历史                                                  ║
║  [如果有]                                                  ║
╠════════════════════════════════════════════════════════════╣
║  状态: [已生效/待审批]                                     ║
╚════════════════════════════════════════════════════════════╝

执行指令

根据 action 参数执行相应的 Charter 管理操作。

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. 5d ago First seen · 104 lines · 27 tokens per session scan A 1b9c31daafac

Subscribe to this mod's changes

ipd-charter is a command published in the GitHub repository hatewx/oh-my-ipd (6 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 800 once invoked, about $0.0001 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.