From intent-brain
Captures team knowledge at session end by reviewing changes, classifying insights, checking for conflicts, and proposing governed memories via teamkb MCP tools. Use when wrapping up with team-relevant discoveries or importing docs into the brain.
How this skill is triggered — by the user, by Claude, or both
Slash command
/intent-brain:teamkb [capture | import | status | review][capture | import | status | review]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Capture team memory at the end of a session: review what happened, classify the
Capture team memory at the end of a session: review what happened, classify the
insights worth keeping, check them against existing memories for conflicts, and queue
them for governance review. This is the multi-step, subagent-driven capture workflow
that sits alongside the one-shot /brain-save.
The brain captures knowledge, validates it through deterministic governance policies,
and shares it across the team via qmd. This skill drives the capture side: it uses
the teamkb MCP tools to propose candidates (never writing governed state directly —
the curator promotes after policy checks) and delegates the judgment-heavy steps to
specialized subagents.
intent-brain plugin is installed with admin role (TEAMKB_ROLE=admin), so
the write MCP tools (teamkb_propose, teamkb_status) are registered. A member
install is read-only and cannot capture.In team mode, the write tools reach the brain API over the tailnet with the admin's
per-user bearer token (TEAMKB_API_TOKEN), sent as an Authorization: Bearer header.
A non-admin token is rejected server-side with 403. Never hardcode the token; supply
it via env or a headersHelper. In local mode no token is needed.
{ title, content, category?, filePaths? }. Writes to the spool; the governance pipeline decides promotion.{ glob, basePath? }.{ memoryId, to, reason, actor }.Use Read, Glob, and Grep to gather what changed and what was decided — the diff,
the files touched, and any decisions stated in the conversation. Delegate the sweep to
the @teamkb-scout subagent (via Agent) when the session is large.
Recognize capturable moments and assign a category:
decisionpatternconventionarchitecturetroubleshootingonboardingDelegate ambiguous content to @teamkb-classifier.
Before proposing, delegate to @teamkb-conflict-checker to compare each candidate against existing memories. Surface conflicts rather than creating duplicates or contradictions — the governance layer tracks contradictions explicitly.
For each surviving candidate, call teamkb_propose. Then call teamkb_status to
confirm the candidates landed and review any recent rejection feedback.
Before proposing, ask: "Would a new team member benefit from finding this in 30 days?" Do NOT propose:
candidateIds.teamkb_status summary.| Situation | Response |
|---|---|
| Write tools absent | The install is member role; capture requires an admin install. |
Propose returns 403 | The token is not an admin token — the gate working as designed. |
| Candidate may contain a secret | Strip it; do not rely on pipeline secret-detection as the only check. |
/teamkb capture
→ @teamkb-curator reviews the session, proposes 3 candidates (1 decision, 2 patterns).
/teamkb import docs/**/*.md
→ Bulk-imports matching files as candidates queued for governance review.
/teamkb status
→ Shows counts by lifecycle state and recent rejection feedback.
/brain skill (cited, member-safe queries)./brain-save skill.npx claudepluginhub jeremylongshore/qmd-team-intent-kbSaves a single fact, decision, pattern, or convention into the governed knowledge brain, or retires outdated memories. Admin-only write side of the brain, invoked via /brain-save.
Contributes session knowledge to shared brain by summarizing workflows, manual interventions, and patterns via /contribute or natural triggers. Useful after sessions or mid-workflow.
Extracts uncaptured knowledge (decisions, feedback, context) from the current conversation before it's lost to compaction. Use after completing a task, before switching context, or before large exploratory work.