Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Night Market Completion-Integrity Campaign

A five-phase (P0–P4) executable campaign that binds an autonomous loop's "done" signal to gates the agent cannot fake.

AutomationAdvanced★ 337⑂ 35AI score 7/10Last updated: Sep 24, 2026

What it does

Attacks the hardest problem in agentic loops: an agent declaring itself finished. It lays out a gated path to earn the promotion of the completion_integrity flag from default-off to default-on.

  • P0 — Reproduce baselines: run each plugin's pytest suite from inside its directory, feed JSON probes to the herald Stop hook and compare verdicts.
  • P1 — Shadow-read the manifest with the flag off, then opt in on a single bounded work item (with the full stop/relaunch machinery explained first).
  • P2 — Measure false-stop and false-continue rates against thresholds registered before the first measurement.
  • P3 — Adversarial self-test: talk past the judge, forge the manifest, mutation-prove every new check.
  • P4 — Change control: ADR, failing-test-first default flip, doc sweep, CHANGELOG, rollback note.

It also ships a solution menu ranked by fake-resistance and a table of fenced-off wrong paths (hook timeouts above budget, self-judging generators, env-var payload assumptions).

Who it's for

  • Maintainers and contributors of the claude-night-market repo (egregore / herald / imbue plugins)
  • Engineers who want loop termination enforced in code, not in prompt instructions
  • Teams adopting prover–verifier separation and mutation-proven gates as a standard

Caveat: it is pinned to specific commit hashes, exact test counts and plugin paths, so outside that repository only the methodology transfers.

Examples

  1. Baseline run: "Execute P0" → run the egregore, herald and imbue suites from their own directories and verify all three herald smoke probes emit the documented JSON.
  2. Count shadow false completions: parse .egregore/manifest.json for items marked completed that still carry a fix-required decision, and record the count as the P2 baseline.
  3. Break the gate on purpose: hand-edit an item's status to completed, pipe a stop event into the egregore Stop hook, and document that nothing cross-checks decisions against status.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/athola/claude-night-market/HEAD/.claude/skills/night-market-completion-integrity-campaign/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .claude/skills/night-market-completion-integrity-campaign folder from the GitHub repo athola/claude-night-market into my ~/.claude/skills/night-market-completion-integrity-campaign/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/athola/claude-night-market.git && mkdir -p ~/.claude/skills && cp -r claude-night-market/.claude/skills/night-market-completion-integrity-campaign ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and move to your working directory.
  2. Clone the repository: git clone https://github.com/athola/claude-night-market.git
  3. Create the skills directory if needed: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-night-market/.claude/skills/night-market-completion-integrity-campaign ~/.claude/skills/
  5. Because the skill references in-repo plugins and tests, launch Claude Code from the cloned claude-night-market root.
  6. Prerequisites: uv, python3, and rg (ripgrep) must be installed.
  7. Restart Claude Code and ask something like "start the completion-integrity campaign at P0" to trigger the skill.