mcp-codex-worker: Skill for Claude Code

.claude/skills/worker-build-and-env/SKILL.md

worker-build-and-env is a skill for Claude Code from sorryorc/mcp-codex-worker. It costs 28 tokens per session (196 once invoked), scanned A, original, MIT.

A guide for recreating a project's local setup, checking its Node.js runtime assumptions, and running its tests, build, and smoke checks.

In plain words
What is it for?
Use it when installing dependencies, diagnosing the environment, running tests or builds, checking network access, or inspecting the project's available commands.
Why use it?
It helps distinguish setup problems from code problems and keeps credentials out of tracked files. It also checks that caches and allowed working directories are placed correctly.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sorryorc/mcp-codex-worker's own configuration. It tells Claude Code how to work on mcp-codex-worker itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-codex-worker configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sorryorc/mcp-codex-worker. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sorryorc/mcp-codex-worker/main/.claude/skills/worker-build-and-env/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sorryorc/mcp-codex-worker

Made for: Claude Code.

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 worker-build-and-env

README.md
[![agentmods](https://agentmods.dev/badge/skills/sorryorc/mcp-codex-worker/worker-build-and-env/github.svg)](https://agentmods.dev/skills/sorryorc/mcp-codex-worker/worker-build-and-env)
Your own site
<a href="https://agentmods.dev/skills/sorryorc/mcp-codex-worker/worker-build-and-env"><img src="https://agentmods.dev/badge/skills/sorryorc/mcp-codex-worker/worker-build-and-env/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for worker-build-and-env

Your own site · 80×15
<a href="https://agentmods.dev/skills/sorryorc/mcp-codex-worker/worker-build-and-env"><img src="https://agentmods.dev/badge/skills/sorryorc/mcp-codex-worker/worker-build-and-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 196 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.00028 $0.00196
Opus 5.5 $0.00011 $0.00078
Sonnet 5.5 $0.00006 $0.00039
Haiku 4.5 $0.00003 $0.00020

Measured 2mo ago against content hash 3d63780367ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

worker-build-and-env 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 2mo 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.

.claude/skills/worker-build-and-env/SKILL.md · 36 lines

What it actually says

Worker Build And Env

Commands

npm install
npm run build
npm test
npm run smoke

Environment Checks

  • SANDBOX_ROOT must exist and contain allowed directories.
  • Gateway keys stay in env, never in tracked files.
  • WORKER_LITE_CACHE_DIR must be inside SANDBOX_ROOT.
  • Network checks require real gateway credentials; offline tests should not.

When Not To Use

Do not use this for production behavior design. Use worker-architecture-contract.

Verification

  • npm run doctor
  • npm run doctor:network when credentials are available

Provenance and maintenance

Re-check scripts with node -p "JSON.stringify(require('./package.json').scripts,null,2)".

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. 2mo ago First seen · 36 lines · 28 tokens per session scan A 3d63780367ae

Subscribe to this mod's changes

worker-build-and-env is a skill published in the GitHub repository sorryorc/mcp-codex-worker (2 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 196 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

cost-mode

Cost-conscious Claude Code mode. Cuts visible output and routes simple work to cheaper models by enforcing concise responses, smart model routing, and efficient workflow patterns. Keeps full technical accuracy. Activate with /cost-mode or "enable cost mode". Auto-triggers on mentions of budget, cost, tokens, or…

Sagargupta16/claude-cost-optimizer · 64 tokens

refocusing

Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.

mvschwarz/openrig · 59 tokens

rulesync

Generates and syncs AI rule configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) across 20+ coding tools from a single source. Use when syncing AI rules, running rulesync commands, importing or generating rule files, or managing shared AI coding configurations.

dyoshikawa/rulesync · 64 tokens

gitnexus

A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.

hashgraph-online/awesome-codex-plugins · 58 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens