Agent skill
inbox-zero-api
Use the Inbox Zero API CLI to inspect the live API schema, list and manage automation rules, and read inbox analytics through the public API. Use this when a task involves Inbox Zero rules, stats, or API-driven automation and can be solved through the CLI instead of browser interaction.
Install this agent skill to your Project
npx add-skill https://github.com/elie222/inbox-zero/tree/main/clawhub/inbox-zero-api
Metadata
Additional technical details for this skill
- openclaw
-
{ "install": [ { "id": "node", "bins": [ "inbox-zero-api" ], "kind": "node", "label": "Install Inbox Zero API CLI (npm)", "package": "@inbox-zero/api" } ], "requires": { "env": [ "INBOX_ZERO_API_KEY" ], "bins": [ "inbox-zero-api" ] }, "skillKey": "inboxZeroApi", "primaryEnv": "INBOX_ZERO_API_KEY" }
SKILL.md
Inbox Zero API CLI
Use this skill when the task is to inspect or change Inbox Zero state through the public API.
Workflow
- Prefer
--jsonso the output is stable and machine-readable. - For authenticated commands (
rules,stats, etc.), keep credentials inINBOX_ZERO_API_KEYor OpenClaw skill config. Avoid passing API keys as CLI flags unless there is no alternative. - Before creating or replacing a rule body, fetch the live schema with
inbox-zero-api openapi --json(no API key required). - For create and update flows, write JSON into a workspace file or pipe it on stdin.
- Treat
rules updateas a full replacement. Read the current rule first if you only intend to change part of it.
Quick Start
inbox-zero-api rules list --json
inbox-zero-api stats by-period --period week --json
inbox-zero-api openapi --json
If the CLI is not installed yet, install it with the OpenClaw installer or run npm install -g @inbox-zero/api.
Cursor
Set INBOX_ZERO_API_KEY when using authenticated commands (rules, stats, etc.); openapi --json works without a key. Use shell profile, Cursor env, or a local env file—never commit keys. Install: npm install -g @inbox-zero/api or npx @inbox-zero/api.
OpenClaw Config
Set the API key in ~/.openclaw/openclaw.json under skills.entries.inboxZeroApi.apiKey, or export INBOX_ZERO_API_KEY in the host environment.
Use INBOX_ZERO_BASE_URL or inbox-zero-api config set base-url <url> only for self-hosted or nonstandard deployments.
Reference
For exact command patterns and a safe mutation flow, read references/cli-reference.md.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
qa-new-flow
Create a new browser QA flow file from the template
llm
Guidelines for implementing LLM (Language Model) functionality in the application
fullstack-workflow
Complete fullstack workflow combining GET API routes, server actions, SWR data fetching, and form handling. Use when building features that need both data fetching and mutations from API to UI.
write-tests
Write focused unit tests for backend and utility logic
e2e
Run and debug E2E flow tests. Use when triggering E2E tests, checking test status, debugging failures with Axiom logs, or setting up local E2E testing.
prisma
How to use Prisma
Didn't find tool you were looking for?