Loads and manages company context for all C-suite advisor skills. Reads ~/.claude/company-context.md, detects stale context (>90 days), enriches context during conversations, and enforces privacy/anonymization rules before external API calls. Use when starting any C-suite advisor session, when context looks stale or missing, or before sending company data to an external service.
cd ~/.claude/skills
git clone https://github.com/alirezarezvani/claude-skills.git claude-skills mkdir -p ~/.claude/skills/context-engine
curl -fsSL https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/.gemini/skills/context-engine/SKILL.md \
-o ~/.claude/skills/context-engine/SKILL.md The memory layer for C-suite advisors. Every advisor skill loads this first. Context is what turns generic advice into specific insight.
company context, context loading, context engine, company profile, advisor context, stale context, context refresh, privacy, anonymization
Step 1 — Check for context file: ~/.claude/company-context.md
Step 2 — Check staleness: Read Last updated field.
[STALE — last updated DATE] noted internally.Step 3 — Parse into working memory. Always active:
| 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.”
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:
[CONTEXT UPDATE: {what was learned}]Never silently overwrite. Always confirm before modifying the context file.
Apply references/anonymization-protocol.md:
Handle gracefully — never block the conversation.
Required:
- Last updated (date)
- Company Identity → What we do
- Stage & Scale → Stage
- Founder Profile → Founder archetype
- Current Challenges → Priority #1
- Goals & Ambition → 12-month target
High-value optional:
- Unfair advantage
- Kill-shot risk
- Avoided decision
- Watch list
Missing required fields: note gaps, work around in session, ask in-session only when critical.
references/anonymization-protocol.md — detailed rules for stripping sensitive data before external callsYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions