context-management
✓通過令牌監控、智能提取和選擇性補充進行主動上下文窗口管理。 具有預測性預算監控、上下文健康指標和基於優先級的保留功能。 當接近令牌限製或需要保留基本上下文時使用。 通過主動優化補充 /transcripts 和 PreCompact 掛鉤。
SKILL.md
This skill enables proactive management of Claude Code's context window through intelligent token monitoring, context extraction, and selective rehydration. Instead of reactive recovery after compaction, this skill helps users preserve essential context before hitting limits and restore it efficiently when needed.
Start with essential and upgrade if more context is needed.
Instead of just checking current usage, predict when thresholds will be reached:
通過令牌監控、智能提取和選擇性補充進行主動上下文窗口管理。 具有預測性預算監控、上下文健康指標和基於優先級的保留功能。 當接近令牌限製或需要保留基本上下文時使用。 通過主動優化補充 /transcripts 和 PreCompact 掛鉤。 來源:rysweet/amplihack。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/rysweet/amplihack --skill context-management- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 context-management?
通過令牌監控、智能提取和選擇性補充進行主動上下文窗口管理。 具有預測性預算監控、上下文健康指標和基於優先級的保留功能。 當接近令牌限製或需要保留基本上下文時使用。 通過主動優化補充 /transcripts 和 PreCompact 掛鉤。 來源:rysweet/amplihack。
如何安裝 context-management?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/rysweet/amplihack --skill context-management 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/rysweet/amplihack
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01