artifact-contract-auditor
БесплатноЗапускает вложенные скриптыНе проверенAudit one research Workspace for declared Unit outputs and Pipeline target Artifacts, writing `output/CONTRACT_REPORT.md`; use for mid-Run coverage snapshots…
от WILLOSCAR★ 521 звезда на GitHubОб этом скилле
Artifact Contract Auditor
This Skill measures coverage: whether files promised by Units and the locked
Pipeline exist at the point they are required. It does not replace the deeper
Attempt, Manifest, Artifact-hash, and ledger checks in pipeline.py audit.
Inputs
UNITS.csv.PIPELINE.lock.md.- The locked
pipelines/*.pipeline.mdtarget-Artifact contract.
Outputs
output/CONTRACT_REPORT.md.
Steps
1. Resolve the active contracts
Read PIPELINE.lock.md, resolve the Pipeline inside this repository, and parse
UNITS.csv. Treat an invalid lock or malformed Unit table as a reportable
contract failure rather than guessing another Workflow.
Completion criterion: one Pipeline contract and one readable Unit table are bound to the audit.
2. Check completed Unit outputs
For every DONE Unit, verify each required output exists. Outputs prefixed with
? are optional. A missing required output is Unit-level contract drift even
when the Pipeline is still running.
Completion criterion: every DONE Unit is classified as output-complete or is
listed with each missing required path.
3. Check final Pipeline targets when applicable
Determine whether all Units are terminal (DONE or SKIP). Only then require
every non-optional target Artifact declared by the Pipeline. During a partial
Run, report missing final targets as expected rather than failures.
Completion criterion: final-target completeness is evaluated against the actual Run phase, not merely file absence.
4. Write the report
Always write output/CONTRACT_REPORT.md with one status:
PASS: terminal Run, complete Unit outputs, complete Pipeline targets.OK: partial Run, consistent completed Unit outputs.FAIL: missing output from aDONEUnit, or missing final target from a terminal Run.
Completion criterion: the report names the evaluated Pipeline, Run phase, status, and every blocking missing path.
5. Route the next action
For missing Unit outputs, reopen or rerun the owning Unit through the Pipeline
adapter. For missing final targets, identify the owning Unit or Skill. When
file coverage passes, use scripts/pipeline.py audit for provenance integrity.
Completion criterion: every FAIL item has an owner and repair route; a PASS
claim is explicitly limited to declared file coverage.
Context Pointers
- The locked Pipeline front matter is the only source for target Artifacts.
UNITS.csvis the only source for Unit output obligations.- Use the deep Run Audit for Attempt pairing, Manifest identity, hashes, Decisions, Failures, and Evaluation consistency.
Script
Quick Start
uv run python .codex/skills/artifact-contract-auditor/scripts/run.py \
--workspace workspaces/<name>
All Options
--workspace <path>: Workspace to audit.--unit-id <U###>,--inputs,--outputs,--checkpoint: optional Pipeline-runner compatibility arguments.
Examples
Inspect the interface:
uv run python .codex/skills/artifact-contract-auditor/scripts/run.py --help
Run the deeper provenance audit after coverage passes:
uv run python scripts/pipeline.py audit --workspace workspaces/<name>
Side Effects
The audit may create or replace output/CONTRACT_REPORT.md. It must not edit
research content, Unit statuses, checkpoint approvals, or source Artifacts.
Установить artifact-contract-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл artifact-contract-auditor?
Audit one research Workspace for declared Unit outputs and Pipeline target Artifacts, writing `output/CONTRACT_REPORT.md`; use for mid-Run coverage snapshots or final delivery completeness, not deep provenance integrity.
Как установить скилл artifact-contract-auditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл artifact-contract-auditor запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic