context-manager by 404kidwiz/claude-supercode-skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill context-manager提供在 AI 上下文管理、内存架构和上下文窗口优化方面的专业知识。处理对话历史、RAG 内存系统以及为 LLM 应用程序实现高效的上下文利用。
在以下情况下调用此技能:
在以下情况下不要调用:
内存类型选择:
├── 单次对话 → 滑动窗口上下文
├── 多会话用户 → 持久化内存存储
├── 知识密集型 → 带向量数据库的 RAG
├── 任务导向型 → 工作内存 + 工具结果
└── 长期运行的智能体
├── 情景记忆 → 事件摘要
├── 语义记忆 → 知识图谱
└── 程序性记忆 → 学习到的模式
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 反模式 | 问题 | 正确方法 |
|---|---|---|
| 始终保留完整历史 | 超出上下文限制 | 滑动窗口 + 摘要 |
| 无摘要 | 丢失重要上下文 | 在淘汰前进行摘要 |
| 优先级均等 | 在无关内容上浪费令牌 | 提高最近/相关内容的权重 |
| 无持久化 | 跨会话丢失记忆 | 存储重要记忆 |
| 忽略令牌成本 | 昂贵的 API 调用 | 监控并优化使用 |
每周安装数
94
代码仓库
GitHub 星标数
45
首次出现
2026年1月24日
安全审计
安装于
opencode81
gemini-cli77
codex75
cursor72
github-copilot67
kimi-cli61
Provides expertise in AI context management, memory architectures, and context window optimization. Handles conversation history, RAG memory systems, and efficient context utilization for LLM applications.
Invoke this skill when:
Do NOT invoke when:
Memory Type Selection:
├── Single conversation → Sliding window context
├── Multi-session user → Persistent memory store
├── Knowledge-heavy → RAG with vector DB
├── Task-oriented → Working memory + tool results
└── Long-running agent
├── Episodic memory → Event summaries
├── Semantic memory → Knowledge graph
└── Procedural memory → Learned patterns
| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Full history always | Exceeds context limits | Sliding window + summaries |
| No summarization | Lost important context | Summarize before eviction |
| Equal priority | Wastes tokens on irrelevant | Weight recent/relevant higher |
| No persistence | Lost memory across sessions | Store important memories |
| Ignoring token costs | Expensive API calls | Monitor and optimize usage |
Weekly Installs
94
Repository
GitHub Stars
45
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode81
gemini-cli77
codex75
cursor72
github-copilot67
kimi-cli61
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
49,000 周安装