โ† Back to Skills Marketplace
bustes01

๐Ÿง  Requirement Comprehension Engine

by shake27 ยท GitHub โ†— ยท v1.2.0 ยท MIT-0
cross-platform โœ“ Security Clean
227
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install requirement-comprehension-engine
Description
Advanced requirement comprehension and skill orchestration engine. Analyzes complex/multi-step user requests, determines which skills to invoke and in what o...
README (SKILL.md)

๐Ÿง  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 + description of 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:

  1. Verify complex-memory-manager metadata description is in context
  2. Verify self-iteration-engine metadata description is in context
  3. 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 ไฝฟ็”จๅ…ถๆๆกˆๆจกๆฟ

ไพ่ต–ๆฃ€ๆŸฅ

ๆฏๆฌก็ผ–ๆŽ’่ฟ่กŒๅ‰๏ผš

  1. ๆฃ€ๆŸฅ complex-memory-manager ็š„ metadata ๆ˜ฏๅฆๅœจไธŠไธ‹ๆ–‡ไธญ
  2. ๆฃ€ๆŸฅ self-iteration-engine ็š„ metadata ๆ˜ฏๅฆๅœจไธŠไธ‹ๆ–‡ไธญ
  3. ่‹ฅ็ผบๅคฑ๏ผŒๅฏ่ƒฝๆœชๅฎ‰่ฃ…โ€”โ€”ๅ›ž้€€ๅˆฐๅ†…็ฝฎๅŸบ็ก€่กŒไธบ

ๅ‚่€ƒๆ–‡ไปถ

  • references/orchestration-patterns.md โ€” ้ซ˜็บงๅคšskill็ผ–ๆŽ’็คบไพ‹
Usage Guidance
This result is low confidence because the workspace files could not be read in this run; review the artifacts directly before installing.
Capability Tags
requires-sensitive-credentials
Capability Assessment
โœ“ Purpose & Capability
No artifact-backed evidence was available to show a purpose or capability mismatch.
โœ“ Instruction Scope
No artifact-backed evidence was available to show unsafe or deceptive instruction scope.
โœ“ Install Mechanism
No artifact-backed evidence was available to show a risky install mechanism.
โœ“ Credentials
No artifact-backed evidence was available to show disproportionate environment access.
โœ“ Persistence & Privilege
No artifact-backed evidence was available to show persistence or privilege concerns.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install requirement-comprehension-engine
  3. After installation, invoke the skill by name or use /requirement-comprehension-engine
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
Refactored: memory management โ†’ complex-memory-manager, self-iteration โ†’ self-iteration-engine
v1.1.0
Restructured: English section + Chinese section (separate mono-lingual halves)
v1.0.0
Initial release: requirement analysis, skill orchestration, self-iteration, privacy-aware memory management
Metadata
Slug requirement-comprehension-engine
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

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.

๐Ÿ’ฌ Comments