by hkc5
Claude Code that runs on your Cursor subscription. One Rust binary, zero config.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/hkc5/cursor-bridgeGuides for using cli tools skills like cursor-bridge.
One binary. Claude Code on Cursor's backend. Zero config.

You have a Cursor subscription. You want to use Claude Code (the CLI). Cursor's Auto model is included with your subscription — free, unlimited, no extra per-token cost.
Without cursor-bridge, you'd pay separately for Anthropic API credits or a Claude Pro plan.
With cursor-bridge, you just run cursor-bridge and it works — Claude Code runs on your Cursor backend.
Use cases:
cursor-bridge # interactive session
cursor-bridge "refactor this file" # one-shot prompt
cursor-bridge -p "list files" # pipe mode
That's it. No proxy management. No env vars. Everything automatic.
cursor-bridge (Rust binary)
├── Starts a local HTTP proxy on a random port
├── Reads your Cursor auth token from macOS keychain (or CURSOR_TOKEN env var on Linux)
├── Spawns `claude` with env vars pointing at the proxy
├── Proxy translates Anthropic API calls → Cursor agent CLI
└── Cleans up on exit
You don't see the proxy. You don't manage it. It's there and gone.
# Prerequisites
# - Cursor installed with `agent` CLI authenticated (`agent login`)
# - Claude Code installed (`curl -O https://claude-code.anthropic.com/claude && chmod +x claude`)
cargo install cursor-bridge
# Then just use it
cursor-bridge
Or download a binary from Releases.
agent CLI in PATH)claude in PATH)CURSOR_TOKEN env var (no keychain fallback)All other solutions are background servers you manage. cursor-bridge is a command you run.
Existing proxies (cursor-api-proxy, cursor-composer-in-claude, cursor-proxy) are Node.js servers that live in your process list, occupy a port, and need manual env var wiring. They don't ship with Claude Code — they sit between you and it, adding ceremony.
cursor-bridge is the opposite. There is nothing to start, stop, or configure. It is the session:
| The old way | cursor-bridge |
|---|---|
Start a proxy daemon, note the port, set env vars, then run claude |
Run cursor-bridge — done |
| Background process that outlives your session | Lives and dies with your terminal |
| Pick a port, pray it doesn't clash | Random port, zero conflicts |
npm install + npx + Node.js runtime (60+ MB) |
One Rust binary, ~780 KB, statically compiled |
| Multiple npm packages, peer deps, version mismatches | cargo install or download. One binary. Nothing else. |
No daemon. No npm install. No env vars. No port hunting. No cleanup. Just a single binary that works.
cursor-bridge replaces claude entirely — it manages the proxy lifecycle internally, spawns the CLI, and cleans up after itself when you're done.
CURSOR_TOKEN env var (no keychain support).This project is not affiliated with Anthropic or Cursor/Anysphere. Use at your own risk.
MIT
cursor-bridge is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hkc5. Claude Code that runs on your Cursor subscription. One Rust binary, zero config. It has 70 GitHub stars.
cursor-bridge's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/hkc5/cursor-bridge" and add it to your Claude Code skills directory (see the Installation section above).
cursor-bridge is primarily written in Rust. It is open-source under hkc5 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cursor-bridge against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars