DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let the model fetch only the images it needs with Auto-select with Context Attachment Manager

Keep Auto-select on so earlier images are left out by default and the model asks for the ones it needs by ID.

Short answer: Open Context Assets in the side panel of a Codex task; then Confirm that Auto-select at the bottom of the panel is on, which is the default for new tasks; Mark any reference image, such as a face or style sample, as Send every turn so it goes with every message. All steps.

Who it is forA Codex user in a long image task who wants smaller requests without picking each image by hand every turn.

The problemChoosing which old images to keep for every new message is tedious, and a turn may need an earlier image the user forgot to keep.

The outcomeThe model replies with need IMG-xxx when it needs an image, and you can click the ID in the bar at the top of the panel to bring it back for that turn.

What you need first

  • The Codex desktop app, or the Code tab in Claude Desktop signed in with your Claude subscription
  • Node 24 or later on your PATH, only if you use Claude Desktop without Codex
  • The claude command from Claude Code, only for the Claude Desktop install path

Steps

  1. Open Context Assets in the side panel of a Codex task.
  2. Confirm that Auto-select at the bottom of the panel is on, which is the default for new tasks.
  3. Mark any reference image, such as a face or style sample, as Send every turn so it goes with every message.
  4. When the model replies with need IMG-xxx, click the ID in the bar at the top of the panel to bring that image back for the current turn.
  5. Check the panel for images the model fetched in the latest turn.

Prompt for your agent

Using the repo chipfighter/context-attachment-manager in Codex, keep Auto-select on for the task <task name> and mark <reference image ID> as Send every turn. Ask the model to continue the image work, then list which IDs it requested with need IMG-xxx and confirm that the fetched images are the only earlier ones sent that turn.

Caveat. Auto-select works only with the Codex and Claude Code proxy in place, so an install that stops because openai_base_url is already set will not enable it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for chipfighter/context-attachment-manager and "Let the model fetch only the images it needs with Auto-select"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer