done-or-not

done-or-not is a skill for Claude Code from mohamedzhioua/agent-done-or-not. It costs 111 tokens per session (1,420 once invoked), scanned C, original, MIT.

A completion check that requires fresh proof before an agent can say a coding task is finished.

In plain words
What is it for?
Use it after tests, builds, type checks, linting, or endpoint checks when you need evidence that the work actually passed.
Why use it?
It records the verification command, exit code, and output hash, and blocks claims based on failed, old, or reused evidence.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: mentions Claude Code; mentions Codex; built for cline.

Part of the agent-done-or-not plugin — 1 skill, 1 hook shipped together

Good fit Use it after tests, builds, type checks, linting, or endpoint checks when you need evidence that the work actually passed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mohamedzhioua/agent-done-or-not/done-or-not
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 mohamedzhioua/agent-done-or-not --skill done-or-not
Clone the repo
git clone --depth 1 https://github.com/mohamedzhioua/agent-done-or-not

Made for: Claude Code.

Or install agent-done-or-not, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

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 done-or-not

README.md
[![agentmods](https://agentmods.dev/badge/skills/mohamedzhioua/agent-done-or-not/done-or-not/github.svg)](https://agentmods.dev/skills/mohamedzhioua/agent-done-or-not/done-or-not)
Your own site
<a href="https://agentmods.dev/skills/mohamedzhioua/agent-done-or-not/done-or-not"><img src="https://agentmods.dev/badge/skills/mohamedzhioua/agent-done-or-not/done-or-not/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 done-or-not

Your own site · 80×15
<a href="https://agentmods.dev/skills/mohamedzhioua/agent-done-or-not/done-or-not"><img src="https://agentmods.dev/badge/skills/mohamedzhioua/agent-done-or-not/done-or-not.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,420 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00111 $0.01420
Opus 5 $0.00056 $0.00710
Sonnet 5 $0.00022 $0.00284
Haiku 4.5 $0.00011 $0.00142

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

Security

Grade C, and why

done-or-not scanned grade C with 2 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 12d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| One-liner installer | `curl -fsSL https://raw.githubusercontent.com/mohamedzhioua/agent-done-or-not/main/install.sh \| sh` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(tests, build, lint, curl) through a tamper-evident gate that records the
skills/done-or-not/SKILL.md · 168 lines

How it starts

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

done-or-not

Why this exists

AI agents routinely announce tasks are complete without verifying anything actually ran. This skill enforces a proof gate: the agent must run the real check (tests, build, typecheck, lint, a curl against the endpoint — whatever demonstrates the claim), record a tamper-evident receipt, and only then may it report done.

The gate records: the command, its exit code, and a SHA-256 of its full output. Freshness is judged by the epoch inside the receipt (not file mtime, which touch could forge). A receipt can only clear one stop — it is consumed on use.

When to use

Use whenever you are about to tell the user that a task, build, test, fix, or verification step is finished. A completion claim requires proof from the gate, not confidence or memory.

How to use

Portable skill command

  1. Identify the command that verifies the work. Choose the smallest check that actually verifies the claim: tests, build, typecheck, lint, a curl against a running endpoint, or another command with meaningful pass/fail behavior.

  2. Run the verifying command through the proof gate. This works even when this skill was installed without the repo-root gate scripts:

    npx agent-done-or-not capture --label check -- <your verifying command>
    

    If the protected repo was initialized with local scripts, these faster local forms are also valid:

    bash done-gate.sh capture --label check -- <your verifying command>
    pwsh -File done-gate.ps1 capture --label check -- <your verifying command>
    

    The gate records the command, its exit code, and a SHA-256 of the output. It exits with the command's own code, so a failing check fails the capture.

  3. Only report the work complete after a fresh PASSING receipt exists.

  4. If the check fails, fix the problem and capture again. Never report success on a red check.

Windows (native PowerShell — no bash required)

npx agent-done-or-not capture --label check -- <your verifying command>
pwsh -File done-gate.ps1 capture --label check -- <your verifying command>
# or, on Windows PowerShell 5.1:
powershell -NoProfile -File done-gate.ps1 capture --label check -- <your verifying command>

Read the full file on GitHub · 168 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. 12d ago First seen · 168 lines · 111 tokens per session scan C e574b88da309

Subscribe to this mod's changes

done-or-not is a skill published in the GitHub repository mohamedzhioua/agent-done-or-not (6 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 1,420 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.