Home / Market / context engine

context engine

Loads and manages company context for all C-suite advisor skills. Reads ~/.claude/company-context.md, detects stale context (older than 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.

skill★ 30840647 dlskills.shMITInstall in CosmosUpstream Source

Documentation & Preview

--- name: "context-engine" description: "Loads and manages company context for all C-suite advisor skills. Reads ~/.claude/company-context.md, detects stale context (older than 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

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

Step 2 — Check staleness: Read Last updated field.

Step 3 — Parse into working memory. Always active:

---

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

Safe to use externally (with anonymization)

Before any external API call or web search

Apply references/anonymization-protocol.md:

---

Missing or Partial Context

Handle gracefully — never block the conversation.

---

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