一键导入
capture-learning
Capture significant learnings from the current work session. Structures insights for future sessions and updates agent memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture significant learnings from the current work session. Structures insights for future sessions and updates agent memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A-Mem thought evolution — check which prior thoughts should be updated when a significant new insight arrives. Spawns a lightweight subagent to classify prior thoughts as UPDATE or NO_UPDATE, then applies revisions. Use during long reasoning sessions when you reach a synthesis, make a decision, or discover something that changes earlier assumptions. Triggers on "this changes what I thought earlier", "update prior reasoning", "evolve thoughts", or automatically on conclusion/synthesis thoughts in sessions >10 thoughts.
Cross-session knowledge retrieval from the Thoughtbox knowledge graph. Searches entities, traverses relations, retrieves observations, and synthesizes findings from past sessions. Use when you need to recall prior decisions, check what's already known about a topic, find related insights, or build on past work. Triggers on "what do we know about", "have we seen this before", "recall", "prior decisions about", "knowledge graph", or when starting work that might have prior context.
Capture significant learnings from the current work session. Structures insights for future sessions and updates agent memory.
Write or improve prompts for Codex using Anthropic's official best practices. Creates system prompts, agent prompts, tool descriptions, and MCP resource templates. Pass an existing prompt to improve it, or describe what you need to create one from scratch.
Generate architecture diagrams for a codebase subsystem or module. Explores source files and produces Mermaid diagrams in docs/.
Extract reusable principles and decision frameworks from accumulated experience. Use after significant work sessions, project milestones, or when you notice recurring patterns worth codifying.
| name | capture-learning |
| description | Capture significant learnings from the current work session. Structures insights for future sessions and updates agent memory. |
| argument-hint | [optional topic or context] |
| user-invocable | true |
Reflect on the current session and capture learnings. Context: $ARGUMENTS
Format each learning as:
### [Date]: [Title]
- **Issue**: [The problem encountered]
- **Solution**: [What worked]
- **Pattern**: [The reusable principle extracted]
- **Files**: [Key file references, if applicable]
- **Freshness**: HOT (actively relevant) | WARM (occasionally relevant) | COLD (reference only)
Write the learning to the appropriate location:
.claude/rules/ as a new file or append to an existing oneMEMORY.mdCheck existing learnings for staleness: