context

A code-review helper that measures how complicated a file or function is, spots TODO, FIXME, and HACK notes, and assesses change risk.

In plain words
What is it for?
Use it to inspect a file’s structure, find a symbol and its callers, and get complexity, technical-debt, and risk information.
Why use it?
It shows where a change may be risky before you edit, so you can address difficult code or known problems first.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/panbanda/omen/context
Any agent
npx skills add panbanda/omen --skill context
Clone the repo
git clone --depth 1 https://github.com/panbanda/omen

Made for: Claude Code, Codex.

Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.00270
Opus 5 $0.00005 $0.00135
Sonnet 5 $0.00002 $0.00054
Haiku 4.5 $0.00001 $0.00027

Measured 2d ago against content hash 857f32278603, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d ago.

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.

plugins/development/skills/context/SKILL.md · 46 lines

What it actually says

Context Skill

Get metrics before modifying: {{.focus}}

Quick Start

# Get structural outline of the target file
omen -f json outline --compact --file "{{.focus}}"

# Inspect a specific symbol's definition and callers
omen -f json symbol "{{.focus}}"

# Get full deep context for LLM-assisted editing
omen -f json context

What You Get

  • Complexity: Cyclomatic and cognitive scores per function
  • Debt: TODO/FIXME/HACK markers with severity
  • Risk: Combined assessment for the target

Thresholds

Metric Safe Warning Danger
Cyclomatic <10 10-20 >20
Cognitive <15 15-30 >30

Next Actions

  1. High complexity: Consider refactoring before changes
  2. Critical debt: Address security/bug markers first
  3. Clean: Proceed with your modification
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. 2d ago First seen · 46 lines · 10 tokens per session scan A 857f32278603

Subscribe to this mod's changes

context is a skill published in the GitHub repository panbanda/omen (18 stars, last pushed 9d ago), licensed Apache-2.0. It adds 10 tokens to every session and 270 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

commit-push-pr

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.

GCWing/BitFun · 68 tokens

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

wiki

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.

SethGammon/Citadel · 56 tokens

issue-reporter

只在用户明确要求提交 GitHub Issue、GitHub Bug Report 或 GitHub Feature Request 时使用。用户只说“提交问题”“提交反馈”“上报 bug”“这是个 bug”或描述功能建议但未点名 GitHub 时不得触发,必须改用 cherry-studio-feedback 并默认提交飞书。.

CherryHQ/cherry-studio · 73 tokens

code-mate-antigravity

Runs Antigravity CLI headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Antigravity CLI or compare its result with another coding agent.

CherryHQ/cherry-studio · 43 tokens