实现方案
raine/claude-code-proxy 这个做本地代理
然后修改
# 加进 ~/.zshrc,重开终端后敲 ds,就是 codex 驱动的 Claude Code
claudex() {
ANTHROPIC_BASE_URL=127.0.0.1 \
ANTHROPIC_AUTH_TOKEN=unused \
ANTHROPIC_MODEL=gpt-6-sol[1m] \
ANTHROPIC_SMALL_FAST_MODEL=gpt-6-luna[1m] \
CLAUDE_CODE_AUTO_COMPACT_WINDOW=272000 \
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 \
CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1 \
claude "$@"
}
也可加加入deepseek
export DEEPSEEK_API_KEY=你自己的key
deepseek() {
ANTHROPIC_BASE_URL=api.deepseek.com \
ANTHROPIC_AUTH_TOKEN=$DEEPSEEK_API_KEY \
ANTHROPIC_MODEL=deepseek-flash \
ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-flash \
ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-flash \
ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-flash \
CLAUDE_CODE_SUBAGENT_MODEL=deepseek-flash \
claude "$@"
}
2 likes · 126 views
If you're using tmux with either worktrees or agents, I strongly recommend you check out workmux. It makes for such a clean setup.
raine/workmux
Is anyone using this with workmux? Seems like a natural fit to me.
1 like
给 agent 整理 git 提交的 CLI
Rust 写的,按 hunk 或行号非交互地暂存、拆分、合并提交。附带把用法装成 skill 的子命令。
raine/git-surgeon t.co
17 views
How to check codex subscription usage when using a different harness?
I'm using my codex subscription in the claude code harness using raine/claude-code-proxy. I'm not using API rates.
Now I've hit the usage limit. But when I go to check the usage at
chatgpt.com, it's completely empty as if I didn't use codex at all.
Where can I find usage information if I don't use the official harness?
10 comments
How to check codex subscription usage when using a different harness?
I'm using my codex subscription in the claude code harness using raine/claude-code-proxy. I'm not using API rates.
Now I've hit the usage limit. But when I go to check the usage at
chatgpt.com, it's completely empty as if I didn't use codex at all.
Where can I find usage information if I don't use the official harness?
2 points · 3 comments
[Hyprland] Caelestia on NixOS w/ Wallpaper Engine & Automatic Color Schemes
Everything can be reproduced via the dotfiles. (I mean that's kinda the point of this package manager and distro)
Despite that, most of my *real* workflow and not just cool appearance happens via the cli-utils repo and it's almost entirely in tmux & workmux. The only thing I didn't move to the terminal is the browser (yet) ... well, and Steam I suppose.
>Note: Some assets like the cursor and folder icons are private. That's because they're art from EbiEbiBeam.
Honorable mentions: my my old Arch dotfiles. You shall be remembered (in GitHub's servers at least)
Setup details
Wallpaper: From Thumbnail, From Video. They're animated via linux-wallpaperengine and a custom linux-wallpaperengine-gui package based on the GitHub repo as it isn't on nixpkgs yet.
GTK Theme: Custom Caelestia-managed. See the colors mdbook
Qt Theme: Also Caelestia-managed
Fonts: JetBrainsMono Nerd Font
Main apps: tmux, workmux, claude code (🥀), neovim, firefox, spotify, steam... and nix obviously, and home manager
Shell: zsh
Other: Stylix still is used here but it's for SDDM and Limine only as I don't like rebuilding my system to get a colorscheme synced with all my apps on userland.
5 points
Mentions
实现方案 raine/claude-code-proxy 这个做本地代理 然后修改 # 加进 ~/.zshrc,重开终端后敲 ds,就是 codex 驱动的 Claude Code claudex() { ANTHROPIC_BASE_URL=127.0.0.1 \ ANTHROPIC_AUTH_TOKEN=unused \ ANTHROPIC_MODEL=gpt-6-sol[1m] \ ANTHROPIC_SMALL_FAST_MODEL=gpt-6-luna[1m] \ CLAUDE_CODE_AUTO_COMPACT_WINDOW=272000 \ CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 \ CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1 \ claude "$@" } 也可加加入deepseek export DEEPSEEK_API_KEY=你自己的key deepseek() { ANTHROPIC_BASE_URL=api.deepseek.com \ ANTHROPIC_AUTH_TOKEN=$DEEPSEEK_API_KEY \ ANTHROPIC_MODEL=deepseek-flash \ ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-flash \ ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-flash \ ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-flash \ CLAUDE_CODE_SUBAGENT_MODEL=deepseek-flash \ claude "$@" }
If you're using tmux with either worktrees or agents, I strongly recommend you check out workmux. It makes for such a clean setup. raine/workmux
Is anyone using this with workmux? Seems like a natural fit to me.
给 agent 整理 git 提交的 CLI Rust 写的,按 hunk 或行号非交互地暂存、拆分、合并提交。附带把用法装成 skill 的子命令。 raine/git-surgeon t.co
How to check codex subscription usage when using a different harness? I'm using my codex subscription in the claude code harness using raine/claude-code-proxy. I'm not using API rates. Now I've hit the usage limit. But when I go to check the usage at chatgpt.com, it's completely empty as if I didn't use codex at all. Where can I find usage information if I don't use the official harness?
How to check codex subscription usage when using a different harness? I'm using my codex subscription in the claude code harness using raine/claude-code-proxy. I'm not using API rates. Now I've hit the usage limit. But when I go to check the usage at chatgpt.com, it's completely empty as if I didn't use codex at all. Where can I find usage information if I don't use the official harness?
[Hyprland] Caelestia on NixOS w/ Wallpaper Engine & Automatic Color Schemes Everything can be reproduced via the dotfiles. (I mean that's kinda the point of this package manager and distro) Despite that, most of my *real* workflow and not just cool appearance happens via the cli-utils repo and it's almost entirely in tmux & workmux. The only thing I didn't move to the terminal is the browser (yet) ... well, and Steam I suppose. >Note: Some assets like the cursor and folder icons are private. That's because they're art from EbiEbiBeam. Honorable mentions: my my old Arch dotfiles. You shall be remembered (in GitHub's servers at least) Setup details Wallpaper: From Thumbnail, From Video. They're animated via linux-wallpaperengine and a custom linux-wallpaperengine-gui package based on the GitHub repo as it isn't on nixpkgs yet. GTK Theme: Custom Caelestia-managed. See the colors mdbook Qt Theme: Also Caelestia-managed Fonts: JetBrainsMono Nerd Font Main apps: tmux, workmux, claude code (🥀), neovim, firefox, spotify, steam... and nix obviously, and home manager Shell: zsh Other: Stylix still is used here but it's for SDDM and Limine only as I don't like rebuilding my system to get a colorscheme synced with all my apps on userland.