Agent Harness
by @neltharion11
Agent Work Framework. Unified entry thinking framework + workflow Skill. Trigger Words (Thinking Modes): research, plan, design, think, pattern, process, ste...
clawhub install agent-harnessπ About This Skill
name: agent-harness description: | Agent Work Framework. Unified entry thinking framework + workflow Skill. Trigger Words (Thinking Modes): research, plan, design, think, pattern, process, step, review, score, analyze, evaluate, compare, survey, solution, feasibility, summary, deep research, research report, task decomposition, multi-agent, parallel execution, context compression, long-task planning
Agent Harness
> One-line summary: First decide "what combination to use", then execute layer by layer. > > Core Relationship: >
> Decision Tree β Choose "Pipeline + which WORKFLOWS"
> Pipeline = Execution Framework (universal)
> WORKFLOWS = Work Content (specific)
> β οΈ Pre-Execution Check (Must Confirm Each Item)
When receiving a task, first answer these questions:1. [ ] What is the core task? (multi-step / single-step)
2. [ ] Is the requirement clear? (clear β next / unclear β load 06-INVERSION.md)
3. [ ] Does it need multi-step execution? (yes β Pipeline + other)
4. [ ] What is the specific content? (corresponds to which WORKFLOWS)
Response Format:
[Pre-Execution Check]
Q1: xxx β Conclusion
Q2: xxx β Conclusion
...
Final Decision: Pipeline + WORKFLOWS/{name}
Or: Final Decision: Inversion (standalone mode)
Layer Relationship Diagram
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Layer Execution Order β
β β
β Step 1 βββ Step 2 βββ Step 3 βββ Step 4 βββ Step 5 β
β β β β β β β
β βΌ βΌ βΌ βΌ βΌ β
β ββββββββββ ββββββββββ ββββββββββ ββββββββββ ββββββββββ β
β βDecisionβββPipeline βββWORKFLOWβββTemplateβββQuality β β
β β01- β β02- β β03- β β04- β β05- β β
β βDECISIONβ βPIPELINE β βWORKFLOWSβ βTEMPLATEβ βQUALITY β β
β ββββββββββ ββββββββββ ββββββββββ ββββββββββ ββββββββββ β
β β
β Decision Tree decides "which combination", β
β Pipeline decides "universal execution flow", β
β WORKFLOWS decides "specific work content" β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Analogy
π³ Cooking Scenario:
Decision Tree = Customer orders ("spicy today")
Pipeline = Cooking method (heat pan first, no matter what)
WORKFLOWS = Specific recipe (how to make fish-flavored pork)
Template = Plating style (how to arrange the plate) π» Software Scenario:
Decision Tree = Task classification ("this is a research task")
Pipeline = Execution flow (decompose first, no matter the research)
WORKFLOWS = Research method (4-step method)
Template = Report format (title-abstract-body-conclusion)
Execution Flow
Step 1 β Decision (Load 01-DECISION.md)
[Step 1] Read references/01-DECISION.md
Decide: Pipeline + which WORKFLOWSCommon Combinations:
Pipeline + research β Research tasks
Pipeline + subagent β Coordination tasks
Pipeline + context β Compression tasks
Pipeline + analysis β Analysis tasks
Step 2 β Execution Framework (Load 02-PIPELINE.md)
[Step 2] Read references/02-PIPELINE.md
Understand: Universal 4-step execution flowPipeline Steps:
Step 1: Plan
Step 2: Execute
Step 3: Summarize
Step 4: Check
Step 3 β Specific Content (Load 03-WORKFLOWS/{name}.md)
[Step 3] Read references/03-WORKFLOWS/{corresponding workflow}.md
Execute: Specific work contentresearch = 4-step research (decomposeβresearchβsynthesizeβreport)
subagent = 4-step coordination (analyzeβdecomposeβparallelβmerge)
context = 4-step compression (assessβstrategyβexecuteβverify)
analysis = 4-step analysis (decomposeβcollectβcompareβconclude)
Step 4 β Output Template (Load 04-TEMPLATES/{name}.md)
[Step 4] Read references/04-TEMPLATES/{corresponding template}.md
Generate: Structured final output
Step 5 β Quality Check (Load 05-QUALITY.md)
[Step 5] Read references/05-QUALITY.md
Verify: Output quality meets standards
Quick Reference: Common Combinations
| Task Type | Combination | Description | |-----------|-------------|-------------| | π Deep Research Report | Pipeline + research | Multi-step research flow | | π€ Multi-Agent Coordination | Pipeline + subagent | Decompose+parallel+merge | | π¦ Long-Task Compression | Pipeline + context | Context management strategy | | βοΈ Competitive Analysis | Pipeline + analysis | Multi-dimensional comparison | | β Unclear Requirements | Inversion (standalone) | Gather requirements first |
Forbidden Behaviors
Completion Flag
[agent-harness execution complete]
β Steps 1-5 completed
β Combination: Pipeline + WORKFLOWS/{name}
β Forbidden behaviors check: Passed
File Index
| File | Role | Load Time |
|------|------|-----------|
| SKILL.md | Entry + Layer Description | On trigger |
| references/01-DECISION.md | Decision Tree | Step 1 |
| references/02-PIPELINE.md | Execution Framework | Step 2 |
| references/03-WORKFLOWS/research.md | Research Content | Step 3 |
| references/03-WORKFLOWS/subagent.md | Coordination Content | Step 3 |
| references/03-WORKFLOWS/context.md | Compression Content | Step 3 |
| references/03-WORKFLOWS/analysis.md | Analysis Content | Step 3 |
| references/04-TEMPLATES/research-report.md | Research Template | Step 4 |
| references/04-TEMPLATES/analysis-report.md | Analysis Template | Step 4 |
| references/06-INVERSION.md | Requirements Clarification | When unclear |
| references/05-QUALITY.md | Quality Check | Pipeline Step 4 |
_Last updated: 2026-04-07 by neltharion11 | https://github.com/neltharion11/skill-agent-harness_