AGENT SKILL

prompt-context-compression

Manage prompt context, summaries, memory selection, and token budget for long-running sessions.

License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
prompt-context-compression
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "ai", "prompt", "context" ] } }
description
Manage prompt context, summaries, memory selection, and token budget for long-running sessions.

03 SKILL.md 正文

Prompt Context Compression

Use this skill when context grows large or responses lose task focus.

Workflow

  1. Identify durable facts, transient logs, user preferences, and current task state.
  2. Keep summaries factual and concise.
  3. Preserve explicit user constraints.
  4. Drop repeated logs and obsolete branches.
  5. Verify the next action still follows the latest request.

Checks

  • Do not summarize away file paths or exact commands needed later.

04 同仓库更多 Skills