jedarden

Clasp — AI skill for Claude Code

AI community

Run Claude Code with any LLM provider — drop-in proxy for OpenAI, Gemini, and more.

How to install Clasp

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jedarden/CLASP and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Clasp does

Run Claude Code with any LLM provider — drop-in proxy for OpenAI, Gemini, and more. Go.

Alternatives in AI

  • Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★

README

CLASP - Claude Language Agent Super Proxy

Run Claude Code against any LLM provider — OpenAI, Azure, Gemini, Ollama, vLLM, or any OpenAI-compatible endpoint. CLASP is a lightweight Go proxy that sits between Claude Code and your chosen provider, translating the Anthropic Messages API to OpenAI Chat Completions in real time.

Claude Code  →  CLASP (:8080)  →  OpenAI / Azure / OpenRouter / Ollama / custom

No patches to Claude Code. No forks. Just point `ANTHROPIC_BASE_URL` at the proxy and go.

Features

  • Bundled Claude Code: Automatically includes Claude Code as a dependency - single npx clasp-ai installs everything
  • Multi-Provider Support: OpenAI, Azure OpenAI, OpenRouter (200+ models), and custom endpoints (Ollama, vLLM, LM Studio)
  • Full Protocol Translation: Anthropic Messages API ↔ OpenAI Chat Completions API
  • SSE Streaming: Real-time token streaming with state machine processing
  • Tool Calls: Complete translation of tool_use/tool_result between formats
  • Connection Pooling: Optimized HTTP transport with persistent connections
  • Retry Logic: Exponential backoff for transient failures
  • Metrics Endpoint: Request statistics and performance monitoring
  • API Key Authentication: Secure the proxy with optional API key validation

Installation

Via npm (recommended)

# Install globally
npm install -g clasp-ai

# Or run directly with npx
npx clasp-ai

Via Go

go install github.com/jedarden/clasp/cmd/clasp@latest

From Source

git clone https://github.com/jedarden/CLASP.git
cd CLASP
make build

Via Docker

# Run with Docker (from GitHub Container Registry)
docker run -d -p 8080:8080 \
  -e OPENAI_API_KEY=sk-... \
  ghcr.io/jedarden/clasp:latest

# With specific version
docker run -d -p 8080:8080 \
  -e OPENAI_API_KEY=sk-... \
  ghcr.io/jedarden/clasp:0.24.8

# Or with docker-compose
docker-compose up -d

**Available Docker tags:**

  • latest - Latest