Skip to main content

context-aware-task-decomposition

Use when the context window is getting full and tasks need breaking down.

Source facts

Repository
ChrisLamDev/hermes-core-skills
Last source activity
June 23, 2026 at 02:50
Detected SKILL.md language
English
Stars
11
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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"}
# Context-Aware Task Decomposition 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. ## Decision Flow ``` 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 ``` ## When to Decompose - Complex code generation (multi-file) - Long research with many sources - Refactoring across multiple modules - Any task with > 5 independent sub-steps ## Decomposition Template ```markdown ## 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.
View on GitHub