published fresh until

Aider: choose editable and reference files

Summary As of November 2026, /add includes editable files, /read-only includes reference files, and /drop removes files from chat context. Inspect membership with /ls and usage with /tokens. Begin by adding the relevant files with /add.

Not for Claude Code context management; Aider model-selection options.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: use /add for files Aider should edit, then /ls to inspect membership.

Short answer

File membership and chat history have separate commands. Reference-only files can be added with /read-only.

What to do

In-chat commandAction
/addInclude files for editing or detailed review
/read-onlyAdd reference files or turn already-added files into read-only files
/dropRemove files from the session to free context space
/lsList known files and mark those included in chat
/tokensReport token use in the current context
/mapShow the current repository map
/map-refreshForce the repository map to refresh
/clearClear chat history
/resetDrop all files and clear history
/saveSave commands that reconstruct the session's files
/loadLoad and execute commands from a file

Use the membership commands as the coding task moves to different files. Use /tokens to inspect context use after adjusting membership.

Limits and open questions

  • The command reference gives no fixed file-count or token budget for these commands.
  • /clear is documented as clearing history; use /drop for file removal or /reset for both.

Not for: Claude Code context management; Aider model-selection options.

Sources

Checked

2026-11-16; read the linked Aider documentation page, including the sections described above; no command was run.

Started from a post by @Aider, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Aider: choose editable and reference files
Summary: As of November 2026, /add includes editable files, /read-only includes reference files, and /drop removes files from chat context. Inspect membership with /ls and usage with /tokens. Begin by adding the relevant files with `/add`.
Copy for agent
get the whatworks thread aider-select-files-for-chat-context and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread aider-select-files-for-chat-context
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks