Turnpike — Testing skill for Claude Code
A minimal local gateway that proxies Claude/Anthropic and OpenAI-spec clients to any OpenAI- or Anthropic-compatible LLM provider, with model remapping and one-command launch integrations for Claude C.
How to install Turnpike
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open aslamplr/turnpike and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Turnpike does
A minimal local gateway that proxies Claude/Anthropic and OpenAI-spec clients to any OpenAI- or Anthropic-compatible LLM provider, with model remapping and one-command launch integrations for Claude Code and Claude Desktop.
Alternatives in Testing
- Agent Plugins Spec — Agent Plugins Specification v1.0.0 — A minimal standard for packaging agent extensions into distributable plug 1.2k ★
- Robotics Agent Skills — Agent skills that make AI coding assistants write production-grade robotics software 170 ★
- Green — Execute TDD Green Phase - write minimal implementation to pass the failing test 168 ★
README
turnpike
A minimal local LLM gateway in Rust, modeled on Ollama's Claude integration (`internal/proxy/claude_desktop.go` + `middleware/anthropic.go` + `ollama launch`).
It lets Anthropic- and OpenAI-spec clients (Claude Code, Claude Desktop, the Anthropic/OpenAI SDKs) run against **any** upstream provider that speaks the OpenAI or Anthropic wire spec — initially OpenCode Zen — by proxying requests byte-for-byte while rewriting only the `model` field.
Full design documentation — architecture, configuration reference, the gateway, the spec bridge, search middleware, and the launchers — lives in [docs/](docs/).
What it does
- Gateway with reverse proxy + model remap —
turnpike servestarts a loopback HTTP server. Client-facing model ids (e.g.claude-sonnet-5) map ontoprovider/modelpairs; the gateway rewrites themodelJSON field, injects the upstream provider's credentials, and streams the response straight back. Like-for-like specs pass through untouched; when the specs don't match, the bridge translates (below). - One-command client launchers — like
ollama launch claude:turnpike launch claude-codefinds/installs theclaudebinary and spawns it withANTHROPIC_BASE_URLpointed at the gateway and every model tier (opus/sonnet/haiku/subagents) remapped to a route id.turnpike launch claude-desktopwrites a third-party inference gateway profile into Claude Desktop's config library (mirroring Ollama's app), with automatic backup and--restore. Claude Desktop only recognizes UUID-named profile files, so turnpike uses the stable00000000-0000-5000-9000-000000000128.jsonand registers it in_meta.json; olderturnpike.jsonfiles are migrated out automatically, and pre-turnpike snapshots live inturnpike-backups/next to configLibrary.
- Agentic search middleware — when a bridged Claude client declares a
web_searchserver tool and a search provider
Related Skills
AI Gateway Testkit
Open-source conformance and regression testkit for Anthropic- and OpenAI-compatible AI gateways, with stable t
FreeComputerUse
Local-first AI browser automation with Playwright. Use OpenAI, Grok, DeepSeek, Anthropic and compatible APIs—o
Model Provider
Switch the default model provider for sf's spawned build/test sub-agents: anthropic (default), codex, or curso
Openapi MCP Gateway
Turn any OpenAPI/Swagger API into an MCP server with per-user OAuth2. Multi-spec gateway for Claude Code, Code
Grimoire
Prompt engineering toolkit: version-controlled prompts, AI agent skills manager, sandboxed Claude sessions in
AI Browserguard
A firewall for browser agents. Chrome extension that detects, monitors, and controls AI agents in your browser
Related Agents
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints