Token导航 LogoToken导航

Agent Skill · 研究检索

plan-generator(计划生成器)

plan-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

plan-generator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 39,223。

总安装 1,444周安装 59GitHub Stars 25下载 463核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:plan-generator(计划生成器)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/plan-generator
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于在任务前查找、检索和筛选相关信息。适合根据关键词、任务场景或来源线索快速定位候选结果,支持多宿主环境协作。通过 npx skills add 命令从指定 GitHub 仓库安装,使用前需确认权限和维护状态。建议检查是否会触发联网、命令执行或文件读写操作,确保符合安全策略。

可结合来源仓库和原始 README 进一步核验具体用法和适用边界。

来源仓库内路径:skills/plan-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

plan-generator 怎么安装?

在终端执行 npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

plan-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

plan-generator 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

plan-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

plan-generator 用的人多吗?

公开数据是累计安装 1,444 次,近一周安装 59 次,下载 463 次,GitHub 25 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

plan-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
plan-generator

计划生成器 · 本页

1,44425执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Plan Generator Skill

Step 0: Previous Task Intelligence (Cross-Task Context)

Before creating a new plan, gather context from recent work to avoid duplication and build on prior decisions:

  1. Recent commits: Run git log --oneline -5 to see what was recently shipped
  2. Recent tasks: Call TaskList() to check for completed tasks with relevant metadata
  3. Recent decisions: Read .claude/context/memory/decisions.md for architectural choices that constrain this plan
  4. Recent issues: Read .claude/context/memory/issues.md for known blockers or workarounds

