New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Loads and manages company context for all C-suite advisor

Company Context Engine

by alirezarezvani · MIT license · ★ 26,349 on GitHub · updated Aug 30

Company Context Engine cover

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…

---
name: "context-engine"
description: "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."
license: MIT
metadata:
  version: 1.0.0
  author: Alireza Rezvani
  category: c-level
  domain: orchestration
  updated: 2026-03-05
  frameworks: context-loading, anonymization, context-enrichment
---

# 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

Overview

The memory layer for C-suite advisors. Every advisor skill loads this first. Context is what turns generic advice into specific insight.

Manual install (npx, ZIP)
Claude Codenpx skills add alirezarezvani/claude-skills --skill context-engine -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \ | tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/c-level-advisor/skills/context-engine
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/b3db7f1ccfbaacbeb657/context-engine.zip" -OutFile "$env:TEMP\context-engine.zip"; Expand-Archive "$env:TEMP\context-engine.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md4.4 KB
  • references/1 file · 5.6 KB
Read the files here
alirezarezvani/19392f72 files
SKILL.md
Show the full text135 lines

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: [CONTEXT UPDATE: {what was learned}]
  2. At session end: "I picked up a few things to add to your context. Want me to update the file?"
  3. 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

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

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

  • references/anonymization-protocol.md — detailed rules for stripping sensitive data before external calls
1---
2name: "context-engine"
3description: "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."
4license: MIT
5metadata:
6 version: 1.0.0
7 author: Alireza Rezvani
8 category: c-level
9 domain: orchestration
10 updated: 2026-03-05
11 frameworks: context-loading, anonymization, context-enrichment
12---
13 
14# Company Context Engine
15 
16The memory layer for C-suite advisors. Every advisor skill loads this first. Context is what turns generic advice into specific insight.
17 
18## Keywords
19company context, context loading, context engine, company profile, advisor context, stale context, context refresh, privacy, anonymization
20 
21---
22 
23## Load Protocol (Run at Start of Every C-Suite Session)
24 
25**Step 1 — Check for context file:** `~/.claude/company-context.md`
26- Exists → proceed to Step 2
27- Missing → prompt: *"Run /cs:setup to build your company context — it makes every advisor conversation significantly more useful."*
28 
29**Step 2 — Check staleness:** Read `Last updated` field.
30- **< 90 days:** Load and proceed.
31- **≥ 90 days:** Prompt: *"Your context is [N] days old. Quick 15-min refresh (/cs:update), or continue with what I have?"*
32 - If continue: load with `[STALE — last updated DATE]` noted internally.
33 
34**Step 3 — Parse into working memory.** Always active:
35- Company stage (pre-PMF / scaling / optimizing)
36- Founder archetype (product / sales / technical / operator)
37- Current #1 challenge
38- Runway (as risk signal — never share externally)
39- Team size
40- Unfair advantage
41- 12-month target
42 
43---
44 
45## Context Quality Signals
46 
47| Condition | Confidence | Action |
48|-----------|-----------|--------|
49| < 30 days, full interview | High | Use directly |
50| 30–90 days, update done | Medium | Use, flag what may have changed |
51| > 90 days | Low | Flag stale, prompt refresh |
52| Key fields missing | Low | Ask in-session |
53| No file | None | Prompt /cs:setup |
54 
55If Low: *"My context is [stale/incomplete] — I'm assuming [X]. Correct me if I'm wrong."*
56 
57---
58 
59## Context Enrichment
60 
61During conversations, you'll learn things not in the file. Capture them.
62 
63**Triggers:** New number or timeline revealed, key person mentioned, priority shift, constraint surfaces.
64 
65**Protocol:**
661. Note internally: `[CONTEXT UPDATE: {what was learned}]`
672. At session end: *"I picked up a few things to add to your context. Want me to update the file?"*
683. If yes: append to the relevant dimension, update timestamp.
69 
70**Never silently overwrite.** Always confirm before modifying the context file.
71 
72---
73 
74## Privacy Rules
75 
76### Never send externally
77- Specific revenue or burn figures
78- Customer names
79- Employee names (unless publicly known)
80- Investor names (unless public)
81- Specific runway months
82- Watch List contents
83 
84### Safe to use externally (with anonymization)
85- Stage label
86- Team size ranges (1–10, 10–50, 50–200+)
87- Industry vertical
88- Challenge category
89- Market position descriptor
90 
91### Before any external API call or web search
92Apply `references/anonymization-protocol.md`:
93- Numbers → ranges or stage-relative descriptors
94- Names → roles
95- Revenue → percentages or stage labels
96- Customers → "Customer A, B, C"
97 
98---
99 
100## Missing or Partial Context
101 
102Handle gracefully — never block the conversation.
103 
104- **Missing stage:** "Just to calibrate — are you still finding PMF or scaling what works?"
105- **Missing financials:** Use stage + team size to infer. Note the gap.
106- **Missing founder profile:** Infer from conversation style. Mark as inferred.
107- **Multiple founders:** Context reflects the interviewee. Note co-founder perspective may differ.
108 
109---
110 
111## Required Context Fields
112 
113```
114Required:
115 - Last updated (date)
116 - Company Identity → What we do
117 - Stage & Scale → Stage
118 - Founder Profile → Founder archetype
119 - Current Challenges → Priority #1
120 - Goals & Ambition → 12-month target
121 
122High-value optional:
123 - Unfair advantage
124 - Kill-shot risk
125 - Avoided decision
126 - Watch list
127```
128 
129Missing required fields: note gaps, work around in session, ask in-session only when critical.
130 
131---
132 
133## References
134- `references/anonymization-protocol.md` — detailed rules for stripping sensitive data before external calls
135 
View all files on GitHub →

Details

Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillReverse engineer native, managed, Electron/JavaScriptREAmorluto/rea · by morlutoReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.★ 316k GitHub starsSkillBrainstorms ideas into designs before any creative workBrainstorming Ideas Into Designsobra/superpowers · by obraYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.★ 290k GitHub starsSkillRequires technical rigor and verificationCode Review Receptionobra/superpowers · by obraUse 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★ 290k GitHub starsSkillDiagnosis loop for hard bugs and performance regressionsDiagnosing bugsmattpocock/skills · by mattpocockDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.★ 267k GitHub starsSkillImplement the result of /to-spec and /to-tickets in codeImplement specmattpocock/skills · by mattpocockImplement the result of /to-spec and /to-tickets in code.★ 267k GitHub starsSkillWriting a PR bodymattpocock/skills · by mattpocockUse when writing a PR body.★ 267k GitHub stars

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars