DefaultPerson

Cc Proxy Rs — Communication skill for Claude Code

Communication community

Lightweight Rust proxy for OpenClaw — wraps Claude Code CLI as subprocess, exposing Anthropic Messages API and OpenAI Chat Completions API.

How to install Cc Proxy Rs

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

What Cc Proxy Rs does

Lightweight Rust proxy for OpenClaw — wraps Claude Code CLI as subprocess, exposing Anthropic Messages API and OpenAI Chat Completions API.

Alternatives in Communication

  • Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
  • X Research Skill — X/Twitter research skill for Claude Code and OpenClaw 974 ★
  • Claude Code Webui — Web-based interface for Claude CLI with streaming chat responses 969 ★

README

claude-code-proxy-rs

[![Rust](https://img.shields.io/badge/Rust-1.85+-f74c00?logo=rust&logoColor=white)](https://www.rust-lang.org/) [![Axum](https://img.shields.io/badge/Axum-0.8-blue)](https://github.com/tokio-rs/axum) [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Built for OpenClaw](https://img.shields.io/badge/Built_for-OpenClaw-ff6b35)](https://github.com/nicepkg/openclaw)

Lightweight Rust proxy for **OpenClaw** — use your Claude subscription (Max, Team, Enterprise) as an API provider. Two modes: **subprocess** (agentic, via CLI) and **native** (direct API calls with prompt caching & extended thinking).

Two modes

Subprocess mode (default)

Spawns `claude -p` CLI as a subprocess per request. Claude works as a full agent with built-in tools (Read, Edit, Bash, etc.) and its 43K system prompt.

Client → Proxy :3456 ←── NDJSON ──► claude CLI subprocess → Anthropic API

**Use when:** you need agentic coding — file operations, bash execution, multi-turn tool use.

Native mode

Direct HTTP calls to `api.anthropic.com` using your subscription's OAuth token. No CLI, no subprocess — pure API proxy with identity normalization.

Client → Proxy :3456 → rewrite identity → api.anthropic.com/v1/messages

**Use when:** you need fast chatbot/completion, prompt caching, extended thinking (`budget_tokens`), or lower latency.

Comparison

Subprocess Native
Built-in tools Read, Edit, Bash, Grep, Glob None
System prompt 43K Claude Code + yours Only yours
Agentic loops Yes (multi-turn tool use) No
Prompt caching No Yes
Extended thinking No budget control Yes (budget_tokens)
Latency ~2-5s (subprocess startup) ~0.3s (HTTP)
Identity normalization N/A (CLI handles) Yes (device_id, billing header, env)

Features

  • Dual API — /v1/messages (Anthropic) + /v1/chat/completions (OpenAI)
  • Streaming & non-streaming for both APIs
  • **Sys