hkqr

My Free Code — AI skill for Claude Code

AI community

Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming, tools, reasoning, fallbacks, and local model support.

How to install My Free Code

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

What My Free Code does

Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming, tools, reasoning, fallbacks, and local model support.

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Paca — AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday 1.8k ★

README

My Free Code v0.8

**A multi-provider gateway for Claude Code and other coding agents.**

It is an independent implementation. It is **not affiliated with Anthropic**.

What v0.8 includes

Gateway protocols

  • Anthropic Messages: /v1/messages
  • Anthropic token counting: /v1/messages/count_tokens
  • OpenAI Responses-compatible: /v1/responses
  • model discovery: /v1/models
  • health: /health
  • local Admin UI: /admin
  • authenticated Admin API: /api/admin/*

Agent features

  • streaming SSE
  • tool definitions and tool calls
  • tool results
  • images
  • reasoning/thinking metadata pass-through
  • Claude tier routing: Fable / Opus / Sonnet / Haiku
  • no-thinking gateway IDs
  • ordered model fallback
  • provider health backoff
  • per-provider concurrency
  • rate-window control
  • stable public model identity

Provider layer

The catalog contains the broad provider set used by the project:

NVIDIA NIM, OpenRouter, Groq, OpenAI, xAI, QwenCloud, Together, DeepInfra, SiliconFlow, Nebius, Chutes, Featherless, ZenMux, W&B Inference, Azure OpenAI, Google AI Studio, Google Vertex, DeepSeek, Mistral, Codestral, OpenCode Zen, OpenCode Go, Vercel AI Gateway, Amazon Bedrock, Hugging Face, Cohere, GitHub Models, Wafer, Kimi, Kimi Code, MiniMax, Cerebras, SambaNova, Kilo, Fireworks, Novita, Cloudflare Workers AI, Z.ai, TokenRouter, NaraRoute, Poolside, LLM7, Ollama Cloud, LM Studio, llama.cpp and Ollama.

Provider entries are not fake claims of universal support: providers with unusual authentication/protocols require a dedicated adapter. The common OpenAI-compatible providers use the shared transport.

Coding-agent launcher layer

The architecture has launcher adapters for:

  • Claude Code
  • Codex
  • Pi
  • OpenCode
  • Cline
  • Hermes
  • DeepSeek Harness
  • Grok Build
  • Muse Code

A launcher simply prepares the local proxy environment and delegates arguments to the installed client.

Architecture

             Coding Agents / IDEs
                      |
          +