hokipokiSwitch 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'.
Install via ClawdBot CLI:
clawdbot install budjoskop/hokipokiRoute 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.
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.
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.
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"
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.
hokipoki whoami # Current user info
hokipoki status # Account, workspaces, history
hokipoki dashboard # Open web dashboard in browser
See references/commands.md for all CLI options, auth token locations, and advanced usage.
Generated Mar 1, 2026
A developer is stuck on a persistent authentication bug in their code. They use HokiPoki to request help from Claude, which provides a fix. If Claude's solution doesn't resolve the issue, they can hop to Codex for a different approach, leveraging multiple AI perspectives without leaving their workflow.
A tech team needs a security review for a new module. They use HokiPoki to send the entire project to Gemini for large-context analysis. After receiving feedback, they can switch to Claude for implementation of suggested changes, ensuring comprehensive oversight across different AI strengths.
A startup founder is building a minimum viable product and needs boilerplate code quickly. They use HokiPoki to route tasks to Codex for rapid generation. For complex logic or user experience refinements, they hop to Claude, streamlining development by matching tasks to specialized AI models.
Students working on a group coding project get stuck on error handling. They use HokiPoki to request help from Gemini, and if the solution is unclear, they hop to Claude for a second opinion. This allows them to learn from multiple AI explanations without switching tools.
Offer a free tier with limited requests or basic AI models, and premium subscriptions for unlimited usage, advanced models like Claude or Gemini, and team features such as workspace management. Revenue is generated through monthly or annual subscription fees from individual developers and teams.
Provide customized plans for large organizations, including enhanced security, dedicated support, and integration with internal tools. Revenue comes from annual licensing agreements, with pricing based on the number of users, AI model access, and additional features like audit logs.
Allow users to share their AI subscriptions as providers in the P2P network, earning credits or revenue based on usage. The platform takes a commission on transactions, incentivizing providers to offer their AI access while generating income from the network activity.
💬 Integration Tip
Ensure Docker is running for provider mode to handle isolated task execution, and always use the --json flag in requests for parseable output to streamline integration with other tools.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.