intent-engineering
由 donovanpankratz-del 提供
Web & Frontend Development简介
Adds a machine-readable intent layer to OpenClaw agents.
描述
该技能的功能
Adds a machine-readable intent layer to OpenClaw agents by installing an INTENT.md priority manifest and wiring it into every subagent spawn. Each subagent receives a compact summary of your optimization priorities before executing its task. Addresses the pattern where agents optimize measurable proxies instead of actual goals.
Rather than relying on prompt-level reminders that get lost across subagent spawns, this installs a persistent context layer that propagates priorities automatically to every agent in the chain.
何时使用
- Preventing subagents from optimizing speed at the expense of output quality
- Setting explicit cost vs depth tradeoffs for different task types
- Ensuring research agents prioritize depth over quick answers
- Configuring which model tier handles architecture decisions vs routine tasks
- Establishing delegation rules so agents know when to escalate vs proceed
示例工作流
User sets up a new OpenClaw workspace and wants subagents to prioritize user value over cost
- 1
Copies intent-template.md to workspace root as INTENT.md
- 2
Edits optimization_priority, tradeoffs, and model_tier_intent fields to reflect actual goals
- 3
Installs agent-context-loader.js into lib/ directory
- 4
Wraps existing subagent spawn calls to prepend intent context using prepareAgentContext()
- 5
Spawns a test subagent with a cost-vs-quality tradeoff task to verify priorities are reflected in output
Subagents receive an intent header on every spawn and make tradeoff decisions aligned with the configured priorities
安装
clawhub install donovanpankratz-del/intent-engineering运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。