cursor-bridge

作者 hkc5已验证

Claude Code that runs on your Cursor subscription. One Rust binary, zero config.

63
Stars
3
Forks
Rust
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/hkc5/cursor-bridge

快速入门

使用 cursor-bridge 等 Skills 的指南。

安全报告

已验证

上次扫描:—

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

README.md

cursor-bridge

One binary. Claude Code on Cursor's backend. Zero config.

Crates.io License Stars CI Platform

demo

Why does this exist?

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:

  • You're already paying for Cursor → get Claude Code for free on top
  • You want Claude Code's agent capabilities (file editing, shell commands, tool use) without Anthropic billing
  • Cursor's Auto model is free and unlimited with subscription — Claude Code becomes effectively free to run
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.

How it works

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.

Install

# 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.

Requirements

  • macOS or Linux
  • Cursor subscription (with agent CLI in PATH)
  • Claude Code CLI (claude in PATH)
  • macOS: token auto-read from keychain
  • Linux: set CURSOR_TOKEN env var (no keychain fallback)

How it differs from other proxies

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 waycursor-bridge
Start a proxy daemon, note the port, set env vars, then run claudeRun cursor-bridge — done
Background process that outlives your sessionLives and dies with your terminal
Pick a port, pray it doesn't clashRandom port, zero conflicts
npm install + npx + Node.js runtime (60+ MB)One Rust binary, ~780 KB, statically compiled
Multiple npm packages, peer deps, version mismatchescargo 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.

Caveats

  • Linux: requires CURSOR_TOKEN env var (no keychain support).
  • No workspace sandboxing — the agent runs in your current directory.
  • Single account — no multi-account rotation (yet).

Legal

This project is not affiliated with Anthropic or Cursor/Anysphere. Use at your own risk.

License

MIT

常见问题

What is cursor-bridge?

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 63 GitHub stars.

Is cursor-bridge safe to use?

Yes. cursor-bridge 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 cursor-bridge?

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).

What programming language is cursor-bridge written in?

cursor-bridge is primarily written in Rust. It is open-source under hkc5 on GitHub, so you can review or fork the full source.

Are there alternatives to cursor-bridge?

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.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 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 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

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 服务器apisai-tools
查看详情

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 智能体ai-agentsanthropicclaude-code
查看详情

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 智能体claude-codeai-tools
查看详情
cursor-bridge — Claude Code AI Skill | SkillTip