MCPInstall
athola avatar

proof-of-work

Enforces validation and evidence before claiming work complete. Use before declaring implementation done, creating a PR, or submitting deliverables for review.

Installs
115
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/athola/claude-night-market --skill proof-of-work
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads proof-of-work automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

"It looks correct" is not "I verified it works." Proof-of-work is the discipline of closing that gap: reproducible evidence before any claim that a task is done.

Proof of Work

When NOT To Use

  • Planning before implementation (use imbue:karpathy-principles)
  • Deciding whether the work is in scope (use imbue:scope-guard)

Overview

The "Proof of Work" methodology prevents premature completion claims by requiring technical verification before stating that a task is finished. For example, instead of assuming an LSP configuration functions after a restart, we verify that the server starts and that tools respond to queries. This approach confirms the solution works before the user attempts validation.

Before claiming completion, provide reproducible evidence of the solution's performance and address edge cases. All claims must be backed by actual command output captured in the current environment.

The Iron Law

NO IMPLEMENTATION WITHOUT A FAILING TEST FIRST NO COMPLETION CLAIM WITHOUT EVIDENCE FIRST NO CODE WITHOUT UNDERSTANDING FIRST

The Iron Law prevents testing from becoming a perfunctory exercise. If an implementation is planned before tests are written, the RED phase fails to drive the design. Understand the technical rationale for an approach and its limitations before declaring it done. Before writing code, document evidence of the failure being addressed and confirm that tests are driving the implementation.

Verification and TDD Workflow

Verify the fundamentals of the implementation and the reasons for choosing it over alternatives. Identify where a solution might fail rather than stating it should always work. The TDD cycle follows these mandatory steps:

  1. RED: Write a failing test before implementation.
  2. GREEN: Create a minimal implementation that passes the test.
  3. REFACTOR: Improve the code without changing its behavior.

Iron Law Self-Check

Self-Check QuestionIf Answer Is WrongAction
Do I have documented evidence of failure/need?NoSTOP, document failure first
Am I testing pre-conceived implementation?YesSTOP, let test DRIVE design
Am I feeling design uncertainty?NoSTOP - uncertainty is GOOD
Did test drive implementation?NoSTOP - doing it backwards

Iron Law Progress Tracking

  • proof:iron-law-red: Failing test written before implementation.
  • proof:iron-law-green: Minimal implementation passes test.
  • proof:iron-law-refactor: Code improved without behavior change.
  • proof:iron-law-coverage: Coverage gates passed (line, branch, and mutation).

Confirm that work passes all line, branch, and mutation coverage gates. For detailed enforcement patterns, see iron-law-enforcement.md.

Usage Standards

Apply this skill before stating that work is "done," "finished," or "ready." Use it before recommending solutions or stating that a configuration "should work." Stop if you find yourself assuming a configuration is correct without testing it or recommending a fix without first reproducing the problem. Red flags include thinking "this looks correct" without actual verification. If you cannot explain each line of a configuration or why a specific practice applies to the current context, the necessary validation steps have been skipped.

An agent's report is a claim, not evidence

This holds wherever the work happened, and it binds hardest inside a Workflow script, because a script has no filesystem and no shell. Everything it knows, an agent told it. A stage that returns "the tests pass" is the same kind of statement as a session saying "should work," and it carries the same weight, which is none.

So a workflow may find, rank, structure and propose. The run that produces evidence happens where its output can be pasted. A workflow's return value feeds a gate. It is not one.

Validation Protocol

Step 1: Reproduce the Problem (proof:problem-reproduced)

Before proposing a solution, verify the current state. Use tools like ps, echo, and cat to check running processes, environment variables, and configuration files. Document the failure with command output and error logs.

Step 2: Test the Solution (proof:solution-tested)

Before claiming a solution works, execute it in the current environment. Capture the actual output and confirm that it matches expected behavior. Do not rely on assumed output.

Step 3: Check for Known Issues (proof:edge-cases-checked)

Research known bugs and limitations related to the approach. Check GitHub issues, version compatibility, and official documentation to identify potential blockers or common pitfalls.

Step 4: Capture Evidence (proof:evidence-captured)

Use imbue:proof-of-work to document the commands executed, their output, timestamps, and the conclusions drawn from each step.

