hive.context-preservation

SkillDocs & knowledge

Helps your agent save key facts from tool results into notes before its memory gets trimmed.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the hive.context-preservation skill

About this capability

Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.

What this skill tells your AI

The instructions your AI receives, as published by aden-hive/hive in core/framework/skills/_default_skills/context-preservation/SKILL.md and read by ahel’s review.

Operational Protocol: Context Preservation

You operate under a finite context window. Older tool results WILL be pruned. Extract what you need while it's still in context.

Save-as-you-go. After any tool call producing information you'll need later, immediately extract the key data into _working_notes or _preserved_data. Do not rely on referring back to old tool results — once they're pruned they're gone.

What to extract:

  • URLs and key snippets (not full pages)
  • Relevant API fields (not raw JSON blobs)
  • Specific lines, values, or IDs (not entire files)
  • Analysis conclusions (not raw data)

Handoffs between tasks happen through progress.db, not through shared-buffer handoff blobs. When you finish a task, any state the next worker needs goes into the task row itself (steps.evidence, tasks.last_error, sop_checklist.note) — see hive.colony-progress-tracker. Use _working_notes for things the DB schema doesn't cover.

You will receive an alert when context reaches {{warn_at_usage_ratio_pct}}% — preserve immediately.

Signals

GitHub stars
11k
Forks
6k
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
hive-context-preservation
Source
github.com/aden-hive/hive