/install hokipoki
HokiPoki Skill
Route tasks to different AI CLIs (Claude, Codex, Gemini) via the HokiPoki P2P network. API keys never leave the provider's machine; only encrypted requests and results are exchanged.
Prerequisites
HokiPoki CLI must be installed and authenticated:
npm install -g @next-halo/hokipoki-cli
hokipoki login
Verify with hokipoki whoami. If not installed, guide the user through setup.
Requesting Help from Another AI
Send a task to a remote AI model. Always use --json for parseable output:
# Specific files
hokipoki request --tool claude --task "Fix the auth bug" --files src/auth.ts --json
# Entire directory
hokipoki request --tool codex --task "Add error handling" --dir src/services/ --json
# Whole project (respects .gitignore)
hokipoki request --tool gemini --task "Review for security issues" --all --json
# Route to a team workspace
hokipoki request --tool claude --task "Optimize queries" --files src/db.ts --workspace my-team --json
# Skip auto-apply (just save the patch)
hokipoki request --tool codex --task "Refactor module" --dir src/ --no-auto-apply --json
Tool selection: if the user doesn't specify a tool, ask which model to use or omit --tool to let HokiPoki choose.
Patch Auto-Apply
Patches auto-apply when the target directory is a git repo with committed files. If auto-apply fails, inform the user and suggest:
git init && git add . && git commit -m "initial"
Provider Mode (Sharing Your AI)
Register and listen for incoming requests:
# Register as a provider (one-time)
hokipoki register --as-provider --tools claude codex gemini
# Start listening
hokipoki listen --tools claude codex
Tasks execute in isolated Docker containers (read-only filesystem, tmpfs workspace, auto-cleanup). Docker must be running.
Status & Account
hokipoki whoami # Current user info
hokipoki status # Account, workspaces, history
hokipoki dashboard # Open web dashboard in browser
When to Suggest Hopping
- User is stuck on a problem after multiple attempts
- User asks for a different approach or fresh perspective
- Task involves a domain where another model excels (e.g., Codex for boilerplate, Gemini for large-context analysis)
- User explicitly asks to try another AI
Full Command Reference
See references/commands.md for all CLI options, auth token locations, and advanced usage.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hokipoki - 安装完成后,直接呼叫该 Skill 的名称或使用
/hokipoki触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HokiPoki 是什么?
Switch AI models without switching tabs using the HokiPoki CLI. Hop between Claude, Codex, and Gemini when one gets stuck. Use when the user wants to request help from a different AI model, hop to another AI, get a second opinion from another model, switch models, share AI subscriptions with teammates, or manage HokiPoki provider/listener mode. Triggers on: 'use codex/gemini for this', 'hop to another model', 'ask another AI', 'get a second opinion', 'switch models', 'hokipoki', 'listen for requests'. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2005 次。
如何安装 HokiPoki?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hokipoki」即可一键安装,无需额外配置。
HokiPoki 是免费的吗?
是的,HokiPoki 完全免费(开源免费),可自由下载、安装和使用。
HokiPoki 支持哪些平台?
HokiPoki 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HokiPoki?
由 budjoskop(@budjoskop)开发并维护,当前版本 v1.0.0。