๐Ÿช

chipfighter/context-attachment-manager

๐ŸชMarketplace

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

chipfighter/context-attachment-manager7961 PluginsLast Updated Nov 12, 2026

Add this Marketplace

Add marketplace in Claude Code:
$/plugin marketplace add chipfighter/context-attachment-manager

Then open /plugin in Claude Code to pick and install its plugins.

Plugins in this Marketplace1

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.

AgentWhat it isSupport
CodexOpenAI's coding agent, desktop and CLIAuto-select + panel, tested
Claude CodeAnthropic's coding agent, desktop and CLIAuto-select + panel (desktop), tested
WorkBuddyTencent's desktop AI work assistant, with CodeBuddy insideAuto-select, not tested yet
OpenCodeOpen-source terminal coding agent for any model providerAuto-select, not tested yet
Gemini CLIGoogle's open-source terminal agentAuto-select, not tested yet
piMinimal, extensible terminal coding agentAuto-select (pi extension), not tested yet
DeepSeek HarnessDeepSeek's agent harness where everything is a pluginAuto-select (dsh plugin), not tested yet
Qwen CodeQwen's open-source terminal agentAuto-select, not tested yet
ClineOpen-source coding agent for VS Code, JetBrains and the terminalAuto-select, not tested yet
Kilo CodeOpen-source coding agent for VS Code, JetBrains and the terminalAuto-select, not tested yet
gooseOpen-source agent for desktop and terminal, extended with MCPAuto-select, not tested yet
Cherry StudioOpen-source desktop chat client for many modelsAuto-select, not tested yet

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