Haxsd Byok — Development skill for Claude Code
Windows x64 本机模型网关:让 Cursor、Devin、Codex 与 Claude Desktop 使用你自配的模型 API,含模型库、调用记录与 Token 统计,也可作为本机兼容 API 给其他工具用.
How to install Haxsd Byok
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open haxsd/haxsd-byok and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Haxsd Byok does
Windows x64 本机模型网关:让 Cursor、Devin、Codex 与 Claude Desktop 使用你自配的模型 API,含模型库、调用记录与 Token 统计,也可作为本机兼容 API 给其他工具用。
Alternatives in Development
- Screenshot — Capture desktop, app windows, or pixel regions across OS platforms 14.6k ★
- Zeron — A native control plane for Claude Code, Codex, Cursor, Devin and other coding agents 1.4k ★
- Claude Keysmith — Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta 696 ★
README
haxsd byok
**让 Cursor、Devin、Codex 和 Claude Desktop 改用你自己的模型 API。装在 Windows 电脑上,不用换工具,调用记录和估算花费一眼能看到。**
[](https://github.com/haxsd/haxsd-byok/releases/latest) [](https://github.com/haxsd/haxsd-byok/releases/latest) [](./LICENSE)
[下载 Windows 安装包](https://github.com/haxsd/haxsd-byok/releases/latest) · [用户指南](./docs/user-guide.md) · [故障排查](./docs/troubleshooting.md) · 简体中文 · [English](./README-EN.md) · [Русский](./README-RU.md)

为什么用它
- 不换工作流:继续用 Cursor、Devin、Codex 与 Claude Desktop 的界面和习惯,只把模型推理换成你配置的服务(需自备)。
- 模型自己管:模型库支持 OpenAI Chat / Responses 与 Anthropic 协议,发现后多选添加、带连接测试;Cursor 可让官方模型和自配模型同时可用。
- 成本看得见:每次调用的成败、耗时、Token 用量,以及按参考单价估算的金额。
- 桌面管理:中英俄三语、多主题、托盘、应用内教程与签名更新。
- 速度、图片与外部接口:Cursor 里可为自配模型选择 Fast / Ultrafast 速度档;对话模型读不了图片时,可在「图片识别」用视觉模型先写成文字;「外部 API」可在本机提供 OpenAI / Anthropic 兼容接口(只监听本机、默认关闭、需密钥),让脚本或其他工具共用同一套模型库。
支持的客户端
| 客户端 | 接管方式 | 说明 |
|---|---|---|
| Cursor | 官方 / 本地 / 混合模型来源 + 本机代理与本地 CA | 只用自配模型选本地,官方模型同时可用选混合;本地模式不在模型库的模型会被明确拒绝,不会静默走官方。本地/混合模式下长会话的上下文压缩(自动与手动摘要)由本应用网关执行,官方模式仍由 Cursor 自己压缩 |
| Devin | 可选本机网关 + 模型库模型进入原生选择器 | 添加的模型以原名直接出现在 Devin 原生选择器;保留官方目录;按端点设置结构识别的补丁,带备份恢复与自定义安装目录 |
| Codex(ChatGPT 客户端) | 本地 / 混合模式 + 本机网关 + “应用到 Codex” | 保留工具、终端、审批、沙箱与任务循环,只替换推理;混合模式需登录 ChatGPT,官方模型与自配模型同时可选;支持 Responses / Chat Completions / Anthropic;只改 config.toml 受管字段,撤销即恢复 |
| Claude Desktop | 本机 Anthropic 网关 + %LOCALAPPDATA%\Claude-3p\configLibrary 下的 profile |
组织策略托管时只读,只给手工配置引导 |
各网关默认关闭,只监听 `127.0.0.1`。受管配置、端口修改等细节见 [用户指南](./docs/user-guide.md) 与 [Codex 接入](./docs/codex-go-live.md)。
能力边界
| 客户端 | 本机接管可用 | 仍需官方账号或云端 |
|---|---|---|
| Cursor | Agent / Chat / Plan、本机子代理与工具、Rules / Skills / MCP、Checkpoint | Cloud Agents、Projects、Bugbot、Automations、Tab 补 |
Related Skills
Claude Local
基于 CCBaga 二次开发、独立维护的 Windows x64 Claude 本地管理与分析工作台:多身份加密归档与安全切换、被动额度监测、Token 与官方 API 等效美元花费(USD)分析、Token Monit
Usage Kun
Privacy-first macOS menu bar and Windows x64 tray app to monitor Claude Code, Codex, and optional Gemini quota
Whalegirl Deskpet
会跟着 Claude Code 干活的鲸鱼娘桌宠(PetPet / dsh 双版本,Windows x64)。干活时她端碗吃饭,收工收碗,按 Esc 打断会甩你一个屑表情。A desktop pet that react
Devin Sse Proxy
Temporary Minimal Python-based MCP server that allows Claude Desktop to talk to Devin's SSE transport while re
Glim
A glimpse at your agents. A desktop island for Claude Code and Codex CLI on macOS and Windows: live activity,
Token Pet
A free desktop pet and Claude usage monitor for macOS and Windows, with roaming companions and a compact usage
Related Agents
Benchmark Agent
Use this agent for competitive intelligence and platform benchmarking — it obsessively tracks where Cursor, De
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,
Desktop Dev
Builds the desktop app (Windows, macOS, Linux, as project.toml says) from product-designer's design and the AP