coderexpert123

Cognition Claude Proxy — AI skill for Claude Code

AI community

Use Devin CLI's model catalog (SWE-2, GLM-5.2, DeepSeek, 200+) with Claude Code as the backend.

How to install Cognition Claude Proxy

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

What Cognition Claude Proxy does

Use Devin CLI's model catalog (SWE-2, GLM-5.2, DeepSeek, 200+) with Claude Code as the backend.

Alternatives in AI

  • Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
  • EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
  • J Space Cognition Suite V3.7 — J-Space Cognition Suite V3.7 - AI cognitive-enhancement Skills based on Anthropic's J-space global workspace r 3k ★

README

cognition-claude-proxy

A local proxy that lets **Claude Code** (or any Anthropic-API client) use **Devin's model catalog** — SWE-2, GLM-5.2, DeepSeek V4.1 Flash, and 200+ others — as its backend. It translates the Anthropic Messages API to the Connect-RPC format that the Devin CLI uses, and translates the streaming responses back to Anthropic SSE.

How it works

graph LR
    CC[Claude Code] -->|POST /v1/messages\nAnthropic JSON| PX[Proxy :8765]
    PX -->|Connect-RPC protobuf\nauthenticated| UP[Devin CLI backend\nserver.codeium.com]
    UP -->|streaming events| PX
    PX -->|Anthropic SSE| CC
    PX -->|GET /v1/models| UP
    style PX fill:#4d94ff,stroke:#333,stroke-width:2px
    style CC fill:#e066ff,stroke:#333
    style UP fill:#2eb82e,stroke:#333
Plain-text flow
claude  (ANTHROPIC_BASE_URL=http://localhost:8765)
  -> POST /v1/messages            (Anthropic Messages API, JSON)
    -> proxy: translate to Connect-RPC protobuf
      -> POST https://server.codeium.com  (authenticated via local Devin CLI credentials)
    <- Connect server-stream of events (text/thinking/tool-call/usage)
  <- Anthropic SSE events (message_start/content_block_*/message_delta)

The proxy authenticates using your local Devin CLI credentials (`%APPDATA%\devin\credentials.toml` on Windows, `~/.config/devin/credentials.toml` on Linux/macOS). No API keys to manage — if `devin` works, `dclaude` works.

Prerequisites

Quick start

git clone https://github.com/coderexpert123/cognition-claude-proxy.git
cd cognition-claude-proxy

# Option A: use the wrapper (auto-starts the proxy)
bin\dclaude.bat -p "hello"

# Option B: start the proxy manually
node src/server.js            # starts on 127