Learning to Learn (OpenMAIC)
THU-MAIC/OpenMAIC
A Chinese-language skill that embeds learning strategies like retrieval practice and self-explanation as a parallel goal inside an OpenMAIC subject lesson, without making study skills the topic.
Document what you learned during this sprint. An agent skill from garagon/nanostack.
$ npx skills add garagon/nanostack --skill compound -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install garagon/nanostack compound --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/compound .claude/skills/compound && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .claude/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/garagon/nanostack/tree/main/compoundType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add garagon/nanostack --skill compound -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install garagon/nanostack compound --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .agents/skills && cp -r skills-src/compound .agents/skills/compound && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .agents/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garagon/nanostack --skill compound -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install garagon/nanostack compound --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/compound .cursor/skills/compound && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .cursor/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/garagon/nanostack.git --path compound--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add garagon/nanostack --skill compound -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install garagon/nanostack compound --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/compound .gemini/skills/compound && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .gemini/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install garagon/nanostack compoundInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add garagon/nanostack --skill compound -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .github/skills && cp -r skills-src/compound .github/skills/compound && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .github/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garagon/nanostack --skill compound -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install garagon/nanostack compound --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garagon/nanostack.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/compound .opencode/skills/compound && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "compound" agent skill from https://github.com/garagon/nanostack/tree/main/compound into .opencode/skills/compound/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compound", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
compoundDocument what you learned during this sprint. An agent skill from garagon/nanostack.
Compound is an agent skill from garagon/nanostack. Document what you learned during this sprint. Reads artifacts, writes structured solutions to know-how/solutions/. Run after /ship or after fixing a significant bug. Triggers on /compound.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: A workflow harness that helps AI coding agents plan, review, test, and ship safer code. The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0372aed. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
jqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Compound loads about 2.2k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 931 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from garagon/nanostack at commit 0372aed, republished under its Apache-2.0 licence (© garagon). 931 words, ~2,247 tokens.
.claude/skills/compound/SKILL.md (or your agent's skills folder).After a sprint or a significant fix, extract what you learned into structured, searchable documents. Next time the agent plans or reviews, it finds these automatically.
Defensive telemetry init. No-op if telemetry is disabled via NANOSTACK_NO_TELEMETRY=1, ~/.nanostack/.telemetry-disabled, or if the helpers are removed.
_P="$HOME/.claude/skills/nanostack/bin/lib/skill-preamble.sh"
[ -f "$_P" ] && . "$_P" compound
unset _P/ship completes a sprintResolve all sprint phase artifacts in one call:
~/.claude/skills/nanostack/bin/resolve.sh compoundThe output is JSON with upstream_artifacts containing paths for think, plan, review, security, qa, and ship artifacts (only those that exist within the last 2 days). Read what's available. Focus on:
/review findings that were fixed (these are bugs worth documenting)/security findings that were resolved (these are patterns worth remembering)/think scope decisions (these are decisions worth recording)/qa failures that were debugged (these are bugs with investigation trails)Report-only ship check. Read the ship artifact's run_mode. If it is "report_only", /ship only previewed the delivery and nothing was published (no commit, no PR, no deploy). Tell the user plainly that the ship was report-only, then keep going: the investigation from /review, /security, and /qa is still worth capturing if it was non-trivial. But do not write a solution or summary that claims work was shipped or that the sprint closed. There is no shipment to record yet.
SHIP_ARTIFACT=$(~/.claude/skills/nanostack/bin/resolve.sh compound 2>/dev/null | jq -r '.upstream_artifacts.ship // empty')
SHIP_RUN_MODE=$(jq -r '.run_mode // "normal"' "$SHIP_ARTIFACT" 2>/dev/null || echo "normal")Not everything needs a solution document. Capture:
Skip:
Before creating a new document, search for related ones:
~/.claude/skills/nanostack/bin/find-solution.sh "relevant keywords"
~/.claude/skills/nanostack/bin/find-solution.sh --tag relevant-tag
~/.claude/skills/nanostack/bin/find-solution.sh --file affected/file/pathIf a closely related solution exists:
Do not create duplicates. One good document beats two partial ones.
When updating an existing solution, evolve it:
applied_count in the frontmattervalidated: true and last_validated to today's date### YYYY-MM-DD — Context entry to the ## History section at the bottom, documenting what happened in this sprint and what changedCompiled truth is rewritten. Timeline is appended. The sections above History always reflect the latest understanding. The History section is the immutable evidence trail of how that understanding evolved. If old information was wrong, rewrite the compiled truth — don't leave stale text. The History entry records what changed and why.
For each significant learning, create a document:
~/.claude/skills/nanostack/bin/save-solution.sh <type> "<title>" "tag1,tag2,tag3"Types:
bug - a problem you encountered and solvedpattern - a recurring approach worth rememberingdecision - an architecture or design choice with rationaleThe script creates the file with YAML frontmatter and section templates. Fill in every section. Be specific:
Good:
## Problem
Stripe webhook endpoint accepted POST without signature verification.
stripe.webhooks.constructEvent() requires the raw request body, not parsed JSON.
## Solution
Use express.raw() middleware on the webhook route before express.json() parses it.Bad:
## Problem
Webhook was broken.
## Solution
Fixed the webhook handler.The value is in the detail. A future agent reading this needs enough context to apply the solution without re-investigating.
After filling in the body, update the frontmatter:
files: add the actual file paths involvedseverity: adjust based on actual impact (critical, high, medium, low)tags: add any tags that would help future searchPrint a summary of what was captured:
Compound: 3 solutions captured
bug/stripe-webhook-signature.md (high) - Stripe webhook missing signature verification
pattern/api-error-handling.md (medium) - Structured error responses with codes
decision/auth-clerk-over-custom.md (medium) - Chose Clerk over custom auth
Total solutions in project: 12After reporting, save the artifact. Run this command now — do not skip it:
~/.claude/skills/nanostack/bin/save-artifact.sh compound '<json with phase, summary including solutions_created, solutions_updated, total_solutions, context_checkpoint including summary, key_files, decisions_made, open_questions>'After saving solutions, check if any existing solutions now meet graduation criteria:
~/.claude/skills/nanostack/bin/graduate.shIf candidates exist, report them:
N solutions ready to graduate into skill files.
Run `graduate.sh --apply` to promote them, or review with `graduate.sh` (dry-run).Graduation means a proven, validated solution gets baked directly into a SKILL.md file — no more runtime lookup needed. Only solutions with 3+ applications, validated status, and existing referenced files qualify.
If .nanostack/know-how/diarizations/ exists, check whether this sprint touched files covered by any existing diarization. If so, the diarization may be stale — suggest re-running it:
Diarization for <subject> is N days old and this sprint modified files it covers.
Consider re-running: /investigate --diarize <subject>Then tell the user:
Knowledge captured. These solutions will be found automatically by /nano during planning and /review during code review.
Before returning control:
_F="$HOME/.claude/skills/nanostack/bin/lib/skill-finalize.sh"
[ -f "$_F" ] && . "$_F" compound success
unset _FPass abort or error instead of success if compound did not complete normally.
src/api/webhooks/stripe.ts is searchable. "The webhook file" is not.stripe, webhooks, hmac, not payment-processing-integration.© garagon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in compound of garagon/nanostack.
Open the folder on GitHubat commit 0372aed
Compound next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Compound this skillgaragon/nanostack | 207 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Learning to Learn (OpenMAIC)THU-MAIC/OpenMAIC | 40k | — | ~502 | Automated safety check: Pass | MIT | |
| Compound Learningsparcadei/Continuous-Claude-v3 | 3.9k | 1 repos | ~1.6k | Automated safety check: Notes | MIT | |
| Compound Learning WriterEveryInc/compound-engineering-plugin | 25k | — | ~2k | Automated safety check: Pass | MIT | |
| Compound Learnings RefreshEveryInc/compound-engineering-plugin | 25k | — | ~2k | Automated safety check: Pass | MIT | |
| Scikit LearnK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.3k | Automated safety check: Notes | BSD-3-Clause |
THU-MAIC/OpenMAIC
A Chinese-language skill that embeds learning strategies like retrieval practice and self-explanation as a parallel goal inside an OpenMAIC subject lesson, without making study skills the topic.
parcadei/Continuous-Claude-v3
Transform session learnings into permanent capabilities (skills, rules, agents).
EveryInc/compound-engineering-plugin
Records one solved and verified problem as a durable learning in the repository, but only when the reasoning is not already clear from the final code, tests or docs.
EveryInc/compound-engineering-plugin
Audits a repo's stored learnings against the current codebase, fixes stale, overlapping or superseded docs and reports on every document.
K-Dense-AI/scientific-agent-skills
Supports machine learning in Python with scikit-learn. An agent skill from K-Dense-AI/scientific-agent-skills.
garrytan/gstack
Lets you review, search, prune and export the learnings gstack has collected across sessions, and surfaces them when a past fix or pattern comes up.
garagon/nanostack
A skill your agent uses when starting non-trivial work (touching 3+ files, new features, refactors, bug investigations).
garagon/nanostack
First-time setup and guided sprint. An agent skill from garagon/nanostack.
garagon/nanostack
Use before shipping to production. An agent skill from garagon/nanostack.
garagon/nanostack
A skill your agent uses when code is ready to ship — creates PRs, merges, deploys, and verifies.
garagon/nanostack
Orchestrate parallel agent sessions through a sprint. An agent skill from garagon/nanostack.
garagon/nanostack
Add a feature to an existing project with a full sprint. An agent skill from garagon/nanostack.
Document what you learned during this sprint. An agent skill from garagon/nanostack. Compound is an agent skill from garagon/nanostack. Document what you learned during this sprint.
Run `npx skills add garagon/nanostack --skill compound -a claude-code`. Or copy the skill folder (compound in garagon/nanostack) into .claude/skills/compound in your project. Claude Code loads it when a task matches its description.
Run `npx skills add garagon/nanostack --skill compound -a codex`. Or copy the skill folder (compound in garagon/nanostack) into .agents/skills/compound in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add garagon/nanostack --skill compound -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compound, .gemini/skills/compound, .github/skills/compound and .opencode/skills/compound in your project.
Going by SKILL.md and its folder, Compound needs the command-line tools its instructions call (jq).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Compound is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Compound: Learning to Learn (OpenMAIC) (THU-MAIC/OpenMAIC, 40k stars), Compound Learnings (parcadei/Continuous-Claude-v3, 3.9k stars), Compound Learning Writer (EveryInc/compound-engineering-plugin, 25k stars) and Compound Learnings Refresh (EveryInc/compound-engineering-plugin, 25k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
garagon (a GitHub user) maintains it in garagon/nanostack, which has 207 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 10, 2026.
Source: garagon/nanostack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.