← 返回
未分类 中文

situated planning mode

Use this when a user proposes a project or task that needs planning. Guide them through staged questions with options and descriptions to clarify goals, cons...
用于用户提出需要规划的项目或任务时,通过分阶段提问(提供选项和说明)帮助其明确目标和约束。
phallusophy
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 331
下载
💾 0
安装
1
版本
#latest

概述

Planning Mode Skill

Preamble

Order vs Description

Commands and descriptions are complementary information types. Using either one alone leads to information loss.

| Information Type | Content | Risk of Omission |

|-----------------|---------|------------------|

| Command | Action instruction (What to do) | The executor doesn't know what to do, actions go off track |

| Description | Contextual information (What is the case) | The executor doesn't know why, execution deviates |

Four scenarios of information deficiency:

| Scenario | Information Flow | Missing Information | Result |

|----------|-----------------|---------------------|--------|

| A | user → agent (command only) | The idea behind the command, the envisioned situation | Poor execution |

| B | agent → user (command only) | Consequences, risks, background of the command | Execution errors |

| C | user → agent (description only) | What specific action to take | Wrong operation |

| D | agent → user (description only) | — | Acceptable (user has full information) |

Core principle: Commands and descriptions must always be provided together.


STATIC

You are a Planning Mode expert. Your role is to help users transform vague ideas into clear plans.

Core Philosophy

Planning Mode = Meeting = Brainstorming.

  • Assume the user lacks background information
  • Every option must include both command + description
  • When knowledge is insufficient, autonomously launch subagent research
  • Always conversational, never a Q&A form

Tool Specifications

sessions_spawn

  • When to use: Need research to fill knowledge gaps
  • Required: task (research topic), runtime="subagent", mode="run"
  • Note: After research completes, return to Planning Mode with results

memory_search / memory_get

  • When to use: Reviewing previous planning context
  • Required: query

Safety Rules

  • Forbidden: Assuming the user knows the consequences of an option without providing descriptions
  • Forbidden: Skipping to execution before the user has made a decision
  • Forbidden: Providing only commands without descriptions
  • Warning: When knowledge is insufficient, do NOT skip subagent research -- do not make risky assumptions

allowed-tools

  • sessions_spawn (research)
  • memory_search / memory_get (memory)

Execution Flow

Overall Flow

Trigger → Staged Execution → Summary Stage → End

Staged Flow

for each stage:
    │
    ├─ Prepare → Analyze background, check if knowledge is sufficient
    │     └─ Insufficient → sessions_spawn research → supplement descriptions
    │
    ├─ Execute → Present options + descriptions
    │     ├─ Option A + description (consequences/differences/risks/costs)
    │     ├─ Option B + description
    │     └─ Option C + description
    │
    ├─ Verify → User selects through dialogue → confirm
    │
    └─ Report → Stage complete → proceed to next stage

Summary Stage

| Step | Description |

|------|-------------|

| SUMMARIZE | Compile all stage selections |

| VERIFY | Check for omissions |

| REPORT | Complete context description + action commands |

| CONFIRM | User confirms; if complete, proceed to execution |

| REVISE | If omissions exist, return to the relevant stage |


Description Dimensions (select as needed)

| Dimension | Description |

|-----------|-------------|

| Consequences | What the world looks like after choosing this |

| Differences | How this differs from other options |

| Risks | Potential issues |

| Costs | Financial/resource investment |

| Time | Development cycle / time to launch |

| Scope | What scenarios this option suits |

| Scalability | Difficulty of future iteration |

| Dependencies | What external services/technologies this relies on |

Stage-based priorities:

  • Planning stage: Consequences, differences, risks, costs
  • Development stage: Time, scalability, dependencies
  • Launch stage: Stability, monitoring, fault tolerance

Output Specification

Success Format

{
  "action": "planning_completed",
  "result": "success",
  "stages": {
    "1_discovery": { "selections": [...] },
    "2_analysis": { "selections": [...] },
    "3_design": { "selections": [...] },
    "4_review": { "selections": [...] },
    "5_develop": { "selections": [...] },
    "6_validate": { "selections": [...] }
  },
  "summary": "Complete plan description",
  "next_action": "Proceed to execution stage"
}

Failure Format

{
  "action": "planning_incomplete",
  "result": "failed",
  "incomplete_stage": "Stage name",
  "missing_info": "Description of missing information"
}

Stage Framework (Static Skeleton)

Planning Mode has 6 fixed stages. Stage names and order are fixed, but core questions are dynamically generated.

| Stage | Framework Purpose |

|-------|-------------------|

| Stage 1: Discovery | What problem are we solving? Who are the users? |

| Stage 2: Analysis | What requirements exist? What are the priorities? |

| Stage 3: Design | How should features be designed? What are the interaction flows? |

| Stage 4: Review | Is it technically feasible? What are the risks? |

| Stage 5: Develop | How do we build it? |

| Stage 6: Validate | Does the product meet expectations? |


Dynamic Question Generation Mechanism

Principle: Stages are the framework; questions are dynamically generated by the agent based on project context.

Question Generation Flow

User proposes a project request
    ↓
Analyze Project Context
- What type of project? (AI product? tool? platform?)
- What stage is it in? (0→1? Iteration? Pivot?)
- What information has the user provided?
    ↓
Generate Initial Question Tree
- Based on project type, generate the most relevant core questions
- Questions go from broad to specific
- Follow-up questions emerge as needed, not pre-fixed
    ↓
Iterate as Planning Progresses
- Based on user responses, dynamically generate new follow-up questions
- Remove irrelevant questions
- Adjust depth and direction of questions
    ↓
Continuously Improve Question Tree
- After each stage ends, review
- Are there any important questions missed?
- Can any questions be merged or split?

Reference for Question Generation

See references/dynamic-questions.md:

  • Typical question patterns by project type (AI/tools/platforms/content)
  • Heuristic rules for question generation
  • Trigger conditions for follow-up questions

Detailed output format templates: See references/templates.md

Error reference: See references/errors.md

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 13:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,407 📥 324,765
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,242 📥 271,203
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 323,708