Manage CLI projects, releases, testing, installs, and distribution
Generated from okibi 0.2.14. Every command also takes the global flag--agent.
Manage the complete lifecycle of a CLI project.
Run without a subcommand to list projects. Every management command supports --workspace and --agent; --agent emits JSON and disables interactive input. Deletion is the deliberate exception: it always requires a human terminal.
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis analytics disable
Usage
okibi clis analytics disable <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis analytics enable
Usage
okibi clis analytics enable <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis analytics status
Usage
okibi clis analytics status <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis changes
Check for repository commits since the last published version
Usage
okibi clis changes <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis delete
Permanently delete a CLI and its Okibi-managed history.
This command always opens the controlling terminal and requires the CLI name to be typed exactly. It has no --yes escape hatch and refuses --agent mode.
Usage
okibi clis delete <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis docs
Read a CLI's command docs, as its docs pages show them. With only the CLI it lists every command; name one (its resource and verb) for its usage, flags and examples. --run reads the commands an older build had, as the build list's "Try it" does.
Usage
okibi clis docs <cli> [command...] [flags]
Flags
Flag
Type
Description
--run
string
read an older build's commands: its run id or number (#3)
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
Show Homebrew publishing for a CLI's official releases
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis homebrew check
Ask Okibi to check now: the npm setup pull request (a failed or closed one is opened again), the npm packages, and any channel behind the official release. Clears a failure's backoff. Owners and admins only.
Usage
okibi clis homebrew check <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis homebrew disable
Stop publishing to Homebrew (it keeps the versions it has)
Usage
okibi clis homebrew disable <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis homebrew enable
Publish every official release to Homebrew, in your account's tap.
Owners and admins only. The CLI's code must be in your GitHub, public, with an official version. --description and --homepage set what npm and brew info show for both channels (the homepage defaults to the repository).
Usage
okibi clis homebrew enable <cli> [flags]
Flags
Flag
Type
Description
--description
string
what npm and brew info show (both channels)
--homepage
string
an https:// homepage (both channels; default: the repository)
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis homebrew status
Show Homebrew publishing for a CLI's official releases
Usage
okibi clis homebrew status <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis hosting
Configure source hosting and install visibility without opening the TUI.
Use status to inspect the current destination, target to switch between Okibi-hosted and your own GitHub repository, visibility to choose the audience, and publish to push the current generated source.
Summarize one anonymous command group (a session id from `okibi clis insights groups <cli>`), as the Activity tab's Summarize does. Summaries share the workspace's summary limit and are cached per group; --saved only reads one already made, with no model work.
Usage
okibi clis insights summary <cli> <group> [flags]
Flags
Flag
Type
Description
--saved
bool
only read a summary already made; never start one
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis insights workflows
Show the Workflows card: recent anonymous command groups sorted into purposes. Without --analyze this only reads the last analysis; --analyze runs a new one (it shares the workspace's summary limit).
Usage
okibi clis insights workflows <cli> [flags]
Flags
Flag
Type
Description
--analyze
bool
run a new analysis instead of reading the last one
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis install
Prepare an exact historical run without changing the official release, then print a short-lived, workspace-scoped install command. Swept artifacts are rebuilt automatically. Use --no-wait to return as soon as rebuilding starts.
Usage
okibi clis install <cli> [flags]
Flags
Flag
Type
Description
--no-wait
bool
start artifact preparation and return immediately
--run
string
run ID or run number (for example 42)
--timeout
duration
maximum time to wait for a rebuilt artifactdefault 5m0s
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis mcp
Configure hosted MCP clients and manage your connections
confirm revocation and deletion of this connection’s credentials
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis mcp setup
Show hosted MCP URLs and client configurations
Usage
okibi clis mcp setup <cli> [flags]
Flags
Flag
Type
Description
--run
string
pin setup URLs to a successful run ID or number
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis mcp summary
Show everyone's hosted MCP connections: how many, which apps, and when last used
Usage
okibi clis mcp summary <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis npm
Okibi publishes each official release to npm from a workflow in your CLI's repository, which npm accepts through trusted publishing. npm can only trust a workflow for a package that already exists, so the first publish runs here, with your own npm login.
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis npm check
Ask Okibi to check now: the npm setup pull request (a failed or closed one is opened again), the npm packages, and any channel behind the official release. Clears a failure's backoff. Owners and admins only.
Usage
okibi clis npm check <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis npm disable
Stop publishing to npm (it keeps the versions it has)
Usage
okibi clis npm disable <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis npm enable
Publish every official release to npm under <package>.
Owners and admins only. The CLI's code must be in your GitHub, public, with an official version. --description and --homepage set what npm and brew info show for both channels (the homepage defaults to the repository).
Each platform's binary is its own package, named after <package>. For an unscoped <package>, --binary-scope puts them under your npm scope instead: with --binary-scope @acme, my-cli depends on @acme/my-cli-win32-x64 and so on. npm can refuse new unscoped names as spam. --binary-scope "" names them after <package> again.
Usage
okibi clis npm enable <cli> <package> [flags]
Flags
Flag
Type
Description
--binary-scope
string
an npm scope for the binary packages, such as @acme ("" clears it)
--description
string
what npm and brew info show (both channels)
--homepage
string
an https:// homepage (both channels; default: the repository)
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis npm setup
Publishes the current official release of <cli> to npm with your npm login (run npm login first), then tells npm to trust the release workflow in the CLI's repository for every package. Okibi never sees your npm credentials. npm may ask for your second factor. Needs npm 11.15 or later.
Usage
okibi clis npm setup <cli> [flags]
Flags
Flag
Type
Description
--skip-publish
bool
only set up trusted publishing (every package already exists)
--skip-trust
bool
only publish the first version
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
Examples
npm loginokibi clis npm setup my-cli
okibi clis npm status
Show npm publishing for a CLI's official releases
Usage
okibi clis npm status <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis pipeline
The web's Pipeline card from the terminal: how a change becomes a build, passes its checks, is released (through a release pull request or straight from the default branch) and reaches the installer, npm and Homebrew.
status shows each stage and its setup. The other commands change one setting or take one action, with the same rules as the web. npm and Homebrew live under okibi clis npm and okibi clis homebrew; where the code lives and who may install it under okibi clis hosting.
Show each pipeline stage, why it reads as it does, and its setup
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
Examples
okibi clis pipeline status stripeokibi clis pipeline auto-generate stripe on --branch mainokibi clis pipeline release-path stripe pull-request
okibi clis pipeline auto-generate
Turn auto-generate on or off for a CLI built from a GitHub repository.
A linked repository rebuilds on every push to the branch. A public repository pasted by URL is checked every hour and rebuilds when it has a new commit. With no --branch, on keeps the branch already watched, else watches the CLI's source branch, else the repository's default branch, as the web's switch does.
Saving the same branch again (on, with no --branch) is how a paused watch, or one that can no longer read its branch, is repaired: it moves the watch to you and clears the problem. Every build, even one started by hand, builds this branch and counts toward the plan's limit. CLIs built from an OpenAPI link use spec-watch instead.
the branch to watch (default: the one watched now, else the source branch, else the repository's default)
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
Examples
okibi clis pipeline auto-generate stripe on --branch mainokibi clis pipeline auto-generate stripe off
okibi clis pipeline release-level
Okibi picks a release's version level from what changed: anything added is a minor release, a fix that adds nothing can be a patch, and breaking changes ship as minor. An owner or admin can set the level of the open release pull request instead, breaking changes or not. The level holds for every rebuild until the pull request merges or closes, and its version bump is updated now. auto goes back to the level Okibi's rules choose.
Choose how each build after the first publish reaches the CLI's repository:
direct each build goes straight to the default branch, and you choose the official version pull-request builds collect in one release pull request; merging it, or pushing a new version to the default branch, releases and tags it
The first publish always goes straight to the repository. Until someone chooses, a CLI uses a release pull request while auto-generate or the spec watch is on. An open release pull request stays the way out until it is merged or closed.
Retry the release that failed. When both a merged release pull request's release and a version pushed to the default branch failed, choose one with --pull-request or --push.
Usage
okibi clis pipeline retry-release <cli> [flags]
Flags
Flag
Type
Description
--pull-request
bool
retry the merged release pull request
--push
bool
retry the version pushed to the default branch
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis pipeline spec-watch
Turn the OpenAPI spec watch on or off for a CLI built from a spec link, or check the spec now.
on fetches the spec once and anchors the watch to it; --every sets how often Okibi checks (1h, 6h or 24h; default 1h, or the current interval). Saving it again repairs a paused watch. Only changes to operations, parameters, bodies, auth or servers start a build, and each one counts toward the plan's limit. check asks for a check now (at most once a minute).
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis publish
Build commits on the CLI repository's default branch as a new version. Official and private testing releases remain selected separately with clis release set or clis testing set.
Usage
okibi clis publish <cli> [flags]
Flags
Flag
Type
Description
--commit
string
require the exact repository HEAD shown by clis changes
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis skill publish
Builds a new version of the CLI from its published code with the SKILL.md saved by `okibi clis skill set`, then moves the official release to that version. The CLI needs an official release first.
Usage
okibi clis skill publish <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis skill set
Use --file <path>, --file - for stdin, or omit --file to open $VISUAL/$EDITOR.
Usage
okibi clis skill set <cli> [flags]
Also available as edit
Flags
Flag
Type
Description
-f, --file
-
read SKILL.md from a file (- for stdin); default opens an editor
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis skill show
Print the canonical SKILL.md
Usage
okibi clis skill show <cli> [flags]
Inherited flags
Flag
Type
Description
--api-url
string
Okibi API base URLdefault https://okibi.ai
--json
bool
emit JSON
--workspace
string
workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace)
okibi clis testing
Select existing versions and manage private tester access