Create a CLI ZeroTwo can use
Hand ZeroTwo a composable command wrapping an API, a log source, an export or a team script.
Request a composable CLI from ZeroTwo: one it can call from any directory, chain with your repo scripts, use for downloading files, and keep in memory via a paired skill.
Related links
Best for
- Repeated work against one service, export, archive, or script.
- Tools needing paged search, reads by ID, predictable JSON, or draft-before-write.
Skills & Plugins
- Skill CreatorThe built-in skill that drafts, validates and saves the companion skill for your CLI. Invoke it with
$skill-creator.
Starter prompt
Introduction
When ZeroTwo keeps hitting the same API, export, or script, wrap it in a command you can run from any folder and combine with git, rg, and tests. A companion skill records when to use the command, how to keep its output small, and which writes need approval.
How to use
Choose what the CLI should do
Start from a repeated read, search, download, or safe write.
| Situation | CLI role |
|---|---|
| CI logs behind a page | Fetch failed logs to ./logs with excerpts |
| Weekly ticket export | Index, search, read by ID |
| Oversized API payloads | Return chosen fields; export full object to file |
| Multi-step script | Split into separate commands |
Share the docs, files, or commands
Provide docs, a redacted curl, an export path, or an existing script, plus the name of the environment variable that holds the credential. Put the secret in your shell yourself, never in chat.
Ask ZeroTwo to build the CLI and skill
Fill in the starter prompt. ZeroTwo proposes the command surface first, so you can adjust it before any code exists. It then writes the CLI, and Skill Creator saves the companion skill under ~/.zerotwo/skills/ on desktop.
Verify the command works from any folder
Test the installed command from another directory, not by running the script path directly. Check command -v, --help, auth, a discovery command, an exact read, file output for large data, and that live writes stop for approval. Under Ask for approval the agent pauses before each risky command, so you can watch the write step.
Use the skill later
Invoke it by name with $, such as Use $ci-logs on this build URL and find the first failing step. Recurring work can then run as a scheduled task.
Related use cases
Follow a goal
Hand ZeroTwo one lasting objective for long-running work.
Create browser-based games
Write a game plan and have ZeroTwo build it and try it out in a live browser.
Keep documentation up-to-date
Draw on your code and other material to keep documentation current automatically.


