unverb-cli-dev
v1.1.0
Published
A command-line client for the unverb API, built for agents: bearer key from the environment, JSON bodies, NDJSON output, typed exit codes, resumable event streams.
Maintainers
Readme
unverb — the unverb API from a shell
A command-line client for the unverb API, built for agents. It owns what a
caller gets wrong unaided — the bearer key, Idempotency-Key on creating
routes, cursor paging, resuming event streams, typed exit codes — and nothing
else: request bodies go in as JSON and responses come out as the server wrote
them, one JSON value per line.
npm i -g unverb-cli-dev # the CLI on your PATH (installs the `unverb` command)
export UNVERB_TOKEN=fbk_… # Settings → Developer → API keys
export UNVERB_URL=https://<server>
unverb meta me # who the key acts as
unverb pages create -d '{"name":"Standup notes"}'
unverb pages query | jq -r .id # every page of results, one record per line
unverb events tail --max 10 # live events, resumed across dropsunverb --help— commands, options and exit codes.unverb docs <page>— request and response bodies for every command.unverb skill— the agent skill (SKILL.md): the semantics an agent cannot infer, on one page.unverb skill --installwrites it to~/.claude/skills/unverb/SKILL.mdfor Claude Code (or under$CLAUDE_CONFIG_DIR). An installed copy you have edited is never overwritten without--force; an unedited one is kept current automatically whenunverbruns.
The token is read from UNVERB_TOKEN and the server's address from
UNVERB_URL — from the environment only, never from an argument. Requires
Node 20 or later; no runtime dependencies.
The package also exports the command layer the CLI is built on
(createClient, the route manifest, the error type), for a frontend that is
not a command line.
