Agent skill · software engineering · aradotso

cc-haha-claude-code-local

cc-haha-claude-code-local — an agent skill for coding agents.

Why this skill is useful

Adds a fully functional local runner for Claude Code with custom API integration and interactive CLI commands that are not publicly documented.

What it needs

Requires bun, git, unzip installed locally. About 4k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.

What this skill does

bash macOS / Linux curl -fsSL https://bun.sh/install bash macOS via Homebrew brew install bun Windows (PowerShell) powershell -c "irm bun.sh/install.ps1 iex" Verify bun --version bash apt update && apt install -y unzip bash git clone https://github.com/NanmiCoder/cc-haha.git cd cc-haha bun install bash cp .env.example .env env Authentication — pick one: ANTHROPICAPIKEY=yourkeyhere # sent as x-api-key header ANTHROPICAUTHTOKEN=yourtokenhere # sent as Authorization: Bearer header Custom API endpoint (optional — defaults to official Anthropic) ANTHROPICBASEURL=https://api.minimaxi.com/anthropic Model routing ANTHROPICMODEL=MiniMax-M2.7-highspeed ANTHROPICDEFAULTSONNETMODEL=MiniMax-M2.7-highspeed ANTHROPICDEFAULTHAIKUMODEL=MiniMax-M2.7-highspeed ANTHROPICDEFAULTOPUSMODEL=MiniMax-M2.7-highspeed Timeouts and telemetry APITIMEOUTMS=3000000 DISABLETELEMETRY=1 CLAUDECODEDISABLENONESSENTIALTRAFFIC=1 json { "env": { "ANTHROPICAUTHTOKEN": "$ANTHROPICAUTHTOKEN", "ANTHROPICBASEURL": "https://api.minimaxi.com/anthropic", "ANTHROPICMODEL": "MiniMax-M2.7-highspeed", "ANTHROPICDEFAULTSONNETMODEL": "MiniMax-M2.7-highspeed", "ANTHROPICDEFAULTHAIKUMODEL": "MiniMax-M2.7-highspeed", "ANTHROPICDEFAULTOPUSMODEL": "MiniMax-M2.7-highspeed" } } bash Full interactive TUI ./bin/claude-haha Headless / print mode (single prompt, great for scripts/CI) ./bin/claude-haha -p "explain the architecture of this codebase" Pipe input echo "review this function for bugs" ./bin/claude-haha -p Show all CLI options ./bin/claude-haha --help Force recovery/fallback CLI (if TUI fails) CLAUDECODEFORCERECOVERYCLI=1 ./bin/claude-haha powershell Interactive TUI bun --env-file=.env ./src/entrypoints/cli.tsx Headless mode bun --env-file=.env ./src/entrypoints/cli.tsx -p "your prompt here" Recovery CLI fallback bun --env-file=.env ./src/localRecoveryCli.ts bash Identical to macOS/Linux ./bin/claude-haha ./bin/claude-haha -p "your prompt here" env ANTHROPICBASEURL=https://api.minimaxi.com/anthropic ANTHROPICAUTHTOKEN=$MI …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aradotso/cc-haha-claude-code-local

View the source on GitHub

Browse the @skills marketplace