Agent skill

Context Engine

by alirezarezvani in alirezarezvani/claude-skills

Loads and manages company context for all C-suite advisor skills.

MITAuto-check passed

Install Context Engine

skills CLI
$ npx skills add alirezarezvani/claude-skills --skill context-engine -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alirezarezvani/claude-skills context-engine --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/c-level-advisor/skills/context-engine .claude/skills/context-engine && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-engine
GitHub stars
28k
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
447 words
Files
2 (incl. references)
Skills in repo
342
Repo updated
First seen
Licence
MIT

At a glance

Loads and manages company context for all C-suite advisor skills.

  • Works in 3 steps: Note internally: [CONTEXT UPDATE: {what… → At session end: "I picked up a few… → If yes: append to the relevant…
  • Starting any C-suite advisor session
  • SKILL.md covers Keywords, Load Protocol (Run at Start of…, Context Quality Signals and Context Enrichment, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context Engine is an agent skill from alirezarezvani/claude-skills. 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.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/anonymization-protocol.md`).

The repository describes itself as: 380 Claude Code skills & agent skills & plugins (30+ Agents, 70+ custom commands, 380+ skills, customizable references, scripts)for Claude Code, Codex, Gemini CLI, Cursor, and 8… The licence is MIT.

When your agent uses it

  • Starting any C-suite advisor session
  • Context looks stale
  • Before sending company data to an external service

Example prompts

  • “Use the context-engine skill to load and manages company context for all C-suite advisor skills”
  • “/context-engine”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 19392f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Engine loads about 1.1k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 447 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alirezarezvani/claude-skills at commit 19392f7, republished under its MIT licence (© alirezarezvani). 447 words, ~1,108 tokens.

Download SKILL.mdSave it as .claude/skills/context-engine/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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
metadata.author
Alireza Rezvani
metadata.category
c-level
metadata.domain
orchestration
metadata.updated
2026-03-05
metadata.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

  • 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

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


Show full SKILL.md (159 more words)Show less

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

© alirezarezvani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in c-level-advisor/skills/context-engine of alirezarezvani/claude-skills.

  • SKILL.md
  • references/anonymization-protocol.md

Open the folder on GitHubat commit 19392f7

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in alirezarezvani/claude-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Context Engine next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Engine compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Engine this skillalirezarezvani/claude-skills28k1 repos~1.1kAutomated safety check: PassMIT
Secrets Managementdavila7/claude-code-templates32k11 repos~2kAutomated safety check: PassMIT
Project ManagerRightNow-AI/openfang18k—~960Automated safety check: PassApache-2.0
Content Management Systemsgithub/awesome-copilot40k1 repos~1.3kAutomated safety check: PassMIT
It Manager Hospitalsickn33/agentic-awesome-skills47k1 repos~1.5kAutomated safety check: PassMIT
It Manager Prosickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Secrets Management

    davila7/claude-code-templates

    Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.

    32k GitHub starsUsed in 11 repos~2k tokens
    DevOps & CloudAuto-check passed
  • Project Manager

    RightNow-AI/openfang

    Project management expert for Agile, estimation, risk management, and stakeholder communication

    18k GitHub stars~960 tokensUpdated 3 mo ago
    Product & Project ManagementAuto-check passed
  • Content Management Systems

    github/awesome-copilot

    Official

    Workflow for building and modifying content management systems across WordPress, Shopify, Wix, Squarespace, Drupal, WooCommerce, Joomla, HubSpot CMS Hub, Webflow, Adobe Experience Manager, and…

    40k GitHub starsUsed in 1 repo~1.3k tokens
    Sales & SupportAuto-check passed
  • It Manager Hospital

    sickn33/agentic-awesome-skills

    World-class Hospital IT Management Advisor specializing in clinical safety, digital maturity (HIMSS/ONA/JCI), and HIS/PEP ecosystems.

    47k GitHub starsUsed in 1 repo~1.5k tokens
    Research & ScienceAuto-check passed
  • It Manager Pro

    sickn33/agentic-awesome-skills

    Elite IT Management Advisor specializing in data-driven strategy, executive communication, and human-centric leadership for the 2026 digital era.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    Legal & ComplianceAuto-check passed
  • Robius State Management

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Robius state management patterns. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3.3k tokens
    Frontend & DesignAuto-check passed

More from alirezarezvani/claude-skills

All 342 skills in this repo
  • Agile Product Owner

    alirezarezvani/claude-skills

    Writes INVEST-checked user stories with acceptance criteria, splits epics, plans sprints from velocity and ranks the backlog with a weighted score.

    28k GitHub starsUsed in 3 repos~3.2k tokens
    Auto-check passed
  • Product Strategist

    alirezarezvani/claude-skills

    OKR cascade toolkit for product leaders: generates aligned company-to-team OKRs from five strategy types and scores how well they line up.

    28k GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check passed
  • App Store Optimization

    alirezarezvani/claude-skills

    App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store.

    28k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • AWS Solution Architect

    alirezarezvani/claude-skills

    Design AWS architectures for startups using serverless patterns and IaC templates.

    28k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Campaign Analytics

    alirezarezvani/claude-skills

    Calculates attribution, funnel and ROI figures for marketing campaigns with three Python scripts that need only the standard library.

    28k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Code to PRD

    alirezarezvani/claude-skills

    Reverse-engineers a frontend, backend or fullstack codebase into a product requirements document with per-page docs, an enum dictionary and an API inventory.

    28k GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check passed

Questions about Context Engine

What does Context Engine do?

Loads and manages company context for all C-suite advisor skills. Context Engine is an agent skill from alirezarezvani/claude-skills. Loads and manages company context for all C-suite advisor skills.

When should I use Context Engine?

Context Engine fits situations like: starting any C-suite advisor session; context looks stale; before sending company data to an external service.

How do I install Context Engine in Claude Code?

Run `npx skills add alirezarezvani/claude-skills --skill context-engine -a claude-code`. Or copy the skill folder (c-level-advisor/skills/context-engine in alirezarezvani/claude-skills) into .claude/skills/context-engine in your project. Claude Code loads it when a task matches its description.

How do I install Context Engine in Codex?

Run `npx skills add alirezarezvani/claude-skills --skill context-engine -a codex`. Or copy the skill folder (c-level-advisor/skills/context-engine in alirezarezvani/claude-skills) into .agents/skills/context-engine in your project. Codex loads it when a task matches its description.

Can I use Context Engine in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/claude-skills --skill context-engine -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-engine, .gemini/skills/context-engine, .github/skills/context-engine and .opencode/skills/context-engine in your project.

What does Context Engine need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Engine is instructions for the agent only.

Does Context Engine access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Engine safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Engine use?

Context Engine is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Engine use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Context Engine?

Skills that share tags, products or a category with Context Engine: Secrets Management (davila7/claude-code-templates, 32k stars), Project Manager (RightNow-AI/openfang, 18k stars), Content Management Systems (github/awesome-copilot, 40k stars) and It Manager Hospital (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Engine?

alirezarezvani (a GitHub user) maintains it in alirezarezvani/claude-skills, which has 27,788 GitHub stars. The repository holds 342 skills in this directory. The repository was last updated on August 30, 2026.

Source: alirezarezvani/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.