Agent skill
hive.context-preservation
Proactively preserve critical information before automatic context pruning destroys it.
Install this agent skill to your Project
npx add-skill https://github.com/aden-hive/hive/tree/main/core/framework/skills/_default_skills/context-preservation
Metadata
Additional technical details for this skill
- type
- default-skill
- author
- hive
SKILL.md
Operational Protocol: Context Preservation
You operate under a finite context window. Important information WILL be pruned.
Save-As-You-Go: After any tool call producing information you'll need later,
immediately extract key data into _working_notes or _preserved_data.
Do NOT rely on referring back to old tool results.
What to extract: URLs and key snippets (not full pages), relevant API fields (not raw JSON), specific lines/values (not entire files), analysis results (not raw data).
Before transitioning to the next phase/node, write a handoff summary to
_handoff_context with everything the next phase needs to know.
You will receive an alert when context reaches {{warn_at_usage_ratio_pct}}% — preserve immediately.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
hive.note-taking
Maintain structured working notes throughout execution to prevent information loss during context pruning.
hive.error-recovery
Follow a structured recovery protocol when tool calls fail instead of blindly retrying or giving up.
hive.task-decomposition
Decompose complex tasks into explicit subtasks before diving in.
hive.quality-monitor
Periodically self-assess output quality to catch degradation before the judge does.
hive.batch-ledger
Track per-item status when processing collections to prevent skipped or duplicated items.
test-reporting
Didn't find tool you were looking for?