project-contract-harness

project-contract-harness is a skill for Codex from cyberflax2020/project-contract-harness. It costs 119 tokens per session (2,598 once invoked), scanned A, original, Apache-2.0.

A local delivery contract for large or long-running software projects handled by coding agents. It stores plans, tasks, decisions, risks, tests, evidence, and handoff details on disk.

In plain words
What is it for?
Use it when starting or taking over a complex project, feature, or repository that needs persistent state, project-specific checks, secret-handling rules, and a clear handoff.
Why use it?
It prevents project knowledge and progress from being lost between agent sessions and makes the work easier to check against agreed requirements.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

Good fit Use it when starting or taking over a complex project, feature, or repository that needs persistent state, project-specific checks, secret-handling rules, and a clear handoff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyberflax2020/project-contract-harness/project-contract-harness-kit
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.

Any agent
npx skills add cyberflax2020/project-contract-harness --skill project-contract-harness-kit
Clone the repo
git clone --depth 1 https://github.com/cyberflax2020/project-contract-harness

Made for: 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 project-contract-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit/github.svg)](https://agentmods.dev/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit)
Your own site
<a href="https://agentmods.dev/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit"><img src="https://agentmods.dev/badge/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit/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 project-contract-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit"><img src="https://agentmods.dev/badge/skills/cyberflax2020/project-contract-harness/project-contract-harness-kit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,598 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.00119 $0.02598
Opus 5 $0.00060 $0.01299
Sonnet 5 $0.00024 $0.00520
Haiku 4.5 $0.00012 $0.00260

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

Security

Grade A, and why

project-contract-harness 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 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check_contract.py, scripts/init_contract.py, scripts/privacy_scan.py, …), 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

deploy/claude-project/project-contract-harness-kit/SKILL.md · 163 lines

How it starts

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

Project Contract Harness

Overview

Use this skill to turn a broad engineering objective into a local, enforceable delivery contract. The contract persists the plan, tasks, decisions, risks, secret-access contract, resource guard, evaluation matrix, gaps, evidence, autonomy boundary, and handoff state on disk so a fresh agent can resume without relying on chat history.

This skill is intentionally product-agnostic. Do not copy customer names, private paths, internal service names, credentials, host details, or reference-project specifics into generated artifacts.

First Actions

  1. Identify SKILL_ROOT as the directory containing this SKILL.md.
  2. Identify REPO_ROOT as the target project root. If the user did not specify it, use the current working directory.
  3. Probe for an existing REPO_ROOT/.project-contract-harness/. If it exists, recover from it first: read status, tasks, gaps, gates, evidence, tooling, secret access, artifact index, and handoff before proposing or editing.
  4. Analyze the project before editing, even for a single module or small request: repo shape, existing docs, test framework, package/build commands, runtime constraints, active concurrent work, and user-visible success criteria.
  5. If REPO_ROOT/.project-contract-harness/ does not exist, run:
python3 "$SKILL_ROOT/scripts/init_contract.py" --project-root "$REPO_ROOT"
  1. If the directory exists but lacks current required files, run the initializer without --force to add missing files while preserving existing state.
  2. Convert that analysis into the project harness: update STARTUP.md, CONTRACT.md, PLAN.md, TASKS.md, TOOLING.md, SECRET_ACCESS.md, ARTIFACTS.md, RESOURCE_GUARD.md, EVAL_MATRIX.md, and gates.json before broad code changes.
  3. Read the existing contract files in this order: STARTUP.md, CONTRACT.md, PLAN.md, TASKS.md, STATUS.md, DECISIONS.md, RISKS.md, AUTONOMY.md, TOOLING.md, SECRET_ACCESS.md, ARTIFACTS.md, RESOURCE_GUARD.md, EVAL_MATRIX.md, GAPS.md, EVIDENCE.md, HANDOFF.md.
  4. Check whether another active writer is working in the same repo. If there is a reasonable signal of active concurrent development, stay read-only or restrict edits to explicitly owned files.
  5. Run the contract checker before major edits:

Read the full file on GitHub · 163 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. 11d ago First seen · 163 lines · 119 tokens per session scan A a4da334b3e2f

Subscribe to this mod's changes

project-contract-harness is a skill published in the GitHub repository cyberflax2020/project-contract-harness (2 stars, last pushed 20d ago), licensed Apache-2.0. It adds 119 tokens to every session and 2,598 once invoked, about $0.0006 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

swarm-plan

Full execution protocol for MODE: PLAN -- plan creation, external plan ingestion, QA gate persistence, task granularity, and traceability checks.

ZaxbyHub/opencode-swarm · 32 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

parallel-work-check

Apply before starting work on an existing branch. Checks for parallel work by other agents or developers that may supersede or conflict with your planned changes. Prevents wasted effort on stale branches.

ZaxbyHub/opencode-swarm · 41 tokens

issue-ingest

Full execution protocol for MODE: ISSUEINGEST -- GitHub issue intake, localization, spec generation, and transition to the full fix workflow.

ZaxbyHub/opencode-swarm · 33 tokens

orchestrator-lanes

A file-based project-management playbook for a specific Claude Code development orchestrator. It organizes work into lanes, plans, dependency steps, validation phases, and shipping stages.

VKirill/claude-lane-stack · 0 tokens

project-life

A system for keeping project ideas, tasks, plans, progress, decisions, and lessons in one place. A monorepo-style project workflow is implied, but the input does not define the storage format in full.

VKirill/claude-lane-stack · 140 tokens