← 返回 Skills 市场
agungprabowo123

Blackbox

作者 Agung Prabowo · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
261
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install blackbox-2
功能描述
Delegate coding tasks to Blackbox AI CLI agent. Multi-model agent with built-in judge that runs tasks through multiple LLMs and picks the best result. Requir...
使用说明 (SKILL.md)

Blackbox CLI

Delegate coding tasks to Blackbox AI via the Hermes terminal. Blackbox is a multi-model coding agent CLI that dispatches tasks to multiple LLMs (Claude, Codex, Gemini, Blackbox Pro) and uses a judge to select the best implementation.

The CLI is open-source (GPL-3.0, TypeScript, forked from Gemini CLI) and supports interactive sessions, non-interactive one-shots, checkpointing, MCP, and vision model switching.

Prerequisites

  • Node.js 20+ installed
  • Blackbox CLI installed: npm install -g @blackboxai/cli
  • Or install from source:
    git clone https://github.com/blackboxaicode/cli.git
    cd cli && npm install && npm install -g .
    
  • API key from app.blackbox.ai/dashboard
  • Configured: run blackbox configure and enter your API key
  • Use pty=true in terminal calls — Blackbox CLI is an interactive terminal app

One-Shot Tasks

terminal(command="blackbox --prompt 'Add JWT authentication with refresh tokens to the Express API'", workdir="/path/to/project", pty=true)

For quick scratch work:

terminal(command="cd $(mktemp -d) && git init && blackbox --prompt 'Build a REST API for todos with SQLite'", pty=true)

Background Mode (Long Tasks)

For tasks that take minutes, use background mode so you can monitor progress:

# Start in background with PTY
terminal(command="blackbox --prompt 'Refactor the auth module to use OAuth 2.0'", workdir="~/project", background=true, pty=true)
# Returns session_id

# Monitor progress
process(action="poll", session_id="\x3Cid>")
process(action="log", session_id="\x3Cid>")

# Send input if Blackbox asks a question
process(action="submit", session_id="\x3Cid>", data="yes")

# Kill if needed
process(action="kill", session_id="\x3Cid>")

Checkpoints & Resume

Blackbox CLI has built-in checkpoint support for pausing and resuming tasks:

# After a task completes, Blackbox shows a checkpoint tag
# Resume with a follow-up task:
terminal(command="blackbox --resume-checkpoint 'task-abc123-2026-03-06' --prompt 'Now add rate limiting to the endpoints'", workdir="~/project", pty=true)

Session Commands

During an interactive session, use these commands:

Command Effect
/compress Shrink conversation history to save tokens
/clear Wipe history and start fresh
/stats View current token usage
Ctrl+C Cancel current operation

PR Reviews

Clone to a temp directory to avoid modifying the working tree:

terminal(command="REVIEW=$(mktemp -d) && git clone https://github.com/user/repo.git $REVIEW && cd $REVIEW && gh pr checkout 42 && blackbox --prompt 'Review this PR against main. Check for bugs, security issues, and code quality.'", pty=true)

Parallel Work

Spawn multiple Blackbox instances for independent tasks:

terminal(command="blackbox --prompt 'Fix the login bug'", workdir="/tmp/issue-1", background=true, pty=true)
terminal(command="blackbox --prompt 'Add unit tests for auth'", workdir="/tmp/issue-2", background=true, pty=true)

# Monitor all
process(action="list")

Multi-Model Mode

Blackbox's unique feature is running the same task through multiple models and judging the results. Configure which models to use via blackbox configure — select multiple providers to enable the Chairman/judge workflow where the CLI evaluates outputs from different models and picks the best one.

Key Flags

Flag Effect
--prompt "task" Non-interactive one-shot execution
--resume-checkpoint "tag" Resume from a saved checkpoint
--yolo Auto-approve all actions and model switches
blackbox session Start interactive chat session
blackbox configure Change settings, providers, models
blackbox info Display system information

Vision Support

Blackbox automatically detects images in input and can switch to multimodal analysis. VLM modes:

  • "once" — Switch model for current query only
  • "session" — Switch for entire session
  • "persist" — Stay on current model (no switch)

Token Limits

Control token usage via .blackboxcli/settings.json:

{
  "sessionTokenLimit": 32000
}

