hive.context-preservation

hive.context-preservation is a skill in aden-hive/hive, last changed 17 Apr 2026. It is instructions only: no scripts, no named hosts and no pre-approved tools. Our pattern check flagged nothing at commit 3ee47a3 on 27 Oct 2026.

Pattern check: nothing flagged · commit 3ee47a3 · 27 Oct 2026

Install
From the author
Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.
Licence
Apache 2.0
Repo stars
11.1k
Publisher
aden-hive
Files
1 file
Checked
3ee47a3 (opens in a new tab) · 27 Oct 2026

Install

Each tab says whether it installs commit 3ee47a3, the one we checked, or the latest version.

No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.

Pinned to commit 3ee47a3, the one we checked.

From your project's root folder:

tmp="$(mktemp -d)" &&
  git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/aden-hive/hive.git "$tmp" &&
  git -C "$tmp" fetch -q --depth 1 origin 3ee47a3384ea5b3da0bed9a8e9284c7e9ebf987a &&
  git -C "$tmp" sparse-checkout set -- core/framework/skills/_default_skills/context-preservation &&
  git -C "$tmp" checkout -q 3ee47a3384ea5b3da0bed9a8e9284c7e9ebf987a &&
  mkdir -p .claude/skills &&
  mkdir .claude/skills/context-preservation &&
  cp -R "$tmp"/core/framework/skills/_default_skills/context-preservation/. .claude/skills/context-preservation/ &&
  rm -rf "$tmp"

If Claude Code was already running and this created the skills folder, run /reload-skills.

Claude Code docs (opens in a new tab)

What it can touch

From the files and frontmatter at commit 3ee47a3. This is how much a skill can do, not whether it is risky.

What it can touch: Instructions only

It is instructions only: no scripts, no named hosts and no pre-approved tools.

Pattern check

Pattern check: nothing flagged · commit 3ee47a3 · 27 Oct 2026

We checked every text file in this skill, at commit 3ee47a3 on 27 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.

How the check worksReport an incorrect finding

Format check

Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.

  • Agent Skills specFails

    The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.

    • Error

      The name "hive.context-preservation" doesn't match its folder "context-preservation". The spec requires them to match. N4

      Fix: Set name: context-preservation, or rename the folder to hive-context-preservation.

    • Error

      The name "hive.context-preservation" contains ".". Only a–z, 0–9 and hyphens are allowed. N7

      Fix: Use name: hive-context-preservation and rename the folder to match.

    • Warning

      The frontmatter uses [ ] or { } values. Most agents accept them, but the spec's validator (skills-ref) rejects the file. F4

      Fix: Write lists as "- item" lines and maps as indented key: value lines, without anchors or tags.

    • Warning

      metadata values should be text; visibility (a list) is not. The spec's validator turns them into text; other readers may not. O4

      Fix: Quote each value, for example version: "1.0".

    • Note

      There is no license field, so readers can't tell whether they may reuse the skill. O2

      Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.

  • Claude CodePasses

    Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.

    • Note

      The name "hive.context-preservation" doesn't match its folder "context-preservation". Claude Code shows the skill as /hive.context-preservation, and the folder name also invokes it. N4

      Fix: Set name: context-preservation, or rename the folder to hive-context-preservation.

  • Claude apps & API uploadFails

    Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.

    • Error

      The name "hive.context-preservation" doesn't match its folder "context-preservation". claude.ai refuses an upload whose folder name doesn't match the skill name. N4

      Fix: Set name: context-preservation, or rename the folder to hive-context-preservation.

    • Error

      The name "hive.context-preservation" contains ".". Only a–z, 0–9 and hyphens are allowed. N7

      Fix: Use name: hive-context-preservation and rename the folder to match.

    • Note

      metadata values should be text; visibility (a list) is not. The spec defines metadata as text to text. O4

      Fix: Quote each value, for example version: "1.0".

  • OpenAI (Codex & API)Fails

    Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.

    • Error

      The name "hive.context-preservation" contains ".". Only a–z, 0–9 and hyphens are allowed. N7

      Fix: Use name: hive-context-preservation and rename the folder to match.

    • Warning

      The name "hive.context-preservation" doesn't match its folder "context-preservation". OpenAI's own upload example uses a differently named folder, but the spec it follows says they must match. N4

      Fix: Set name: context-preservation, or rename the folder to hive-context-preservation.

    • Warning

      metadata values should be text; visibility (a list) is not. OpenAI's upload follows the spec's text-to-text rule. O4

      Fix: Quote each value, for example version: "1.0".

  • VS Code & CopilotPasses with warnings

    VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.

    • Warning

      The name "hive.context-preservation" doesn't match its folder "context-preservation". VS Code uses the folder name, context-preservation, instead. N4

      Fix: Set name: context-preservation, or rename the folder to hive-context-preservation.

    • Warning

      The name "hive.context-preservation" contains ".". VS Code's docs say such a name fails to load; VS Code falls back to the folder name. N7

      Fix: Use name: hive-context-preservation and rename the folder to match.

SKILL.md

Files

1 file

PathSize
SKILL.md (opens in a new tab)1.3 KB

More from aden-hive/hive

  • Required before any hive-browser CLI command. The browser is driven from the terminal by running `hive-browser <command> ... --json` via terminal_exec — not via MCP tools. Teaches the browser lifecycle rules (the bridge attaches to the USER'S running Chrome — never kill or launch browser processes; timeouts are transport issues, not crashes), the screenshot + coordinate workflow (hive-browser interact with a fractional coordinate) that reaches shadow-DOM inputs selectors can't see, the viewport-fraction coordinate rule (not pixels), rich-text editor quirks ("send button stays disabled" failures), and CSP gotchas. Covers Chrome via CDP through the GCU Beeline extension.

    • Runs shell commands
    • Names web addresses
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 9 Aug 2026

  • Required reading whenever any chart_* tool is available. Teaches the one-tool embedding contract (call chart_render → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no chartjunk, restrained palette, proper typography, single message per chart), and the canonical spec patterns for the 12 most-common chart types. Skipping this leads to 1990s-Excel charts, missing downloads, and the agent writing markdown image links by hand instead of letting chart_render drive the UI.

    • Instructions only
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 11 Oct 2026

  • Claim tasks, record step progress, and verify SOP gates in the colony SQLite queue. Applies when your spawn message includes a db_path field.

    • Runs shell commands
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 1 May 2026

  • hive.error-recovery

    aden-hive/hive

    Follow a structured recovery decision tree when tool calls fail instead of blindly retrying or giving up.

    • Runs shell commands
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 17 Apr 2026

  • hive.image-generation

    aden-hive/hive

    Required before calling image_generate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2 through the Hive image service, billed to the user's Hive credits like an LLM call (no API key needed). Teaches the exact call shape, the quality/cost tradeoff (quality="low" is the default and cheapest), reference-image editing, how to show the result to the user with attach_file, and the failure modes (out of credits, model unavailable, moderation).

    • Instructions only
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 9 Aug 2026

  • Read before automating LinkedIn with browser_* tools. LinkedIn combines shadow DOM (#interop-outlet), strict Trusted Types CSP that silently drops innerHTML, Lexical composer, native beforeunload dialogs that hang the bridge, and aggressive spam filters — each has bitten us at least once. Verified flows for profile messaging, connection-request acceptance, feed composition, and search. Requires hive.browser-automation. Verified against logged-in production 2026-04-11.

    • Runs shell commands
    • Names web addresses
    Pattern check: Nothing flagged

    Apache 2.0 · 11.1k repo stars · Updated 21 Apr 2026

All skills in aden-hive/hive