vc:generate-context

vc:generate-context is a skill for Claude Code, Codex from opencue/cuecards. It costs 36 tokens per session (444 once invoked), scanned A, original, MIT.

A repository-context generator that creates or updates a shared document describing the project's structure, architecture, and current state.

In plain words
What is it for?
Use it to scan a repository and maintain its authoritative context file for later development work.
Why use it?
It keeps the agent's project knowledge current when existing context is missing, outdated, or inconsistent with the code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .Codex/skills/vc-audit-context/scripts/validate-context-discovery.mjs.

Good fit Use it to scan a repository and maintain its authoritative context file for later development work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/opencue/cuecards
agentmods
npx agentmods add skills/opencue/cuecards/vc-generate-context

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vc:generate-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencue/cuecards/vc-generate-context.svg)](https://agentmods.dev/skills/opencue/cuecards/vc-generate-context)
Your own site
<a href="https://agentmods.dev/skills/opencue/cuecards/vc-generate-context"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/vc-generate-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00444
Opus 5 $0.00018 $0.00222
Sonnet 5 $0.00007 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured 3d ago against content hash 5d1f1c2fa0ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

vc:generate-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-all-context.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/vc-generate-context/SKILL.md · 43 lines

What it actually says

Generate Context

Use this skill to maintain process/context/all-context.md, the broad portable project knowledge layer shared by Codex and Codex. Use process/context/all-context.md as the context router before reading grouped docs.

Optional input: a package, app, feature, context group, or architectural area to refresh first.

Workflow

  1. Read references/generate-context.md for the full context contract.
  2. Determine mode:
    • Full scan when process/context/all-context.md is missing.
    • Delta update when it exists.
  3. Read process/context/all-context.md when present to identify relevant grouped context files.
  4. Inspect current repo state, active plans, feature folders, package scripts, tooling, important architecture files, and relevant process/context/**/*.md docs.
  5. Produce exactly one updated file: process/context/all-context.md.
  6. Include scan timestamp, repo HEAD if available, changes since last update, open questions, and source references.
  7. Validate the generated context:
    node .Codex/skills/vc-generate-context/scripts/validate-all-context.mjs
    
  8. If routing or grouped context changed, also run:
    node .Codex/skills/vc-audit-context/scripts/validate-context-discovery.mjs
    

Rules

  • Treat process/context/ as durable cross-agent knowledge.
  • Treat process/context/all-context.md as the durable routing protocol; do not replace it with generated prose.
  • Do not store agent-specific mechanics here unless they affect project workflow.
  • Do not rewrite grouped context docs; if they are stale or mis-grouped, flag audit-context.
  • Prefer concise, factual, path-specific documentation.
  • Use pnpm terminology for package management.
  • Treat validation failures as blockers before presenting context as refreshed.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 43 lines · 36 tokens per session scan A 5d1f1c2fa0ef

Subscribe to this mod's changes

vc:generate-context is a skill published in the GitHub repository opencue/cuecards (5 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 444 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

{{BUCKET}}-management

Skill "{{BUCKET}}-management" from damusix/atomic-claude, covering purpose, doc shape and frontmatter contract.

damusix/atomic-claude · 0 tokens

loop

Full execution protocol for MODE: LOOP — the compound-engineering loop: brainstorm → plan → build → review → improve, iterating under defense-in-depth stop conditions with generator/critic separation, durable resumable state, and mandatory compounding learning capture. Loaded on demand by the architect when the loop…

ZaxbyHub/opencode-swarm · 72 tokens

memstack-business-client-onboarding

Use this skill when the user says 'client onboarding', 'new client', 'onboard client', 'kickoff meeting', 'intake form', 'welcome email', or needs welcome sequences, questionnaires, and setup checklists for new clients. Do NOT use for contracts or invoicing.

cwinvestments/memstack · 65 tokens

memstack-product-roadmap-builder

Use this skill when the user says 'roadmap', 'product roadmap', 'quarterly plan', 'now/next/later', 'OKRs', or needs strategic planning with themes, milestones, resource allocation, and stakeholder-ready views. Do NOT use for MVP scoping or sprint-level planning.

cwinvestments/memstack · 67 tokens

state

Use when the user says 'update state', 'project state', 'where was I', or at session start to load current context.

cwinvestments/memstack · 29 tokens

loongsuite-pilot-insight

A reporting workflow for turning LoongSuite Pilot and AI coding-agent logs into structured reports about events, teams, data quality, development efficiency, and AI use. It defines the meaning of the log fields and the measurements used in dashboards.

alibaba/loongsuite-pilot · 91 tokens