agent-teams
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock…
Capture a correction or lesson as a persistent learning rule with category, mistake, and correction. Stores, categorises, and retrieves rules for future sessions. Use after mistakes or when the user says "remember this", "don't forget", "note this", or "learn from this".
Claude Code
$ npx -y skills add rohitg00/pro-workflow --skill learn-rule --agent claude-code
Codex
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a codex -y
Cursor
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a cursor -y
Gemini CLI
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a gemini-cli -y
GitHub Copilot
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a github-copilot -y
OpenCode
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a opencode -y
Windsurf
$ npx skills add rohitg00/pro-workflow --skill learn-rule -a windsurf -y
name: learn-rule description: Capture a correction or lesson as a persistent learning rule with category, mistake, and correction. Stores, categorises, and retrieves rules for future sessions. Use after mistakes or when the user says "remember this", "don't forget", "note this", or "learn from this". user-invocable: true
Capture a lesson from the current session into permanent memory.
Use when the user says "remember this", "add to rules", "don't do that again", or after a mistake is identified.
1. Identify the lesson — what mistake was made? What should happen instead? 2. Format the rule with full context. 3. Propose the addition and wait for user approval. 4. After approval, persist to LEARNED section or project memory.
[LEARN] Category: One-line rule Mistake: What went wrong Correction: How it was fixed
Append `Wiki: <slug>` to bind the rule to a single pro-workflow wiki. The rule loads only when that wiki is in scope, avoiding cross-project pollution:
[LEARN] Editing: Cite a sources.md row before adding any wiki claim. Wiki: agent-memory
The capture hook auto-detects `Wiki: <slug>` and links the learning to that wiki via `learnings_wiki`.
| Category | Examples | |----------|---------| | Navigation | File paths, finding code, wrong file edited | | Editing | Code changes, patterns, wrong approach | | Testing | Test approaches, coverage gaps, flaky tests | | Git | Commits, branches, merge issues | | Quality | Lint, types, style violations | | Context | When to clarify, missing requirements | | Architecture | Design decisions, wrong abstractions | | Performance | Optimization, O(n^2) loops, memory |
Recent mistake: Edited wrong utils.ts file [LEARN] Navigation: Confirm full path when multiple files share a name. Add to LEARNED section? (y/n)
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock…
Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use…
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations,…
Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in…
Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction,…
Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…