company-brainify
它能做什么
这项技能为团队制作一份安全的、共享版本的个人知识库。它会移除敏感内容,例如薪酬、绩效评级,以及对他人坦率的个人看法。
适用场景
- ✓当你想分享一个基于个人知识库建立的团队知识库时。
- ✓当你需要在他人查看之前,检查共享知识库中是否有敏感的个人信息时。
- ✓当你想整理一组页面,使同事可以使用时。
技能链接
https://github.com/garrytan/gbrain/blob/master/plugin/skills/company-brainify/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一份适合团队的知识库副本,移除其中任何薪资、评级或对他人的个人看法。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会扫描人员、公司、会议和每日笔记等页面,查找敏感内容。它会删除或改写这些部分,然后通过多轮搜索检查工作,并在完整运行之前手动阅读几个文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
company-brainify — Personal → Team-Brain Sanitization
Convention: see conventions/brain-first.md — discovery runs through the brain's own retrieval, not filesystem guesswork. The grep pipelines below TRIAGE;
gbrain queryfinds what keyword patterns miss.Convention: see conventions/test-before-bulk.md — sanitize 3-5 files, read the output yourself, then ramp. A bad bulk sanitization pass is worse than none: it looks done and isn't.
Convention: see conventions/regex-discipline.md — "is this sensitive?" is a judgment call, so the model decides per file. The grep patterns are earned triage/verification tools, never the judge.
Convention: see _brain-filing-rules.md — edits stay in the page's existing directory; the deletion log files date-keyed under
daily/.
The Problem
Personal brains accumulate everything — company knowledge, meeting notes,
internal assessments, compensation details, management strategy, candid
opinions about the people you work with. When you stand up a shared team
brain from that personal brain (see docs/architecture/brains-and-sources.md
for the team-mount topology), all of that has to go. The knowledge is
valuable; the sensitive metadata is a liability.
Clean working-tree files alone are NOT enough: git history still carries every pre-sanitization version, and gbrain takes/facts carry evaluative claims outside the page prose. This skill handles all three surfaces — pages, takes/facts, and history.
When to Use
Connecting or indexing an existing company repository without editing it is not
sanitization. For “connect our company brain” or “import an existing company
brain,” use the migrate (host-side) company workflow. On the trusted brain host,
start with gbrain sources inspect <path> --profile company-brain; follow
docs/guides/company-brain-ingestion.md for destination preview and approval.
Do not strip metadata or purge history merely to make an existing repository
searchable.
- Standing up a shared company brain from a founder/exec's personal brain
- Auditing an existing shared brain for sensitive content that shouldn't be there
- Onboarding new team members to a brain repo that must be verified clean first
- Periodic hygiene pass on a shared brain that re-accumulates sensitive data
What Gets Removed
Always strip (non-negotiable)
| Category | Examples |
|---|---|
| Internal scores/ratings | score:, rating:, skill:, or any vertical-specific *_score: frontmatter field; any numeric rating of a person |
| Compensation | Salary, equity, carry, option grants, comp changes, retention packages |
| Performance assessments | Strengths/weaknesses sections about employees, "at risk" flags, underperformance mentions, "picking up slack" references |
| Departure/retention | Who's considering leaving, who was convinced to stay, departure rumors, retention conversations |
| Management strategy | How-to-manage-someone sections, "the hard conversation" notes, scope/title management plans |
| Internal political dynamics | Who doesn't like whom, who's nervous about whom, adversarial relationships, power dynamics |
| Personal PII | Phone numbers, personal email addresses, home addresses, family or medical details, personal legal matters, personal-life details |
| Takes/facts | 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 |
Always keep
| Category | Examples |
|---|---|
| Professional identity | Name, role, title, work email, LinkedIn |
| What they're building | Current projects, product work, technical contributions |
| Career arc | Prior companies, education, professional background (public info) |
| Professional beliefs | Their views on technology, strategy, product philosophy |
| Timeline of work | Meeting attendance, project milestones, launches (factual, not evaluative) |
| Skills/expertise | Technical capabilities, domain knowledge |
Scan Scope — Wider Than people/
Sensitive content leaks far beyond people pages. The scan scope is:
people/— the primary surface (frontmatter fields, assessment sections)meetings/— transcripts and minut
常见问题
它会删除我的个人知识库吗?
不会。它会为团队生成一个经过清理的版本,你的个人知识库保持不变。
我能相信它能发现所有内容吗?
它会通过多轮检查核对结果,但建议你在分享之前自己阅读输出内容。
它也会清理 git 历史吗?
会。它可以清除历史中的敏感细节,但需要单独的确认步骤。
详情
作者的原始描述
Extract a sanitized shared team/company 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/), 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.
repo: garrytan/gbrain
热度
- GitHub 星标
- 31k
- 排名
- #9296
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …