本文へスキップ
Skillpedia
エージェント11k · #11800

hive.context-preservation

できること

このスキルは、AIが作業中に、大きな結果から重要な事実を短いメモにコピーするよう指示します。そうしないと初期の詳細が失われうる、長い作業向けです。

使う場面

  • ✓長い作業が、多くの検索やツールの結果を生むとき。
  • ✓AIが作業メモリがほぼいっぱいだと警告したとき。
  • ✓後の手順が、以前の結果の値、リンク、IDに依存するとき。

スキルのリンク

https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/context-preservation/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/context-preservation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“後で何も失われないように、各検索の重要なリンクと数字を保存しておいてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

各ツールの呼び出しの後、AIは後で必要になる値、たとえばリンク、ID、短い抜粋を取り出し、メモの領域に保存します。古いツールの結果が消えても、重要な事実は残ります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

AIは何を保存しますか?

ページ全体や生のデータではなく、リンク、重要な抜粋、具体的な値、ID、結論を保存します。

メモはどこに保管されますか?

後で読めるように、作業用のメモの領域に保管されます。

短い作業にも役立ちますか?

最も重要なのは、後で使われる前に古い結果が消されうる、長い作業です。

詳細

作者による元の説明

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

repo: aden-hive/hive

人気

GitHubのスター
11k
ランキング
#11800
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル