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.

referencesvault-config.md

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

Vault config

Location

Company brain lives at ${COMPANY_BRAIN_VAULT:-$HOME/Documents/CompanyBrain}/.

Override in ~/.zshenv:

export COMPANY_BRAIN_VAULT="$HOME/code/acme-company-brain"    # per-team path

For multi-team users (e.g., a consultant maintaining vaults for multiple clients):

export COMPANY_BRAIN_VAULT="$HOME/code/current-client-brain"

# Switch by aliasing:
alias cb-acme="export COMPANY_BRAIN_VAULT=$HOME/code/acme-brain"
alias cb-beta="export COMPANY_BRAIN_VAULT=$HOME/code/beta-brain"

The skill respects whatever $COMPANY_BRAIN_VAULT points to at invocation time.

Storage backends

Company brains live in one of three places, in order of team-scale readiness:

Backend When to use Trade-offs
Obsidian vault (local, git-synced) 1-10 person teams Simplest, portable, git handles history + attribution. Requires everyone to install Obsidian.
Shared git repo (no Obsidian) 5-50 person teams, engineering-heavy Everyone reads markdown in their editor of choice. Git is the sync layer. Requires markdown literacy.
Notion / Coda backed by markdown export 20+ person teams, non-technical majority Team edits in Notion; nightly export → git-backed markdown for company-brain. Extra sync layer, but non-engineers can contribute.

Company-brain skill treats all three the same — reads/writes markdown. The backend choice is a team decision, not a skill decision.

Initial setup for a new team

# 1. Pick a path
export COMPANY_BRAIN_VAULT="$HOME/code/mycompany-brain"

# 2. Create the vault
mkdir -p "$COMPANY_BRAIN_VAULT"
cd "$COMPANY_BRAIN_VAULT"

# 3. Init git (if not already)
git init
git remote add origin git@github.com:mycompany/company-brain.git

# 4. Create structured raw dirs
mkdir -p people companies meetings sops decisions customer-language recurring-questions sales-objections raw wiki outputs Projects Team Templates Drafts

# 5. Seed CLAUDE.md (copy from ~/code/makerskills/skills/company-brain/references/schema.md as starting point)
cp ~/code/makerskills/skills/company-brain/references/schema.md CLAUDE.md

# 6. Seed INDEX.md
echo "# Wiki Index\n\n## Sales\n\n## Customers\n\n## Ops\n\n## Product\n\n## Team & People\n\n## Decisions\n\n## Playbooks" > wiki/INDEX.md

# 7. Seed .gitignore
cat > .gitignore <<EOF
.DS_Store
.obsidian/workspace*
.obsidian/cache
.trash/
Drafts/*.private.md
EOF

# 8. First commit
git add . && git commit -m "Seed company brain schema"
git push -u origin main

Sensitivity access lists (optional)

If using sensitivity tagging, maintain two access lists in Team/:

Team/leadership.md         # emails/handles that can read `leadership` content
Team/confidential-access.md # per-topic access lists for confidential wiki pages

Company-brain skill reads these when respecting sensitivity in query mode.

Backup

Same as any git repo. Push to a hosted remote (GitHub / GitLab / Bitbucket). Recover by cloning.

For sensitive content in the vault, treat it like any git repo with secrets — encrypted at rest via git-crypt if the remote isn't fully trusted.

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