Use this context to:

  • Avoid re-implementing features that were recently shipped
  • Respect architectural decisions already made (don't contradict them without escalation)
  • Build on completed work rather than starting from scratch
  • Reference specific commit hashes or task IDs when relevant

Step 1: Analyze Requirements

Parse user requirements:

  • Extract explicit requirements
  • Identify implicit requirements
  • Determine planning scope
  • Assess complexity

Step 2: Coordinate Specialists

Request planning input from relevant agents:

  • Analyst: Business requirements and market context
  • PM: Product requirements and user stories
  • Architect: Technical architecture and design
  • Database Architect: Data requirements
  • UX Expert: Interface requirements

Step 3: Generate Plan Structure

Create plan following this EXECUTABLE structure:

# Plan: [Title]

## Executive Summary

[2-3 sentence overview]

## Objectives

- [Objective 1]
- [Objective 2]

## Phases

### Phase N: [Phase Title]

**Dependencies**: [Phase numbers or 'None']
**Parallel OK**: [Yes/No - can tasks run concurrently?]

#### Tasks

- [ ] **N.1** [Task description] (~X min)
  - **Command**: `actual shell command here`
  - **Verify**: `command to verify success`
  - **Rollback**: `command to undo if needed`

- [ ] **N.2** [Task description] (~X min) [⚡ parallel OK]
  - **Command**: `...`
  - **Verify**: `...`

#### Phase N Error Handling

If any task fails:

1. Run rollback commands for completed tasks (reverse order)
2. Document error: `echo "Phase N failed: [error]" >> .claude/context/memory/issues.md`
3. Do NOT proceed to Phase N+1

#### Phase N Verification Gate

All must pass before proceeding

[verification commands]

Risks

RiskImpactMitigationRollback
[Risk][H/M/L][Strategy][Command]

Timeline Summary

PhaseTasksEst. TimeParallel?
1530 minPartial
2320 minNo
### The Executable Task Format (MANDATORY)

Every task MUST include:
1. **Checkbox** - `- [ ]` for progress tracking
2. **ID** - `N.M` format for reference
3. **Time estimate** - `(~X min)`
4. **Command** - Actual executable command
5. **Verify** - Command to confirm success
6. **Rollback** - Command to undo (if applicable)
7. **Parallel marker** - `[⚡ parallel OK]` if can run concurrently

**Enhanced task format with structured completion fields** (verify/done/files are OPTIONAL — omit for backward compatibility):
  • [ ] N.1 [Task description] (~X min)

- Command: actual shell command here - Verify: pnpm test -- --grep "pattern" (command proving task is done) - Done: [measurable criteria for "done" — e.g. "All tests pass, lint clean, file exists"] - Files: [path/to/file1, path/to/file2] (files this task creates or modifies) - Rollback: command to undo if needed


> **Schema**: Full task structure is documented in `.claude/schemas/plan-format.schema.json`.
> The `verify`, `done`, and `files` fields are optional — existing plans without them remain valid.

### Guidelines
- Define clear objectives
- Break down into phases (<=7 phases total)
- Each phase has <=7 tasks
- Every task has executable commands
- Include verification gates between phases
- For **HIGH** or **EPIC** complexity tasks, invoke `discuss-phase` skill BEFORE generating the plan to surface ambiguities and resolve scope, architecture, and acceptance criteria questions with the user

### Step 4: Assess Risks

Identify risks and mitigation:

- Technical risks
- Resource risks
- Timeline risks
- Dependency risks
- Mitigation strategies

### Step 5: Validate Plan

Validate plan completeness:

- All requirements addressed
- Dependencies mapped
- Success criteria defined
- Risks identified
- Plan is feasible

### Step 6: Generate Artifacts

Create plan artifacts using the template-renderer skill:

**Using Template-Renderer**:
After creating plan data structure, invoke template-renderer to generate formatted output:

// Map plan data to template tokens const planTokens = { PLAN_TITLE: plan.title, DATE: new Date().toISOString().split('T')[0], FRAMEWORK_VERSION: 'Agent-Studio v2.2.1', STATUS: plan.status || 'Phase 0 - Research', EXECUTIVE_SUMMARY: plan.executiveSummary, TOTAL_TASKS: ${plan.totalTasks} atomic tasks, FEATURES_COUNT: plan.features.length, ESTIMATED_TIME: plan.estimatedTime, STRATEGY: plan.strategy, KEY_DELIVERABLES_LIST: plan.keyDeliverables.map(d => - ${d}).join('\n'), // Phase-specific tokens PHASE_0_PURPOSE: plan.phases[0].purpose, PHASE_0_DURATION: plan.phases[0].duration, PHASE_1_NAME: plan.phases[1].name, PHASE_1_PURPOSE: plan.phases[1].purpose, PHASE_1_DURATION: plan.phases[1].duration, DEPENDENCIES: plan.phases[1].dependencies, PARALLEL_OK: plan.phases[1].parallelOk ? 'Yes' : 'No', VERIFICATION_COMMANDS: plan.phases[1].verificationCommands, // Add more phase tokens as needed };

// Invoke template-renderer skill Skill({ skill: 'template-renderer', args: { templateName: 'plan-template', outputPath: .claude/context/plans/${planId}.md, tokens: planTokens } });


**Output Locations**:
- Plan markdown (from template): `.claude/context/plans/<plan-id>.md`
- Plan JSON (structured data): `.claude/context/plans/<plan-id>.json`
- Plan summary (for quick reference)
</execution_process>

<plan_types>
**Feature Development Plan**:

- Objectives: Feature goals
- Steps: Analysis -> Design -> Implementation -> Testing
- Agents: Analyst -> PM -> Architect -> Developer -> QA

**Refactoring Plan**:

- Objectives: Code quality goals
- Steps: Analysis -> Planning -> Implementation -> Validation
- Agents: Code Reviewer -> Refactoring Specialist -> Developer -> QA

**Migration Plan**:

- Objectives: Migration goals
- Steps: Analysis -> Planning -> Execution -> Validation
- Agents: Architect -> Legacy Modernizer -> Developer -> QA

**Architecture Plan**:

- Objectives: Architecture goals
- Steps: Analysis -> Design -> Validation -> Documentation
- Agents: Architect -> Database Architect -> Security Architect -> Technical Writer
</plan_types>

<integration>
**Integration with Planner Agent**:
Planner agent uses this skill to:
- Generate plans from requirements
- Coordinate specialist input
- Validate plan completeness
- Track plan execution
</integration>

<best_practices>

1. **Coordinate Early**: Get specialist input before finalizing plan
2. **Keep Steps Focused**: <=7 steps per plan section
3. **Map Dependencies**: Clearly identify prerequisites
4. **Assess Risks**: Identify and mitigate risks proactively
5. **Validate Thoroughly**: Ensure plan is complete and feasible
</best_practices>
</instructions>

<examples>
<formatting_example>
**Example Plan Output**

**Command**: "Generate plan for user authentication feature"

**Generated Plan**:

Plan: User Authentication Feature

Executive Summary

Add JWT-based authentication with login/logout endpoints. Includes password hashing, session management, and security testing.

Objectives

  • Implement JWT-based authentication
  • Support login, logout, and session management
  • Provide secure password handling

Phases

Phase 1: Setup & Design

Dependencies: None Parallel OK: Partial

Tasks
  • [ ] 1.1 Create feature branch (~2 min)

- Command: git checkout -b feature/auth - Verify: git branch --show-current | grep feature/auth

  • [ ] 1.2 Create auth module directory (~1 min) [⚡ parallel OK]

- Command: mkdir -p src/auth - Verify: ls -d src/auth

  • [ ] 1.3 Design auth architecture (~15 min)

- Command: Task({ task_id: 'task-1', agent: "architect", prompt: "Design JWT auth..." }) - Verify: ls .claude/context/artifacts/auth-design.md

Phase 1 Verification Gate
git branch --show-current | grep feature/auth && ls src/auth && ls .claude/context/artifacts/auth-design.md

Phase 2: Implementation

Dependencies: Phase 1 Parallel OK: No (sequential TDD)

Tasks
  • 2.1 Write auth endpoint tests (~10 min)

- Command: Task({task_id: 'task-2', agent: "developer", prompt: "TDD: Write failing tests for /login endpoint"}) - Verify: npm test -- --grep "login" 2>&1 | grep -E "failing|FAIL" - Rollback: git checkout -- src/auth/__tests__/

  • 2.2 Implement login endpoint (~15 min)

- Command: Task({task_id: 'task-3', agent: "developer", prompt: "Implement login to pass tests"}) - Verify: npm test -- --grep "login" 2>&1 | grep -E "passing|PASS"

  • 2.3 Implement logout endpoint (~10 min)

- Command: Task({task_id: 'task-4', agent: "developer", prompt: "TDD: logout endpoint"}) - Verify: npm test -- --grep "logout" 2>&1 | grep -E "passing|PASS"

Phase 2 Error Handling

If any task fails:

  1. Run: git stash && git checkout -- src/auth/
  2. Document: echo "Phase 2 failed: $(date)" >>.claude/context/memory/issues.md
  3. Do NOT proceed to Phase 3
Phase 2 Verification Gate
npm test -- --grep "auth" && echo "All auth tests passing"

Phase 3: Security Review

Dependencies: Phase 2 Parallel OK: Yes

Tasks
  • 3.1 Security audit (~20 min) [⚡ parallel OK]

- Command: Task({task_id: 'task-5', agent: "security-architect", prompt: "Audit auth implementation"}) - Verify: ls.claude/context/reports/security/security-audit.md

  • 3.2 Run security tests (~5 min) [⚡ parallel OK]

- Command: npm run test:security - Verify: echo $? (exit code 0)

Risks

RiskImpactMitigationRollback
JWT secret exposureHighUse env varsRotate secret immediately
SQL injectionHighParameterized queriesgit revert HEAD

Timeline Summary

PhaseTasksEst. TimeParallel?
1318 minPartial
2335 minNo
3225 minYes
Total8~78 min
**After plan generation**, invoke template-renderer:

// Map plan data to tokens const tokens = { PLAN_TITLE: 'User Authentication Feature', DATE: '2026-01-28', FRAMEWORK_VERSION: 'Agent-Studio v2.2.1', STATUS: 'Phase 0 - Research', EXECUTIVE_SUMMARY: 'Add JWT-based authentication with login/logout endpoints...', TOTAL_TASKS: '8 atomic tasks', FEATURES_COUNT: '1', ESTIMATED_TIME: '~78 minutes', STRATEGY: 'Foundation-first → Core features → Security review', KEY_DELIVERABLES_LIST: '- Authentication module\n- Login/logout endpoints\n- Security audit', PHASE_1_NAME: 'Setup & Design', PHASE_1_PURPOSE: 'Create feature branch and design architecture', PHASE_1_DURATION: '18 minutes', DEPENDENCIES: 'None', PARALLEL_OK: 'Partial', VERIFICATION_COMMANDS: 'git branch --show-current | grep feature/auth && ls src/auth', };

// Render plan using template Skill({ skill: 'template-renderer', args: { templateName: 'plan-template', outputPath: '.claude/context/plans/user-auth-plan.md', tokens: tokens } });


</formatting_example>

## Iron Laws

1. **ALWAYS** include an executable command in every task — a task without a command is a wish, not an action; plans with wishes stall at execution because agents have nothing to run.
2. **NEVER** create a phase with more than 7 tasks — phases exceeding 7 tasks cause cognitive overload, lose parallel opportunities, and make rollback scoping impossible.
3. **ALWAYS** include a verification gate between every phase — proceeding without verification means failures in Phase N are discovered in Phase N+3, making rollback exponentially more complex.
4. **NEVER** generate a plan without explicit rollback commands for destructive operations — a plan without rollback paths is unrecoverable; rollback must be specified before the operation is attempted.
5. **ALWAYS** coordinate specialist input (Analyst, PM, Architect) before finalizing a plan — plans generated without domain expert review routinely miss implicit requirements, producing incomplete execution paths.

## Rules

### The Iron Law of Planning

EVERY TASK MUST HAVE AN EXECUTABLE COMMAND


A task without a command is not a task - it's a wish.

### Mandatory Elements

- **Every task** must have: checkbox, ID, time estimate, command, verify
- **Every phase** must have: verification gate, error handling
- **Every risk** must have: rollback command

### Anti-Patterns (DO NOT)

| Anti-Pattern | Problem | Fix |
| --- | --- | --- |
| "Install X" without command | Not executable | Add: `cp -r source dest` |
| "Verify Y works" | Vague | Add: `npm test \| grep PASS` |
| "Update Z" | What file? What change? | Add exact `Edit` or `sed` command |
| No time estimates | Can't track progress | Add `(~X min)` to every task |
| No rollback | Can't recover from failure | Add rollback command |

### Quality Checklist

Before finalizing any plan, verify:

- Can I copy-paste every command and run it?
- Does every verify command have a clear pass/fail output?
- Does each task have a `verify` command that proves completion objectively?
- Does each task have a `done` criteria that is measurable and unambiguous?
- Is there a rollback for every destructive operation?
- Are time estimates realistic and granular?
- Are parallel tasks marked with ⚡?

## Template Integration

This skill uses the `template-renderer` skill to generate formatted plans:

**Integration Flow**:

1. plan-generator creates structured plan data (JSON)
2. Maps plan data to template tokens (see Step 6)
3. Invokes template-renderer with plan-template
4. Outputs rendered plan to `.claude/context/plans/`

**Required Tokens** (for plan-template):

- Core: `PLAN_TITLE`, `DATE`, `FRAMEWORK_VERSION`, `STATUS`
- Summary: `EXECUTIVE_SUMMARY`, `TOTAL_TASKS`, `ESTIMATED_TIME`, `STRATEGY`
- Phases: `PHASE_N_NAME`, `PHASE_N_PURPOSE`, `DEPENDENCIES`, `PARALLEL_OK`
- Verification: `VERIFICATION_COMMANDS`

See `.claude/templates/plan-template.md` for complete token list.

## Related Skills

- [`template-renderer`](https://github.com/oimiragieo/agent-studio/blob/HEAD/.claude/skills/plan-generator/../template-renderer/SKILL.md) - Renders plan-template with token replacement
- [`writing-plans`](https://github.com/oimiragieo/agent-studio/blob/HEAD/.claude/skills/plan-generator/../writing-plans/SKILL.md) - Bite-sized task plans with complete code for implementation
- [`discuss-phase`](https://github.com/oimiragieo/agent-studio/blob/HEAD/.claude/skills/plan-generator/../discuss-phase/SKILL.md) - Requirement disambiguation for HIGH/EPIC tasks before planning

## Memory Protocol (MANDATORY)

**Before starting:**

cat .claude/context/memory/learnings.md


**After completing:**

- New pattern -> `.claude/context/memory/learnings.md`
- Issue found -> `.claude/context/memory/issues.md`
- Decision made -> `.claude/context/memory/decisions.md`

> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

平台分布

Codex

35.79%
按下载量换算166

Claude

28.07%
按下载量换算130

Cursor

18.26%
按下载量换算85

Gemini CLI

8.34%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/oimiragieo/agent-studio --skill plan-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills