Token导航 LogoToken导航

Agent Skill · 研究检索

plan(计划)

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

plan 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 53,604。

总安装 528周安装 22GitHub Stars 公开资料未说明下载 176核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add maxritter/claude-codepro --skill "plan"

这个 Skill 是做什么的

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

发现并安装 AI 代理的技能,提升任务规划能力。适用于多宿主环境中的技能管理与集成需求。plan 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过 npx 命令从 GitHub 安装,支持主流 AI 编辑器。注意权限范围和维护状态,避免自动执行未授权操作。建议参考原始技能文档了解支持的计划模板和约束条件。

来源仓库内路径:skills/plan

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add maxritter/claude-codepro --skill "plan";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

plan 怎么安装?

在终端执行 npx skills add maxritter/claude-codepro --skill "plan"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

plan 支持哪些 AI 工具?

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

plan 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

plan 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

plan 用的人多吗?

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

plan 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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

计划 · 本页

528—接触敏感数据MIT未收录

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

SKILL.md 原文

PLAN MODE: Five-Phase Planning Process

WARNING: DO NOT use the built-in ExitPlanMode or EnterPlanMode tools. This project has its own planning workflow using /plan, /implement, and /verify skill commands that are automatically invoked via the /spec slash-command. The built-in Claude Code plan mode tools write to different paths and are incompatible. When planning is complete, simply inform the user and wait for confirmation - no special tool needed.

Using AskUserQuestion - Core Planning Tool

The AskUserQuestion tool is essential for effective planning. Questions are grouped into batches so users answer related questions together without interruption.

Question Batching Strategy

Questions are consolidated into two batches for a smooth user experience:

BatchWhenPurpose
Batch 1Phase 0 (before exploration)Clarify task, scope, priorities
Batch 2Phase 2 (after exploration)Architecture choices, design decisions

Don't scatter questions across phases - gather them and present together.

When to Use AskUserQuestion

SituationExample Question
Unclear requirements"Should this feature support batch processing or single items only?"
Multiple valid approachesPresent 2-3 options with trade-offs for user to choose
Ambiguous scope"Should we include error recovery, or fail fast?"
Technology choices"Prefer async/await or callbacks for this integration?"
Priority decisions"Performance or simplicity - which matters more here?"
Missing domain knowledge"How does the existing auth flow work in production?"

How to Structure Questions

Use the AskUserQuestion tool with clear options:

Question: "Which authentication approach should we use?"
Options:
- Option A: JWT tokens (stateless, scalable, requires token refresh logic)
- Option B: Session-based (simpler, requires session storage)
- Option C: OAuth integration (most secure, more complex setup)

Key principles:

  • Present options, not open-ended questions when possible
  • Include trade-offs for each option
  • Batch related questions together - don't interrupt user flow
  • Don't proceed with assumptions - ASK

Extending Existing Plans

When adding tasks to existing plan:

  1. Load existing plan: Read(file_path="docs/plans/...")
  2. Parse structure (architecture, completed tasks, pending tasks)
  3. Check git status for partially completed work
  4. Verify new tasks are compatible with existing architecture
  5. Check total: If original + new > 12 tasks, suggest splitting
  6. Mark new tasks with [NEW] prefix
  7. Update total count: Total Tasks: X (Originally: Y)
  8. Add extension history: > Extended [Date]: Tasks X-Y for [feature]

⚠️ CRITICAL: Migration/Refactoring Tasks

When the task involves migrating, refactoring, or replacing existing code, you MUST complete these additional steps to prevent missing features.

Mandatory Feature Inventory (Phase 1.5)

After exploration but BEFORE creating tasks:

  1. List ALL files being replaced: ` ## Feature Inventory - Files Being Replaced | Old File | Functions/Classes | Status | |----------|-------------------|--------| | old/module1.py | func_a(), func_b(), ClassX | ⬜ Not mapped | | old/module2.py | func_c(), func_d() | ⬜ Not mapped | `
  2. Map EVERY function/feature to a new task: ` ## Feature Mapping - Old → New | Old Feature | New Location | Task # | |-------------|--------------|--------| | module1.func_a() | new/step1.py | Task 3 | | module1.func_b() | new/step1.py | Task 3 | | module2.func_c() | new/step2.py | Task 5 | | module2.func_d() | ❌ MISSING | ⚠️ NEEDS TASK | `
  3. Verify 100% coverage before proceeding:

- Every row must have a Task # or explicit "Out of Scope" justification - "Out of Scope" means the feature is INTENTIONALLY REMOVED (with user confirmation) - "Out of Scope" does NOT mean "migrate as-is" - that still needs a task!

"Out of Scope" Clarification

CRITICAL: "Out of Scope" has a precise meaning:

PhraseMeaningRequires Task?
"Out of Scope: Changes to X"X will be migrated AS-IS, no modifications✅ YES - migration task
"Out of Scope: Feature X"X is intentionally REMOVED/not included❌ NO - but needs user confirmation
"Out of Scope: New features for X"X migrates as-is, no NEW features added✅ YES - migration task

When in doubt, ASK THE USER:

"The old code has [feature]. Should we:
A) Migrate it as-is (needs implementation task)
B) Intentionally remove it (truly out of scope)
C) Improve it (new feature, needs implementation task)"

Pre-Task Verification Gate

Before finalizing Phase 3 (Implementation Planning), verify:

  • All old files listed in Feature Inventory
  • All functions/classes from old files identified
  • Every feature mapped to a task OR explicitly marked "REMOVED" with user confirmation
  • No row in Feature Mapping has "⬜ Not mapped" status
  • User has confirmed any features marked for removal

If any checkbox is unchecked, DO NOT proceed to Phase 4.


Creating New Plans

Phase 0: Task Understanding & Clarification

First, clearly state your understanding of the task.

Before any exploration:

  1. Restate what the user is asking for in your own words
  2. Identify the core problem being solved
  3. List any assumptions you're making

Then gather all clarifications needed (Question Batch 1):

Use AskUserQuestion to ask everything upfront in a single interaction:

I want to confirm my understanding and clarify a few things:

Questions:
1. "Is my understanding correct?"
   - Yes, that's correct
   - Partially correct (please clarify)
   - No, let me explain

2. "What's the priority for this feature?"
   - Performance (fast, optimized)
   - Simplicity (easy to maintain)
   - Flexibility (extensible)

3. "Should error handling be comprehensive or minimal?"
   - Comprehensive (recovery, retries, detailed logging)
   - Basic (fail fast, simple error messages)

Don't proceed to exploration until clarifications are complete.

Phase 1: Exploration

Explore the codebase systematically. Run explorations one at a time (sequentially, not in parallel).

🔧 Tools for Exploration

Use these tools to gather context efficiently:

ToolWhen to UseExample
Context7Library/framework docsresolve-library-id(query="your question", libraryName="lib") then query-docs(libraryId, query)
mcp-cliCustom MCP serversUse mcp-cli <server>/<tool> '<json>' for servers in mcp_servers.json

Context7 requires descriptive queries for both tools - see context7-docs.md for full docs.

Before exploring, verify Vexor is available:

vexor --version

First search will trigger automatic indexing. Use vexor search "query" --mode code for semantic code search.

Exploration areas (in order):

  1. Architecture - Project structure, entry points, how components connect
  2. Similar Features - Existing patterns that relate to the task, what can be reused
  3. Dependencies - Imports, modules, what will be impacted
  4. Tests - Test infrastructure, existing patterns, available fixtures

⚠️ CRITICAL: NO SUB-AGENTS DURING PLANNING

  • DO NOT use the Task tool with any subagent_type during planning
  • Perform ALL exploration yourself using direct tool calls (Read, Grep, Glob, Context7)
  • Sub-agents lose context and make planning inconsistent
  • You must maintain full context throughout the planning process

For each area:

  • Use vexor search "query" --mode code for semantic searches like "authentication middleware" or "database connection handling"
  • Use Context7 when you need library/framework API details: resolve-library-id(query="your question", libraryName="lib") then query-docs(libraryId, query) - descriptive queries enable server-side reranking
  • Use Read, Grep, Glob tools directly for file exploration
  • Document hypotheses (not conclusions)
  • Note full file paths for relevant code
  • Track questions that remain unanswered

After explorations complete:

  1. Read each identified file to verify hypotheses
  2. Build a complete mental model of current architecture
  3. Identify integration points and potential risks
  4. Note reusable patterns

Phase 2: Design Decisions

Present findings and gather all design decisions (Question Batch 2).

Summarize what you found, then use AskUserQuestion with all decisions at once:

Based on my exploration, I found [summary of key findings].

I have some design questions:

Questions:
1. "Which architecture approach should we use?"
   - Option A: [description + trade-offs]
   - Option B: [description + trade-offs]
   - Option C: [description + trade-offs]

2. "How should we handle [specific concern found during exploration]?"
   - Option A: [approach]
   - Option B: [approach]

3. "The existing [component] uses [pattern]. Should we follow it or try something different?"
   - Follow existing pattern (consistency)
   - Use new approach (explain why)

After user answers:

  • Summarize the chosen design approach
  • Confirm: "Does this design work for your needs?"
  • Don't proceed until design is validated

Phase 3: Implementation Planning

Task Count Guidance

  • Aim for 10-12 tasks as a general guideline for focused plans
  • Avoid bloating plans with unnecessary or overly granular tasks
  • If the work genuinely requires more tasks, that's fine - the /spec workflow handles multi-session execution, so longer plans will be executed across multiple context windows automatically
  • Focus on keeping tasks meaningful and necessary, not on hitting a specific number

Task Structure:

### Task N: [Component Name]

**Objective:** [1-2 sentences describing what to build]

