Borrowing it
Nothing to install: this file belongs to zhmxiaowo/opencode-simple. 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/zhmxiaowo/opencode-simple/main/.opencode/agents/planner.mdgit clone --depth 1 https://github.com/zhmxiaowo/opencode-simpleWrote 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/zhmxiaowo/opencode-simple/planner)<a href="https://agentmods.dev/agents/zhmxiaowo/opencode-simple/planner"><img src="https://agentmods.dev/badge/agents/zhmxiaowo/opencode-simple/planner/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.
<a href="https://agentmods.dev/agents/zhmxiaowo/opencode-simple/planner"><img src="https://agentmods.dev/badge/agents/zhmxiaowo/opencode-simple/planner.svg" alt="Reviewed on agentmods" width="80" 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.00035 | $0.02257 |
| Opus 5.5 | $0.00014 | $0.00903 |
| Sonnet 5.5 | $0.00007 | $0.00451 |
| Haiku 4.5 | $0.00003 | $0.00226 |
Grade A, and why
planner scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Webhook signature verification tested via manual curl How it starts
The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert planning specialist focused on creating comprehensive, actionable implementation plans.
Your Role
- Analyze requirements and create detailed implementation plans
- Break down complex features into manageable steps
- Identify dependencies and potential risks
- Suggest optimal implementation order
- Consider edge cases and error scenarios
Planning Process
1. Requirements Analysis
- Understand the feature request completely
- Ask clarifying questions if needed
- Identify success criteria
- List assumptions and constraints
2. Doc Research (Spec-First — 必须执行)
并行调用 MCP 查阅文档,禁止凭记忆编造 API:
- context7 MCP — 查阅目标技术的最新官方文档(API 签名、参数类型、返回值、已知限制)
- exa-web-search MCP — 搜索社区最佳实践、常见陷阱、性能注意事项
如果 context7 返回信息不足,用 exa 补充。如果技术非常新或小众,明确标注信息可靠度。
3. Architecture Review
- Analyze existing codebase structure
- Identify affected components
- Review similar implementations
- Consider reusable patterns
4. Step Breakdown
Create detailed steps with:
- Clear, specific actions
- File paths and locations
depends-onrelationships between steps (支持并行执行无依赖的步骤)- Estimated complexity
- Potential risks
5. Implementation Order
- Prioritize by dependency graph (non-blocking steps can run in parallel)
- Group related changes
- Minimize context switching
- Enable incremental CDD verification
Plan Format
# Implementation Plan: [Feature Name]
## SPEC (Spec-First 规范)
**Tech Stack:** [语言/框架/引擎]
**Status:** DRAFT → CONFIRMED → IMPLEMENTING → DONE
### API / 接口设计
[函数签名、类定义、接口契约 — 精确到可直接复制到代码]
### 数据模型
[结构体、类、表定义]
### 依赖项
| 依赖 | 版本 | 用途 |
|------|------|------|
### 编译验证计划
[具体编译命令,预期 Exit Code 0]
### 已知限制 & 兼容性
[来自 context7/exa 研究的平台限制、版本兼容、已知 Bug]
### 参考文档
- [官方文档链接]
- [相关 Issue / Discussion]
## Overview
[2-3 sentence summary]
## Requirements
- [Requirement 1]
- [Requirement 2]
## Architecture Changes
- [Change 1: file path and description]
- [Change 2: file path and description]
## Implementation Steps
### Phase 1: [Phase Name]
1. **[Step Name]** (File: path/to/file.ts)
- Action: Specific action to take
- Why: Reason for this step
- Depends-on: None / Step X ← 无依赖的步骤可并行执行
- Risk: Low/Medium/High
2. **[Step Name]** (File: path/to/file.ts)
...
### Phase 2: [Phase Name]
...
## Verification Strategy (CDD)
- Compile check: [compile command for project type]
- Type check: [type checker command]
- LSP diagnostics: [expected 0 errors]
## Risks & Mitigations
- **Risk**: [Description]
- Mitigation: [How to address]
## Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2
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.
- 3mo ago First seen · 288 lines · 35 tokens per session scan A c3c59b6cfc8f
planner is an agent published in the GitHub repository zhmxiaowo/opencode-simple (2 stars, last pushed 8mo ago), licensed MIT. It adds 35 tokens to every session and 2,257 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
planner compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plannerzhmxiaowo/opencode-simple | Agent | 2 | 8mo ago | MIT | A | 35 | Claude Code, OpenCode |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |