Agent skill

hive.context-preservation

Proactively preserve critical information before automatic context pruning destroys it.

Stars 10,180
Forks 5,642

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.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results