claude-pokee
Pokee Isaac inside
Claude Code, three ways:
- In the
/model picker — claude-pokee launches normal Claude Code
with Pokee Isaac as an extra model next to Opus/Sonnet/Haiku. Switch
with /model pokee-isaac and back, mid-session.
- As a tool — a Claude Code plugin adds
/claude-pokee:isaac plus MCP
tools (ask, build, iterate, health); Claude stays the driver and
delegates one-shot generation to Isaac.
- As the whole model —
claude-pokee isaac runs Claude Code's entire
agent loop on pokee-isaac.
Stdlib Python only, no dependencies. Unofficial — not affiliated with
Pokee AI or Anthropic. You need your own Pokee API key
(console.pokee.ai → API Keys → Create Key; the full key is shown once, so
copy it immediately).
Install
pipx install claude-pokee # or: uv tool install claude-pokee
Put your key where every mode can find it:
mkdir -p ~/.pokee && echo 'POKEE_API_KEY=pk-live-...' > ~/.pokee/.env
export POKEE_API_KEY=... or a .env in the directory you launch from
also work (that order wins). Keep the key server-side: it goes in a shell
env var or a .env you don't commit, never in client code.
API limits
Endpoint https://api.pokee.ai/v1, model pokee-isaac. What the client
enforces or handles for you:
| Limit | Behaviour here |
|---|
| Prompts up to ~10M tokens | No client-side cap; only the body size below applies |
| Request body hard cap 45 MiB | Refused locally before upload, with the actual size in the message; an upstream 413 gets the same explanation |
| Bodies over 16 MiB require SSE | Every Isaac call already goes upstream with stream: true and Accept: text/event-stream; a non-streaming call over the threshold is refused rather than silently sent |
| 500 requests/min, 20M tokens/min, per account across all keys | A 429 is retried up to 3 times, honouring Retry-After (falling back to 5s doubling) before it surfaces as an error |
| 10 concurrent requests, 25 with any credit package | Not enforced client-side — parallel build calls can trip the concurrency limit and get a 429 |
1. Isaac in the /model picker
claude-pokee # interactive; pick "Pokee Isaac" in /model
claude-pokee -p "question" # anything that isn't a subcommand goes to claude
Claude Code speaks the Anthropic Messages API and allows one base URL per
session; Pokee speaks OpenAI chat/completions. So claude-pokee starts a
local router (127.0.0.1, default port 8787) and points Claude Code at it:
model in the request | Goes to |
|---|
claude-* (or missing) | api.anthropic.com, byte-for-byte — auth headers, query string, and SSE stream untouched |
| anything else | translated to Pokee's OpenAI-style API |
The launcher sets no ANTHROPIC_AUTH_TOKEN/ANTHROPIC_API_KEY, so your
saved claude.ai login remains the active credential for Anthropic models —
routing and billing for those are unchanged. The picker entry comes from
ANTHROPIC_CUSTOM_MODEL_OPTION.
Know before switching (applies whenever the session is on pokee-isaac):
- Long prompts — Pokee documents prompts up to roughly 10M tokens, and the
client applies no cap of its own; only the body size limits above apply.
- No prompt caching — every turn resends full context; cost and latency
grow with conversation length.
- Text only — pasted images are dropped with a placeholder.
- Isaac is tuned for one-shot creative generation, not multi-step agentic
work; it's weaker at long tool-use chains and can latch onto MCP server
instructions in busy projects.
2. Isaac as a tool (plugin)
/plugin marketplace add TheMarco/claude-pokee
/plugin install claude-pokee@claude-pokee
| Tool | What it does |
|---|
health | Pings the endpoint, reports model/latency. Run first when things break. |
ask | One-shot prompt → text. save_to writes to disk instead of returning inline. |
build | Generates a self-contained artifact straight to a file. Returns path + size + preview only. |
iterate | Feeds an existing file back with a change request, rewrites in place (keeps a .bak). |
/claude-pokee:isaac <what to build> runs the full loop: expand the request
into a proper spec, build to builds/, verify the output is a complete
offline-capable document, then suggest refinements.
Design choice: build and iterate never return the artifact through the
conversation — a 200KB generated game would eat the context window for no
benefit. Claude gets a path and reads only what it needs. Both auto-resume
when Isaac stops on its token limit. Writes are confined to the working
directory. The plugin sets a 15-minute per-tool timeout, so big builds
aren't cut off.
3. Everything on Isaac
claude-pokee isaac # interactive
claude-pokee isaac -p "question" # print mode