Agent Skillselie222/inbox-zero › inbox-zero-api

inbox-zero-api

GitHub

通过 CLI 操作 Inbox Zero API,用于查看规则、统计及自动化配置。适用于需通过 API 而非浏览器交互来管理收件箱状态和自动化的任务场景。

clawhub/inbox-zero-api/SKILL.md elie222/inbox-zero

Trigger Scenarios

需要查看或修改 Inbox Zero 自动化规则 获取收件箱统计数据 通过 API 进行自动化配置

Install

npx skills add elie222/inbox-zero --skill inbox-zero-api -g -y
More Options

Non-standard path

npx skills add https://github.com/elie222/inbox-zero/tree/main/clawhub/inbox-zero-api -g -y

Use without installing

npx skills use elie222/inbox-zero@inbox-zero-api

指定 Agent (Claude Code)

npx skills add elie222/inbox-zero --skill inbox-zero-api -a claude-code -g -y

安装 repo 全部 skill

npx skills add elie222/inbox-zero --all -g -y

预览 repo 内 skill

npx skills add elie222/inbox-zero --list

SKILL.md

Frontmatter
{
    "name": "inbox-zero-api",
    "homepage": "https:\/\/www.getinboxzero.com\/api-reference\/cli",
    "metadata": {
        "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"
        }
    },
    "description": "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."
}

Inbox Zero API CLI

Use this skill when the task is to inspect or change Inbox Zero state through the public API.

Workflow

  1. Prefer --json so the output is stable and machine-readable.
  2. For authenticated commands (rules, stats, etc.), keep credentials in INBOX_ZERO_API_KEY or OpenClaw skill config. Avoid passing API keys as CLI flags unless there is no alternative.
  3. Before creating or replacing a rule body, fetch the live schema with inbox-zero-api openapi --json (no API key required).
  4. For create and update flows, write JSON into a workspace file or pipe it on stdin.
  5. Treat rules update as 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.

Version History

  • 633a2ab Current 2026-08-20 17:15

Same Skill Collection

.claude/skills/agent-browser/SKILL.md
.claude/skills/changelog/SKILL.md
.claude/skills/cloud-dev-environment/SKILL.md
.claude/skills/code-simplifier/SKILL.md
.claude/skills/create-pr/SKILL.md
.claude/skills/explain-changes/SKILL.md
.claude/skills/fullstack-workflow/SKILL.md
.claude/skills/llm-test/SKILL.md
.claude/skills/llm/SKILL.md
.claude/skills/project-structure/SKILL.md
.claude/skills/qa-label/SKILL.md
.claude/skills/qa-new-flow/SKILL.md
.claude/skills/review-ai-prompt-changes/SKILL.md
.claude/skills/review/SKILL.md
.claude/skills/test-feature/SKILL.md
.claude/skills/testing/SKILL.md
.claude/skills/ui-components/SKILL.md
.claude/skills/update-packages/SKILL.md
.claude/skills/logging/SKILL.md
.claude/skills/prisma/SKILL.md
.claude/skills/qa-run/SKILL.md
.claude/skills/e2e/SKILL.md
.claude/skills/write-tests/SKILL.md
.claude/skills/wait/SKILL.md

Metadata

Files
0
Version
780453c
Hash
676bce61
Indexed
2026-08-20 17:15

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 06:28
浙ICP备14020137号-1 $お客様$