[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N0JKHAM66Y873JAHG46641":3,"skill-same:01M6N0JKHAM66Y873JAHG46641":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":71,"ownerDescription":72,"updatedAt":73,"install":74,"resources":86},"01M6N0JKHAM66Y873JAHG46641","company-brainify",null,"Extract a sanitized shared team\u002Fcompany brain from a personal brain. Strips internal ratings, compensation, performance assessments, retention and political dynamics from pages, takes, and facts across the full scan scope (people, companies, meetings, dailies, cross-references — not just people\u002F), verifies with grep + retrieval passes, and purges sensitive git history behind the data-loss-gate confirmation card. Also runs as a report-only re-audit on an existing shared brain.","garrytan\u002Fgbrain","garrytan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19957?v=4","01M6DJCCDDG53MTYYRTXAXFG17","Garry Tan","01M6MZQZCEN3RRMD33E1X9ZZR9",32977,"MIT","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Fcompany-brainify\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"company brainify","company","safe","brain","audit","references","across","scrub","team","analysis","people","confirmation","only","retention","card","re","performance","scope","projects","shared","2026-11-10 10:12:30",false,"---\nname: company-brainify\nversion: 1.0.0\ndescription: >\n  Extract a sanitized shared team\u002Fcompany brain from a personal brain.\n  Strips internal ratings, compensation, performance assessments, retention\n  and political dynamics from pages, takes, and facts across the full scan\n  scope (people, companies, meetings, dailies, cross-references — not just\n  people\u002F), verifies with grep + retrieval passes, and purges sensitive git\n  history behind the data-loss-gate confirmation card. Also runs as a\n  report-only re-audit on an existing shared brain.\ntriggers:\n  - \"company brain\"\n  - \"team brain\"\n  - \"brainify\"\n  - \"sanitize the brain\"\n  - \"share my brain with the team\"\n  - \"strip sensitive data from the brain\"\n  - \"scrub employee data\"\n  - \"audit the shared brain\"\n  - \"make the brain safe to share\"\nmutating: true\nwrites_pages: true\nwrites_to:\n  - people\u002F\n  - companies\u002F\n  - meetings\u002F\n  - daily\u002F\n  - projects\u002F\n  - analysis\u002F\nupstream: company-brainify@fc834ee\n# Brain-first in its native form: Phase-1 discovery runs through gbrain\n# retrieval (query\u002Fsearch\u002Ftakes search\u002Frecall), and every edit is grounded\n# in a full read of the actual page. writes_to lists the scan scope the\n# skill edits IN PLACE — it does not create new pages there, except the\n# deletion-log entry under daily\u002F required by data-loss-gate Step 4.\nbrain_first: true\n---\n\n# company-brainify — Personal → Team-Brain Sanitization\n\n> **Conventions:** [brain-first](..\u002Fconventions\u002Fbrain-first.md) (discovery runs\n> through the brain's retrieval; greps only triage),\n> [test-before-bulk](..\u002Fconventions\u002Ftest-before-bulk.md) (sanitize 3-5 files,\n> read them, then ramp: a bad bulk pass looks done and isn't),\n> [regex-discipline](..\u002Fconventions\u002Fregex-discipline.md) (\"is this sensitive?\"\n> is the model's per-file judgment; patterns never judge) and\n> [_brain-filing-rules.md](..\u002F_brain-filing-rules.md) (edits stay in the page's\n> directory; the deletion log is date-keyed under `daily\u002F`).\n\n## The Problem\n\nA personal brain holds company knowledge next to internal assessments,\ncompensation, management strategy and candid opinions about colleagues. A\nshared team brain built from it (topology: `docs\u002Farchitecture\u002Fbrains-and-sources.md`)\nkeeps the knowledge and drops the sensitive metadata. Clean working-tree files\nare NOT enough: git history keeps every pre-sanitization version, and\ntakes\u002Ffacts carry evaluative claims outside the prose. This skill covers all\nthree surfaces: pages, takes\u002Ffacts, and history.\n\n## When to Use\n\nConnecting or indexing an existing company repository without editing it is not\nsanitization. For “connect our company brain” or “import an existing company\nbrain,” use the migrate (host-side) company workflow. On the trusted brain host,\nstart with `gbrain sources inspect \u003Cpath> --profile company-brain`; follow\n`docs\u002Fguides\u002Fcompany-brain-ingestion.md` for destination preview and approval.\nDo not strip metadata or purge history merely to make an existing repository\nsearchable.\n\n- Standing up a shared company brain from a founder\u002Fexec's personal brain\n- Auditing an existing shared brain for sensitive content that shouldn't be there\n- Onboarding new team members to a brain repo that must be verified clean first\n- Periodic hygiene pass on a shared brain that re-accumulates sensitive data\n\n## What Gets Removed\n\n### Always strip (non-negotiable)\n\n| Category | Examples |\n|----------|----------|\n| **Internal scores\u002Fratings** | `score:`, `rating:`, `skill:`, or any vertical-specific `*_score:` frontmatter field; any numeric rating of a person |\n| **Compensation** | Salary, equity, carry, option grants, comp changes, retention packages |\n| **Performance assessments** | Strengths\u002Fweaknesses sections about employees, \"at risk\" flags, underperformance mentions, \"picking up slack\" references |\n| **Departure\u002Fretention** | Who's considering leaving, who was convinced to stay, departure rumors, retention conversations |\n| **Management strategy** | How-to-manage-someone sections, \"the hard conversation\" notes, scope\u002Ftitle management plans |\n| **Internal political dynamics** | Who doesn't like whom, who's nervous about whom, adversarial relationships, power dynamics |\n| **Personal PII** | Phone numbers, personal email addresses, home addresses, family or medical details, personal legal matters, personal-life details |\n| **Takes\u002Ffacts** | Any take or fact referencing the above categories — performance, comp, retention, weakness, management risk. Fact rows are DELETED from the page's Facts fence, never merely expired with `gbrain forget` |\n\n### Always keep\n\n| Category | Examples |\n|----------|----------|\n| **Professional identity** | Name, role, title, work email, LinkedIn |\n| **What they're building** | Current projects, product work, technical contributions |\n| **Career arc** | Prior companies, education, professional background (public info) |\n| **Professional beliefs** | Their views on technology, strategy, product philosophy |\n| **Timeline of work** | Meeting attendance, project milestones, launches (factual, not evaluative) |\n| **Skills\u002Fexpertise** | Technical capabilities, domain knowledge |\n\n## Scan Scope — Wider Than people\u002F\n\nSensitive content leaks far beyond people pages. The scan scope is:\n\n- `people\u002F` — the primary surface (frontmatter fields, assessment sections)\n- `meetings\u002F` — transcripts and minutes with candid assessments\n- `daily\u002F` — daily notes referencing comp\u002Fperformance\u002Fretention conversations\n- `companies\u002F`, `projects\u002F`, `analysis\u002F` — cross-references to removed content\n- **Takes** — evaluative claims in page takes fences (`gbrain takes search`)\n- **Facts** — hot-memory facts (`gbrain recall --grep`)\n- **Back-links** — after edits, `gbrain check-backlinks check` confirms no page\n  still points at removed sections\n\nA pass that only covers `people\u002F` will certify a brain that still leaks.\n\n## Procedure\n\nAll paths below are relative to the brain repo root:\n\n```bash\nBRAIN=\"$(gbrain config get sync.repo_path)\"\ncd \"$BRAIN\"\n```\n\n### Phase 1: Identify scope (retrieval-first)\n\n1. Retrieval discovery — hybrid search catches judgment-shaped content that no\n   keyword pattern will:\n\n   ```bash\n   gbrain query \"compensation, equity, or salary discussions about team members\" --limit 50\n   gbrain query \"performance concerns, underperformance, or who is struggling\" --limit 50\n   gbrain query \"considering leaving, retention conversations, departure rumors\" --limit 50\n   gbrain takes search \"performance\" --limit 50\n   gbrain recall --grep \"salary\"\n   ```\n\n   Resolve every returned slug to its repo-relative file path and write the\n   paths into `\u002Ftmp\u002Fbrainify-scope.txt` (one per line). This file is the\n   scope list; the structural pass below APPENDS to it — nothing later in\n   the procedure may truncate it, or the retrieval-discovered pages\n   silently drop out of scope.\n\n2. Structural discovery — people files that belong to the company, plus\n   keyword hits across the wider scan scope:\n\n   ```bash\n   grep -rli 'company: *\"acme-example\"' people\u002F --include=\"*.md\" | sort >> \u002Ftmp\u002Fbrainify-scope.txt\n   grep -rli -E 'salary|equity|carry|retention|underperform|performance review|hard conversation' \\\n     meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull >> \u002Ftmp\u002Fbrainify-scope.txt\n   sort -u -o \u002Ftmp\u002Fbrainify-scope.txt \u002Ftmp\u002Fbrainify-scope.txt\n   ```\n\n3. Cross-reference against the company's public people page (website,\n   LinkedIn) to catch files using different frontmatter conventions.\n\n4. Count: `wc -l \u002Ftmp\u002Fbrainify-scope.txt`\n\n### Phase 2: Triage sensitivity\n\nPrioritize by hit density (portable `grep -E`; no `\\b` — BSD and GNU disagree):\n\n```bash\nwhile read -r f; do\n  hits=$(grep -c -i -E 'carry|salary|equity|comp change|departure|considering leaving|retention|underperform|picking up slack|performance review|management risk|hard conversation|nervou|score: *[0-9]|firing|fired|pip|probation|weakness' \"$f\" 2>\u002Fdev\u002Fnull || true)\n  [ \"${hits:-0}\" -gt 0 ] && echo \"$hits $f\"\ndone \u003C \u002Ftmp\u002Fbrainify-scope.txt | sort -rn > \u002Ftmp\u002Fbrainify-triage.txt\n```\n\nHigh-hit files need full judgment passes. Zero-hit files may only need\nfrontmatter field removal — but they still get read (regex triages, the model\njudges).\n\n### Phase 3: Sanitize (STAGING COPY preferred; test first, then parallel)\n\nPhase 3 is destructive: it strips content across many files, removes takes,\nand deletes fact rows. Two rules govern it.\n\n**Choose the target FIRST — copy, don't mutate the personal brain.**\n\n- **Standing up a NEW team brain (default, preferred):** sanitize a STAGING\n  COPY of the scanned directories, never the personal brain in place. The\n  founder's personal brain is SUPPOSED to keep comp, performance, and candid\n  notes — stripping them from the personal working tree destroys valuable\n  private data. Copy the Phase-1 scope into a durable staging dir and edit\n  THAT; Phase 5 Step 0 exports from the staging copy. Blast radius: none on the\n  personal brain.\n\n  ```bash\n  # Durable staging dir (NOT \u002Ftmp — same reasoning as the mirror backup).\n  STAGING=\"$HOME\u002F.gbrain\u002Fbackups\u002Fbrainify-staging-$(date +%Y%m%d-%H%M%S)\"\n  mkdir -p \"$STAGING\" && chmod 700 \"$STAGING\"\n  for d in people meetings daily companies projects analysis; do\n    [ -d \"$d\" ] && rsync -a \"$d\u002F\" \"$STAGING\u002F$d\u002F\"\n  done\n  cd \"$STAGING\"   # all edits below happen here, not in sync.repo_path\n  ```\n\n- **Re-auditing an EXISTING shared brain:** the shared brain IS the target, so\n  edits are in place on the SHARED repo (cd into the shared repo, never the\n  personal `sync.repo_path`). Fact-row removal + re-sync applies to the shared\n  source's DB.\n\n**Fire the [data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md) confirmation card\nBEFORE the bulk destructive edits begin.** Both targets are destructive (the\ncopy path removes content from the tree destined for the team; the in-place\npath removes content from a live brain). Pre-filled for Phase 3:\n\n```\n⚠️ DATA DELETION — Confirmation Required\n\nWhat: strip sensitive content, remove takes, and delete fact rows across\n      [N files] in [STAGING COPY at \u003Cpath>  |  the SHARED brain in place]\nCount: [N files edited; T takes removed; F fact rows removed]\nLocation: [staging path OR shared repo path] — NOT the personal sync.repo_path\n          on the staging path\n\nWhy: preparing a sanitized tree for team access\n\nRecoverable?\n- [x] Personal brain untouched (staging-copy path) — re-copy to redo\n- [ ] In-place shared-brain path: edits overwrite the live tree; git history is\n      the recovery line until Phase 5 purges it\n\nProceed? (yes\u002Fno)\n```\n\nRequire a typed \"yes\"\u002F\"do it\" per data-loss-gate; \"ok\"\u002F\"sure\" are not consent.\n\nPer test-before-bulk: do 3-5 files first, read the results, then ramp. For\nlarge sets (50+ files), batch into groups of 10-12 and spawn parallel\nsubagents. Per file:\n\n1. Read the file completely\n2. Remove all content matching the \"Always strip\" categories\n3. Frontmatter: delete rating\u002Fcomp field lines entirely\n4. Sections: remove entire sections (assessment weaknesses, team dynamics,\n   management strategy)\n5. Takes and Facts fences: remove entire rows that reference sensitive\n   categories — a take like \"alice-example believes charlie-example is\n   underperforming\" reveals both the opinion and who holds it; remove the\n   whole row, never just the attribution\n6. Inline mentions: surgically edit sentences\u002Fparagraphs\n7. Write the cleaned file back\n\nUse `Edit` for surgical removal of a few sections; `Write` the whole file\nonly when sensitive content is interwoven throughout.\n\n**Facts: `forget` is NOT removal.** `gbrain forget \u003Cfact-id>` only expires a\nfact: the row stays struck through in the Facts fence and the DB still serves\nit via `--include-expired`. Find sensitive facts (`gbrain recall --grep`) and\ndelete the row from the page's Facts fence (step 5), like a take.\n\n- **Staging-copy path:** editing the copied markdown is the removal; the team\n  DB is built fresh from the export in Phase 5 Step 0.\n- **In-place shared-brain path:** run `gbrain sync` (re-imports the page), then\n  reconcile the facts index: sync's convergence contract covers page import\n  only (`src\u002Fcommands\u002Fsync.ts`, \"CONVERGENCE CONTRACT\"), so the DB serves the\n  deleted row until the extract-facts reconcile runs. Trigger it (`gbrain sweep`,\n  or wait for the serve-resident sweep) and confirm with `gbrain recall --grep`\n  that the row is gone.\n\nEither way, run `gbrain check-backlinks check` for pages still pointing at\nremoved content.\n\n### Phase 4: Verify\n\nRe-run the Phase 2 triage — the count of flagged files should drop to\n(near-)zero. Then targeted greps:\n\n```bash\n# Rating fields remaining in frontmatter\ngrep -rn -E '^[a-z_]*(score|rating|skill)[a-z_]*: *[0-9]' people\u002F --include=\"*.md\"\n\n# Phone numbers\ngrep -rn -E '\\+1[0-9]{10}|\\([0-9]{3}\\) [0-9]{3}-[0-9]{4}' people\u002F --include=\"*.md\"\n\n# Comp keywords (full scan scope, not just people\u002F)\ngrep -rin -E 'carry|comp change|equity|salary' people\u002F meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull\n\n# Management\u002Fperformance\ngrep -rin -E 'considering leaving|departure rumor|underperform|picking up slack|hard conversation' people\u002F meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull\n```\n\nFalse positives (e.g. \"carry the torch\") are fine — manually confirm each\nremaining hit rather than tightening the pattern (regex-discipline).\n\n**Verify the tree that ships:** `$STAGING` on the staging-copy path (the\npersonal tree doesn't ship, so certifying it proves nothing), the shared repo's\ntree on an in-place re-audit.\n\nThen the strongest check — the retrieval the team will actually use. Against\nthe sanitized brain\u002Fsource (scope with `--source \u003Cteam-source-id>` when the\nshared source is mounted alongside personal content):\n\n```bash\ngbrain query \"what is alice-example's compensation\" --limit 10\ngbrain query \"who is underperforming or at risk of leaving\" --limit 10\ngbrain takes search \"weakness\" --limit 20\n```\n\nEvery one of these must come back empty or with only keep-category content.\n\n### Phase 5: Commit and purge history — GATED\n\nClean files aren't enough if the repo has history: old commits still contain\nthe sensitive versions.\n\n**Step 0 — preferred alternative (non-destructive).** When standing up a NEW\nteam repo, skip history rewriting entirely: the sanitized STAGING tree from\nPhase 3 becomes a fresh repo with fresh history. The personal repo keeps its\nfull history AND its full working tree, untouched.\n\n**Export rule: nothing unscanned ships.** Phase 3 copied ONLY the scanned\ndirectories into `$STAGING`, so it holds nothing the pass didn't read. Never\ncopy other directories in (`conversations\u002F`, `originals\u002F`, `sources\u002F`,\n`inbox\u002F`): a whole-repo copy is the classic leak. To ship a new directory, add\nit to the scan scope first (Phases 1-4).\n\n```bash\n# The sanitized staging tree IS the export.\ncd \"$STAGING\"\n\n# Re-run the Phase 4 verification greps + retrieval checks INSIDE $STAGING —\n# the staging tree is what ships, and it is the tree that must certify clean.\n# ... Phase 4 greps against $STAGING ...\n\ngit init -b main\ngit add -A && git commit -m \"Initial import — sanitized team brain\"  # gbrain-allow-shared-tree-git: first commit of a fresh single-writer export repo\ngit remote add origin \u003CTEAM_REPO_URL>\ngbrain git commit-push --push-only\n```\n\nThe first commit is plain git because `$STAGING` is a brand-new repo only\nthis run writes. `gbrain git commit-push --push-only` pushes to `origin\u002Fmain`\nand fails loudly if the push does not land. On a non-zero exit, stop and relay\nthe error: usually `git_push_unavailable` (fix the URL or credentials, rerun),\nor a team repo that already has commits (this export needs an empty one; ask\nthe user). Never force-push it.\n\nOnly when a shared repo ALREADY exists with sensitive history in it do you\nneed the purge below.\n\n**Step 1 — target the SHARED repo, commit the clean tree, then mirror-clone.**\nThe purge runs on the SHARED repo, NEVER `sync.repo_path` (the personal\nbrain). Clone it to a durable work dir, stay there for every step below, and\nassert the target is not the personal repo first.\n\n```bash\nPERSONAL=\"$(gbrain config get sync.repo_path)\"\nmkdir -p \"$HOME\u002F.gbrain\u002Fbackups\" && chmod 700 \"$HOME\u002F.gbrain\u002Fbackups\"\nWORK=\"$HOME\u002F.gbrain\u002Fbackups\u002Fbrainify-purge-$(date +%Y%m%d-%H%M%S)\"\ngit clone \u003CSHARED_REPO_URL> \"$WORK\u002Fshared\"\ncd \"$WORK\u002Fshared\"\n[ \"$(git rev-parse --show-toplevel)\" != \"$PERSONAL\" ] \\\n  || { echo \"target IS sync.repo_path (personal brain) — ABORT\"; exit 1; }\n\n# Commit the sanitized tree BEFORE the mirror clone: a mirror captures\n# committed state only, and pushing it stops the remote serving the sensitive\n# current versions even if the purge is declined. Commit only the sanitized\n# dirs. Non-zero exit: retry once on commit_lock_busy; on integrate_conflict\n# ask the user before going on.\nfor d in people meetings daily companies projects analysis; do\n  [ -d \"$STAGING\u002F$d\" ] && rsync -a \"$STAGING\u002F$d\u002F\" \".\u002F$d\u002F\"   # or sanitize in place here\ndone\nSANITIZED=\"\"\nfor d in people meetings daily companies projects analysis; do [ -d \"$d\" ] && SANITIZED=\"$SANITIZED $d\"; done\ngbrain git commit-push -m \"Sanitize: strip sensitive content before history purge\" -- $SANITIZED\n\n# Mirror-clone backup = the card's recoverability line. Capture the path NOW\n# and reuse it verbatim: never recompute $(date) later.\nBACKUP_PATH=\"$HOME\u002F.gbrain\u002Fbackups\u002Fshared-brain-history-backup-$(date +%Y%m%d-%H%M%S).git\"\ngit clone --mirror \"$WORK\u002Fshared\" \"$BACKUP_PATH\"\ngit -C \"$BACKUP_PATH\" log -1 >\u002Fdev\u002Fnull || { echo \"backup unreadable — ABORT\"; exit 1; }\n```\n\nVerify the mirror exists and reads before presenting the card — it is the\ncard's recoverability line.\n\n**Step 2 — STOP. Present the [data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md)\nconfirmation card and wait.** History rewrite + force-push is the most\ndestructive operation in this skill: it permanently discards every prior\nversion of the purged paths from the remote. Never run it without the card\nanswered. Pre-filled for this operation:\n\n```\n⚠️ DATA DELETION — Confirmation Required\n\nWhat: rewrite git history to remove all prior versions of [purged paths]\n      from the SHARED repo, then force-push to [remote\u002Fbranch]\nCount: [N commits rewritten; M files with history purged]\nSize: [repo size before → expected after]\nLocation: [SHARED repo work dir; remote URL; branch]\nTarget check: this is the SHARED repo, verified ≠ personal sync.repo_path\n      ($PERSONAL) — the personal brain's history is never rewritten\n\nWhy: prior commits contain pre-sanitization versions of pages that were\n     just cleaned — team access to the repo means team access to history\n\nRecoverable?\n- [x] Mirror-clone backup at $BACKUP_PATH\n      (verified: exists, `git -C \"$BACKUP_PATH\" log` works)\n- [ ] NOT recoverable from the rewritten remote — old SHAs become unreachable\n\nWhat we'd lose:\n- all pre-sanitization history for the purged paths (edit trail, blame,\n  old versions)\n- every existing clone breaks — all collaborators must re-clone\n\nAlternative to deletion:\n- fresh-history export to a NEW team repo (Step 0) — personal repo untouched\n\nProceed? (yes\u002Fno)\n```\n\nPer data-loss-gate: require a typed **\"yes\"** or **\"do it\"** (\"ok\", \"sure\",\n\"go ahead\" are not consent). If the user asks a question, answer and re-present\nthe card. Nothing in gbrain mechanically blocks `git filter-repo`, so the\nagent must never skip this gate.\n\n**Step 3 — purge (only after the explicit typed yes).** Requires\n`git filter-repo` (not bundled with git; install separately). **Run this ONLY\nin the shared-repo work dir from Step 1 (`cd \"$WORK\u002Fshared\"`). NEVER run\n`git filter-repo` or `git push --force` in `sync.repo_path` — the personal \u003C!-- gbrain-allow-shared-tree-git: warns against a force push in the personal brain -->\nbrain's history must stay intact.** The commands below reuse `$WORK` and\n`$BACKUP_PATH` from Step 1; they never recompute a date-stamped path.\n\n```bash\ncd \"$WORK\u002Fshared\"\n[ \"$(git rev-parse --show-toplevel)\" != \"$PERSONAL\" ] \\\n  || { echo \"target IS sync.repo_path — ABORT, do not filter-repo\"; exit 1; }\n\n# The purge list is the COMPLETE set of scanned dirs (Phases 1-4); a narrower\n# list leaves old history alive. Backed-up, filtered and re-added sets match.\nPURGE_DIRS=\"people meetings daily companies projects analysis\"\n\n# Back up the clean tree of every purged path to a DURABLE carrier (never \u002Ftmp).\nCLEAN=\"$WORK\u002Fclean\"\nmkdir -p \"$CLEAN\"\nfor d in $PURGE_DIRS; do\n  [ -d \"$d\" ] || continue\n  mkdir -p \"$CLEAN\u002F$d\" && cp -r \"$d\u002F.\" \"$CLEAN\u002F$d\u002F\"\ndone\n\n# Rewrite history: one --path per purged directory\nrm -rf .git\u002Ffilter-repo\ngit filter-repo --invert-paths $(for d in $PURGE_DIRS; do printf -- '--path %s\u002F ' \"$d\"; done) --force\n\n# Restore clean files and re-commit as a single new commit — same $PURGE_DIRS\nfor d in $PURGE_DIRS; do\n  [ -d \"$CLEAN\u002F$d\" ] || continue\n  mkdir -p \"$d\" && cp -r \"$CLEAN\u002F$d\u002F.\" \"$d\u002F\"\ndone\ngit remote add origin \u003CSHARED_REPO_URL>   # filter-repo removes remotes\nfor d in $PURGE_DIRS; do [ -d \"$d\" ] && git add \"$d\u002F\"; done\ngit commit -m \"Re-add sanitized directories\"\n\n# VERIFY RESTORE COMPLETENESS before the irreversible push.\nbefore=$(find \"$CLEAN\" -type f | wc -l | tr -d ' ')\nafter=$(for d in $PURGE_DIRS; do [ -d \"$d\" ] && find \"$d\" -type f; done | wc -l | tr -d ' ')\n[ \"$before\" = \"$after\" ] \\\n  || { echo \"restore incomplete ($before → $after files) — ABORT, do not force-push\"; exit 1; }\n# Optional stronger check: diff -r \"$CLEAN\u002F\u003Cd>\" \"\u003Cd>\" for each purged dir.\n\n# RE-VERIFY the backup right before the irreversible step (reuse $BACKUP_PATH).\ngit -C \"$BACKUP_PATH\" log -1 >\u002Fdev\u002Fnull \\\n  || { echo \"backup missing\u002Funreadable — ABORT, do not force-push\"; exit 1; }\n\ngit push --force origin main  # gbrain-allow-shared-tree-git: the confirmed history purge of a private single-writer clone (data-loss-gate answered)\n```\n\n**Step 4 — log it (to the PERSONAL brain, NEVER the shared repo).** Per\ndata-loss-gate, append the deletion under `## Data Deletions` in\n`$PERSONAL\u002Fdaily\u002Fnotes\u002FYYYY-MM-DD.md` (or a local ops log): timestamp, purged\npaths, commit counts, and `$BACKUP_PATH` as the recovery line. In the shared\nrepo it would show the team which paths held sensitive content and where the\nbackup lives.\n\n**After the force push:**\n\n- All existing clones must re-clone\n- Hosts may cache unreachable commits for months; use the provider's\n  sensitive-data removal process for immediate removal (for private repos,\n  unreachable from every ref is usually enough)\n- A sync cursor on a rewritten-away SHA makes the next `gbrain sync` error or\n  rescan fully; run `gbrain doctor` if it doesn't settle\n- **Backup retention:** once the team has re-cloned and sync settled, keep the\n  mirror backup ~30 days, then delete it (it holds the pre-sanitization\n  history): `rm -rf ~\u002F.gbrain\u002Fbackups\u002Fshared-brain-history-backup-\u003Cdate>.git`,\n  with the exact name Step 1 created (a mismatched name deletes nothing)\n- Re-verify remotes and any push hooks survived the rewrite before handoff\n\n**Hand the repo to the team — stamp it shared first.** On either path, run\n`gbrain config set brain.audience shared` against the TEAM brain (never the\npersonal one), so the ambient writeback consent nudge, a personal-brain ask,\nnever fires on it. A team member who runs `gbrain init` before the stamp\nexists prefixes that command with `GBRAIN_NO_ONBOARD_NUDGE=1`: an un-stamped\nbrain classifies personal and the fire-once nudge would ask the wrong question.\n\n### Phase 6: Ongoing hygiene — periodic re-audit\n\nSensitive data re-accumulates (meeting transcripts, enrichment, candid\nwrites); one clean pass is a snapshot, not a state. Schedule a monthly re-audit\n(weekly for high-ingest brains) that re-runs Phases 1, 2 and 4 report-only\n(scan and flag, no edits) for human review. Wire it per\n[conventions\u002Fcron-via-minions.md](..\u002Fconventions\u002Fcron-via-minions.md) (`gbrain jobs submit`;\n`skills\u002Fcron-scheduler\u002FSKILL.md`, `skills\u002Fminion-orchestrator\u002FSKILL.md`). A\nhuman or a gated follow-up run does the removal.\n\n## Scaling Notes\n\n- **\u003C 20 files:** process sequentially in one pass\n- **20-50 files:** 2-3 parallel subagents\n- **50-150 files:** 8-12 parallel subagents, batches of 10-15\n- **150+ files:** scripted pattern removal for the rote cases only\n  (frontmatter fields, phone numbers — machine-emitted shapes, per\n  regex-discipline) + subagents for everything needing judgment\n\n## Edge Cases\n\n- **Founders vs. employees:** founder\u002Fexec pages often carry the most\n  sensitive content (board dynamics, investor relationships, assessments of\n  their own team). These need the most careful review.\n- **Meeting notes:** meeting pages referencing employee performance need the\n  same treatment as people pages — they are in scope, not an afterthought.\n- **Cross-references:** `gbrain check-backlinks check` plus a grep for the\n  removed section titles across meetings, companies and dailies.\n- **Aliases and nicknames:** grep for the person's short name and initials,\n  not just the slug — candid content rarely uses full names.\n\n## Dedup (sharp boundaries)\n\n- **[data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md)** supplies the card and the\n  explicit-yes rule; this skill calls it at Phase 3 and Phase 5. A standalone\n  \"delete\u002Fpurge\u002Fclean up X\" routes there; the personal→team WORKFLOW routes here.\n- **[publish](..\u002Fpublish\u002FSKILL.md)** shares ONE page as encrypted HTML (\"share\n  this page\"); \"share my brain with the team\" routes here.\n- **[maintain](..\u002Fmaintain\u002FSKILL.md)** checks the brain is HEALTHY; this skill\n  checks it is SAFE TO SHARE.\n- **frontmatter-guard (host-side)** validates frontmatter SHAPE; run it after a\n  large pass to confirm the stripped frontmatter still parses.\n\n## Contract\n\nThis skill guarantees:\n\n- Both destructive steps, Phase 3 (bulk strip + take\u002Ffact removal) and Phase 5\n  (history purge + force-push), fire the data-loss-gate card and wait for a\n  typed \"yes\"\u002F\"do it\". Nothing in the runtime blocks a skipped gate, so\n  skipping it is this skill's cardinal violation.\n- Phase 3 sanitizes a STAGING COPY by default; in-place edits are only for\n  re-auditing an existing shared brain.\n- The history purge runs only on the SHARED repo in a work dir, never\n  `sync.repo_path`, after a verified mirror-clone backup and before the\n  force-push a restore-completeness check. Its filter list and restore set are\n  the complete sanitized scope.\n- The scan covers people, meetings, dailies, companies, projects, analysis,\n  takes, facts and back-links; the export ships only scanned directories,\n  verified (Phase 4 greps + retrieval) before the first push.\n- Sensitive fact rows are deleted from the Facts fence and, in place,\n  re-synced and reconciled (verified with `gbrain recall --grep`); `forget`\n  never certifies clean.\n- Every strip decision is a per-file judgment on a full read; grep only\n  triages and verifies.\n- Deletions are logged under `## Data Deletions` in the PERSONAL brain's\n  `daily\u002Fnotes\u002FYYYY-MM-DD.md` (or a local ops log), never the shared repo,\n  with the backup path as the recovery line.\n- The team brain is stamped `brain.audience=shared` at handoff, so it never\n  gets the personal writeback consent nudge.\n- Routing matches the frontmatter triggers; output stays under `writes_to:`;\n  no real names, fork-specific paths or upstream-fork references.\n\n## Output Format\n\nThree artifacts:\n\n1. **The sanitization report** (every run, including report-only re-audits):\n\n```markdown\n## Brainify Report — YYYY-MM-DD\n\n- Scope: [N files scanned across people\u002F, meetings\u002F, daily\u002F, ...]\n- Flagged: [M files with hits] (triage list attached)\n- Edited: [K files sanitized; T takes removed; F fact rows removed + re-synced + facts index reconciled]\n- Verification: [grep residuals: 0 confirmed-sensitive; retrieval checks: clean]\n- History: [not purged | fresh-export | purged after confirmed gate — backup at \u003Cpath>]\n- Next re-audit: [date \u002F cron slot]\n```\n\n2. **The confirmation card** (Phases 3 and 5) — the pre-filled fenced card,\n   presented before the bulk destructive edits (Phase 3) and before any history\n   rewrite (Phase 5); the turn stops until the user answers.\n3. **The deletion log entry** (post-purge only) — appended to the PERSONAL\n   brain's `daily\u002Fnotes\u002FYYYY-MM-DD.md` (never the shared repo) per\n   data-loss-gate Step 4.\n\n## When it fails\n\nFollow the [agent operator protocol](..\u002Fconventions\u002Fagent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:\n\n- A bulk redaction or delete needs the data-loss-gate card; if the CLI exits 3 or asks for confirmation, stop and show the user the recoverability card first.\n- The retrieval-first scope scan is empty with a degraded notice: keyword-only search under-counts sensitive pages. Keep the structural pass and tell the user the scan was keyword-only.\n- `forget` \u002F `put_page` returns `write_pending` (exit 10): poll `gbrain write-request \u003Crequest_id>`; do not report a page sanitized until its receipt commits.\n\n## Anti-Patterns\n\n- ❌ Scanning only `people\u002F`, or purging history for a subset of the sanitized\n  paths\n- ❌ Calling clean working-tree files done: history keeps every version\n- ❌ Exporting the whole repo: nothing unscanned ships\n- ❌ Using `gbrain forget` as sanitization: delete the fence row and re-sync\n- ❌ `git filter-repo` \u002F force-push without the verified mirror backup and the\n  typed confirmation, or in `sync.repo_path`\n- ❌ Stripping the personal brain in place to stand up a NEW team brain\n- ❌ Bulk edits or take\u002Ffact removal without the Phase 3 card\n- ❌ Writing the deletion log into the shared repo\n- ❌ Letting grep judge sensitivity, or tightening patterns to kill false\n  positives: confirm each hit by reading\n- ❌ Removing the attribution but keeping the take: remove the whole row\n- ❌ Bulk-editing 150 files without a 3-5 file test first\n","# company-brainify — Personal → Team-Brain Sanitization\n\n> **Conventions:** [brain-first](..\u002Fconventions\u002Fbrain-first.md) (discovery runs\n> through the brain's retrieval; greps only triage),\n> [test-before-bulk](..\u002Fconventions\u002Ftest-before-bulk.md) (sanitize 3-5 files,\n> read them, then ramp: a bad bulk pass looks done and isn't),\n> [regex-discipline](..\u002Fconventions\u002Fregex-discipline.md) (\"is this sensitive?\"\n> is the model's per-file judgment; patterns never judge) and\n> [_brain-filing-rules.md](..\u002F_brain-filing-rules.md) (edits stay in the page's\n> directory; the deletion log is date-keyed under `daily\u002F`).\n\n## The Problem\n\nA personal brain holds company knowledge next to internal assessments,\ncompensation, management strategy and candid opinions about colleagues. A\nshared team brain built from it (topology: `docs\u002Farchitecture\u002Fbrains-and-sources.md`)\nkeeps the knowledge and drops the sensitive metadata. Clean working-tree files\nare NOT enough: git history keeps every pre-sanitization version, and\ntakes\u002Ffacts carry evaluative claims outside the prose. This skill covers all\nthree surfaces: pages, takes\u002Ffacts, and history.\n\n## When to Use\n\nConnecting or indexing an existing company repository without editing it is not\nsanitization. For “connect our company brain” or “import an existing company\nbrain,” use the migrate (host-side) company workflow. On the trusted brain host,\nstart with `gbrain sources inspect \u003Cpath> --profile company-brain`; follow\n`docs\u002Fguides\u002Fcompany-brain-ingestion.md` for destination preview and approval.\nDo not strip metadata or purge history merely to make an existing repository\nsearchable.\n\n- Standing up a shared company brain from a founder\u002Fexec's personal brain\n- Auditing an existing shared brain for sensitive content that shouldn't be there\n- Onboarding new team members to a brain repo that must be verified clean first\n- Periodic hygiene pass on a shared brain that re-accumulates sensitive data\n\n## What Gets Removed\n\n### Always strip (non-negotiable)\n\n| Category | Examples |\n|----------|----------|\n| **Internal scores\u002Fratings** | `score:`, `rating:`, `skill:`, or any vertical-specific `*_score:` frontmatter field; any numeric rating of a person |\n| **Compensation** | Salary, equity, carry, option grants, comp changes, retention packages |\n| **Performance assessments** | Strengths\u002Fweaknesses sections about employees, \"at risk\" flags, underperformance mentions, \"picking up slack\" references |\n| **Departure\u002Fretention** | Who's considering leaving, who was convinced to stay, departure rumors, retention conversations |\n| **Management strategy** | How-to-manage-someone sections, \"the hard conversation\" notes, scope\u002Ftitle management plans |\n| **Internal political dynamics** | Who doesn't like whom, who's nervous about whom, adversarial relationships, power dynamics |\n| **Personal PII** | Phone numbers, personal email addresses, home addresses, family or medical details, personal legal matters, personal-life details |\n| **Takes\u002Ffacts** | Any take or fact referencing the above categories — performance, comp, retention, weakness, management risk. Fact rows are DELETED from the page's Facts fence, never merely expired with `gbrain forget` |\n\n### Always keep\n\n| Category | Examples |\n|----------|----------|\n| **Professional identity** | Name, role, title, work email, LinkedIn |\n| **What they're building** | Current projects, product work, technical contributions |\n| **Career arc** | Prior companies, education, professional background (public info) |\n| **Professional beliefs** | Their views on technology, strategy, product philosophy |\n| **Timeline of work** | Meeting attendance, project milestones, launches (factual, not evaluative) |\n| **Skills\u002Fexpertise** | Technical capabilities, domain knowledge |\n\n## Scan Scope — Wider Than people\u002F\n\nSensitive content leaks far beyond people pages. The scan scope is:\n\n- `people\u002F` — the primary surface (frontmatter fields, assessment sections)\n- `meetings\u002F` — transcripts and minutes with candid assessments\n- `daily\u002F` — daily notes referencing comp\u002Fperformance\u002Fretention conversations\n- `companies\u002F`, `projects\u002F`, `analysis\u002F` — cross-references to removed content\n- **Takes** — evaluative claims in page takes fences (`gbrain takes search`)\n- **Facts** — hot-memory facts (`gbrain recall --grep`)\n- **Back-links** — after edits, `gbrain check-backlinks check` confirms no page\n  still points at removed sections\n\nA pass that only covers `people\u002F` will certify a brain that still leaks.\n\n## Procedure\n\nAll paths below are relative to the brain repo root:\n\n```bash\nBRAIN=\"$(gbrain config get sync.repo_path)\"\ncd \"$BRAIN\"\n```\n\n### Phase 1: Identify scope (retrieval-first)\n\n1. Retrieval discovery — hybrid search catches judgment-shaped content that no\n   keyword pattern will:\n\n   ```bash\n   gbrain query \"compensation, equity, or salary discussions about team members\" --limit 50\n   gbrain query \"performance concerns, underperformance, or who is struggling\" --limit 50\n   gbrain query \"considering leaving, retention conversations, departure rumors\" --limit 50\n   gbrain takes search \"performance\" --limit 50\n   gbrain recall --grep \"salary\"\n   ```\n\n   Resolve every returned slug to its repo-relative file path and write the\n   paths into `\u002Ftmp\u002Fbrainify-scope.txt` (one per line). This file is the\n   scope list; the structural pass below APPENDS to it — nothing later in\n   the procedure may truncate it, or the retrieval-discovered pages\n   silently drop out of scope.\n\n2. Structural discovery — people files that belong to the company, plus\n   keyword hits across the wider scan scope:\n\n   ```bash\n   grep -rli 'company: *\"acme-example\"' people\u002F --include=\"*.md\" | sort >> \u002Ftmp\u002Fbrainify-scope.txt\n   grep -rli -E 'salary|equity|carry|retention|underperform|performance review|hard conversation' \\\n     meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull >> \u002Ftmp\u002Fbrainify-scope.txt\n   sort -u -o \u002Ftmp\u002Fbrainify-scope.txt \u002Ftmp\u002Fbrainify-scope.txt\n   ```\n\n3. Cross-reference against the company's public people page (website,\n   LinkedIn) to catch files using different frontmatter conventions.\n\n4. Count: `wc -l \u002Ftmp\u002Fbrainify-scope.txt`\n\n### Phase 2: Triage sensitivity\n\nPrioritize by hit density (portable `grep -E`; no `\\b` — BSD and GNU disagree):\n\n```bash\nwhile read -r f; do\n  hits=$(grep -c -i -E 'carry|salary|equity|comp change|departure|considering leaving|retention|underperform|picking up slack|performance review|management risk|hard conversation|nervou|score: *[0-9]|firing|fired|pip|probation|weakness' \"$f\" 2>\u002Fdev\u002Fnull || true)\n  [ \"${hits:-0}\" -gt 0 ] && echo \"$hits $f\"\ndone \u003C \u002Ftmp\u002Fbrainify-scope.txt | sort -rn > \u002Ftmp\u002Fbrainify-triage.txt\n```\n\nHigh-hit files need full judgment passes. Zero-hit files may only need\nfrontmatter field removal — but they still get read (regex triages, the model\njudges).\n\n### Phase 3: Sanitize (STAGING COPY preferred; test first, then parallel)\n\nPhase 3 is destructive: it strips content across many files, removes takes,\nand deletes fact rows. Two rules govern it.\n\n**Choose the target FIRST — copy, don't mutate the personal brain.**\n\n- **Standing up a NEW team brain (default, preferred):** sanitize a STAGING\n  COPY of the scanned directories, never the personal brain in place. The\n  founder's personal brain is SUPPOSED to keep comp, performance, and candid\n  notes — stripping them from the personal working tree destroys valuable\n  private data. Copy the Phase-1 scope into a durable staging dir and edit\n  THAT; Phase 5 Step 0 exports from the staging copy. Blast radius: none on the\n  personal brain.\n\n  ```bash\n  # Durable staging dir (NOT \u002Ftmp — same reasoning as the mirror backup).\n  STAGING=\"$HOME\u002F.gbrain\u002Fbackups\u002Fbrainify-staging-$(date +%Y%m%d-%H%M%S)\"\n  mkdir -p \"$STAGING\" && chmod 700 \"$STAGING\"\n  for d in people meetings daily companies projects analysis; do\n    [ -d \"$d\" ] && rsync -a \"$d\u002F\" \"$STAGING\u002F$d\u002F\"\n  done\n  cd \"$STAGING\"   # all edits below happen here, not in sync.repo_path\n  ```\n\n- **Re-auditing an EXISTING shared brain:** the shared brain IS the target, so\n  edits are in place on the SHARED repo (cd into the shared repo, never the\n  personal `sync.repo_path`). Fact-row removal + re-sync applies to the shared\n  source's DB.\n\n**Fire the [data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md) confirmation card\nBEFORE the bulk destructive edits begin.** Both targets are destructive (the\ncopy path removes content from the tree destined for the team; the in-place\npath removes content from a live brain). Pre-filled for Phase 3:\n\n```\n⚠️ DATA DELETION — Confirmation Required\n\nWhat: strip sensitive content, remove takes, and delete fact rows across\n      [N files] in [STAGING COPY at \u003Cpath>  |  the SHARED brain in place]\nCount: [N files edited; T takes removed; F fact rows removed]\nLocation: [staging path OR shared repo path] — NOT the personal sync.repo_path\n          on the staging path\n\nWhy: preparing a sanitized tree for team access\n\nRecoverable?\n- [x] Personal brain untouched (staging-copy path) — re-copy to redo\n- [ ] In-place shared-brain path: edits overwrite the live tree; git history is\n      the recovery line until Phase 5 purges it\n\nProceed? (yes\u002Fno)\n```\n\nRequire a typed \"yes\"\u002F\"do it\" per data-loss-gate; \"ok\"\u002F\"sure\" are not consent.\n\nPer test-before-bulk: do 3-5 files first, read the results, then ramp. For\nlarge sets (50+ files), batch into groups of 10-12 and spawn parallel\nsubagents. Per file:\n\n1. Read the file completely\n2. Remove all content matching the \"Always strip\" categories\n3. Frontmatter: delete rating\u002Fcomp field lines entirely\n4. Sections: remove entire sections (assessment weaknesses, team dynamics,\n   management strategy)\n5. Takes and Facts fences: remove entire rows that reference sensitive\n   categories — a take like \"alice-example believes charlie-example is\n   underperforming\" reveals both the opinion and who holds it; remove the\n   whole row, never just the attribution\n6. Inline mentions: surgically edit sentences\u002Fparagraphs\n7. Write the cleaned file back\n\nUse `Edit` for surgical removal of a few sections; `Write` the whole file\nonly when sensitive content is interwoven throughout.\n\n**Facts: `forget` is NOT removal.** `gbrain forget \u003Cfact-id>` only expires a\nfact: the row stays struck through in the Facts fence and the DB still serves\nit via `--include-expired`. Find sensitive facts (`gbrain recall --grep`) and\ndelete the row from the page's Facts fence (step 5), like a take.\n\n- **Staging-copy path:** editing the copied markdown is the removal; the team\n  DB is built fresh from the export in Phase 5 Step 0.\n- **In-place shared-brain path:** run `gbrain sync` (re-imports the page), then\n  reconcile the facts index: sync's convergence contract covers page import\n  only (`src\u002Fcommands\u002Fsync.ts`, \"CONVERGENCE CONTRACT\"), so the DB serves the\n  deleted row until the extract-facts reconcile runs. Trigger it (`gbrain sweep`,\n  or wait for the serve-resident sweep) and confirm with `gbrain recall --grep`\n  that the row is gone.\n\nEither way, run `gbrain check-backlinks check` for pages still pointing at\nremoved content.\n\n### Phase 4: Verify\n\nRe-run the Phase 2 triage — the count of flagged files should drop to\n(near-)zero. Then targeted greps:\n\n```bash\n# Rating fields remaining in frontmatter\ngrep -rn -E '^[a-z_]*(score|rating|skill)[a-z_]*: *[0-9]' people\u002F --include=\"*.md\"\n\n# Phone numbers\ngrep -rn -E '\\+1[0-9]{10}|\\([0-9]{3}\\) [0-9]{3}-[0-9]{4}' people\u002F --include=\"*.md\"\n\n# Comp keywords (full scan scope, not just people\u002F)\ngrep -rin -E 'carry|comp change|equity|salary' people\u002F meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull\n\n# Management\u002Fperformance\ngrep -rin -E 'considering leaving|departure rumor|underperform|picking up slack|hard conversation' people\u002F meetings\u002F daily\u002F companies\u002F projects\u002F analysis\u002F --include=\"*.md\" 2>\u002Fdev\u002Fnull\n```\n\nFalse positives (e.g. \"carry the torch\") are fine — manually confirm each\nremaining hit rather than tightening the pattern (regex-discipline).\n\n**Verify the tree that ships:** `$STAGING` on the staging-copy path (the\npersonal tree doesn't ship, so certifying it proves nothing), the shared repo's\ntree on an in-place re-audit.\n\nThen the strongest check — the retrieval the team will actually use. Against\nthe sanitized brain\u002Fsource (scope with `--source \u003Cteam-source-id>` when the\nshared source is mounted alongside personal content):\n\n```bash\ngbrain query \"what is alice-example's compensation\" --limit 10\ngbrain query \"who is underperforming or at risk of leaving\" --limit 10\ngbrain takes search \"weakness\" --limit 20\n```\n\nEvery one of these must come back empty or with only keep-category content.\n\n### Phase 5: Commit and purge history — GATED\n\nClean files aren't enough if the repo has history: old commits still contain\nthe sensitive versions.\n\n**Step 0 — preferred alternative (non-destructive).** When standing up a NEW\nteam repo, skip history rewriting entirely: the sanitized STAGING tree from\nPhase 3 becomes a fresh repo with fresh history. The personal repo keeps its\nfull history AND its full working tree, untouched.\n\n**Export rule: nothing unscanned ships.** Phase 3 copied ONLY the scanned\ndirectories into `$STAGING`, so it holds nothing the pass didn't read. Never\ncopy other directories in (`conversations\u002F`, `originals\u002F`, `sources\u002F`,\n`inbox\u002F`): a whole-repo copy is the classic leak. To ship a new directory, add\nit to the scan scope first (Phases 1-4).\n\n```bash\n# The sanitized staging tree IS the export.\ncd \"$STAGING\"\n\n# Re-run the Phase 4 verification greps + retrieval checks INSIDE $STAGING —\n# the staging tree is what ships, and it is the tree that must certify clean.\n# ... Phase 4 greps against $STAGING ...\n\ngit init -b main\ngit add -A && git commit -m \"Initial import — sanitized team brain\"  # gbrain-allow-shared-tree-git: first commit of a fresh single-writer export repo\ngit remote add origin \u003CTEAM_REPO_URL>\ngbrain git commit-push --push-only\n```\n\nThe first commit is plain git because `$STAGING` is a brand-new repo only\nthis run writes. `gbrain git commit-push --push-only` pushes to `origin\u002Fmain`\nand fails loudly if the push does not land. On a non-zero exit, stop and relay\nthe error: usually `git_push_unavailable` (fix the URL or credentials, rerun),\nor a team repo that already has commits (this export needs an empty one; ask\nthe user). Never force-push it.\n\nOnly when a shared repo ALREADY exists with sensitive history in it do you\nneed the purge below.\n\n**Step 1 — target the SHARED repo, commit the clean tree, then mirror-clone.**\nThe purge runs on the SHARED repo, NEVER `sync.repo_path` (the personal\nbrain). Clone it to a durable work dir, stay there for every step below, and\nassert the target is not the personal repo first.\n\n```bash\nPERSONAL=\"$(gbrain config get sync.repo_path)\"\nmkdir -p \"$HOME\u002F.gbrain\u002Fbackups\" && chmod 700 \"$HOME\u002F.gbrain\u002Fbackups\"\nWORK=\"$HOME\u002F.gbrain\u002Fbackups\u002Fbrainify-purge-$(date +%Y%m%d-%H%M%S)\"\ngit clone \u003CSHARED_REPO_URL> \"$WORK\u002Fshared\"\ncd \"$WORK\u002Fshared\"\n[ \"$(git rev-parse --show-toplevel)\" != \"$PERSONAL\" ] \\\n  || { echo \"target IS sync.repo_path (personal brain) — ABORT\"; exit 1; }\n\n# Commit the sanitized tree BEFORE the mirror clone: a mirror captures\n# committed state only, and pushing it stops the remote serving the sensitive\n# current versions even if the purge is declined. Commit only the sanitized\n# dirs. Non-zero exit: retry once on commit_lock_busy; on integrate_conflict\n# ask the user before going on.\nfor d in people meetings daily companies projects analysis; do\n  [ -d \"$STAGING\u002F$d\" ] && rsync -a \"$STAGING\u002F$d\u002F\" \".\u002F$d\u002F\"   # or sanitize in place here\ndone\nSANITIZED=\"\"\nfor d in people meetings daily companies projects analysis; do [ -d \"$d\" ] && SANITIZED=\"$SANITIZED $d\"; done\ngbrain git commit-push -m \"Sanitize: strip sensitive content before history purge\" -- $SANITIZED\n\n# Mirror-clone backup = the card's recoverability line. Capture the path NOW\n# and reuse it verbatim: never recompute $(date) later.\nBACKUP_PATH=\"$HOME\u002F.gbrain\u002Fbackups\u002Fshared-brain-history-backup-$(date +%Y%m%d-%H%M%S).git\"\ngit clone --mirror \"$WORK\u002Fshared\" \"$BACKUP_PATH\"\ngit -C \"$BACKUP_PATH\" log -1 >\u002Fdev\u002Fnull || { echo \"backup unreadable — ABORT\"; exit 1; }\n```\n\nVerify the mirror exists and reads before presenting the card — it is the\ncard's recoverability line.\n\n**Step 2 — STOP. Present the [data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md)\nconfirmation card and wait.** History rewrite + force-push is the most\ndestructive operation in this skill: it permanently discards every prior\nversion of the purged paths from the remote. Never run it without the card\nanswered. Pre-filled for this operation:\n\n```\n⚠️ DATA DELETION — Confirmation Required\n\nWhat: rewrite git history to remove all prior versions of [purged paths]\n      from the SHARED repo, then force-push to [remote\u002Fbranch]\nCount: [N commits rewritten; M files with history purged]\nSize: [repo size before → expected after]\nLocation: [SHARED repo work dir; remote URL; branch]\nTarget check: this is the SHARED repo, verified ≠ personal sync.repo_path\n      ($PERSONAL) — the personal brain's history is never rewritten\n\nWhy: prior commits contain pre-sanitization versions of pages that were\n     just cleaned — team access to the repo means team access to history\n\nRecoverable?\n- [x] Mirror-clone backup at $BACKUP_PATH\n      (verified: exists, `git -C \"$BACKUP_PATH\" log` works)\n- [ ] NOT recoverable from the rewritten remote — old SHAs become unreachable\n\nWhat we'd lose:\n- all pre-sanitization history for the purged paths (edit trail, blame,\n  old versions)\n- every existing clone breaks — all collaborators must re-clone\n\nAlternative to deletion:\n- fresh-history export to a NEW team repo (Step 0) — personal repo untouched\n\nProceed? (yes\u002Fno)\n```\n\nPer data-loss-gate: require a typed **\"yes\"** or **\"do it\"** (\"ok\", \"sure\",\n\"go ahead\" are not consent). If the user asks a question, answer and re-present\nthe card. Nothing in gbrain mechanically blocks `git filter-repo`, so the\nagent must never skip this gate.\n\n**Step 3 — purge (only after the explicit typed yes).** Requires\n`git filter-repo` (not bundled with git; install separately). **Run this ONLY\nin the shared-repo work dir from Step 1 (`cd \"$WORK\u002Fshared\"`). NEVER run\n`git filter-repo` or `git push --force` in `sync.repo_path` — the personal \u003C!-- gbrain-allow-shared-tree-git: warns against a force push in the personal brain -->\nbrain's history must stay intact.** The commands below reuse `$WORK` and\n`$BACKUP_PATH` from Step 1; they never recompute a date-stamped path.\n\n```bash\ncd \"$WORK\u002Fshared\"\n[ \"$(git rev-parse --show-toplevel)\" != \"$PERSONAL\" ] \\\n  || { echo \"target IS sync.repo_path — ABORT, do not filter-repo\"; exit 1; }\n\n# The purge list is the COMPLETE set of scanned dirs (Phases 1-4); a narrower\n# list leaves old history alive. Backed-up, filtered and re-added sets match.\nPURGE_DIRS=\"people meetings daily companies projects analysis\"\n\n# Back up the clean tree of every purged path to a DURABLE carrier (never \u002Ftmp).\nCLEAN=\"$WORK\u002Fclean\"\nmkdir -p \"$CLEAN\"\nfor d in $PURGE_DIRS; do\n  [ -d \"$d\" ] || continue\n  mkdir -p \"$CLEAN\u002F$d\" && cp -r \"$d\u002F.\" \"$CLEAN\u002F$d\u002F\"\ndone\n\n# Rewrite history: one --path per purged directory\nrm -rf .git\u002Ffilter-repo\ngit filter-repo --invert-paths $(for d in $PURGE_DIRS; do printf -- '--path %s\u002F ' \"$d\"; done) --force\n\n# Restore clean files and re-commit as a single new commit — same $PURGE_DIRS\nfor d in $PURGE_DIRS; do\n  [ -d \"$CLEAN\u002F$d\" ] || continue\n  mkdir -p \"$d\" && cp -r \"$CLEAN\u002F$d\u002F.\" \"$d\u002F\"\ndone\ngit remote add origin \u003CSHARED_REPO_URL>   # filter-repo removes remotes\nfor d in $PURGE_DIRS; do [ -d \"$d\" ] && git add \"$d\u002F\"; done\ngit commit -m \"Re-add sanitized directories\"\n\n# VERIFY RESTORE COMPLETENESS before the irreversible push.\nbefore=$(find \"$CLEAN\" -type f | wc -l | tr -d ' ')\nafter=$(for d in $PURGE_DIRS; do [ -d \"$d\" ] && find \"$d\" -type f; done | wc -l | tr -d ' ')\n[ \"$before\" = \"$after\" ] \\\n  || { echo \"restore incomplete ($before → $after files) — ABORT, do not force-push\"; exit 1; }\n# Optional stronger check: diff -r \"$CLEAN\u002F\u003Cd>\" \"\u003Cd>\" for each purged dir.\n\n# RE-VERIFY the backup right before the irreversible step (reuse $BACKUP_PATH).\ngit -C \"$BACKUP_PATH\" log -1 >\u002Fdev\u002Fnull \\\n  || { echo \"backup missing\u002Funreadable — ABORT, do not force-push\"; exit 1; }\n\ngit push --force origin main  # gbrain-allow-shared-tree-git: the confirmed history purge of a private single-writer clone (data-loss-gate answered)\n```\n\n**Step 4 — log it (to the PERSONAL brain, NEVER the shared repo).** Per\ndata-loss-gate, append the deletion under `## Data Deletions` in\n`$PERSONAL\u002Fdaily\u002Fnotes\u002FYYYY-MM-DD.md` (or a local ops log): timestamp, purged\npaths, commit counts, and `$BACKUP_PATH` as the recovery line. In the shared\nrepo it would show the team which paths held sensitive content and where the\nbackup lives.\n\n**After the force push:**\n\n- All existing clones must re-clone\n- Hosts may cache unreachable commits for months; use the provider's\n  sensitive-data removal process for immediate removal (for private repos,\n  unreachable from every ref is usually enough)\n- A sync cursor on a rewritten-away SHA makes the next `gbrain sync` error or\n  rescan fully; run `gbrain doctor` if it doesn't settle\n- **Backup retention:** once the team has re-cloned and sync settled, keep the\n  mirror backup ~30 days, then delete it (it holds the pre-sanitization\n  history): `rm -rf ~\u002F.gbrain\u002Fbackups\u002Fshared-brain-history-backup-\u003Cdate>.git`,\n  with the exact name Step 1 created (a mismatched name deletes nothing)\n- Re-verify remotes and any push hooks survived the rewrite before handoff\n\n**Hand the repo to the team — stamp it shared first.** On either path, run\n`gbrain config set brain.audience shared` against the TEAM brain (never the\npersonal one), so the ambient writeback consent nudge, a personal-brain ask,\nnever fires on it. A team member who runs `gbrain init` before the stamp\nexists prefixes that command with `GBRAIN_NO_ONBOARD_NUDGE=1`: an un-stamped\nbrain classifies personal and the fire-once nudge would ask the wrong question.\n\n### Phase 6: Ongoing hygiene — periodic re-audit\n\nSensitive data re-accumulates (meeting transcripts, enrichment, candid\nwrites); one clean pass is a snapshot, not a state. Schedule a monthly re-audit\n(weekly for high-ingest brains) that re-runs Phases 1, 2 and 4 report-only\n(scan and flag, no edits) for human review. Wire it per\n[conventions\u002Fcron-via-minions.md](..\u002Fconventions\u002Fcron-via-minions.md) (`gbrain jobs submit`;\n`skills\u002Fcron-scheduler\u002FSKILL.md`, `skills\u002Fminion-orchestrator\u002FSKILL.md`). A\nhuman or a gated follow-up run does the removal.\n\n## Scaling Notes\n\n- **\u003C 20 files:** process sequentially in one pass\n- **20-50 files:** 2-3 parallel subagents\n- **50-150 files:** 8-12 parallel subagents, batches of 10-15\n- **150+ files:** scripted pattern removal for the rote cases only\n  (frontmatter fields, phone numbers — machine-emitted shapes, per\n  regex-discipline) + subagents for everything needing judgment\n\n## Edge Cases\n\n- **Founders vs. employees:** founder\u002Fexec pages often carry the most\n  sensitive content (board dynamics, investor relationships, assessments of\n  their own team). These need the most careful review.\n- **Meeting notes:** meeting pages referencing employee performance need the\n  same treatment as people pages — they are in scope, not an afterthought.\n- **Cross-references:** `gbrain check-backlinks check` plus a grep for the\n  removed section titles across meetings, companies and dailies.\n- **Aliases and nicknames:** grep for the person's short name and initials,\n  not just the slug — candid content rarely uses full names.\n\n## Dedup (sharp boundaries)\n\n- **[data-loss-gate](..\u002Fdata-loss-gate\u002FSKILL.md)** supplies the card and the\n  explicit-yes rule; this skill calls it at Phase 3 and Phase 5. A standalone\n  \"delete\u002Fpurge\u002Fclean up X\" routes there; the personal→team WORKFLOW routes here.\n- **[publish](..\u002Fpublish\u002FSKILL.md)** shares ONE page as encrypted HTML (\"share\n  this page\"); \"share my brain with the team\" routes here.\n- **[maintain](..\u002Fmaintain\u002FSKILL.md)** checks the brain is HEALTHY; this skill\n  checks it is SAFE TO SHARE.\n- **frontmatter-guard (host-side)** validates frontmatter SHAPE; run it after a\n  large pass to confirm the stripped frontmatter still parses.\n\n## Contract\n\nThis skill guarantees:\n\n- Both destructive steps, Phase 3 (bulk strip + take\u002Ffact removal) and Phase 5\n  (history purge + force-push), fire the data-loss-gate card and wait for a\n  typed \"yes\"\u002F\"do it\". Nothing in the runtime blocks a skipped gate, so\n  skipping it is this skill's cardinal violation.\n- Phase 3 sanitizes a STAGING COPY by default; in-place edits are only for\n  re-auditing an existing shared brain.\n- The history purge runs only on the SHARED repo in a work dir, never\n  `sync.repo_path`, after a verified mirror-clone backup and before the\n  force-push a restore-completeness check. Its filter list and restore set are\n  the complete sanitized scope.\n- The scan covers people, meetings, dailies, companies, projects, analysis,\n  takes, facts and back-links; the export ships only scanned directories,\n  verified (Phase 4 greps + retrieval) before the first push.\n- Sensitive fact rows are deleted from the Facts fence and, in place,\n  re-synced and reconciled (verified with `gbrain recall --grep`); `forget`\n  never certifies clean.\n- Every strip decision is a per-file judgment on a full read; grep only\n  triages and verifies.\n- Deletions are logged under `## Data Deletions` in the PERSONAL brain's\n  `daily\u002Fnotes\u002FYYYY-MM-DD.md` (or a local ops log), never the shared repo,\n  with the backup path as the recovery line.\n- The team brain is stamped `brain.audience=shared` at handoff, so it never\n  gets the personal writeback consent nudge.\n- Routing matches the frontmatter triggers; output stays under `writes_to:`;\n  no real names, fork-specific paths or upstream-fork references.\n\n## Output Format\n\nThree artifacts:\n\n1. **The sanitization report** (every run, including report-only re-audits):\n\n```markdown\n## Brainify Report — YYYY-MM-DD\n\n- Scope: [N files scanned across people\u002F, meetings\u002F, daily\u002F, ...]\n- Flagged: [M files with hits] (triage list attached)\n- Edited: [K files sanitized; T takes removed; F fact rows removed + re-synced + facts index reconciled]\n- Verification: [grep residuals: 0 confirmed-sensitive; retrieval checks: clean]\n- History: [not purged | fresh-export | purged after confirmed gate — backup at \u003Cpath>]\n- Next re-audit: [date \u002F cron slot]\n```\n\n2. **The confirmation card** (Phases 3 and 5) — the pre-filled fenced card,\n   presented before the bulk destructive edits (Phase 3) and before any history\n   rewrite (Phase 5); the turn stops until the user answers.\n3. **The deletion log entry** (post-purge only) — appended to the PERSONAL\n   brain's `daily\u002Fnotes\u002FYYYY-MM-DD.md` (never the shared repo) per\n   data-loss-gate Step 4.\n\n## When it fails\n\nFollow the [agent operator protocol](..\u002Fconventions\u002Fagent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:\n\n- A bulk redaction or delete needs the data-loss-gate card; if the CLI exits 3 or asks for confirmation, stop and show the user the recoverability card first.\n- The retrieval-first scope scan is empty with a degraded notice: keyword-only search under-counts sensitive pages. Keep the structural pass and tell the user the scan was keyword-only.\n- `forget` \u002F `put_page` returns `write_pending` (exit 10): poll `gbrain write-request \u003Crequest_id>`; do not report a page sanitized until its receipt commits.\n\n## Anti-Patterns\n\n- ❌ Scanning only `people\u002F`, or purging history for a subset of the sanitized\n  paths\n- ❌ Calling clean working-tree files done: history keeps every version\n- ❌ Exporting the whole repo: nothing unscanned ships\n- ❌ Using `gbrain forget` as sanitization: delete the fence row and re-sync\n- ❌ `git filter-repo` \u002F force-push without the verified mirror backup and the\n  typed confirmation, or in `sync.repo_path`\n- ❌ Stripping the personal brain in place to stand up a NEW team brain\n- ❌ Bulk edits or take\u002Ffact removal without the Phase 3 card\n- ❌ Writing the deletion log into the shared repo\n- ❌ Letting grep judge sensitivity, or tightening patterns to kill false\n  positives: confirm each hit by reading\n- ❌ Removing the attribution but keeping the take: remove the whole row\n- ❌ Bulk-editing 150 files without a 3-5 file test first\n",{"name":5,"version":44,"mutating":45,"triggers":46,"upstream":56,"writes_to":57,"brain_first":45,"description":64,"writes_pages":45},"1.0.0",true,[47,48,49,50,51,52,53,54,55],"company brain","team brain","brainify","sanitize the brain","share my brain with the team","strip sensitive data from the brain","scrub employee data","audit the shared brain","make the brain safe to share","company-brainify@fc834ee",[58,59,60,61,62,63],"people\u002F","companies\u002F","meetings\u002F","daily\u002F","projects\u002F","analysis\u002F","Extract a sanitized shared team\u002Fcompany brain from a personal brain. Strips internal ratings, compensation, performance assessments, retention and political dynamics from pages, takes, and facts across the full scan scope (people, companies, meetings, dailies, cross-references — not just people\u002F), verifies with grep + retrieval passes, and purges sensitive git history behind the data-loss-gate confirmation card. Also runs as a report-only re-audit on an existing shared brain.\n","master","b3d43b163f634082bf15e8c0f08a0eb0c016380d","skills\u002Fcompany-brainify",4929,"https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain","https:\u002F\u002Fgithub.com\u002Fgarrytan","https:\u002F\u002Fblog.garrytan.com","Writes software, dreams. ","2026-11-15 03:57:03",{"source":8,"skillName":5,"commands":75,"prompt":85,"zipAvailable":45},[76,79,82],{"tool":77,"command":78},"npx","npx skills add garrytan\u002Fgbrain --skill company-brainify",{"tool":80,"command":81},"bunx","bunx skills add garrytan\u002Fgbrain --skill company-brainify",{"tool":83,"command":84},"pnpm","pnpm dlx skills add garrytan\u002Fgbrain --skill company-brainify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Fcompany-brainify\u002FSKILL.md",[87],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"routing-eval.jsonl","OTHER","其他",1428,"https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Fcompany-brainify\u002Frouting-eval.jsonl",[94,102,108,113,118,123],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M7DVD1SVD1CK2S6M5MR0NKVH","beta","Synthetic fixture skill.","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fgood\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":103,"name":104,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":101},"01M7DVD0T1465DP7CGPVNGK5XH","alpha","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fgood\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":109,"name":104,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":101},"01M7DVCZWYBFRTE76082QMZCK8","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":114,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":101},"01M7DVCYYGRM05Z2MWH37CYGHH","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-undeclared\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":119,"name":104,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":101},"01M7DVCXRT85704NBBZ73F59KP","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-undeclared\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":124,"name":104,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":101},"01M7DVCWR4M8HWJVM1CXB7K1VN","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-tool\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]