haxsd

Haxsd Byok — Development skill for Claude Code

Development community

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 电脑上,不用换工具,调用记录和估算花费一眼能看到。**

[![Release](https://img.shields.io/github/v/release/haxsd/haxsd-byok)](https://github.com/haxsd/haxsd-byok/releases/latest) [![Platform](https://img.shields.io/badge/platform-Windows%20x64-blue)](https://github.com/haxsd/haxsd-byok/releases/latest) [![License](https://img.shields.io/badge/license-MIT-blue)](./LICENSE)

[下载 Windows 安装包](https://github.com/haxsd/haxsd-byok/releases/latest) · [用户指南](./docs/user-guide.md) · [故障排查](./docs/troubleshooting.md) · 简体中文 · [English](./README-EN.md) · [Русский](./README-RU.md)

![haxsd byok 主界面](./images/en-home-1.png)

为什么用它

  • 不换工作流:继续用 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 补