Rules

  1. Always use pty=true — Blackbox CLI is an interactive terminal app and will hang without a PTY
  2. Use workdir — keep the agent focused on the right directory
  3. Background for long tasks — use background=true and monitor with process tool
  4. Don't interfere — monitor with poll/log, don't kill sessions because they're slow
  5. Report results — after completion, check what changed and summarize for the user
  6. Credits cost money — Blackbox uses a credit-based system; multi-model mode consumes credits faster
  7. Check prerequisites — verify blackbox CLI is installed before attempting delegation
安全使用建议
This skill's instructions will install and run the Blackbox CLI, require a Blackbox API key, and ask the agent to run arbitrary shell commands (git, npm, gh, cloning repositories, executing code). Before installing or invoking it: (1) verify you trust the Blackbox CLI source (GitHub repo and npm package) and prefer installing that CLI yourself instead of letting the agent do it automatically; (2) do not provide secrets (API keys) unless you trust the skill and understand where they will be stored; (3) run the agent in a sandbox or isolated workdir (container, VM, or temp dir) to avoid unintended code execution on important projects; (4) note the SKILL.md and registry metadata disagree — ask the author to update registry fields to declare required binaries and credentials (Node.js, @blackboxai/cli, Blackbox API key, optionally GitHub CLI) before proceeding.
功能分析
Type: OpenClaw Skill Name: blackbox-2 Version: 0.1.0 The skill bundle provides a standard integration for the Blackbox AI CLI, allowing an AI agent to delegate coding tasks to multiple LLMs. It includes instructions for installation, configuration, and execution of one-shot or background tasks using the `terminal` and `process` tools. While the CLI supports an automated '--yolo' mode, the skill's instructions in SKILL.md are consistent with its stated purpose of code generation and PR review, with no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill's stated purpose (delegate coding tasks to the Blackbox CLI) is plausible, but the registry metadata lists no required binaries or credentials while the SKILL.md clearly requires Node.js, the @blackboxai/cli, and a Blackbox API key (and implicitly the GitHub CLI for the PR example). The declared requirements in the registry do not align with what the instructions actually need.
Instruction Scope
The SKILL.md instructs the agent to run shell commands (npm install -g, git clone, mktemp, git/gh operations), start interactive and background CLI sessions, clone arbitrary repositories, and run the Blackbox agent against project code. Those actions match the coding-agent purpose but grant the agent the ability to download, modify, and execute code in arbitrary workdirs; the instructions do not constrain or sandbox that behavior.
Install Mechanism
There is no install spec in the registry (instruction-only), but the runtime instructions explicitly tell the agent to install the CLI via npm or from a GitHub repo. Installing a global npm package or cloning/executing code from GitHub is higher-risk than a pure instruction-only skill and should be acknowledged by the metadata; the absence of an install declaration is an inconsistency.
Credentials
SKILL.md requires a Blackbox API key (and suggests running `blackbox configure`) but the registry lists no required environment variables or primary credential. The PR review example uses `gh pr checkout` which implies need for GitHub CLI and auth but those are not declared either. Required credentials and tools are not proportionately or transparently declared.
Persistence & Privilege
The skill does not request forced persistence (always: false) and does not attempt to modify other skills or system-wide agent settings in the instructions. Background sessions and process polling are part of normal agent operation and are documented in the SKILL.md.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install blackbox-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /blackbox-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of Blackbox skill for Hermes. - Enables delegation of coding tasks to the Blackbox AI CLI agent via the Hermes terminal. - Supports multi-model coding workflows: tasks are sent to multiple LLMs, with an integrated judge for selecting the best result. - Provides detailed usage instructions for one-shot, interactive, and background modes, utilizing terminal and process tools. - Includes features such as checkpoint/resume, parallel tasks, model selection, vision support, token limits, and session commands. - Requires Blackbox CLI installation, API key setup, and PTY-enabled terminal operations.
元数据
Slug blackbox-2
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Blackbox 是什么?

Delegate coding tasks to Blackbox AI CLI agent. Multi-model agent with built-in judge that runs tasks through multiple LLMs and picks the best result. Requir... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 261 次。

如何安装 Blackbox?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install blackbox-2」即可一键安装,无需额外配置。

Blackbox 是免费的吗?

是的,Blackbox 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Blackbox 支持哪些平台?

Blackbox 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Blackbox?

由 Agung Prabowo(@agungprabowo123)开发并维护,当前版本 v0.1.0。

💬 留言讨论