by chipfighter
Keep long, image-heavy Codex and Claude Code chats fast: earlier images become ID placeholders the model fetches back on demand, even after compaction. Local, cache-friendly, MIT.
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
# Add to your Claude Code skills
git clone https://github.com/chipfighter/context-attachment-managerGuides for using ai agents skills like context-attachment-manager.
Last scanned: 10/11/2026
{
"issues": [
{
"file": "README.md",
"line": 80,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://github.com/chipfighter/context-attachment-manager/releases/la\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-10-11T10:38:17.763Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how context-attachment-manager compares with popular alternatives.
1. 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). To do it by hand, see installation, updates and uninstall. In Codex and Claude Code it then keeps itself up to date: new versions install in the background and take effect the next time the agent starts.
2. Work as usual. The plugin is on by default. Images from earlier turns go out as one-line placeholders; new images and the references you pin go out as they are. A placeholder looks like this:
[Image IMG-004 omitted | shot-1.png | generated image | turn 2 | 505×505]
Features: place: Street | Qinghe | medium shot, umbrella, lanterns
For the original, call cam_view_image with "IMG-004".
3. The model fetches by ID. When it needs to look at an earlier image again, it fetches the original by its ID, also after compaction. Nothing is deleted, and your images and chat history stay on your computer.
The plugin works without the panel; open it when you want control:
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.
See the Codex comparison, the Claude Code compaction comparison and the Claude Code long-task comparison for the results and reproduction steps.
Model services cache the start of a chat. When a request begins exactly like the one before, that part is read from the cache, which is faster and much cheaper. When something early in the chat changes, everything after the change is processed again. The plugin makes its change as late in the chat as it can:
This is not free. After a turn with images, the rest of that turn is processed again once, and the model writes a short line for each new image. Changing an old image in the panel (unchecking it, checking it again, Send every turn) changes the chat at that image, so what follows it is processed again once. In our long-task comparison in Claude Code, 87% of the input was read from the cache with the plugin and 91% without it.
An agent's own compaction, and clearing old tool results on the API side (Anthropic's context editing, for example), remove early content so that what follows is processed again: the third row of the first figure.
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.
context-attachment-manager is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by chipfighter. Keep long, image-heavy Codex and Claude Code chats fast: earlier images become ID placeholders the model fetches back on demand, even after compaction. Local, cache-friendly, MIT. It has 815 GitHub stars.
Yes. context-attachment-manager passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/chipfighter/context-attachment-manager" and add it to your Claude Code skills directory (see the Installation section above).
context-attachment-manager is primarily written in TypeScript. It is open-source under chipfighter on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh context-attachment-manager against similar tools.
No comments yet. Be the first to share your thoughts!