gal-tab/sir_albert/kw-compound

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when capturing session knowledge and filing it back into the knowledge base. Triggers on "save this to the wiki", "file this knowledge", "add this to the KB", "remember this for future sessions", "compound this insight", "compound this session", "save what we just learned", or when kb:wiki-query synthesizes a cross-reference worth preserving. Writes structured markdown to raw/ for kb:wiki-compile to process into wiki/.

Install

npx vskill@latest install gal-tab/sir_albert/kw-compound

SKILL.md

kw-compound

Capture session knowledge and write it to raw/ as a structured markdown file, ready for kb:wiki-compile to ingest into wiki/.

Announce at start: "I'm using kw-compound to file this knowledge to raw/ for the next wiki compilation."

The Knowledge Loop

session insights
↓ kw-compound writes
raw/ (source drop zone)
↓ kb:wiki-compile processes
wiki/ (structured pages)
↑ kb:wiki-query reads

This skill is the write side of the loop. /kb:wiki-query reads from wiki/; kw-compound feeds raw/ so the next /kb:wiki-compile pass makes session insights permanent wiki knowledge. Both /kb:wiki-query and /kb:wiki-compile are provided by the kb plugin.

When to Use

  • User explicitly asks to save, file, or remember something for the wiki
  • kb:wiki-query produced a synthesis (comparison, concept connection) not yet in the wiki, and the user wants to preserve it
  • After a deep conversation that produced domain knowledge worth persisting
  • End-of-session capture: "compound this session"

When NOT to Use

  • The insight is trivial or already in the wiki — run /kb:wiki-query to check first
  • Content is a session preference or tool config (that belongs in MEMORY.md)
  • User wants to update an existing wiki page in place — use Write directly + commit
  • The insight is operational/task-specific and won't be useful across sessions

Workflow

Step 1: Identify and classify

Extract 1–3 compoundable items from the session. More than 3 means you're not filtering enough.

For each candidate, determine the page type per wiki-schema.md:

TypeWhen to use
conceptNew domain idea, framework, named principle — only if domain-specific or novel
entitySpecific person, org, tool, project, product worth tracking
comparisonTwo entities or approaches contrasted with clear dimensions
sourceExternal document, paper, article discussed in session

Draft each learning in one sentence: "What we now know and why it matters."

Present to the user: "Found N items worth filing to the wiki — approve?"

Never auto-save. Approval required for each item.

Step 2: Read the schema
Read: wiki-schema.md

Check:

  • Correct frontmatter fields for the page type
  • Slug derivation rules
  • Confidence label requirements (STATED / INFERRED / UNCERTAIN)
  • Create threshold — don't file concepts a practitioner would already know
Step 3: Check for conflicts
Read: wiki/index.md

If a related page already exists:

  • Show the existing page path and ask: "Update existing or save as new entry?"
  • If updating: note the page path and flag the new content as an addendum to add at the bottom
Step 4: Write to raw/

Create raw/<slug>.md where <slug> follows wiki-schema.md slug rules.

File structure:

markdown
---
title: "<Human-readable title>"
type: source|entity|concept|comparison
kw_capture: true
kw_date: YYYY-MM-DD
tags: [relevant, keywords]
source_refs: []
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
# <Title>
<Content structured per the page type's sections in wiki-schema.md>
## See Also
-(links to related wiki pages with confidence labels per wiki-schema.md)
## Source / Origin
Captured from session on YYYY-MM-DD. <One sentence: context where this knowledge emerged.>

Use STATED / INFERRED / UNCERTAIN confidence labels for any cross-references to existing wiki pages.

Step 5: Commit
Do not touch `raw/.manifest.json`. /kb:wiki-compile detects a new file precisely by its absence from the manifest and manages every manifest entry itself (status, sha256, compiled_at, wiki_pages). Hand-adding a slug there can hide the file from compilation. Commit only the new source file.
bash
git add raw/<slug>.md
git commit -m "[kw-compound] Filed: <title>"
Step 6: Confirm

Report back:

  • Filed: raw/<slug>.md (type: concept / entity / comparison / source)
  • Next: "Run /kb:wiki-compile to ingest this into wiki/, or it will be picked up next session."

Guardrails

  • Write to `raw/` only — never directly to wiki/. Always let /kb:wiki-compile do the compilation.
  • Read `wiki-schema.md` before writing — it governs structure, slug rules, and confidence labels.
  • Approval required — never auto-save. Present and confirm before writing.
  • 1–3 items max per session — quality over quantity.
  • Concept create threshold — only concepts that are domain-specific or coined/defined with novel treatment. Skip general practitioner knowledge.
  • Confidence labels are mandatory for any cross-references in frontmatter source_refs or ## See Also sections.
  • When in doubt: wiki vs MEMORY.md — wiki is for durable domain knowledge; MEMORY.md is for preferences, behaviors, and project context.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gal-tab/sir_albert/kw-compound/badge)](https://verified-skill.com/skills/gal-tab/sir_albert/kw-compound)

Something wrong with this skill or its page? Tell us.