Codex and Claude Code plugin (works in Claude Desktop): choose which past images go to the model with your next message. Unchecked images become placeholders, the conversation goes on, and requests st
翻译准备中
插件TypeScript · HTMLGitHub @chipfighter自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
社交平台热议 · 当前第 34 · 1 个来源
10月30日 11:46 检查 · 分数为各平台在最后检查时显示的数值。我们不复制帖子正文和评论,原帖删除后此处也会移除。
Codex and Claude Code plugin (works in Claude Desktop): choose which past images go to the model with your next message. Unchecked images become placeholders, the conversation goes on, and requests stay small.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Choose which past images go to the model with your next message, in Codex and in Claude Desktop, without leaving the conversation.
New in 0.4: it works in Claude Desktop too. In the Code tab of Claude Desktop, install the plugin and type /cam in a session: the same panel opens in Claude Desktop's built-in browser, next to the conversation. Formerly Codex Attachment Manager; the project was renamed because it no longer works with Codex alone.查看完整 README ↗I was iterating on images with GPT in Codex. After a dozen or so, the chat started failing: it kept reconnecting and never got through. Every message was sending every image in the conversation again, about 44 MB each time. The only way out was a new chat, and with it, losing everything we had built up.
So I made a panel that keeps the conversation and drops the weight.
https://github.com/user-attachments/assets/aeec27c0-c56a-4775-bcc8-981d5e9a0d45
/cam to bring it back.Then just keep chatting. From the start, the model picks earlier images on its own; to pin one, click it and check Send every turn. To choose yourself, turn off Auto-select at the bottom of the panel.
Using a gateway? Compatible Codex and Claude Code endpoints can use image management too. Requests continue to the endpoint you configured, with the client's model and credentials. The gateway must support the client's API format, image inputs and tool calls; see endpoint support.
Paste this to Codex, or to Claude in Claude Desktop's Code tab:
Install the Context Attachment Manager plugin for me, following https://github.com/chipfighter/context-attachment-manager/blob/main/INSTALL.md
Then restart Codex, or start a new session in Claude. To install or uninstall it yourself, see INSTALL.md.
Everything stays on your computer. The plugin sends nothing anywhere beyond the requests Codex and Claude already make.
We ran a short-drama keyframe chat in Codex with and without the plugin: nine keyframes, about 32 MB of images. Without the plugin, every time Codex had to send the whole chat again (after a restart, and right after compacting it), the request was 42 MB and never got through. With the plugin, the same request was 0.12 MB, and in this test the model picked the right image both before and after compacting. The method, the numbers and how to run it yourself are in eval.