kw-brainstorm
Brain dump and compile knowledge before structuring a plan. Use when starting any non-trivial knowledge work — after a meeting,…
Extract and save learnings from a completed knowledge work session. Saves to docs/knowledge/ so future plans automatically find them.
Claude Code
$ npx -y skills add everyinc/compound-knowledge-plugin --skill kw-compound --agent claude-code
Codex
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a codex -y
Cursor
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a cursor -y
Gemini CLI
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a gemini-cli -y
GitHub Copilot
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a github-copilot -y
OpenCode
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a opencode -y
Windsurf
$ npx skills add everyinc/compound-knowledge-plugin --skill kw-compound -a windsurf -y
name: kw:compound description: Extract and save learnings from a completed knowledge work session. Saves to docs/knowledge/ so future plans automatically find them.
Close the loop. Extract what you learned and save it where future work will find it.
Scan the current session for compoundable insights. Look for:
| Type | Signals | | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | **Insight** | "We discovered...", surprising finding, counter-intuitive result | | **Playbook** | Repeatable process that worked, step-by-step that others could follow | | **Correction** | Wrong assumption fixed, data source clarified, definition updated | | **Pattern** | Something that keeps recurring, systemic observation |
**Extract 1-3 learnings max.** Quality over quantity. If nothing is worth saving, say so:
> "Nothing from this session seems worth saving as a standalone learning. The work is captured in the plan/deliverables."
For each learning, draft:
**Learning:** [One sentence — what we now know] **Type:** [insight | playbook | correction | pattern] **Why it matters:** [One sentence — how this changes future work]
Present the drafted learnings and ask:
> "Found [N] learnings worth saving. Review and approve?"
Show each learning with its classification. User can:
**Do not save anything without approval.**
For each approved learning, search existing knowledge:
Grep: [key phrases] in docs/knowledge/ Grep: [key phrases] in docs/solutions/
If a similar learning already exists:
After identifying what to save, launch the stale knowledge checker:
Launch Task agent: `compound-knowledge:research:stale-knowledge-checker`
If stale entries are found, present them to the user:
> "This new learning may conflict with existing knowledge: > - **[existing file]** says [X], but the new learning says [Y] > - Recommendation: [Update / Remove / Keep both] > > Want me to update the old entry?"
<critical_requirement> Agents return TEXT only. They must NOT write or delete files. Only the orchestrating compound skill writes files — both new learnings and updates to stale entries. </critical_requirement>
Write each learning to `docs/knowledge/`:
**Filename:** `docs/knowledge/{descriptive-slug}.md`
Create the directory if it doesn't exist: `mkdir -p docs/knowledge/`
**File format:**
--- type: [insight | playbook | correction | pattern] tags: [relevant keywords for future search] confidence: [high | medium | low] created: [today's date] source: [brief description of what triggered this] --- # [Learning Title] [2-4 sentences explaining the learning. Be specific enough that someone reading this in 3 months understands what happened and why it matters.] ## Context [What you were doing when you discovered this.] ## Implication [How this should change future work. Be concrete: "When doing X, always check Y first."]
## Compounded
**Saved:**
- docs/knowledge/{filename}.md
**This learning will be surfaced by /kw:plan** when future work touches:
- [list the tags that would trigger retrieval]Use AskUserQuestion:
**Question:** "Learnings saved. What next?"
**Options:** 1. **Run `/kw:plan`** — Start a new planning cycle (the learnings will be found) 2. **Push to Proof** — Share the learnings for team review 3. **Done** — Session complete
When invoked with `disable-model-invocation` context (e.g., from an orchestrator or automation):
Workflows for knowledge work that compounds over time. The knowledge work equivalent of Compound Engineering. Read the story: How to Build a Command Center That Keeps You Sane
Brain dump and compile knowledge before structuring a plan. Use when starting any non-trivial knowledge work — after a meeting,…
Gut-check what you know and don't know before proceeding. Use at any point to assess confidence, surface gaps, and decide whether…
Research past work and structure a knowledge work plan. Use when starting strategy docs, campaign plans, content briefs, research…
Multi-reviewer quality check for knowledge work. Runs strategic alignment and data accuracy reviewers on plans, briefs, and…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…