backdoor

by ajsai47Verified

Run Claude Code against any AI provider. DeepSeek, Groq, Ollama, OpenRouter — your call.

300
Stars
34
Forks
Python
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/ajsai47/backdoor

Getting Started

Guides for using skills like backdoor.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

██████╗  █████╗  ██████╗██╗  ██╗██████╗  ██████╗  ██████╗ ██████╗
██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔══██╗██╔═══██╗██╔═══██╗██╔══██╗
██████╔╝███████║██║     █████╔╝ ██║  ██║██║   ██║██║   ██║██████╔╝
██╔══██╗██╔══██║██║     ██╔═██╗ ██║  ██║██║   ██║██║   ██║██╔══██╗
██████╔╝██║  ██║╚██████╗██║  ██╗██████╔╝╚██████╔╝╚██████╔╝██║  ██║
╚═════╝ ╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚═════╝  ╚═════╝  ╚═════╝ ╚═╝  ╚═╝

Claude Code is the best coding agent ever built. The model underneath is optional.

Backdoor lets you run Claude Code against any AI — DeepSeek, Groq, Ollama, OpenRouter, or your own local model. Same UI. Same tools. Same agentic loops. Zero lock-in.

License: MIT Works with Claude Code Providers

The problem

Claude Code is genuinely in a league of its own as a coding agent. The tool use, the agentic loops, the way it navigates a codebase — nothing else comes close.

But it's hardwired to Anthropic's API. You pay Anthropic's prices. You use Anthropic's models. You play by Anthropic's rules.

That's a lot of lock-in for a tool that could theoretically run on anything.

The fix

Backdoor is a lightweight proxy that intercepts Claude Code's API calls and reroutes them to any OpenAI-compatible provider. It translates the request format, streams the response back, handles tool use — everything. Claude Code has no idea anything changed.

Before:   Claude Code  →  Anthropic API  →  $$$
After:    Claude Code  →  Backdoor  →  literally anything

Three commands to set up. One line to switch providers.

The numbers don't lie

We ran 500 million tokens through Claude Code. Same workload. Two different backends.

Claude Opus 4.7 DeepSeek V3 Flash

500M tokens $9,834 $5.34

Cost per 1M tokens ~$19.67 ~$0.01

Savings99.95% cheaper

That's not a typo. $9,834 vs $5.34. Nearly 2,000x cheaper at scale.

If you're an individual developer, that's the difference between a credit card bill that hurts and one that rounds to zero. If you're a team running Claude Code across multiple engineers, this is the difference between a budget line item that gets cut and one nobody notices.

The harness is free. The intelligence is cheap. That's the whole point.

What you actually get

🆓 Run it free. NVIDIA NIM and Groq both have free tiers with thousands of requests per month. Backdoor works with both out of the box.

💸 Run it cheap. DeepSeek costs roughly 95% less than Claude's API. If you're using Claude Code daily, that's the difference between a coffee and a car payment.

🔒 Run it private. Point Backdoor at a local Ollama instance and nothing ever leaves your machine. No API. No logs. No data sent anywhere.

🔀 Run whatever model you want. One config change and you're on a completely different AI. Benchmark Llama vs. Mistral vs. DeepSeek against your actual work, using the best coding agent UI ever built as the harness.

🌍 200+ models, one tool. Wire up OpenRouter and you have access to every major model on earth — Gemini, Grok, Qwen, Command R, all of them — through a single API key.

Get running in 60 seconds

git clone https://github.com/ajsai47/backdoor
cd backdoor
./backdoor   # animated setup wizard — picks your provider, writes your config, launches Claude Code

That's it. The wizard handles everything: animated intro, provider selection, API key entry, and launching your first session. If you'd rather skip the wizard and configure manually, copy .env.example to .env, fill it in, and run ./run.sh directly.

Pick your provider

Edit three lines in .env and you're on a different AI:

PROVIDER_BASE_URL=https://api.deepseek.com/v1
PROVIDER_API_KEY=your-key
PROVIDER_MODEL=deepseek-chat

