Context Engine skill for Claude

Use when starting a C-suite advisor session, when company context is missing or older than 90 days, or before company data goes to an external service. Loads and enriches ~/.claude/company-context.md and applies anonymization rules.

Context Engine SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

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-onboard 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-onboard 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

ConditionConfidenceAction
< 30 days, full interviewHighUse directly
30–90 days, update doneMediumUse, flag what may have changed
> 90 daysLowFlag stale, prompt refresh
Key fields missingLowAsk in-session
No fileNonePrompt /cs-onboard 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 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

How to install Context Engine

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/c-level-advisor/skills/context-engine#main ~/.claude/skills/context-engine

Codex

npx degit alirezarezvani/claude-skills/c-level-advisor/skills/context-engine#main ~/.codex/skills/context-engine

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Context Engine skill do?

Use when starting a C-suite advisor session, when company context is missing or older than 90 days, or before company data goes to an external service. Loads and enriches ~/.claude/company-context.md and applies anonymization rules.

+How do I install Context Engine in Claude Code?

Copy the skill folder into ~/.claude/skills/context-engine, for example with "npx degit alirezarezvani/claude-skills/c-level-advisor/skills/context-engine#main ~/.claude/skills/context-engine". Claude Code loads it automatically and uses it when a task matches.

+Does Context Engine work with ChatGPT or Codex?

Yes. Context Engine uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/context-engine. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Context Engine free?

Context Engine is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related business & strategy skills

  1. Pm Skills

    Router for project-management skills: sprints, portfolio health, Jira, Confluence, stakeholder comms, plus a delivery loop.

    alirezarezvani/claude-skills★ 30k
  2. Ceo Advisor

    Advice for a CEO or founder on running the company: board and investor trouble, raise or cut, strategy bets, org and culture.

    alirezarezvani/claude-skills★ 30k
  3. Content Strategy

    When the user wants to plan content, or asks which topic or piece to prioritize, what to write about, or why posts bring no customers:…

    coreyhaines31/marketingskills★ 61k
  4. Coo Advisor

    Use for operations leadership: process design, OKR execution, operating cadence, bottlenecks or scaling playbooks.

    alirezarezvani/claude-skills★ 30k
  5. Cpo Advisor

    Product leadership: PMF measurement, product vision, portfolio investment, product org design, board product reporting.

    alirezarezvani/claude-skills★ 30k
  6. Cro Advisor

    Use for B2B revenue leadership: forecasting, quotas, sales model, NRR and churn, pricing or sales capacity.

    alirezarezvani/claude-skills★ 30k
  7. Cross Eval

    Use for /c-level-agents:cross-eval, or when a high-stakes memo needs independent review by several models before the boardroom.

    alirezarezvani/claude-skills★ 30k
  8. Cs Onboard

    Use when setting up the C-suite advisors for the first time, or when company context is missing or stale after a raise or pivot.

    alirezarezvani/claude-skills★ 30k
  9. Cto Advisor

    CTO decisions: tech debt, architecture direction, scaling the engineering team, technology evaluation, DORA metrics.

    alirezarezvani/claude-skills★ 30k

See all business & strategy skills →

More skills from alirezarezvani

  1. Contract And Proposal Writer

    Use when drafting a freelance contract, proposal, SOW, NDA or MSA for US, EU, UK or DACH jurisdictions.

    alirezarezvani/claude-skills★ 30k
  2. Copy Editing

    Edit, proofread and tighten existing marketing copy in focused passes: clarity, voice, proofreading, specificity, readability and AI tells.

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.