**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py`
- Test: `tests/exact/path/to/test.py`

**Implementation Steps:**
1. Write failing test - Define expected behavior
2. Implement minimal code - Make test pass
3. Verify execution - Run actual program
4. Integration test - Test with other components

**Definition of Done:**
- [ ] All tests pass (unit, integration if applicable)
- [ ] No diagnostics errors (linting, type checking)
- [ ] Code functions correctly with real data
- [ ] Edge cases handled appropriately
- [ ] Error messages are clear and actionable

Zero-context assumption:

  • Assume implementer knows nothing about codebase
  • Provide exact file paths
  • Explain domain concepts
  • List integration points
  • Reference similar patterns in codebase

Phase 4: Documentation

Save plan to: docs/plans/YYYY-MM-DD-<feature-name>.md

Required plan template:

# [Feature Name] Implementation Plan

Created: [Date]
Status: PENDING
Approved: No
Iterations: 0

> **Status Lifecycle:** PENDING → COMPLETE → VERIFIED
> **Iterations:** Tracks implement→verify cycles (incremented by /verify)
> - PENDING: Initial state, awaiting implementation
> - COMPLETE: All tasks implemented (set by /implement)
> - VERIFIED: Rules supervisor passed (set automatically)
>
> **Approval Gate:** Implementation CANNOT proceed until `Approved: Yes`
> - Claude will ask for your approval after presenting the plan
> - You can request changes before approving
> - Claude updates this field automatically when you approve

## Summary
**Goal:** [One sentence describing what this builds]

**Architecture:** [2-3 sentences about chosen approach]

**Tech Stack:** [Key technologies/libraries]

## Scope

### In Scope
- [What WILL be changed/built]
- [Specific components affected]

### Out of Scope
- [What will NOT be changed]
- [Explicit boundaries]

## Prerequisites
- [Any requirements before starting]
- [Dependencies that must exist]
- [Environment setup needed]

## Context for Implementer
- [Key codebase convention or pattern]
- [Domain knowledge needed]
- [Integration points or dependencies]

## Feature Inventory (FOR MIGRATION/REFACTORING ONLY)

> **Include this section when replacing existing code. Delete if not applicable.**

### Files Being Replaced

| Old File | Functions/Classes | Mapped to Task |
|----------|-------------------|----------------|
| `old/file1.py` | `func_a()`, `func_b()` | Task 3 |
| `old/file2.py` | `ClassX`, `func_c()` | Task 4, Task 5 |

### Feature Mapping Verification

- [ ] All old files listed above
- [ ] All functions/classes identified
- [ ] Every feature has a task number
- [ ] No features accidentally omitted

**⚠️ If any feature shows "❌ MISSING", add a task before implementation!**

## Progress Tracking

**MANDATORY: Update this checklist as tasks complete. Change `[ ]` to `[x]`.**

- [ ] Task 1: [Brief summary]
- [ ] Task 2: [Brief summary]
- [ ] ...

**Total Tasks:** [Number] | **Completed:** 0 | **Remaining:** [Number]

## Implementation Tasks

### Task 1: [Component Name]
[Full task structure from Phase 3]

### Task 2: [Component Name]
[Full task structure from Phase 3]

## Testing Strategy
- Unit tests: [What to test in isolation]
- Integration tests: [What to test together]
- Manual verification: [Steps to verify manually]

## Risks and Mitigations

| Risk | Likelihood | Impact | Mitigation |
|------|------------|--------|------------|
| [Risk 1] | Low/Med/High | Low/Med/High | [How to mitigate] |

## Open Questions
- [Any remaining questions for the user]
- [Decisions deferred to implementation]

Phase 5: Implementation Handoff

⛔ MANDATORY APPROVAL GATE - This is NON-NEGOTIABLE

After saving plan:

  1. Summarize the plan - Provide a brief overview of:

- What will be built (goal) - Key tasks (numbered list) - Tech stack / approach

  1. Use AskUserQuestion to request approval: Question: "Do you approve this plan for implementation?" Header: "Plan Review" Options: - "Yes, proceed with implementation" - I've reviewed the plan and it looks good - "No, I need to make changes" - I want to edit the plan first
  2. Based on user response: If user approves ("Yes, proceed..."): If user wants changes ("No, I need to make changes"):

- Edit the plan file to change Approved: No to Approved: Yes - Tell user: "Plan approved. Proceeding with implementation..." - EXIT /plan immediately - /spec will invoke /implement - Do NOT write any implementation code - that's /implement's job - Tell user: "Please edit the plan file at <plan-path>, then say 'ready' when done" - Wait for user to confirm they're done editing - Re-read the plan file to see their changes - Ask for approval again using AskUserQuestion

  1. DO NOT proceed to implementation until user explicitly approves

⚠️ CRITICAL: Claude handles the Approved: field update - user never edits it manually DO NOT write or edit any implementation files until approved.

Critical Rules

These rules are non-negotiable:

  1. NEVER use sub-agents (Task tool) during planning - Perform all exploration yourself with direct tool calls
  2. USE AskUserQuestion when uncertain - Don't guess, ask the user
  3. Batch questions together - Don't interrupt user with scattered questions
  4. Run explorations sequentially - One at a time, never in parallel
  5. NEVER write implementation code during planning - Planning and implementing are separate
  6. NEVER assume - verify by reading files - Hypotheses must be confirmed
  7. ⛔ NEVER proceed without user approval - Use AskUserQuestion to get explicit approval, then update Approved: Yes yourself
  8. ALWAYS re-read the plan after user edits - If they chose to make changes, re-read before asking again
  9. The plan must be detailed enough that another developer could follow it
  10. NEVER use built-in ExitPlanMode or EnterPlanMode tools - This project uses custom /plan, /implement, /verify skill commands. The built-in plan mode tools are incompatible with this workflow. They are orchestrated by the /spec slash command.
  11. FOR MIGRATIONS: Create Feature Inventory BEFORE tasks - List every file, function, and class being replaced. Map each to a task. No unmapped features allowed.
  12. "Out of Scope" ≠ "Don't implement" - "Out of Scope: Changes to X" means migrate X as-is (still needs a task). Only "Out of Scope: Remove X" means no task needed (requires user confirmation).
  13. Ask for approval after creating plan - After Phase 5, use AskUserQuestion to get approval. If approved, update the file and let /spec continue automatically.

平台分布

Claude Code

31.69%
按下载量换算56

Cursor

21.12%
按下载量换算37

trae

18.18%
按下载量换算32

OpenCode

12.82%
按下载量换算23

Codex

7.42%
按下载量换算13

roo

3.22%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills