Push and pull learnings
Sync organizational patterns across projects and teammates.
The self-learning plugin stores captured patterns in org-patterns.toon. Two commands keep these patterns synchronized across a team. Run them in Claude Code in your terminal, not in the Desktop app or the web app.
Prerequisites
self-learningplugin installed.CLAUDE_ORG_IDexported in the environment.- A git repository that holds the shared organization patterns.
Process before pushing
If you have pending learnings from recent runs, process them first:
/self-learning:process-learningsThis classifies, validates, deduplicates, and merges pending learnings into ~/.closedloop-ai/learnings/org-patterns.toon.
Push
/self-learning:push-learningsExports your local patterns to the shared organization repository.
Pull
Run git pull first to get the latest shared patterns, then:
/self-learning:pull-learningsImports the organization's patterns into your local org-patterns.toon. Echo prevention skips patterns that originated in the current project.
Goal stats
/self-learning:goal-statsShows pass rate, top patterns, and trends. Requires at least 5 runs.
When to pull
- Before starting a new project.
- After joining a new team.