All skills
coreyhaines31 avatar

/company-brain

@4e84cbe

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki pages, update INDEX.md), query (answer from the corpus with trust weighting, save to outputs/), review (triage queue — verify / deprecate / supersede unreviewed and stale captures so wrong info never becomes context), lint (orphans / stale / contradictions / gaps), connect (suggest new wikilinks), search (quick lookup). Structured raw dirs (people/, companies/, meetings/, sops/, decisions/, customer-language/, recurring-questions/, sales-objections/) instead of second-brain's flat type-prefixed raw/. Multi-author aware — every capture stamps author + timestamp + trust status. Optional auto-sync from Fathom/Gong/Granola call transcripts, Slack/email exports, CRM. Defaults to a vault at ${COMPANY_BRAIN_VAULT:-$HOME/Documents/CompanyBrain}/. Triggers on "/company-brain," "/cb," "capture this into the team brain," "log this meeting," "add this person to the team brain," "save this SOP," "compile the company wiki," "query the team brain," "what does the team know about X," "review the company brain," "cull the team brain," "lint the company brain," "who's the internal expert on X."

Use this Skill: https://skilld.dev/gh/coreyhaines31/makerskills/company-brain

This session only. Nothing lands on disk.

referencesschema.md

≈2.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Company Brain schema (fallback)

Authoritative source: <vault>/CLAUDE.md. This file is a fallback used only when the vault's CLAUDE.md is missing.

Use this as a starter kit when seeding a new team's vault.


Folder structure

people/                → Contacts with context (CRM-lite)
companies/             → Org profiles (prospects, clients, partners)
meetings/              → Call/meeting transcripts + notes
sops/                  → Standard operating procedures
decisions/             → Decision records (narrative form)
customer-language/     → Verbatim phrases from customers/prospects
recurring-questions/   → Questions asked 3+ times → pre-answered
sales-objections/      → Objection library + best responses
raw/                   → Uncategorized fallback (minimize use)
wiki/                  → AI-compiled knowledge base
  INDEX.md             → Master index
outputs/               → Saved Q&A results, briefs, deliverables
Projects/              → Team task management (DO NOT modify — pm owns it)
Team/                  → Internal team-only files (DO NOT modify)
Templates/             → Note templates (DO NOT modify)
Drafts/                → In-progress private drafts (DO NOT modify)

File naming conventions

people/

  • Filename: <first-name-last-name>.md (kebab-case, unambiguous per person)
  • If two people share a name: <name>-<company>.md or <name>-<role>.md

companies/

  • Filename: <company-slug>.md (short, memorable)

meetings/

  • Filename: YYYY-MM-DD-<company-or-topic>-<slug>.md
  • Examples: 2026-06-15-acme-discovery.md, 2026-06-30-q3-planning.md

sops/

  • Filename: <team>-<process>.md
  • Examples: sales-outbound-cadence.md, ops-client-onboarding.md, content-blog-review.md

decisions/

  • Filename: YYYY-MM-DD-<decision-slug>.md
  • Example: 2026-06-30-pricing-restructure.md

customer-language/

  • Filename: <theme-slug>.md (grouped by theme, not per customer)
  • Examples: pricing-anchoring.md, willingness-to-pay.md, decision-triggers.md
  • Append new verbatims to existing themed files; only create new files for new themes

recurring-questions/

  • Filename: <question-slug>.md
  • Example: how-do-you-handle-migration.md
  • Include a counter at the top: asked_count: 7

sales-objections/

  • Filename: <objection-slug>.md
  • Examples: too-expensive.md, we-already-have-a-tool.md, no-budget-this-quarter.md

File front-matter (all structured dirs)

Every file starts with:

source: <URL / call with X on YYYY-MM-DD / email from Y / manual entry>
author: <who captured this — email or handle>
captured: YYYY-MM-DD
trust: unreviewed       # unreviewed / verified / deprecated / superseded
sensitivity: internal   # or leadership / confidential

trust is deliberately not named status — companies/ and decisions/ already use status: for lifecycle (prospect/customer, decided/reversed). The two fields coexist and must not collide. Files with no trust: field (pre-trust-levels vaults) are treated as unreviewed.

Every /cb review disposition except skip stamps:

reviewed: YYYY-MM-DD
reviewed_by: <handle>

Verified files: trust: verified. Deprecated/superseded files additionally carry:

trust: deprecated       # or superseded
superseded_by: [[replacement-page-or-file]]   # superseded only

For people/ files, extend with:

role: <current role>
company: <current company>
last_touch: YYYY-MM-DD
tags: [customer, prospect, partner, investor, alumni, ...]

For companies/ files, extend with:

