From commands-team-collaboration
Captures learnings from the current session and writes them to CLAUDE.md or CLAUDE.local.md files for future reference.
How this command is triggered — by the user, by Claude, or both
Slash command
/commands-team-collaboration:session-learning-captureThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Session Learning Capture
Capture and document session learnings
## Instructions
1. **Identify Session Learnings**
- Review if during your session:
- You learned something new about the project
- I corrected you on a specific implementation detail
- I corrected source code you generated
- You struggled to find specific information and had to infer details about the project
- You lost track of the project structure and had to look up information in the source code
2. **Determine Appropriate File**
- Choose the right file for the information:
- `CLAUDE...Capture and document session learnings
Identify Session Learnings
Determine Appropriate File
CLAUDE.md for shared context that should be version controlledCLAUDE.local.md for private notes and developer-specific settingsCLAUDE.md for component-specific informationMemory File Types Summary
CLAUDE.md):
CLAUDE.local.md):
CLAUDE.mdCLAUDE.md files in child folders are loaded only when editing files in those subfolders~/.claude/CLAUDE.md):
Update Memory Files
apps/[project]-ui/CLAUDE.mdapps/[project]-api/CLAUDE.mdcdk/CLAUDE.md or infrastructure/CLAUDE.mdThis command is based on the work of Thomas Landgraf: https://thomaslandgraf.substack.com/p/claude-codes-memory-working-with
2plugins reuse this command
First indexed Jan 8, 2026
npx claudepluginhub davepoon/buildwithclaude --plugin commands-team-collaboration/session-learning-captureCaptures learnings from the current session and writes them to CLAUDE.md or CLAUDE.local.md files for future reference.
/memory-bankUpdates the project's CLAUDE.md memory bank with learnings from the current session, including decisions, problems solved, patterns, commands, and dependencies.
/learnMines the current conversation for recurring corrections and durable lessons, then proposes additions to CLAUDE.md to prevent repeating mistakes.
/save-session-learningsDocuments session learnings into CLAUDE.md and AGENTS.md by analyzing git history and conversation context, categorizing findings, and updating project documentation.
/learnReflects on conversation for key project-specific takeaways on a given focus and appends them to the specified output file.
/memorySaves valuable session insights to a dated markdown file in .claude/storage/ for future reference, analyzing and compressing decisions, patterns, and gotchas.