blackbox
Skill này làm gì
Skill giúp agent gửi một việc lập trình tới công cụ dòng lệnh Blackbox, công cụ chạy nhiều mô hình AI và chọn câu trả lời tốt nhất. Dành cho lập trình viên muốn công cụ đó xây dựng hoặc thay đổi mã cho họ.
Khi nào nên dùng
- ✓Khi bạn muốn Blackbox xây dựng một tính năng hoặc tái cấu trúc thay vì agent của chính bạn.
- ✓Khi bạn muốn nhiều mô hình AI cùng làm một tác vụ lập trình.
- ✓Khi bạn cần dựng nhanh một dự án thử từ một lời nhắc duy nhất.
Liên kết skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/blackbox/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dùng Blackbox CLI để thêm đăng nhập JWT với refresh token vào API Express của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy lệnh blackbox trong thư mục dự án của bạn với tác vụ làm prompt. Với các việc dài, nó có thể chạy nền để bạn kiểm tra tiến độ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 (npm @blackbox_ai/blackbox-cli, binary blackbox) is a TypeScript coding agent (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 @blackbox_ai/blackbox-cli(binary:blackbox) - 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="~/.hermes/cache/scratch/issue-1", background=true, pty=true)
terminal(command="blackbox --prompt 'Add unit tests for auth'", workdir="~/.hermes/cache/scratch/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" (-p) |
Non-interactive one-shot execution |
--resume-checkpoint "tag" |
Resume from a saved checkpoint |
--yolo (-y) |
Auto-approve all actions and model switches |
--vlm-switch-mode <mode> |
Image-handling: once, session, or persist |
-c, --checkpointing |
Enable checkpointing of file edits |
blackbox configure |
Change settings, providers, models |
blackbox update |
Update the CLI to the latest version |
blackbox mcp |
Manage MCP servers |
blackbox extensions |
Manage CLI extensions |
blackbox voice <action> / blackbox shortcut |
Configure voice input / the b shortcut |
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":
Câu hỏi thường gặp
Tôi có cần tài khoản không?
Có. Skill cần khóa API Blackbox từ bảng điều khiển, bạn nhập khi chạy lệnh configure.
Tôi cần cài gì?
Node.js 20 trở lên, cùng với Blackbox CLI được cài qua npm.
Nó có xử lý được các việc dài không?
Có. Skill mô tả chế độ nền cho các tác vụ mất vài phút.
Chi tiết
Mô tả gốc của tác giả
Delegate coding tasks to the Blackbox AI multi-model CLI.
Độ phổ biến
- Sao GitHub
- 260k
- Vị trí xếp hạng
- #440
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-merge-conflict-arbiter
260kGiải quyết xung đột merge git giữa nhánh của hai agent với vai trò bên trung lập, tạo ra một kết quả merge duy nhất cho repo.
antigravity-cli
260kHướng dẫn bạn cài đặt, cập nhật và khắc phục sự cố công cụ dòng lệnh Antigravity, gồm plugin, đăng nhập và sandbox.
dynamic-workflow
260kDạy agent của bạn chạy các đợt công việc tương tự lớn như một script đã lưu, để chỉ kết quả đã kiểm chứng mới quay về cuộc trò chuyện chính.
grok
260kCho phép agent của bạn giao việc lập trình cho Grok Build CLI của xAI, để xây tính năng, tái cấu trúc, rà soát pull request hoặc sửa issue hàng loạt.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.