cad-executor-contract

cad-executor-contract is a skill for Claude Code, Codex from crenshawdev/cadence. It costs 24 tokens per session (3,394 once invoked), scanned A, original, MIT.

An internal work contract for coding agents assigned to implementation tasks. It tells them which project files and rules to read, how to handle security risks, and how to inspect large JavaScript or TypeScript files.

In plain words
What is it for?
Use it automatically when dispatching agents to code tasks that involve project plans, documentation, secrets, untrusted input, concurrency, or large JS/TS files.
Why use it?
It gives implementation agents consistent instructions and makes project-specific constraints part of the work from the beginning.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the cadence plugin — 34 skills, 19 agents, 3 hooks shipped together

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/crenshawdev/cadence/cad-executor-contract
Any agent
npx skills add crenshawdev/cadence --skill cad-executor-contract
Clone the repo
git clone --depth 1 https://github.com/crenshawdev/cadence

Made for: Claude Code, Codex.

Or install cadence, the plugin that ships this one along with the rest of its 34 skills, 19 agents, 3 hooks.

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 cad-executor-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/crenshawdev/cadence/cad-executor-contract.svg)](https://agentmods.dev/skills/crenshawdev/cadence/cad-executor-contract)
Your own site
<a href="https://agentmods.dev/skills/crenshawdev/cadence/cad-executor-contract"><img src="https://agentmods.dev/badge/skills/crenshawdev/cadence/cad-executor-contract.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,394 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.00024 $0.03394
Opus 5 $0.00012 $0.01697
Sonnet 5 $0.00005 $0.00679
Haiku 4.5 $0.00002 $0.00339

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

Security

Grade A, and why

cad-executor-contract 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.

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.

skills/cad-executor-contract/SKILL.md · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Read the files your dispatch prompt names (plan, CONTEXT.md, PROJECT.md, project CLAUDE.md) before touching anything. Project CLAUDE.md directives are hard constraints; when they contradict the plan, CLAUDE.md wins - record the adjustment as a deviation.

Your prompt also names the risk surfaces this project answered. They are the bar the work is WRITTEN to: a task touching secrets, untrusted_input, concurrency or any other surface named there is built against it as you write it, not repaired once the risk_surface review fires on your committed range. They are not a halt condition and add no checkpoint - see <checkpoints>.

Batch independent probes throughout: greps, globs and reads whose target does not depend on another's result go out in ONE message, never one-then-wait. A probe you could only choose after seeing a prior result stays sequential.

To orient in a JS/TS file over ~20 KB, read it through node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/skim.mjs" <file> - the same source with comments stripped and line numbers intact, roughly half the bytes. Then Read the exact range you will change: the comments are this codebase's design record and are what stop you re-breaking a fixed thing. Skim to find, Read to change.

Where skim.mjs does not apply - markdown, schemas, JSON - locate with grep -n carrying NO -A/-B/-C, then read the window those line numbers name. A grep returning nothing gets a LOOSER PATTERN, never a wider range; recovering a missed heading by dumping eighty blind lines pays for the miss twice. perl -ne 'print if /START/../END/' takes a section by its boundaries rather than by numbers you guessed. A -A40 on a FIRST probe is the tell that you are reading to find rather than reading to know.

For each task in the plan, in order:

  1. Implement the task's change. Read ${CLAUDE_PLUGIN_ROOT}/cadence-core/references/lean-build.md (one consult site - this step) once per dispatch and hold its lean-first posture for every task: where a task's Verify: admits two shapes, you build the leaner one.

  2. Verify falsifiably, prediction first: BEFORE running the task's Verify: command, state the exact output you expect to see. Then run it and compare. That command is what verifies the task; where a task names none, the test file the task's files map to, run by name. Never the full test suite per task or as a first probe: the suite has exactly one site, stated at the end of <process>. A surprise result - even a passing one - is evidence about the plan's assumptions: record it as [deviation] expected X, observed Y and only then act on it. Never rationalize an unexpected result after the fact into what you "really" expected. "It should work" is not verification.

  3. Static analysis, before the commit. Run workflow.lint_command when it is set; when it is not, ask the project once per dispatch and run what comes back:

    node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" detect-commands --root <project root>
    

    Run its lint and its typecheck; either may be null, and both null means no static-analysis command Cadence can find - say so once and skip, an answer rather than a failure. Always spawn the subprocess: there is no in-host shortcut to skip it for. A failure here is a blocker and gets a carve-out of its own - see <deviation_rules>.

  4. Commit per the commit protocol below.

  5. Rewrite <plandir>/reports/plan-<k>.md (see <report_file>) with every row so far.

Read the full file on GitHub · 285 lines

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 · 285 lines · 24 tokens per session scan A 6775c92d3322

Subscribe to this mod's changes

cad-executor-contract is a skill published in the GitHub repository crenshawdev/cadence (4 stars, last pushed 4d ago), licensed MIT. It adds 24 tokens to every session and 3,394 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-31.

Related

Other skills, from other repositories

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

implement-factory

Factory loop orchestrator for multi-feature or multi-component implementation manifests. Use for high-complexity work with parallel-eligible workstreams and holdout-scenario evaluation.

rsmdt/the-startup · 37 tokens

scenario-planning

Plans under genuine uncertainty — building scenarios, identifying which assumptions are load-bearing, setting early-warning indicators, and stress-testing a plan against futures rather than forecasting one. Use this when a decision depends on something unknowable, when a plan assumes conditions that may not hold…

cbrock84/headcount · 78 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens

ai-research-analyst

Produces executive-level research — market sizing, competitor mapping, trend analysis, and strategic intelligence — grounded in cited sources with the confidence in each claim made explicit. Use this to analyze a market or industry, map competitors, evaluate a market-entry or build-versus-buy decision, produce a…

cbrock84/headcount · 91 tokens

refactor

Refactor, simplify, or clean up code for improved maintainability without changing business logic.

rsmdt/the-startup · 20 tokens