Company Context Engine
The memory layer for C-suite advisors. Every advisor skill loads this first. Context is what turns generic advice into specific insight.
Keywords
company context, context loading, context engine, company profile, advisor context, stale context, context refresh, privacy, anonymization
Load Protocol (Run at Start of Every C-Suite Session)
Step 1 — Check for context file: ~/.claude/company-context.md
- - Exists → proceed to Step 2
- Missing → prompt: "Run /cs:setup to build your company context — it makes every advisor conversation significantly more useful."
Step 2 — Check staleness: Read Last updated field.
- - < 90 days: Load and proceed.
- ≥ 90 days: Prompt: "Your context is [N] days old. Quick 15-min refresh (/cs:update), or continue with what I have?"
- If continue: load with
[STALE — last updated DATE] noted internally.
Step 3 — Parse into working memory. Always active:
- - Company stage (pre-PMF / scaling / optimizing)
- Founder archetype (product / sales / technical / operator)
- Current #1 challenge
- Runway (as risk signal — never share externally)
- Team size
- Unfair advantage
- 12-month target
Context Quality Signals
| Condition | Confidence | Action |
|---|
| < 30 days, full interview | High | Use directly |
| 30–90 days, update done |
Medium | Use, flag what may have changed |
| > 90 days | Low | Flag stale, prompt refresh |
| Key fields missing | Low | Ask in-session |
| No file | None | Prompt /cs:setup |
If Low: "My context is [stale/incomplete] — I'm assuming [X]. Correct me if I'm wrong."
Context Enrichment
During conversations, you'll learn things not in the file. Capture them.
Triggers: New number or timeline revealed, key person mentioned, priority shift, constraint surfaces.
Protocol:
- 1. Note internally: INLINECODE3
- At session end: "I picked up a few things to add to your context. Want me to update the file?"
- If yes: append to the relevant dimension, update timestamp.
Never silently overwrite. Always confirm before modifying the context file.
Privacy Rules
Never send externally
- - Specific revenue or burn figures
- Customer names
- Employee names (unless publicly known)
- Investor names (unless public)
- Specific runway months
- Watch List contents
Safe to use externally (with anonymization)
- - Stage label
- Team size ranges (1–10, 10–50, 50–200+)
- Industry vertical
- Challenge category
- Market position descriptor
Before any external API call or web search
Apply
references/anonymization-protocol.md:
- - Numbers → ranges or stage-relative descriptors
- Names → roles
- Revenue → percentages or stage labels
- Customers → "Customer A, B, C"
Missing or Partial Context
Handle gracefully — never block the conversation.
- - Missing stage: "Just to calibrate — are you still finding PMF or scaling what works?"
- Missing financials: Use stage + team size to infer. Note the gap.
- Missing founder profile: Infer from conversation style. Mark as inferred.
- Multiple founders: Context reflects the interviewee. Note co-founder perspective may differ.
Required Context Fields
CODEBLOCK0
Missing required fields: note gaps, work around in session, ask in-session only when critical.
References
- -
references/anonymization-protocol.md — detailed rules for stripping sensitive data before external calls
技能名称: context-engine
详细描述:
公司背景引擎
面向高管顾问的记忆层。每个顾问技能都会首先加载此模块。背景信息是将通用建议转化为具体洞察的关键。
关键词
公司背景、背景加载、背景引擎、公司简介、顾问背景、过期背景、背景刷新、隐私、匿名化
加载协议(每次高管会话开始时运行)
步骤1 — 检查背景文件: ~/.claude/company-context.md
- - 存在 → 进入步骤2
- 缺失 → 提示:运行 /cs:setup 来构建你的公司背景——这将使每次顾问对话都显著更有价值。
步骤2 — 检查过期情况: 读取最后更新字段。
- - < 90天: 加载并继续。
- ≥ 90天: 提示:你的背景已过期 [N] 天。快速15分钟刷新 (/cs:update),还是继续使用现有内容?
- 如果继续:内部标记为[已过期 — 最后更新于 日期]后加载。
步骤3 — 解析到工作记忆。 始终激活:
- - 公司阶段(产品市场匹配前 / 规模化 / 优化期)
- 创始人类型(产品型 / 销售型 / 技术型 / 运营型)
- 当前首要挑战
- 资金跑道(作为风险信号 — 绝不对外分享)
- 团队规模
- 独特优势
- 12个月目标
背景质量信号
| 条件 | 置信度 | 操作 |
|---|
| < 30天,完整访谈 | 高 | 直接使用 |
| 30–90天,已更新 |
中 | 使用,标记可能已变化的内容 |
| > 90天 | 低 | 标记过期,提示刷新 |
| 关键字段缺失 | 低 | 在会话中询问 |
| 无文件 | 无 | 提示 /cs:setup |
如果置信度为低:我的背景信息[已过期/不完整]——我假设是[X]。如果我错了请纠正。
背景信息丰富
在对话过程中,你会了解到文件中没有的信息。捕获它们。
触发条件: 出现新数字或时间线、提到关键人物、优先级变化、出现限制条件。
协议:
- 1. 内部记录:[背景更新:{所学内容}]
- 会话结束时:我收集了一些可以添加到你的背景中的信息。需要我更新文件吗?
- 如果同意:追加到相关维度,更新时间戳。
绝不静默覆盖。 在修改背景文件前务必确认。
隐私规则
绝不对外发送
- - 具体收入或烧钱数字
- 客户名称
- 员工姓名(除非公开已知)
- 投资者姓名(除非公开)
- 具体资金跑道月数
- 观察清单内容
可安全对外使用(需匿名化)
- - 阶段标签
- 团队规模范围(1–10、10–50、50–200+)
- 行业垂直领域
- 挑战类别
- 市场定位描述
在任何外部API调用或网络搜索前
应用 references/anonymization-protocol.md:
- - 数字 → 范围或阶段相关描述
- 名称 → 角色
- 收入 → 百分比或阶段标签
- 客户 → 客户A、B、C
缺失或不完整的背景信息
优雅处理——绝不阻塞对话。
- - 缺失阶段: 为了校准——你还在寻找产品市场匹配,还是正在规模化已有的成果?
- 缺失财务信息: 使用阶段+团队规模进行推断。记录缺口。
- 缺失创始人画像: 从对话风格推断。标记为推断。
- 多位创始人: 背景反映受访者。注意联合创始人的观点可能不同。
必需背景字段
必需:
- 最后更新(日期)
- 公司身份 → 我们做什么
- 阶段与规模 → 阶段
- 创始人画像 → 创始人类型
- 当前挑战 → 首要任务
- 目标与抱负 → 12个月目标
高价值可选:
- 独特优势
- 致命风险
- 回避的决策
- 观察清单
缺失必需字段:记录缺口,在会话中灵活处理,仅在关键时在会话中询问。
参考资料
- - references/anonymization-protocol.md — 在外部调用前剥离敏感数据的详细规则