← All use cases

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.

Intermediate
1h

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 Creator
    The built-in skill that drafts, validates and saves the companion skill for your CLI. Invoke it with $skill-creator.

Starter prompt

Build a CLI for [service or script] and use $skill-creator to write a skill for it. Source: [docs, spec, export, script]. First job: [task]. Show the command surface before coding.

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.

SituationCLI role
CI logs behind a pageFetch failed logs to ./logs with excerpts
Weekly ticket exportIndex, search, read by ID
Oversized API payloadsReturn chosen fields; export full object to file
Multi-step scriptSplit 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