# Unlazy: checklists that prove long agent tasks are finished (Leonxlnx/unlazy) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-18 against commit 1667149 (version 2.1.0).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/leonxlnx/unlazy/

## Explain it to a non-programmer
Your AI coding assistant writes a checklist of what "done" means before it starts a big task, with a test for each item. It then works through the list and may only say it is finished when every test passes, or when it tells you plainly which items it gave up on.

## Who it is for
- Your assistant often says "done" on long tasks that turn out half finished
- You give it big jobs with many parts, such as a full build or a full audit
- You want to split a large task among several helper agents and check each part
- Not for: You mostly ask for small edits or quick answers: the author says not to use it for those
- Not for: You do not use an AI coding assistant that can run commands

## What it is
- Kind: command, scripts
- License: MIT
- Repository: https://github.com/Leonxlnx/unlazy

## What it does
- Before real work, write GATES.md: one observable outcome per item, each with a CHECK command and the EXPECT text that proves success
- Pick the smallest mode: Solo (one checklist), Orchestrated (a plan and a tree of parts) or Parallel (parts run by several helper agents at once)
- Work each part in four passes: build it fully, re-read it as an expert, hunt defects, polish until a pass finds nothing
- An item counts as met only when its command exits cleanly and prints the expected text
- An impossible item is never deleted: it is marked ABANDON with a reason and reported as a handoff
- Before the final report, re-read the request and re-measure every number and claim
- Never cuts: No done report while any required item is unmet, abandoned, deferred or waiting on your decision
- Level solo: One GATES.md for a focused task that fits one session
- Level orchestrated: A PLAN.md and a tree of parts (tree N), each part with its own checklist
- Level parallel: Several helper agents work on parts with separate file ownership; the parent re-checks each part

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| unlazy | /unlazy, $unlazy in Codex, or say "tree N", "gates" or "do not stop until it is done" | yes | Makes the assistant define "done" with checks first, then finish against them |

### unlazy
- Asks for: The task, as large as it is
- Asks for: Optionally a depth, such as tree 5, to split it into parts
- Asks for: Your approval before it runs check commands it did not write
- Gives: GATES.md with outcomes, check commands and evidence
- Gives: For big jobs: .unlazy/<scope>/PLAN.md with a contract table and one checklist per part
- Gives: Re-checked parts returned by helper agents
- Gives: A final report with met, unmet and abandoned counts and every handoff named
- Say: "/unlazy tree 5 refactor the payment module and verify every migration path"

## Know before installing
- It can switch on by itself: the Codex settings file allows use without the command, and the description lists phrases that trigger it.
- Check commands are real code that runs with your permissions. The skill tells the assistant to show them first and run them only after your approval.
- Approvals are saved in your home folder, in ~/.unlazy/approved, outside the project.
- An optional Claude Code stop hook keeps the assistant from ending its turn while items are unmet. It is installed only with your consent and gives up after six blocks with no progress.
- The checklist proves only what its command measures. A passing check does not mean the item's title is honest.
- The author does not claim a measured gain: earlier comparison numbers cannot be reproduced from the repository.

## Install (official commands)
- Any agent (skills CLI): `npx skills add Leonxlnx/unlazy` — Add -g for a user-level install or --all for every detected agent.
- Claude Code: `git clone https://github.com/Leonxlnx/unlazy ~/.claude/skills/unlazy` — The README names the folder; clone the repository into it. Remove: `delete ~/.claude/skills/unlazy`.
- Codex: `git clone https://github.com/Leonxlnx/unlazy ~/.codex/skills/unlazy` — Call it with $unlazy. Remove: `delete ~/.codex/skills/unlazy`.
- Claude Code stop hook (optional): `node <path-to-skill>/scripts/install-hooks.mjs` — Writes .claude/settings.local.json by default; --shared writes .claude/settings.json, --global writes ~/.claude/settings.json. Backs up an existing settings file first. Remove: `node <path-to-skill>/scripts/install-hooks.mjs --uninstall`.

