Skip to content

spillwavesolutions/project-knowledge-capture

v0.9.6MIT

Project Knowledge Capture: meetings, experiments, decisions, TicketLink/WikiTicket work, and project-memory nouns into a durable OKF knowledge graph. Multi-host bindings and write isolation for shared second brains.

Project Knowledge Capture (PKC)

Continuous capture and materialization of meetings, experiments, discoveries, decisions, and WikiTicket work into a durable OKF knowledge graph.

Works on Claude Code, Grok Build, Codex, Agent Plugins 1.0, Grok Bot, and LangChain Deep Agents.

Plugin nameproject-knowledge-capture
RepoSpillwaveSolutions/project-knowledge-capture
Version0.9.5
LicenseMIT
Nouns this plugin ownsMeeting, Experiment, Discovery, Assumption, Question, Feature, Requirement, Specification, Design, Release, CodeChange, Package, Risk, Acceptance, DecisionRecord, TicketLink, Epic, Story, Task, Subtask, Bug, Branch, Project, Playbook, Runbook, Reference

Multi-host

HostHow it loads
Claude CodeMarketplace / local plugin (.claude-plugin)
Grok BuildClaude-compatible, zero-config (.grok-plugin pins identity)
Codex.codex-plugin + existing hooks/hooks.json
Agent Plugins 1.0Root plugin.json
Grok BotSkills + docs/GROK_BOT.md (not a Claude-style install)
LangChain Deep Agentsskills= / SkillsMiddleware — docs/LANG_CHAIN_DEEP_AGENTS.md

Write isolation (worktree + PR) is in docs/ISOLATION.md. Public examples use fictional lumenfield-detector and northstar-console only. Point SECOND_BRAIN_ROOT at a path the human already has. Never hard-code a private remote.

Why PKC

Software projects generate reasoning that disappears: meeting notes, spike results, discovery findings, and the why behind designs. PKC turns that into Git-native OKF concepts so agents and humans get institutional memory with impact analysis and progressive disclosure.

SystemRoleRepository
OKF PluginGraph format + impact / query / validateokf-plugin
WikiTicket SDDEvent-sourced work + wiki publishingwiki_ticket_sdd
PKC (this plugin)Capture + materialization layerthis repo

Nouns (this plugin)

PKC owns project memory and WikiTicket work types. Catalog and ContextPack live in okf-plugin.

Meeting, Experiment, Discovery, Assumption, Question, Feature, Requirement, Specification, Design, Release, CodeChange, Package, Risk, Acceptance, DecisionRecord, TicketLink, Epic, Story, Task, Subtask, Bug, Branch, Project, Playbook, Runbook, Reference.

GroupNouns
CaptureMeeting, Experiment, Discovery, Assumption, Question
ProductFeature, Requirement, Specification, Design, Release, Acceptance
DeliveryCodeChange, Package, Risk
Decisions / opsDecisionRecord, Playbook, Runbook, Reference
Work (WikiTicket)TicketLink, Epic, Story, Task, Subtask, Bug, Branch, Project

Package is also a SAC runtime/build unit. PKC Package is project-memory (what shipped); SAC Package is the build artifact in the topology.

TicketLink emission:

bin/worklog fold | python3 scripts/pkc_ticket_link.py emit --bundle knowledge --open-only

Install

Claude Code

claude plugin marketplace add SpillwaveSolutions/project-knowledge-capture
claude plugin install project-knowledge-capture@pkc-plugin-marketplace

Grok Build

Grok Build discovers Claude-compatible plugins automatically — no separate Grok-only config required. Optional identity pin: .grok-plugin/marketplace.json.

Codex

Codex loads .codex-plugin/plugin.json and the same hooks/hooks.json (auto-context + post-edit curate).

Grok Bot / Deep Agents

Do not run /plugin marketplace add. Enable the skills in skills/ and follow:

Recommended companions

claude plugin marketplace add SpillwaveSolutions/okf-plugin
claude plugin install okf-graph-eng@okf-plugin-marketplace

Quick start

  1. /pkc-init — scaffold knowledge/
  2. /pkc-capture-meeting — paste notes → Meeting + DecisionRecords
  3. /pkc-retrieve — spawn knowledge-retriever for Feature/Decision context (card only)
  4. /pkc-materialize — sync WikiTicket fold into OKF
  5. Run tests: python3 tests/test_pkc.py
python3 scripts/pkc_validate.py --bundle sample-knowledge
python3 scripts/pkc_pack.py features/user-authentication.md --bundle sample-knowledge --hops 2
python3 scripts/pkc_action_items.py meetings/2026-08-03-auth-design.md --bundle sample-knowledge

Skills & commands

Skill / commandPurpose
pkc-initScaffold knowledge catalogs
pkc-capture-meetingMeeting → decisions (+ action items)
pkc-capture-experimentSpike / experiment write-up
pkc-capture-discoveryResearch / scan findings
pkc-capture-decisionLightweight ADR
pkc-materializeWikiTicket fold + docs → OKF
pkc-promoteInformal → Feature / Requirement / ADR
pkc-linkTyped edges
pkc-contextProgressive disclosure pack (--tiny, mermaid)
pkc-retrieveSpawn knowledge-retriever; parent consumes a summary card only
pkc-doctorBundle health: conflicts, thin features, stale
pkc-capture-assumptionWorking hypothesis (weaker than ADR)
pkc-capture-questionOpen question that may block a Feature
pkc-capture-transcriptFireflies/Otter/Granola/plain → Meeting
pkc-capture-prGitHub PR → CodeChange
pkc-import-adrImport MADR/adr-tools ADRs
pkc-federateMulti-repo federation
pkc-capture-threadSlack/Discord paste capture
pkc-release-notesRelease notes from graph edges
pkc-digestWeekly brief + verification queue
pkc-searchFull-text search over concepts
pkc-sessionOpen / close isolated write session (worktree + PR)

Agent

  • knowledge-capturer — capture, materialization, provenance
  • knowledge-retriever — search, score, pack; returns a Retrieval card only

Hooks

Post-edit curation refreshes catalog indexes and runs a light validate when you edit knowledge Markdown.

Scripts

ScriptRole
pkc_common.pyFrontmatter, catalogs, bundle init
pkc_capture.pyMeeting / experiment / discovery / decision
pkc_materialize.pyWorklog fold + docs
pkc_link.py / pkc_promote.pyEdges + promotion
pkc_pack.pyContext packs (2-hop default; --summary card)
pkc_search.pyFull-text search (index → rg → scan)
pkc_index.pyDisposable SQLite/FTS5 incremental index
pkc_validate.pyStructure + links
pkc_action_items.pyMeeting actions → TicketLink / worklog
pkc_ticket_link.pyWikiTicket fold / GitHub Issues → TicketLink
pkc-curate.shPost-edit hook helper
pkc_auto_context.pyPrompt hook — injects a tiny pack when a Feature is named
pkc_doctor.pyOne-screen health check
pkc_scrub.pySecret/PII redaction
pkc_transcript.pyTranscript normalizer
pkc_pr_capture.pyPR → CodeChange
brain_session.pyIsolation: worktree + branch + PR

Sample knowledge

sample-knowledge/ — auth chain:

Discovery → Experiment → Meeting → Decision → Feature → Design → CodeChange → Release

Plus a Risk the decision mitigates and an Acceptance criterion the PR verifies.

Golden pack: sample-knowledge/packs/user-authentication-pack.md

Docs

Config

See .pkc/config.example.yml.

License

MIT — see LICENSE.