
Context Engine
- 555 installs
- 23.5k repo stars
- Updated July 17, 2026
- alirezarezvani/claude-skills
context-engine is an agent skill that loads, refreshes, and enriches persisted company context from `~/.claude/company-context.md` so C-suite advisor sessions stay specific instead of generic for developers orchestrating
About
context-engine version 1.0.0 is the memory layer for C-suite advisor skills by Alireza Rezvani. It reads `~/.claude/company-context.md`, detects stale context older than 90 days, enriches context during conversations, and enforces privacy and anonymization rules before external API calls. Every advisor skill loads context-engine first to turn generic guidance into company-specific insight. Developers reach for context-engine when running multiple executive-advisor agent skills and they need a single persisted context file that stays current, anonymized, and shared across sessions. Frameworks tagged include context-loading, anonymization, and context-enrichment with MIT license.
- Loads ~/.claude/company-context.md at the start of every C-suite advisor session
- Flags context older than 90 days and prompts /cs:update or continue with [STALE] notation
- Parses company stage (pre-PMF, scaling, optimizing) into working memory for advisors
- Enforces privacy and anonymization rules before external API calls
- Directs missing context to /cs:setup for first-time company profile creation
Context Engine by the numbers
- 555 all-time installs (skills.sh)
- Ranked #713 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/alirezarezvani/claude-skills --skill context-engineAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 555 |
|---|---|
| repo stars | ★ 23.5k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 17, 2026 |
| Repository | alirezarezvani/claude-skills ↗ |
How do you persist company context across advisor agent sessions?
Load, refresh, and enrich persisted company context so C-suite advisor sessions stay specific instead of generic.
Who is it for?
Developers orchestrating C-suite advisor agent skills who need one persisted, freshness-checked company context file shared across sessions.
Skip if: Pure code-generation tasks or projects without executive-advisor workflows or company-specific context requirements.
When should I use this skill?
A C-suite advisor skill session starts, company context may be stale beyond 90 days, or context must be enriched and anonymized before external API calls.
What you get
Refreshed `~/.claude/company-context.md` with enriched, anonymized company context for advisor skills.
- Updated company-context.md
- Anonymized context for API calls
By the numbers
- Metadata version 1.0.0
- Detects stale context older than 90 days
Files
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
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
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 listMissing 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
Anonymization Protocol
Rules for stripping sensitive company data before any external API call, web search, or tool invocation that sends data outside the local environment.
---
When This Protocol Applies
Trigger: Any time company context or conversation content will leave the local session.
Examples:
- Web search that includes company specifics
- External API call with company data in the payload
- Any tool call where conversation content is part of the request
Does NOT apply to:
- Local file reads/writes (
~/.claude/company-context.md) - In-session reasoning and analysis
- Generating advice or documents that stay local
---
Rule 1: Financial Figures → Relative Ranges
Never send specific financial data externally.
| Raw data | Anonymized version |
|---|---|
| "$2.4M ARR" | "early-stage ARR (sub-$5M)" |
| "$180K MRR" | "growing MRR, Series A range" |
| "14 months runway" | "runway is healthy for stage" |
| "burn rate is $320K/month" | "burn rate is moderate for stage" |
| "raised $8M Series A" | "Series A company" |
| "customer LTV is $4,200" | "LTV is above industry average for segment" |
| "CAC is $680" | "CAC is in a sustainable range" |
Rule: No dollar amounts. No month counts for runway. Use stage-relative descriptors.
---
Rule 2: Customer Names → Anonymized Labels
Never send customer or client names externally.
| Raw data | Anonymized version |
|---|---|
| "Acme Corp is our biggest customer" | "Customer A (largest account)" |
| "we're working with NHS England" | "a large public-sector customer" |
| "BMW, Volkswagen, and Stellantis" | "three major automotive OEMs" |
| "10 enterprise customers including..." | "10 enterprise customers" |
Rule: Use "Customer A/B/C" for named accounts, or describe by segment without naming.
---
Rule 3: Revenue Figures → Percentage Changes or Stage Descriptors
Revenue trajectory is safer than absolute numbers.
| Raw data | Anonymized version |
|---|---|
| "growing from $1M to $2M ARR" | "2x revenue growth year-over-year" |
| "revenue dropped from $500K to $430K" | "revenue declined ~15% in the period" |
| "hit $10M ARR last quarter" | "crossed a significant ARR milestone" |
| "doing $50K MRR" | "pre-Series A revenue, strong growth trajectory" |
Rule: Percentages and directional signals (growing / declining / flat) are safe. Absolutes are not.
---
Rule 4: Employee Names → Roles Only
Never send individual names externally.
| Raw data | Anonymized version |
|---|---|
| "Our CTO, Sarah Chen, is struggling" | "our CTO is struggling with the transition" |
| "James is the best performer on the team" | "our strongest performer is in the engineering lead role" |
| "we're about to let go of Michael" | "we're about to make a leadership change" |
| "the founding team is me, Alex, and Priya" | "a three-person founding team" |
Exception: Publicly known executives (CEO of a public company, named in press releases) can be referenced by name. If in doubt, use role.
---
Rule 5: Investor Names → Generic Descriptors
| Raw data | Anonymized version |
|---|---|
| "Sequoia led our round" | "a top-tier VC led our round" |
| "our lead investor is pushing for an exit" | "pressure from investors toward exit" |
| "Y Combinator alumni" | "accelerator alumni" |
Exception: YC, Techstars, and similar well-known accelerators are commonly referenced and safe if the founder has publicly disclosed. When in doubt, omit.
---
Rule 6: Location → Country or Region
| Raw data | Anonymized version |
|---|---|
| "Berlin-based startup" | "European startup" |
| "we're in San Francisco" | "US-based startup" |
| "expanding to Munich and Vienna" | "expanding in the DACH region" |
Exception: Location is less sensitive than financials. Use judgment — if it's on their website, it's fine.
---
Anonymization Decision Tree
Before sending data externally:
1. Does it include a specific dollar amount?
→ YES: Replace with range or relative descriptor
2. Does it include a person's name?
→ YES: Replace with role only (unless publicly known)
3. Does it include a company or customer name?
→ YES: Replace with "Customer A" or segment descriptor
4. Does it include specific headcount or runway months?
→ YES: Replace with range (1–10, 10–50) or "healthy/tight/critical"
5. Does it include proprietary data, roadmap, or unreleased product info?
→ YES: Do not include. Reference only generically ("product expansion planned")
6. Is it publicly available information?
→ YES: Safe to send as-is---
Required vs Optional Anonymization
Required (always strip before external calls)
- Revenue figures (absolute)
- Burn rate (absolute)
- Runway (specific months)
- Customer names
- Employee names
- Investor names (unless public)
- Funding amounts (unless public)
Optional (use judgment based on sensitivity)
- Industry vertical (usually fine)
- Company stage (usually fine)
- Team size ranges (usually fine)
- Geographic region (usually fine)
- General challenge category (usually fine)
---
What to Do If You're Unsure
Default to stricter anonymization. The cost of over-anonymizing is slightly less useful external results. The cost of under-anonymizing is a privacy breach.
When in doubt: remove it.
---
Audit Log (Internal Only)
When running external calls with company context, note internally:
[EXTERNAL CALL: {tool/API used}]
[ANONYMIZED: {fields stripped}]
[RETAINED: {fields kept and why}]This is for internal reasoning only — never included in output to the founder.
Related skills
FAQ
Where does context-engine store company context?
context-engine reads and manages `~/.claude/company-context.md`, loading it at the start of C-suite advisor skill sessions and enriching it incrementally during conversations.
When does context-engine mark context as stale?
context-engine flags company context as stale when it is older than 90 days, prompting refresh before advisor sessions rely on outdated organizational details.
Is Context Engine safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.