## What runs on the user's machine
- Code on the machine: yes (when the assistant runs the Node checker scripts, and the stop hook if you install it)
- Network: none
- Loading the skill, --status, gate-lint: Reads and parses checklists only. No check command runs.
- gate-check.mjs after your --approve: Runs each CHECK line in a shell with your permissions, writes evidence (exit, a fingerprint of the output) into the checklist and stores approvals in ~/.unlazy/approved.
- Big jobs (--claim, dispatch-check): Writes plan state, file leases, dispatch.json and a status log under .unlazy/<scope>/ in the project.
- install-hooks.mjs (only if you agree): Adds a Stop hook to Claude Code settings: project-local by default, or ~/.claude/settings.json with --global; leaves a .unlazy.bak backup.
- Each time Claude Code tries to stop (hook installed): Reads the checklists and writes a small progress file; does not run checks. Blocks the stop while items are unmet, at most six times without progress.
- Network: The scripts make no network calls and send no telemetry. A check command you approve can do anything, including network calls.

## Settings
- `UNLAZY_SHELL`: Shell for check commands when --shell is not given
- `UNLAZY_APPROVAL_DIR`: Another owner-private folder for approvals, outside the project

## Examples (from the pack's own files)
- A checklist in the skill's format: output format defined in README.md

## Steps only the person can do
- Read and approve each check command before it runs (The terminal output of gate-check.mjs (SECURITY.md explains the steps)) Then: The assistant runs the approved checks and records evidence
- Agree to the optional Claude Code stop hook, or decline it (SKILL.md (Install the optional Claude Code Stop hook carefully)) Then: The assistant runs install-hooks.mjs only after a yes
- Make sure Node 16 or newer is installed (README.md (Install)) Then: The checker and hook scripts run

## Mistakes to avoid
- Not: Run --approve on a checklist that came with someone else's repository without reading it. Instead: Run --status first, read every CHECK line and every script it calls, then approve. Why: Check commands run in a shell with your permissions and environment
- Not: Treat normal mode as a dry run. Instead: Use --status when nothing must run. Why: Once a check is approved, normal mode runs it
- Not: Accept a returned part because --status shows it as met. Instead: Re-run its checks with --reverify. Why: --status reads the recorded result, it does not re-run anything
- Not: Install the stop hook with --shared and commit the settings. Instead: Use the default project-local settings and keep that file out of version control. Why: The shared file holds this machine's absolute paths and is usually not portable
- Not: Use it for a one-line fix or a quick question. Instead: Keep it for long or multi-part work. Why: The author says not to create gates for trivial work

## Lines in the pack aimed at agents (ask the person first)
- "Offer the hook once when structural stop enforcement would materially help." (SKILL.md): The hook changes Claude Code settings; install it only after the person says yes, as the skill itself requires.
- "Approve only commands you wrote or understand, then run them explicitly:" (SKILL.md): The approval is the person's decision, not the agent's; show them each command first.
- "Launch every leaf as a background `Agent` task, record every returned task or agent id, and seal before reading any result." (references/dispatch.md): Parallel mode starts several helper agents at once; confirm the cost and scope with the person first.

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice)
- redistribute-files: yes (MIT: keep the copyright and permission notice in copies)
- client-work: yes (MIT allows use in work for others)

## Which one to pick
- If You want long tasks finished against written outcomes with runnable checks and an honest final count: skill:Leonxlnx/unlazy
- If You want the agent to do less and write the smallest change, not to push work to completion: skill:DietrichGebert/ponytail
- If You want a full workflow that plans, writes tests first and reviews before finishing: skill:obra/superpowers
- If You want only a few careful-coding rules in one text file, with nothing that runs: skill:multica-ai/andrej-karpathy-skills

## Works well with
- agent:claude-code: Has the /unlazy command and the optional Stop hook
- agent:openai-codex: Installs into ~/.codex/skills and is called with $unlazy
- tool:skills: The README installs the pack with npx skills add

## Works in and needs
- Works in Claude Code: skills folder
- Works in Codex: skills folder
- Works in Any agent the skills CLI supports: skills CLI
- Needs Node.js 16 or newer: The checker

## How to tell it works
Install it, then give your assistant a task with several parts and say "/unlazy" before it. It should first write GATES.md with one outcome per item, ask before running check commands, and end with counts of items met, unmet and abandoned.

## Safety
Check commands are code that runs with your permissions; the author's own advice is to read each one and the scripts it calls before approving. Approval is consent, not a sandbox. Keep .claude/settings.local.json, .unlazy/ and .unlazy-hook-state.json out of version control.
