Learn
/learn — Review, manage, and interact with the self-improvement playbook. Shows what Claude has learned, scored rules, capability frontier, pending signals, regressions, community rules. Learning happens automatically via behavioral protocol and mechanical hooks — this skill is for visibility, control, and contributing to collective intelligence.From its SKILL.md
npx -y skills add OutcomefocusAi/claude-learn --skill learnAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
7.6 KB, as published. Nobody here has run it
/learn — Self-Improvement Dashboard
Overview
Claude learns continuously via three layers:
- Behavioral protocol in
~/.claude/rules/playbook.md(auto-loaded) - Language detection hook (UserPromptSubmit) — corrections, frustration, praise
- Outcome tracking hook (PostToolUse) — test/build/deploy results, retries, churn
Two playbooks auto-load:
- Personal:
~/.claude/rules/playbook.md— your rules, your scores - Community:
~/.claude/rules/playbook-community.md— collective intelligence from all users
When Invoked
Step 1: Load Current State
Read both playbooks and signal files. Present:
=== Playbook Status ===
Personal: N rules across N categories (N meta-rules, N workflows)
Community: N universal rules
Token usage: ~N / 5000
Proven rules: N (sessions >= 3)
Top 3 by score: [list]
Latest 3 added: [list]
Regressions: N rules declining (or "none")
Uncertainties: N tracked items
Frontier: N active experiments, N tested
Archive: N decayed rules
Pending signals: N unprocessed
Session context: [detected ctx tags]
Step 2: Process Pending Signals
Group by source, draft rules for each, apply generalization + causal chain analysis. Check for second-order patterns (3+ rules with same shape → meta-rule).
Step 3: Session Scan
Check for uncaptured learnings, rule violations, regression patterns, workflow chain opportunities, and negative space items.
Step 4: Interactive Menu
What would you like to do?
1. Review all rules (by category, score, or context)
2. Add a learning manually (score 2.0)
3. Remove or adjust a rule
4. Review capability frontier + add experiments
5. View workflows (linked rule chains)
6. View uncertainty tracker
7. View community playbook
8. Contribute proven rules to community
9. View archived rules (restore one?)
10. Force pruning pass
11. Meta-learning analysis
12. Export playbook
13. Done
Sub-Commands
/learn— full review/learn status— quick stats/learn add "<rule>"— manually add (score 2.0)/learn frontier— capability frontier/learn workflows— view/manage linked rule chains/learn uncertainties— things you don't know/learn community— view community playbook + status/learn contribute— contribute proven rules to collective intelligence (see below)/learn regress— view regression alerts/learn prune— force pruning + merge similar/learn meta— meta-learning analysis (velocity, blindspots, second-order patterns)/learn export— shareable format/learn signals— raw hook signals/learn reset— archive everything, fresh start
/learn contribute — Collective Intelligence
This is how the community playbook grows. When invoked:
Step 1: Select Candidates
Scan your personal playbook for rules meeting contribution criteria:
- Score >= 3.0 (well-validated)
- Sessions >= 3 (proven across multiple sessions)
- Generalized wording (not user-specific or project-specific)
- Has a causal explanation (WHY, not just WHAT)
Present the candidates: "These N rules qualify for community contribution."
Step 2: User Selects
The user picks which rules to contribute (or all).
Step 3: Validate Existing Community Rules
Read ~/.claude/rules/playbook-community.md and check each community rule against your personal playbook:
- If you have a similar personal rule at score 3.0+ → report as "validated"
- If the community rule decayed on your system → report as "not validated"
- If you haven't encountered it → report as "no data"
This validation report is how community scores increase. When 3+ users independently validate a rule, the maintainer bumps its template score from 1.0 to 2.0. At 5+ validators → 3.0.
Step 4: Prepare Submission
For each new rule:
- Strip personal context (user names, project paths, personal tools)
- Ensure wording is universal ("When working on X" not "In Jeremy's X project")
- Set score to 1.0 (must be validated by community)
- Format for the community playbook
For validation reports on existing rules:
- Include rule name, your local score, confirmed count, session count
- This is the evidence that drives community score increases
Step 5: Submit
Create a GitHub issue on the claude-learn repo:
gh issue create --repo OutcomeFocusAi/claude-learn \
--title "Community contribution: [N] new rules + [M] validations" \
--body "[formatted new rules + validation report on existing rules]"
The issue includes TWO sections:
- New rules — proposed additions to the community playbook
- Validation report — your scores on existing community rules
The maintainer reviews, deduplicates new rules, aggregates validation counts, bumps community scores where warranted, and merges. Next plugin update delivers changes to all users.
Alternative: Direct PR
For users with repo write access:
# Edit templates/playbook-community.md directly
# Add rules to the "Universal Rules" section
# Submit PR
gh pr create --title "Add N community rules" --body "[rules + evidence]"
How Community Rules Reach Users
- Maintainer merges contribution into
templates/playbook-community.md - New plugin version is released
- User runs
claude plugin update claude-learn@outcomefocusai - SessionStart hook syncs updated community playbook to
~/.claude/rules/ - Community rules auto-load next session
- Each user's Claude validates them independently — good rules persist, bad ones decay per-user
Pruning Pass
- Archive scored below 1.0, delete below 0
- Merge >70% semantic overlap (combine scores)
- Check for second-order patterns → generate meta-rules
- Check for sequential rules → generate workflows
- Check for regression patterns
- If over 5000 token budget, archive lowest-scored
- Report all changes
Meta-Learning Analysis (/learn meta)
- Category distribution — which categories have most/fewest rules?
- Score distribution — noisy capture (many low) or quality (few high)?
- Learning velocity — rules/session over last 5 sessions
- Second-order patterns — any 3+ rules sharing a shape?
- Causal depth — how many rules have
cause:explanations? - Workflow coverage — are related rules linked?
- Regression alerts — proven rules no longer being confirmed?
- Uncertainty gaps — tracked unknowns that need frontier experiments?
- Session quality trend — positive/negative signal ratio over time
- Community alignment — how many community rules are validated locally?
Key Principles
- Learning is always on — dashboard, not engine
- Three detection layers — behavioral + language + outcome
- Second-order learning — patterns of patterns, not just patterns
- Causal > correlational — prevent problems, don't just handle them
- Collective intelligence — your proven rules help everyone
- Quality > quantity — meta-rules replace clusters of specific rules
- Track uncertainty — knowing what you don't know prevents confident mistakes
- Regression awareness — catch declining performance before the user does
- Anticipatory execution — proactive, not reactive
- Measure experiments — count tool calls, not vibes