💬 Blackbox
Blackbox AIのコマンドラインツールを通じて、コーディング作業
📺 まず動画で見る(YouTube)
▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
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. Requires the blackbox CLI and a Blackbox AI API key.
🇯🇵 日本人クリエイター向け解説
Blackbox AIのコマンドラインツールを通じて、コーディング作業
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o blackbox.zip https://jpskill.com/download/1087.zip && unzip -o blackbox.zip && rm blackbox.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1087.zip -OutFile "$d\blackbox.zip"; Expand-Archive "$d\blackbox.zip" -DestinationPath $d -Force; ri "$d\blackbox.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
blackbox.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
blackboxフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Blackbox を使って、最小構成のサンプルコードを示して
- › Blackbox の主な使い方と注意点を教えて
- › Blackbox を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Blackbox CLI
Hermes ターミナルを介して、コーディングタスクを Blackbox AI に委任します。Blackbox は、複数の LLM (Claude、Codex、Gemini、Blackbox Pro) にタスクをディスパッチし、最適な実装を選択するためにジャッジを使用するマルチモデルコーディングエージェント CLI です。
この CLI は オープンソース (GPL-3.0、TypeScript、Gemini CLI からフォーク) であり、インタラクティブセッション、非インタラクティブなワンショット、チェックポイント、MCP、およびビジョンモデルの切り替えをサポートしています。
前提条件
- Node.js 20+ がインストールされていること
- Blackbox CLI がインストールされていること:
npm install -g @blackboxai/cli - またはソースからインストールする場合:
git clone https://github.com/blackboxaicode/cli.git cd cli && npm install && npm install -g . - app.blackbox.ai/dashboard から API キーを取得していること
- 設定済みであること:
blackbox configureを実行し、API キーを入力してください - ターミナル呼び出しで
pty=trueを使用すること — Blackbox CLI はインタラクティブなターミナルアプリです
ワンショットタスク
terminal(command="blackbox --prompt 'Add JWT authentication with refresh tokens to the Express API'", workdir="/path/to/project", pty=true)
簡単なスクラッチ作業の場合:
terminal(command="cd $(mktemp -d) && git init && blackbox --prompt 'Build a REST API for todos with SQLite'", pty=true)
バックグラウンドモード (長時間タスク)
数分かかるタスクの場合、進捗を監視できるようにバックグラウンドモードを使用します。
# PTY を使用してバックグラウンドで開始
terminal(command="blackbox --prompt 'Refactor the auth module to use OAuth 2.0'", workdir="~/project", background=true, pty=true)
# session_id を返します
# 進捗を監視
process(action="poll", session_id="<id>")
process(action="log", session_id="<id>")
# Blackbox が質問した場合に入力を送信
process(action="submit", session_id="<id>", data="yes")
# 必要に応じて終了
process(action="kill", session_id="<id>")
チェックポイントと再開
Blackbox CLI には、タスクの一時停止と再開のための組み込みのチェックポイントサポートがあります。
# タスク完了後、Blackbox はチェックポイントタグを表示します
# フォローアップタスクで再開:
terminal(command="blackbox --resume-checkpoint 'task-abc123-2026-03-06' --prompt 'Now add rate limiting to the endpoints'", workdir="~/project", pty=true)
セッションコマンド
インタラクティブセッション中に、以下のコマンドを使用します。
| コマンド | 効果 |
|---|---|
/compress |
会話履歴を圧縮してトークンを節約します |
/clear |
履歴を消去し、最初から開始します |
/stats |
現在のトークン使用量を表示します |
Ctrl+C |
現在の操作をキャンセルします |
PR レビュー
作業ツリーの変更を避けるため、一時ディレクトリにクローンします。
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)
並行作業
独立したタスクのために複数の Blackbox インスタンスを起動します。
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)
# すべてを監視
process(action="list")
マルチモデルモード
Blackbox のユニークな機能は、同じタスクを複数のモデルで実行し、結果を評価することです。blackbox configure を介して使用するモデルを設定します — 複数のプロバイダーを選択すると、CLI が異なるモデルからの出力を評価し、最適なものを選択する Chairman/judge ワークフローが有効になります。
主要なフラグ
| フラグ | 効果 |
|---|---|
--prompt "task" |
非インタラクティブなワンショット実行 |
--resume-checkpoint "tag" |
保存されたチェックポイントから再開 |
--yolo |
すべてのアクションとモデルの切り替えを自動承認 |
blackbox session |
インタラクティブなチャットセッションを開始 |
blackbox configure |
設定、プロバイダー、モデルを変更 |
blackbox info |
システム情報を表示 |
ビジョンサポート
Blackbox は入力内の画像を自動的に検出し、マルチモーダル分析に切り替えることができます。VLM モード:
"once"— 現在のクエリのみモデルを切り替えます"session"— セッション全体で切り替えます"persist"— 現在のモデルに留まります (切り替えなし)
トークン制限
.blackboxcli/settings.json を介してトークン使用量を制御します。
{
"sessionTokenLimit": 32000
}
ルール
- 常に
pty=trueを使用してください — Blackbox CLI はインタラクティブなターミナルアプリであり、PTY なしではハングします workdirを使用してください — エージェントを正しいディレクトリに集中させます- 長時間タスクにはバックグラウンドを使用してください —
background=trueを使用し、processツールで監視します - 干渉しないでください —
poll/logで監視し、セッションが遅いからといって終了させないでください - 結果を報告してください — 完了後、変更点を確認し、ユーザーに要約してください
- クレジットは費用がかかります — Blackbox はクレジットベースのシステムを使用しており、マルチモデルモードではクレジットの消費が速くなります
- 前提条件を確認してください — 委任を試みる前に
blackboxCLI がインストールされていることを確認してください
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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 configureand enter your API key - Use
pty=truein 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="<id>")
process(action="log", session_id="<id>")
# Send input if Blackbox asks a question
process(action="submit", session_id="<id>", data="yes")
# Kill if needed
process(action="kill", session_id="<id>")
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
- Always use
pty=true— Blackbox CLI is an interactive terminal app and will hang without a PTY - Use
workdir— keep the agent focused on the right directory - Background for long tasks — use
background=trueand monitor withprocesstool - Don't interfere — monitor with
poll/log, don't kill sessions because they're slow - Report results — after completion, check what changed and summarize for the user
- Credits cost money — Blackbox uses a credit-based system; multi-model mode consumes credits faster
- Check prerequisites — verify
blackboxCLI is installed before attempting delegation