๐ง Requirement Comprehension Engine
/install requirement-comprehension-engine
๐ง Requirement Comprehension Engine
A metacognitive skill that equips agents with structured requirement analysis, skill selection & orchestration. Delegates memory management to complex-memory-manager and self-iteration to self-iteration-engine for cross-skill consistency.
Core Capabilities
1. Requirement Analysis & Decomposition
When the agent receives a complex or ambiguous request:
Step 1: Intent Classification
- Parse incoming message for explicit intent signals (verbs, domain keywords, output expectations)
- Classify into: Direct Action / Information Request / Creative Generation / Analysis & Insight / Meta-Request / Multi-Step Workflow
- If ambiguous, flag as Under-Specified and use elicitation templates
Step 2: Structured Decomposition Break the request into a tree:
Original Request
โโโ Intent A (primary)
โ โโโ Sub-goal A1 โ skill/action candidate
โ โโโ Sub-goal A2 โ skill/action candidate
โ โโโ Dependency check
โโโ Intent B (secondary)
โ โโโ ...
โโโ Cross-cutting concerns (privacy, cost, performance)
Step 3: Skill Mapping For each sub-goal, select the best matching skill:
- Check
name+descriptionof all available skills (always in context as metadata) - Rank matching skills by semantic relevance
- If no match โ fallback to general knowledge
- If multiple โ pick the most specific or orchestrate
2. Skill Orchestration Logic
| Situation | Action |
|---|---|
| Single clear intent, single skill | Direct invocation |
| Multiple independent intents | Parallel execution |
| Multi-step pipeline (output A โ input B) | Sequential orchestration with handoff |
| Full autonomy requested | Analyze, decide, execute, explain |
| Conflicting skill capabilities | Prefer skill with more specific description |
Handoff Protocol:
[ComprehensionEngine] Handoff: Skill-A โ Skill-B
Context: {user's original intent excerpt}
Skill-A result: {summary}
Skill-B requirement: {what Skill-B needs to continue}
3. Requirement Elicitation Templates
When a request is under-specified:
Pattern A: Missing Output Format
"I need to confirm the output format โ do you want a daily report, summary, table, chart, code, or something else?"
Pattern B: Missing Scope
"This request seems broad. Could you narrow down the focus? For example: Option A, Option B, or Option C?"
Pattern C: Ambiguous Intent
"I see two possible directions: do you want me to analyze existing data, or go out and collect new data?"
Pattern D: Multi-Step Confirmation
"I plan to do this in three steps: โ collect latest market data โก analyze trends โข generate a visualization. Does that work?"
4. Delegation to Shared Components
| Function | Delegated To | How |
|---|---|---|
| Persistent memory (T1/T2/T3) | complex-memory-manager |
Use its encrypt/decrypt, storage conventions, and cleanup protocols |
| Usage logging & performance tracking | self-iteration-engine |
Use its log format, review cycles, and update matrix |
| Self-iteration decisions | self-iteration-engine |
Check triggers, run update decision matrix |
| New skill creation proposals | self-iteration-engine |
Use its proposal template |
Quick Reference: Skill Selection Flow
User speaks
โ
Parse & Classify Intent
โ
Is it clear? โโNoโโโ Use Elicitation Templates
โ โ
Yesโโโ User clarifies
โ
Decompose into sub-goals
โ
For each sub-goal:
โโโ Match skill by name+description
โโโ If match: check last-review-date; if >30d โ quick scan SKILL.md
โโโ If no match: fallback to general knowledge
โโโ If multi-skill: orchestrate (parallel or sequential)
โ
Execute & Deliver
โ
Log outcome โ Delegate to self-iteration-engine
โ
[Periodic] Delegate review to self-iteration-engine + memory cleanup to complex-memory-manager
Dependency Check
Before each orchestration run:
- Verify
complex-memory-managermetadata description is in context - Verify
self-iteration-enginemetadata description is in context - If either is missing, they may not be installed โ fallback to built-in behavior
๐ง ้ๆฑ็่งฃๅผๆ
ไธไธชๅ ่ฎค็ฅๆ่ฝ๏ผ่ตไบAgent็ปๆๅ็้ๆฑๅๆใๆ่ฝ้ๆฉไธ็ผๆ่ฝๅใๅฐๆไน ๅ่ฎฐๅฟๅงๆ็ป complex-memory-manager๏ผๅฐ่ช่ฟญไปฃๅงๆ็ป self-iteration-engine๏ผๅฎ็ฐ่ทจๆ่ฝไธ่ดๆงใ
ๆ ธๅฟ่ฝๅ
1. ้ๆฑๅๆไธๅ่งฃ
ๅฝAgentๆถๅฐๅคๆๆๆจก็ณ่ฏทๆฑๆถ๏ผ
็ฌฌไธๆญฅ๏ผๆๅพๅ็ฑป
- ่งฃๆ่พๅ ฅไฟกๆฏ็ๆๅพไฟกๅท
- ๅ็ฑป๏ผ็ดๆฅๆไฝ / ไฟกๆฏๆฅ่ฏข / ๅๆ็ๆ / ๅๆๆดๅฏ / ๅ ่ฏทๆฑ / ๅคๆญฅๅทฅไฝๆต
- ่ฅๆจกๆฃฑไธคๅฏ๏ผๆ ่ฎฐไธบ"ไฟกๆฏไธ่ถณ"ๅนถไฝฟ็จๆพๆธ ๆจกๆฟ
็ฌฌไบๆญฅ๏ผ็ปๆๅๅ่งฃ ๅฐ่ฏทๆฑๆ่งฃไธบๆ ็ถ็ปๆ
็ฌฌไธๆญฅ๏ผSkillๆ ๅฐ ไธบๆฏไธชๅญ็ฎๆ ้ๆฉๆไฝณๅน้ skill
2. ๆ่ฝ็ผๆ้ป่พ
| ๅบๆฏ | ่กๅจ |
|---|---|
| ๅไธๆ็กฎๆๅพ | ็ดๆฅ่ฐ็จ |
| ๅคไธช็ฌ็ซๆๅพ | ๅนถ่กๆง่ก |
| ๅคๆญฅๆตๆฐด็บฟ | ้กบๅบ็ผๆ+ไบคๆฅ่ฎฐๅฝ |
| ็จๆท่ฆๆฑ่ชไธป | ๅๆโๅณ็ญโๆง่กโ่งฃ้ |
| ๆ่ฝๅฒ็ช | ้ๆฉๆ่ฟฐๆดๅ ทไฝ็ |
3. ้ๆฑๆพๆธ ๆจกๆฟ
ๅจ่ฏทๆฑไฟกๆฏไธ่ถณๆถไฝฟ็จๅ็ง่ฟฝ้ฎๆจกๅผ๏ผ่ฏฆ่ง่ฑๆ็๏ผใ
4. ๅงๆ็ปๅ ฑไบซ็ปไปถ
| ๅ่ฝ | ๅงๆ็ป | ๆนๅผ |
|---|---|---|
| ๆไน ๅ่ฎฐๅฟ(T1/T2/T3) | complex-memory-manager |
ไฝฟ็จๅ ถๅ ๅฏ/่งฃๅฏใๅญๅจ่ง่ใๆธ ็ๅ่ฎฎ |
| ไฝฟ็จๆฅๅฟไธๆง่ฝ่ฟฝ่ธช | self-iteration-engine |
ไฝฟ็จๅ ถๆฅๅฟๆ ผๅผใๅฎกๆฅๅจๆใๆดๆฐ็ฉ้ต |
| ่ช่ฟญไปฃๅณ็ญ | self-iteration-engine |
ๆฃๆฅ่งฆๅๆกไปถใ่ฟ่กๆดๆฐๅณ็ญ็ฉ้ต |
| ๆฐๆ่ฝๅๅปบๅปบ่ฎฎ | self-iteration-engine |
ไฝฟ็จๅ ถๆๆกๆจกๆฟ |
ไพ่ตๆฃๆฅ
ๆฏๆฌก็ผๆ่ฟ่กๅ๏ผ
- ๆฃๆฅ
complex-memory-manager็ metadata ๆฏๅฆๅจไธไธๆไธญ - ๆฃๆฅ
self-iteration-engine็ metadata ๆฏๅฆๅจไธไธๆไธญ - ่ฅ็ผบๅคฑ๏ผๅฏ่ฝๆชๅฎ่ฃ โโๅ้ๅฐๅ ็ฝฎๅบ็ก่กไธบ
ๅ่ๆไปถ
references/orchestration-patterns.mdโ ้ซ็บงๅคskill็ผๆ็คบไพ
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install requirement-comprehension-engine - After installation, invoke the skill by name or use
/requirement-comprehension-engine - Provide required inputs per the skill's parameter spec and get structured output
What is ๐ง Requirement Comprehension Engine?
Advanced requirement comprehension and skill orchestration engine. Analyzes complex/multi-step user requests, determines which skills to invoke and in what o... It is an AI Agent Skill for Claude Code / OpenClaw, with 227 downloads so far.
How do I install ๐ง Requirement Comprehension Engine?
Run "/install requirement-comprehension-engine" in the OpenClaw or Claude Code chat to install it in one step โ no extra setup required.
Is ๐ง Requirement Comprehension Engine free?
Yes, ๐ง Requirement Comprehension Engine is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does ๐ง Requirement Comprehension Engine support?
๐ง Requirement Comprehension Engine is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ๐ง Requirement Comprehension Engine?
It is built and maintained by shake27 (@bustes01); the current version is v1.2.0.