Unlazy Completion Discipline
Keep AI agents from finishing early with deep decomposition, acceptance ledgers, and executable gates.
- Source repo
- Leonxlnx/unlazy
- Stars
- ★ 4.5k
- Last updated
- 3mo ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 80/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- An engineer leading a large refactor who wants migration paths, tests, and acceptance conditions written down before an agent can report completion.
- Not a fit if
- Teams needing an immutable, tagged release: 2.1.0 is unreleased source, so an exact commit must be pinned.
- Teams needing sandboxed execution: approval is consent, and CHECK commands inherit ambient credentials and network access.
- Teams needing portable cross-platform checks: Git Bash versus PowerShell shell and PATH differences break reverification.
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-03+8.7 ★/day over 7 days
- Source review
- 80/100 · Good
What does this agent do, and when should you use it?
Unlazy is a skill and local command-line checker for substantial AI-agent work, built around layered task decomposition and evidence-backed acceptance ledgers. Its repository contains SKILL.md, planning and gate templates, orchestration references, a Node.js gate checker, an optional Claude Code Stop-hook installer, and regression tests. Users describe outcomes in a Markdown GATES.md file with CHECK commands, EXPECT assertions, working directories, and recorded evidence; gate-check.mjs executes or reverifies those declarations. Multi-agent pipelines can keep plans, leaf ledgers, and branch ledgers under .unlazy/<scope>/, using states, declared path ownership, and leases for rolling dispatch. It is installed locally as a skill and explicitly documents Claude Code and Codex CLI usage; executed checks inherit the launching process's filesystem, environment, credentials, and network access. The repository is MIT-licensed, and its source targets version 2.1.0 without claiming that version as a tagged GitHub release.
The workflow begins with an acceptance ledger: each GATES.md entry supplies a CHECK, EXPECT, optional CWD, and EVIDENCE. node <path-to-skill>/scripts/gate-check.mjs --status GATES.md parses and reports status without execution; when a normal run encounters an oracle with no exact approval record, it prints the resolved command, expectation, working directory, shell, and PATH instead of executing it. After reviewing every command and called script, the operator uses --approve to approve and run the ledger. A runnable gate passes only when its process exits 0 and its combined output matches EXPECT, after which evidence records the resolved shell and directory, exit status, a PATH fingerprint, and decisive output. --reverify reruns every runnable gate rather than accepting old evidence. For parallel work, a driver defines interfaces, dependencies, conventions, and OWNS paths under .unlazy/<scope>/, claims leaf leases with --claim, and dispatches work through states such as READY, IN-FLIGHT, and VERIFIED; optional --jobs <N> enables independent checks to run concurrently. The optional Claude Code Stop hook blocks session completion while gates remain unmet but does not execute checks itself.
- An engineer leading a large refactor who wants migration paths, tests, and acceptance conditions written down before an agent can report completion.
- A solo Claude Code or Codex CLI user who needs long-running work to finish with reproducible command evidence.
- A technical lead coordinating several agents in one repository who needs scoped ledgers, declared file ownership, and conservative leases.
- A team maintaining CI or regression checks that wants both a zero exit code and an explicit success marker before accepting a result.
- A reviewer receiving delegated agent work who wants to rerun every gate instead of trusting completion checkboxes or stale evidence.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add Leonxlnx/unlazy
- Config files
~/.claude/skills/unlazy~/.codex/skills/unlazy- Runtime
- Node.js 16
How do you install or deploy this agent?
Install Node.js 16 or newer; the checker and optional hook have no third-party runtime packages. For supported agents, run npx skills add Leonxlnx/unlazy. Add -g for a user-level installation or --all for every detected agent. For manual installation, clone the repository into ~/.claude/skills/unlazy for Claude Code or ~/.codex/skills/unlazy for Codex CLI. No API keys or other credentials are documented as requirements; obtaining the package through npx or Git requires the corresponding network access.
How do you use this agent?
In environments with slash skills, start with /unlazy tree 5 refactor the payment module and verify every migration path; in Codex, invoke $unlazy, or use a natural-language trigger matching the skill description. For solo work, copy templates/gates-leaf.md to GATES.md, replace every placeholder, and inspect it without execution using node <path-to-skill>/scripts/gate-check.mjs --status GATES.md. After reviewing each CHECK and every script it calls, approve and execute the ledger with node <path-to-skill>/scripts/gate-check.mjs --approve GATES.md. To confirm that all results remain valid, run node <path-to-skill>/scripts/gate-check.mjs --reverify GATES.md. The repository's complete test command is npm test.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
FARS trust-control audit
- confirmation before acting
- data-flow disclosure
- dependency security
What are this agent's strengths and limitations?
- Uses a fail-closed rule requiring both exit code 0 and an EXPECT match, rather than treating process success alone as completion.
- Approval records bind the absolute ledger path, gate, exact command and expectation, CWD, shell, limits, platform, and full PATH; changing a bound input requires new approval.
- Provides
--reverifyto rerun completed gates and clearly separates current execution from previously recorded evidence. - Includes scoped ledgers, leaf states, path ownership, and leases for dependency-aware rolling orchestration.
- The checker and optional hook support Node.js 16 and require no third-party runtime packages.
- Approval is not a sandbox: CHECK commands inherit ambient filesystem, environment, credential, and network access, so imported ledgers require manual security review.
- The checker proves only the declared command oracle and cannot determine whether an English acceptance title genuinely corresponds to arbitrary shell code.
- Shell and PATH differences can break reverification, particularly when moving between Git Bash and PowerShell on Windows.
- Leases coordinate cooperating processes but do not isolate writes; colliding output may still require separate worktrees and cache directories.
- The cited research motivates the targeted failure modes but does not establish a fixed improvement from Unlazy, and the earlier internal comparison lacks reproducible raw artifacts.
- The documented 2.1.0 state is unreleased source rather than a named GitHub release, so adopters needing immutability must pin an exact commit.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Unlazy Completion Discipline This agent | 80 · Good | Agent plugin / skillFree | ★ 4.5k | 3mo ago | JavaScript | Codex · Claude Code |
| nWave | 80 · Good | Agent plugin / skillFree + model costs | ★ 638 | 14d ago | Python | Codex · Claude Code |
| Codex CLI Best Practice | 50 · Major gaps | — | ★ 1k | 9d ago | Python | Codex |
| Agent Skills Library | 49 · Major gaps | Agent plugin / skillFree + model costs | ★ 239 | 3d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence requires explicit review and approval of check commands, exposes inherited environment and side-effect boundaries, and constrains approval records and diagnostics, supporting high scores for confirmation and data-flow transparency. Checks still run with the user's access to files, credentials, and network, and approval is not isolation, so least privilege and sensitive-data handling are not fully addressed. The installer documents settings changes and a backup, but a complete recovery path is not established in the supplied material. MIT licensing and contribution guidance aid attribution, while publisher identity and maintenance responsibility remain only partly clear.
The materials give detailed, mutually consistent rules for gate states, success, stale evidence, fail-closed behavior, timeouts, and handoff. Runtime requirements are Node 16+ with no third-party runtime packages, reducing dependency availability risk, though operation still depends on the host shell, PATH, Node, and project-specific checks. Failure behavior is described concretely; tests were not executed in this static review.
The skill covers solo tasks, deep reviews, pipelines, and parallel work, and documents Claude Code, Codex CLI, Windows, and shell usage. It clearly states that it cannot prove a command matches an English outcome and does not provide sandboxing or write isolation. Triggers include substantial-task scenarios and explicit commands, though natural-language scope such as “substantial work” still requires agent judgment. Environment guidance is broad, but compatibility was not verified here.
The README provides a clear repository map, installation instructions, security guidance, quick start, and examples. Limitations and the threat model are detailed, and the MIT license is explicit. Version 2.1.0 is identified as unreleased source; changelog and maintenance responsibility are only partly established. Examples are plentiful, but no centralized FAQ is shown.
The gate ledger, reverification, evidence fingerprints, and handoff states provide usable completion records and an audit path for multi-step work. For simple tasks, ledger setup, approval, and reverification add process cost; the supplied material does not quantify net benefit, so cost-benefit scores lower. The research basis also disclaims any guaranteed fixed improvement.
The README maps behavioral claims to local specifications, scripts, the threat model, and research material; the README, skill, security guide, package metadata, and CI configuration partially corroborate core conventions. The materials distinguish research motivation, historical internal results, and product-effect claims, and acknowledge that earlier comparison data cannot be reproduced from this repository. This static review does not treat CI configuration as an independently observed test result.
- CHECK commands inherit user permissions, environment, credentials, and network access; approval is not sandboxing. Review each command and called script, and use isolation for untrusted work.
- Gates verify only the declared command outcome, not whether the gate title faithfully captures the request; the structural digest cannot prevent a ledger editor from forging evidence.
- The workflow adds planning, approval, and reverification overhead; the cited research does not independently validate this tool's effectiveness.
FAQ
Does Unlazy require a paid service or API key?
Is it safe to run inherited gate files?
Will a normal run execute an unreviewed command?
--status is the only mode documented as always non-executing.Can it guarantee that the real business outcome was achieved?
Is it suitable for parallel agent work?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.