context-aware-task-decomposition
Use when the context window is getting full and tasks need breaking down.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the context window is getting full and tasks need breaking down.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | context-aware-task-decomposition |
| description | Use when the context window is getting full and tasks need breaking down. |
| version | 2.0.0 |
| author | Hermes Agent |
| tags | ["context","decomposition","task-management","efficiency","subagent"] |
| metadata | {"hermes":{"platform":["cursor","codex","claude-code"]},"triggers":["complex task","break down","decompose","task break","too big","split"]} |
| domain | agent-core |
| subdomain | efficiency |
| tokens | {"scan":270,"load":765,"category":"standard"} |
Self-regulate task size based on context window capacity. When generating multi-step work, estimate if it fits in the remaining context and decompose accordingly.
Is the task > 10 steps or likely > 2000 lines?
├─ Yes: Decompose into sub-tasks, dispatch via delegate_task()
│ Each sub-task gets its own full context window
└─ No: Execute directly
## Task: [name]
### Sub-task 1: [specific deliverable]
### Sub-task 2: [specific deliverable]
### Sub-task 3: [specific deliverable]
### Merge & Verify
Each sub-task becomes a delegate_task() call with its own context.
Use when Hermes Agent needs X/Twitter search, public signal research, monitoring, or approval-gated account actions through the Hermes Tweet plugin.
Router Learning System — 越用越聰明嘅任務路由引擎。 每個 task 有最佳 path,Router 自動記錄經驗、動態調整、跳過爛 path。
Use when signaling work status across autonomous sessions.
Use when needing to standardize descriptions across many skill files at once — change format, fix wording, or enforce a convention like 'Use when...' prefix.
Use before making irreversible changes (deleting files, destructive git operations, large refactors). Use when you need the ability to roll back if something goes wrong. Use at the start of any task that modifies multiple files.
Use when verifying that tool commands actually executed after compaction.