Step 5: Prove Completion (proof:completion-proven)

Define acceptance criteria and validate each item. If a blocker is identified, document the diagnosis with evidence and provide workaround options instead of claiming completion.

Integration

With Improvement Workflows

Use proof-of-work to validate improvement opportunities identified by /update-plugins or /fix-workflow. Document the baseline metrics (step count, failure rate, duration), test the proposed changes, and capture the improved metrics to demonstrate quantitative impact.

Validation Checklist (Before Claiming "Done")

Verify that the problem was reproduced with evidence and the solution was tested in the actual environment. Research known issues and consider edge cases. Capture evidence in a reproducible format and confirm that all acceptance criteria are met. The completion statement must detail the specific tests run and their results, citing evidence for each claim.

Red Flag Self-Check

Before sending a completion message, confirm that you have run the recommended commands and captured their output. Verify that you have researched known issues and that the validation steps are reproducible by the user. Ensure you are proving rather than assuming.

Supporting Modules

  • Progress item naming patterns: naming conventions and safe deletion rules for imbue progress items
  • Evidence logging: structured evidence capture, audit trails, and reproducibility patterns
  • Independent verification: for high-stakes changes, why the producing agent may not be its own sole verifier, and what counts as an independent check
  • Verifier integrity: whether the check is real at all: validate the spec separately, prove the check fails when behavior breaks (mutation/revert), prefer executable and property-based checks over an LLM judge

Progress Items

Skills across the marketplace name the progress items they require, such as proof:iron-law-red. Record each with TaskCreate or TodoWrite when the session offers them. Since Claude Code 2.1.233 current models get neither unless CLAUDE_CODE_ENABLE_TODO_TOOLS=1 is set, so otherwise list the items with their status in the progress update. An item counts as complete when its evidence exists, whichever way it was recorded.

Related Skills

  • imbue:karpathy-principles: the "Goal-Driven Execution" principle wraps the Iron Law in a four-principle synthesis useful as a pre-flight gate
  • See docs/quality-gates.md#skill-level-quality-gate-composition for the full gate-skill federation graph

Exit Criteria

  • Every implementation change has a corresponding progress item (proof:iron-law-red, proof:iron-law-green) confirming test-first execution.
  • At least one [E1]/[E2] evidence reference exists in the response, backed by a real command invocation and its output.
  • All acceptance criteria are explicitly stated and each has been verified by running, not by inspection.
  • Any blocker is documented with the exact failure output and the next concrete step to unblock it.
  • The final response does not contain any "should work", "looks correct", or "will work" claims without supporting evidence.

FAQ

What does the proof-of-work skill do?

Enforces validation and evidence before claiming work complete. Use before declaring implementation done, creating a PR, or submitting deliverables for review.

How do I install proof-of-work?

Run npx skills add https://github.com/athola/claude-night-market --skill proof-of-work in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/proof-of-work/ (personal) or .claude/skills/proof-of-work/ (project).

Which AI agents can use proof-of-work?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is proof-of-work safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains proof-of-work?

It is published by athola in athola/claude-night-market. It has 115 recorded installs.

More from athola/claude-night-market

View all →
athola avatar

project-planning

athola/claude-night-market

Converts a specification into a phased, dependency-ordered implementation plan. Use after specification is complete and before execution begins.

athola avatar

code-quality-principles

athola/claude-night-market

Applies KISS, YAGNI, and SOLID principles for clean code with reduced complexity. Use when refactoring or reviewing code for over-engineering.

athola avatar

slop-detector

athola/claude-night-market

Detects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing.

Docs & Writing183 installs
athola avatar

bloat-detector

athola/claude-night-market

Detects codebase bloat via dead code, duplication, complexity, and doc bloat scans. Use when codebase feels large or before a release.

athola avatar

doc-generator

athola/claude-night-market

Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles.

Docs & Writing162 installs
athola avatar

project-brainstorming

athola/claude-night-market

Guides project ideation via Socratic questioning to produce a validated brief. Use before specification when requirements are unclear.

161 installs

Popular code quality & workflow skills

View category →
mattpocock avatar

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock avatar

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock avatar

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

mattpocock avatar

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock avatar

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.