industry: <industry>
size: <headcount range>
status: [prospect, customer, churned, partner, competitor]
opportunity_size: <ARR / TCV range>
last_touch: YYYY-MM-DD
account_owner: <team member>

For meetings/ files, extend with:

attendees: [name1, name2, name3]
company: <company slug if external>
duration_min: <int>
recording_url: <if available>

For sops/ files, extend with:

owner: <team member responsible>
last_reviewed: YYYY-MM-DD
review_cadence: <quarterly | annually | ad-hoc>

For decisions/ files, extend with:

deciders: [name1, name2]
review_by: YYYY-MM-DD  # scheduled re-evaluation
status: [decided, in-effect, reversed, superseded]

wiki/ page format

Same as second-brain:

# Topic Name

Brief summary (2–3 sentences).

## Key Concepts
- Concept with explanation

## Details
Main content organized by subtopic.

## Connections
- [[Related Topic]] — how it connects

## Sources
- `people/jane-doe.md` (added by @alex, 2026-06-30) — role + context
- `meetings/2026-06-15-acme-discovery.md` (added by @sam) — objection notes
- `companies/acme.md` (added by @alex, updated by @sam) — deal state

Cite by source file + author + optional date. Multi-author attribution is the discipline that makes the vault trustworthy at team scale.

wiki/INDEX.md format

# Wiki Index

## Sales
- [[Acme Corp Deal]] — Active Q3 opportunity, $180K TCV
- [[Pricing Objections]] — Standard responses to price pushback

## Customers
- [[Beta Customer Feedback Themes]] — Aggregated themes from Q2 feedback

## Ops
- [[Client Onboarding Flow]] — 6-step process

## Product
- [[Roadmap Q3]] — Prioritized initiatives

## Team & People
- [[Team Directory]] — Who does what
- [[Key Contacts at Partners]] — Named POCs at partner orgs

## Decisions
- [[Pricing Restructure June 2026]] — Rationale + expected outcome + review date

## Playbooks
- [[Sales Outbound Playbook]] — Cadence, templates, escalation

Extend categories as the team's brain matures.

Sensitivity levels

Level Access
internal Any team member (default)
leadership Named leadership list only (list in Team/leadership.md)
confidential Named list per file (list in file front-matter or Team/confidential-access.md)

Wiki pages inherit the highest sensitivity of any source. If a wiki page cites 4 internal sources and 1 confidential, the wiki page is confidential.

Trust levels (trust:)

Trust Meaning Query treatment Compile treatment
unreviewed No human has confirmed it (default for new captures; also how files with no trust: field are treated) Usable but flagged — answers note lower confidence Included; pages mostly built on it get a warning callout
verified Human-reviewed and confirmed Full weight Included
deprecated Wrong or obsolete Never used as context Excluded; noted in Sources with reviewed date + reviewed_by
superseded Replaced (superseded_by: [[target]]) Never used; queries point to the replacement Excluded; Sources link to replacement

Trust is orthogonal to sensitivity. Trust changes happen through /cb review (the human triage pass, which respects sensitivity — reviewers only see files at or below their level) — capture always starts at unreviewed.

Rules

  • One page per concept — not per source. Multiple raw files about the same customer merge into one wiki page.
  • Use [[wikilinks]] for all internal references
  • Keep pages focused — split if >500 words
  • INDEX.md is the root — keep current
  • Connections section is mandatory — every page links to ≥1 other page
  • No orphan pages
  • Preserve nuance — don't flatten contradictions between authors' captures; note the disagreement
  • Multi-author attribution required in Sources sections
  • Sensitivity respected in query mode
  • Deprecate, don't delete — wrong/stale info gets trust: deprecated (or superseded + pointer), never removed
  • Trust respected end-to-end — deprecated/superseded content never used as context in query or compile

Publishing (same as second-brain)

Use pandoc + shared stylesheet at ~/.local/share/makerskills/render.css:

pandoc "outputs/<file>.md" \
  --css ~/.local/share/makerskills/render.css \
  --metadata title="<title>" \
  --pdf-engine=xelatex \
  -o "outputs/<file>.pdf"

Company brain outputs commonly leave the vault as: client-facing briefs, quarterly reviews, sales enablement PDFs, onboarding docs. Same rendering pattern as second-brain.

Source: SKILL.md on GitHub

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The 'company-brain' skill is a knowledge management system designed to aggregate and process sensitive team information from external sources like meeting transcripts, Slack exports, and CRM data. The primary security considerations include the potential for indirect prompt injection from untrusted external data and the instruction to modify user shell profile files for environment configuration.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 4e84cbe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated last month
metadata
{
  "version": "0.3.0"
}

README badge

README badge for coreyhaines31/makerskills/company-brain