Provider Free tier? Speed Best for

DeepSeek — Fast Best value. Insanely cheap.

Groq ✅ Fastest When you want responses instantly

NVIDIA NIM ✅ Fast Free Llama 3.3 70B

OpenRouter — Varies Access to everything, one key

Ollama ✅ (local) Depends on your machine Total privacy, no internet needed

LM Studio ✅ (local) Depends on your machine Easy local model management

Why this exists

I'm a huge fan of Anthropic. Genuinely. Their models are some of the most impressive technology I've ever used, and Claude Code is the best coding agent ever built — it's not close.

This project isn't a knock on them. It's a tribute to how good the harness is.

What I believe is simple: the best tools should be accessible to everyone, not just the people who can afford the top-tier API. A student, a solo developer, a builder in a country where $9,000/month in API costs is unthinkable — they deserve to experience what Claude Code can do. Vendor lock-in shouldn't be the thing standing between a great developer and a great tool.

Anthropic built the magic. Backdoor makes sure everyone gets to use it.

Run Claude Code. Bring your own model. Keep building.

Open source. No strings.

MIT licensed. Read the code — it's clean, it's simple, it's less than 600 lines. Fork it, change it, build on it.

If a new AI provider launches tomorrow, you can use it with Backdoor the same day. No waiting for a pull request. Just drop in the URL.

Bonus: control Claude Code from your phone

Set TELEGRAM_BOT_TOKEN and TELEGRAM_ALLOWED_USER_ID in .env and you can trigger Claude Code sessions from Telegram. Send a prompt from your phone, get the output back in chat.

Troubleshooting

Proxy failed to start Something is already using port 8082. Either stop the other process or change PORT=8083 in your .env.

PROVIDER_API_KEY is not set Open .env and replace your-api-key-here with your actual key.

Claude Code is not installed Install it from claude.ai/code.

Model not found or 404 from the provider The model name in PROVIDER_MODEL doesn't match what the provider expects. Check the provider's docs for the exact model slug — they vary (e.g. DeepSeek uses deepseek-chat, Groq uses llama-3.3-70b-versatile).

Responses feel slow Switch to Groq — it's the fastest inference available and has a free tier.

Nothing is logged Check proxy.log in the project directory. If it's empty, the proxy didn't start at all — run uv run uvicorn server:app directly to see the error.

How it works under the hood

Claude Code talks to localhost:8082 thinking it's Anthropic. Backdoor receives the request, translates it from Anthropic's Messages API format to OpenAI's chat completions format, forwards it to your chosen provider, and streams the response back — translated back into Anthropic's SSE format in real time. Tool calls, streaming deltas, token counts — all handled transparently.

A handful of Claude Code's internal housekeeping requests (quota probes, title generation, etc.) are intercepted and short-circuited locally so they don't burn your provider quota.

Star this if you think the best coding agent should work with any model.

Frequently Asked Questions

What is backdoor?

backdoor is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ajsai47. Run Claude Code against any AI provider. DeepSeek, Groq, Ollama, OpenRouter — your call. It has 300 GitHub stars.

Is backdoor safe to use?

Yes. backdoor passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install backdoor?

Clone the repository with "git clone https://github.com/ajsai47/backdoor" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is backdoor written in?

backdoor is primarily written in Python. It is open-source under ajsai47 on GitHub, so you can review or fork the full source.

Are there alternatives to backdoor?

Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh backdoor against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

claudian

by YishenTu

An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault

14,921972TypeScript
IDE Extensions
View details

OpenMythos

by kyegomez

A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.

14,8003,292Python
IDE Extensions
View details

cursor-hooks

by cursor

5

Automate Cursor behavior around agent events with hooks.

12,500890TypeScript
IDE Extensionsclaude-codeai-tools
View details

arscontexta

by agenticnotetaking

Claude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.

3,479220Shell
IDE Extensions
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details