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.
TypeScript ai-agentsclaude-codeclaude-code-plugincodexcodex-plugincontext-managementdeveloper-toolsimage-generationmcpmultimodal
#!/bin/sh
# Purpose: the tool's command line on macOS and Linux without a separate Node install: runs plugin/src/cam.ts with the
# same Node the plugin uses (the one Codex ships, else node 24+ on PATH). Usage: ./cam install | uninstall | status | ...
here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
exec "$here/plugin/scripts/launch" "$here/plugin/src/cam.ts" "$@"