← Open Source
chipfighter

framekeeper

Stop paying the multimodal tax. Your AI agent keeps every image it has seen but only sends the ones it needs: lighter chats, no endless reconnecting, no starting over. Works with Codex, Claude Code, Cline, Gemini CLI, OpenCode, WorkBuddy and more. Install once, forget it.

AI EngineeringGive agent toolsBuild agent UITypeScript
Open on GitHub
Momentum
+10stars in 24 hours+1.3%
788
Stars
69
Forks
+189
This week
4
Contributors
Created 2026-09-24 · Updated 2026-11-06 · #1259 today
Top developers
chipfighterlin-cocoAaqibhafeezkhan
README

Context Attachment Manager

A local plugin for image-heavy chats in Codex, Claude Code and other agents.
Earlier images stop going out with every message. The model fetches the one it needs by its ID, also after the chat is compacted.

English · 简体中文 · 日本語

What it does

An agent normally sends every earlier image again with each message, so a long chat with many images gets slow and can stop going through. This plugin numbers each image (IMG-001, IMG-002, …) and sends earlier ones as short placeholders instead:

  • The model fetches what it needs: when it has to look at an earlier image again, it gets the original back by its ID.
  • It can tell images apart: the model notes one line on what each image shows, plus your comments on it. These stay in the placeholders, also after the chat is compacted.
  • Nothing is deleted: your original images and chat history stay as they are.

It is on by default; you do not need to open the panel. Typical uses: image and video creation, scanned documents, computer and browser use.

Install

Send this to your agent. It identifies its platform and installs the right setup:

Install Context Attachment Manager for me, following https://github.com/chipfighter/context-attachment-manager/blob/main/INSTALL.md

Then restart the agent (in Claude Desktop, start a new Code session). See supported agents and installation, updates and uninstall.

The panel, when you want control

  • Find an image by a detail or a comment you remember, like "rainy night" or "best face".
  • Keep a reference in view: open an image and check Send every turn.
  • Choose images yourself: turn off Auto-select and pick what goes with your next message.

In Codex, open Context Assets in the task's side panel. In Claude Desktop's Code tab, the panel opens automatically when there are images; type /cam to bring it back.

Privacy

The plugin runs locally. Your original images and chat history stay on your computer; requests go to the service your agent already uses.

How we tested

In Codex, a chat with nine keyframes grew to 42.4 MB and could not be sent after a restart or a compaction; with the plugin the same requests were 0.12 MB. See the Codex comparison and Claude Code long-task comparison for the results and reproduction steps.

Works with

Codex and Claude Code are tested, and Codex and Claude Desktop also have the panel. The other agents below are supported through adapters written from their code and docs, but we have not tested them live yet. If you use one of them, please tell us how it went, whether it worked or not.

Agent What it is Support
Codex OpenAI's coding agent, desktop and CLI Auto-select + panel, tested
Claude Code Anthropic's coding agent, desktop and CLI Auto-select + panel (desktop), tested
WorkBuddy Tencent's desktop AI work assistant, with CodeBuddy inside Auto-select, not tested yet
OpenCode Open-source terminal coding agent for any model provider Auto-select, not tested yet
Gemini CLI Google's open-source terminal agent Auto-select, not tested yet
pi Minimal, extensible terminal coding agent Auto-select (pi extension), not tested yet
DeepSeek Harness DeepSeek's agent harness where everything is a plugin Auto-select (dsh plugin), not tested yet
Qwen Code Qwen's open-source terminal agent Auto-select, not tested yet
Cline Open-source coding agent for VS Code, JetBrains and the terminal Auto-select, not tested yet
Kilo Code Open-source coding agent for VS Code, JetBrains and the terminal Auto-select, not tested yet
goose Open-source agent for desktop and terminal, extended with MCP Auto-select, not tested yet
Cherry Studio Open-source desktop chat client for many models Auto-select, not tested yet

Setup for these agents: INSTALL.md. To connect another agent, see ADAPTERS.md.

Changelog · Contributing · MIT License

Nearby in the ranking
Similar items