by Gitlawb
The coding agent that answers to you, your model, your machine, your rules.
# Add to your Claude Code skills
git clone https://github.com/Gitlawb/zeroLast scanned: 7/3/2026
{
"issues": [
{
"file": "README.md",
"line": 80,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.s\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-07-03T07:19:38.314Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}zero is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Gitlawb. The coding agent that answers to you, your model, your machine, your rules. It has 1,076 GitHub stars.
Yes. zero passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Gitlawb/zero" and add it to your Claude Code skills directory (see the Installation section above).
zero is primarily written in Go. It is open-source under Gitlawb on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zero against similar tools.
No comments yet. Be the first to share your thoughts!
Zero is an AI coding agent for your local terminal. It can inspect a repository, edit files, run commands, use browser/terminal helpers, and keep durable local sessions while you choose the model and the permission level.
zero
zero exec "fix the failing test in ./pkg"
zero exec --output-format stream-json < turns.jsonl
zero exec is scriptable, supports text/JSON/
stream-JSON I/O, isolated worktrees, spec-first runs, and meaningful exit
codes for CI.npm install -g @gitlawb/zero
zero
The npm package is a small wrapper whose platform build (Linux and macOS on
x64/arm64, Windows on x64 — including the browser/terminal control helpers)
installs as an optional dependency straight from the npm registry — no install
scripts, no downloads outside npm. Bun, pnpm, and yarn work the same way with
no trust or approval steps. Installs that skip optional dependencies
(--omit=optional) still work: the wrapper fetches the binary from the
matching GitHub Release whenever it is missing. Windows on ARM runs the x64
build under emulation. See docs/NPM_PACKAGING.md for
how the package is put together.
Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.sh | bash
Windows PowerShell:
irm https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.ps1 | iex
Source builds require Go 1.26.5+.
git clone https://github.com/Gitlawb/zero.git
cd zero
go run ./cmd/zero
Release installers and the npm wrapper require published GitHub Release assets. If you are testing before the first public release, build from source:
go build -o zero ./cmd/zero
On Linux, build the sandbox helper too if you want native sandboxing:
go build -o zero-linux-sandbox ./cmd/zero-linux-sandbox
go build -o zero-seccomp ./cmd/zero-seccomp # optional compatibility wrapper
Put zero and zero-linux-sandbox in the same directory on PATH
(~/.local/bin is a good default). macOS does not need an extra helper binary.
Windows source builds can use the main zero.exe as their sandbox helper; release
archives still ship standalone Windows helper executables.
More install details: docs/INSTALL.md.
Start the TUI:
zero
The setup wizard helps you pick a provider and model. You can also configure providers from the command line:
zero setup
zero providers list
zero models list
zero doctor
For API providers, set the matching environment variable before setup or enter the key in the wizard:
export OPENAI_API_KEY=sk-...
export ANTHROPIC_API_KEY=...
export GEMINI_API_KEY=...
export LONGCAT_API_KEY=...
export MINIMAX_API_KEY=...
export MINIMAXI_API_KEY=...
To configure Meituan LongCat (LongCat-2.0) directly, run:
zero providers setup longcat --set-active
MiniMax presets use the Anthropic-compatible endpoints for the global and China regions:
zero providers add minimax --set-active
zero providers add minimaxi-cn --set-active
To use the OpenAI-compatible endpoints instead, add a custom compatible profile for the required region:
zero providers add custom-openai-compatible \
--name minimax-openai \
--model MiniMax-M3 \
--base-url https://api.minimax.io/v1 \
--api-key-env MINIMAX_API_KEY \
--set-active
zero providers add custom-openai-compatible \
--name minimax-cn-openai \
--model MiniMax-M3 \
--base-url https://api.minimaxi.com/v1 \
--api-key-env MINIMAXI_API_KEY \
--set-active
For local models, run Ollama or LM Studio and then use zero setup or
zero providers detect.
zero
Useful controls:
| Control | Action |
|---|---|
Enter |
send the prompt |
/ |
open slash-command suggestions |
Shift+Tab |
cycle permission mode |
Ctrl+B |
show/hide the sidebar |
Ctrl+C |
cancel or exit |
Common slash commands:
| Command | Purpose |
|---|---|
/model, /provider |
switch the active model/provider |
/spec, /plan |
draft and review a plan before building |
/image |
attach an image for vision-capable models |
/resume, /rewind |
continue or roll back local sessions |
/loop |
repeat a prompt or custom /command on an interval (/loop 5m /babysit-prs) or self-paced |
/compact, /context |
manage context usage |
/permissions, /tools |
inspect available tools and policy |
/add-dir |
allow an extra write directory for this session |
/theme, /doctor, /config |
adjust appearance and inspect setup |
execzero exec "explain internal/agent/loop.go"
zero exec --model claude-sonnet-4.5 "refactor the config loader"
zero exec --use-spec "add rate limiting to the API client"
zero exec --worktree "try the migration in an isolated worktree"
zero exec --resume
zero exec --fork <session-id> "try the other approach"
Programmatic use:
zero exec --input-format stream-json --output-format stream-json < turns.jsonl
The stream-JSON contract is documented in docs/STREAM_JSON_PROTOCOL.md.
Zero is designed to make side effects visible.
--add-dir <path> and /add-dir <path> grant additional write roots without
giving the agent the whole filesystem.Example:
zero --add-dir ../docs-site
zero exec --add-dir ../shared "update both repos"
Sandbox behavior can be inspected with:
zero sandbox policy
zero sandbox grants list
Zero includes local file/search/edit/shell tools, web_fetch for public URLs,
and MCP support for additional tools.
For local dev servers, use shell commands such as curl through exec_command
so the normal sandbox and permission policy applies. Long-running commands stay
attached to a background terminal session and can be listed or stopped from the
TUI.
The npm package also includes browser and terminal helper packages used by local
browser/terminal tools. Source builds can use the same helpers when they are on
PATH or configured in Zero's local-control settings.
zero interactive TUI
zero exec one-shot or scripted agent run
zero setup first-run provider setup
zero auth OAuth/login helpers for supported providers
zero models model registry and capabilities
zero providers provider profiles and detection
zero doctor setup, key, and connectivity checks
zero context context-budget report
zero repo-map deterministic repository map
zero repo-info local repository summary
zero search | find search local session history
zero sessions inspect, resume, fork, and rewind sessions
zero spec manage spec-mode drafts
zero specialist manage specialist subagents
zero skills manage markdown instruction skills
zero plugins manage plugins
zero hooks manage lifecycle hooks
zero mcp manage MCP servers and tools
zero serve --mcp expose Zero tools over MCP stdio
zero sandbox inspect sandbox policy and grants
zero worktrees prepare isolated git worktrees
zero verify detect and run local verification checks
zero changes inspect and commit local git changes
zero usage token usage and estimated cost
zero cron scheduled agent jobs
zero update check for newer releases
Zero appends project-specific guidance to the system prompt from the first
AGENTS.md, ZERO.md, or .zero/AGENTS.md file found in each directory from
the git root down to your current working directory (checked in that order
per directory). Files are injected general-to-specific, capped at 8 KiB per
file and 32 KiB total.
A personal ZERO.md under config.UserConfigDir()/zero/ZERO.md
($XDG_CONFIG_HOME/zero/ZERO.md or ~/.config/zero/ZERO.md on Linux/macOS,
%AppData%\Roaming\zero\ZERO.md on Windows) applies across every workspace, ahead of any project guidelines.
Plugins are discovered from `~/.config/zer