Authorization notice. Unlazy is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. Checks run with ambient filesystem, environment, credential, and network access, so a gate command can touch secrets or external services.
Who it is forA developer or agent finishing a multi-step refactor who wants evidence, not a claim, that every outcome works.
The problemAgents often declare substantial work complete after a partial check, and nothing records which outcomes were actually verified.
The outcomeA GATES.md ledger where each outcome has a command and expected output, and a re-run that confirms every gate passes.
What you need first
- Node.js 16 or newer
- An AI agent that supports skills, such as Claude Code or Codex CLI
- A repository with a task to verify and shell commands the gates can run
Steps
- Run
npx skills add Leonxlnx/unlazyto install the skill. - Copy templates/gates-leaf.md to GATES.md in the project root and replace every placeholder with a real outcome, CHECK command, and EXPECT string.
- Run
node /scripts/gate-check.mjs --status GATES.mdto inspect the ledger without executing any command. (inferred, check the README) - Read every CHECK command and the scripts it calls, then run
node /scripts/gate-check.mjs --approve GATES.md. (inferred, check the README) - Run
node /scripts/gate-check.mjs --reverify GATES.mdand treat only a passing re-run as completion. (inferred, check the README)
Prompt for your agent
Use the unlazy skill in the repo <repo-path> to refactor <target-module>. Write GATES.md from templates/gates-leaf.md with one runnable gate per outcome, then run node /scripts/gate-check.mjs --reverify GATES.md. Report the gate results, and verify that every gate is marked met before you say the work is complete.
Caveat. The checker only proves the shell command you declare, so a weak CHECK line can pass while the outcome is still broken.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Leonxlnx/unlazy and "Gate a solo refactor with a verified GATES.md ledger"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer