templates/skills/squads-learn/SKILL.md
Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory.
npx skillsauth add agents-squads/squads-cli squads-learnInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
After completing work, capture what you learned so future sessions can benefit.
squads learn "The auth token needs to be refreshed after 1 hour, not when the API returns 401"
squads learn "Always check memory before researching to avoid duplicate work" \
--squad engineering \
--category pattern \
--tags "memory,research,efficiency"
success - Something that worked wellfailure - Something that didn't work (learn from mistakes)pattern - A reusable approachtip - General adviceBefore marking a task complete, ask yourself:
If yes to any → squads learn "<insight>"
Check existing learnings:
squads learnings search "auth"
squads learnings show engineering --tag auth
# After fixing a bug
squads learn "PostgreSQL connection pool exhaustion was caused by unclosed transactions in error paths" --category failure --tags db,postgres,connection
# After successful implementation
squads learn "Using TypeScript strict mode caught 3 type errors before runtime" --category success --tags typescript,types
# Noticing a pattern
squads learn "When context exceeds 70%, always run squads memory sync before continuing" --category pattern --tags context,memory
# General tip
squads learn "The gh CLI is faster than the GitHub API for simple operations" --category tip --tags github,cli
squads learnings show <squad> # Squad's learnings
squads learnings search "<query>" # Search all learnings
squads learnings show engineering -n 5 # Last 5 for engineering
Learnings compound. Each captured insight makes future sessions smarter. A 30-second squads learn call can save hours of re-discovery.
tools
Squads CLI reference for autonomous agents — run squads, manage memory, check status, set goals, and operate the AI workforce. TRIGGER when using squads commands, dispatching agents, reading/writing memory, checking squad status, or operating the autonomous loop.
tools
# gh — GitHub CLI Operations You have access to `gh` (GitHub CLI) for repository and project management. ## Issues ```bash gh issue list # List open issues gh issue list --label "bug" # Filter by label gh issue view <number> # View issue details gh issue create --title "..." --body "..." # Create issue gh issue close <number> # Close issue gh issue comment <number> --body "..." # Add comment ``` ## Pull Re
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.