Kb update

From brainqub3/brainqub3 · View interactive version

Kb update is an AI agent skill from the GitHub repository brainqub3/brainqub3. Safely write and link knowledge to the kb/** directory. Use when storing customer insights, patterns, or durable knowledge extracted from meetings, CRM, or research.

How to use this skill

Skill file

kb-update (Knowledge Base Update)

Use this Skill when:

Do NOT use when:

KB Structure

kb/
├── customers/          # One file per customer/company
│   └── {slug}.md
├── insights/           # Reusable observations and patterns
│   └── {slug}.md
├── playbooks/          # Repeatable processes
│   └── {slug}.md
├── decisions/          # Key decisions with rationale
│   └── {slug}.md
└── glossary.md         # Terms and positioning language

Entry Templates

Customer Entry (`kb/customers/{slug}.md`)

---
type: customer
customer_id: {crm_id or null}
company: {company name}
contacts: [{name, role}]
tags: [industry, segment, status]
sources: [canon/meetings/..., canon/crm/...]
created: {YYYY-MM-DD}
updated: {YYYY-MM-DD}
---

# {Company Name}

## Snapshot
One paragraph: who they are, what they care about, current status.

## Timeline
- **{YYYY-MM-DD}**: {event}

## Key Insights
- {insight with link to source}

## Next Best Actions
- [ ] {action}

Insight Entry (`kb/insights/{slug}.md`)

---
type: insight
tags: [topic, domain]
sources: [file paths that support this]
confidence: high|medium|low
created: {YYYY-MM-DD}
---

# {Insight Title}

## Observation
What you noticed.

## Evidence
- {source}: {what it showed}

## Implication
What this means for decisions or actions.

Playbook Entry (`kb/playbooks/{slug}.md`)

---
type: playbook
tags: [process-type]
triggers: [when to use this]
created: {YYYY-MM-DD}
updated: {YYYY-MM-DD}
---

# {Playbook Title}

## When to Use
Conditions that trigger this playbook.

## Steps
1. {step}
2. {step}

## Checklist
- [ ] {item}

## Examples
Link to past instances where this was applied.

Decision Entry (`kb/decisions/{slug}.md`)

---
type: decision
tags: [domain]
status: active|superseded
decided: {YYYY-MM-DD}
superseded_by: {path if applicable}
---

# {Decision Title}

## Context
What prompted this decision.

## Decision
What was decided.

## Rationale
Why this option was chosen.

## Consequences
What this means going forward.

Procedure

Step 1: Classify the knowledge type

Determine: customer, insight, playbook, decision, or glossary update.

Step 2: Check for existing entry

Glob: kb/{type}s/*.md
Grep: search for company name, topic, or key terms

If an entry exists, UPDATE it rather than creating a duplicate.

Step 3: Generate slug

Step 4: Prepare content

Step 5: Write or edit

Step 6: Cross-link (if applicable)

If this entry relates to other kb entries, add links:

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.