Skip to content
Back to skills

Hivecontext Preservation

ASecurity

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

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
ai-agentsgogitapi

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill hivecontext-preservation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hivecontext Preservation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hivecontext Preservation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-hivecontext-preservation/badge)](https://www.skillsdirectory.com/skills/thedixitjain-hivecontext-preservation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hivecontext-preservation
description: "Proactively extract critical values from tool results into working notes before automatic context pruning destroys them."
category: general-purpose
source_repo: aden-hive/hive
source_path: "core/framework/skills/_default_skills/context-preservation/SKILL.md"
source_url: https://github.com/aden-hive/hive/blob/HEAD/core/framework/skills/_default_skills/context-preservation/SKILL.md
---


## 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.

---

**Source:** [`aden-hive/hive`](https://github.com/aden-hive/hive) → `core/framework/skills/_default_skills/context-preservation/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.