[FEATURE] enable "/add-dir" to be used outside the agent loop like "/btw"

Resolved 💬 4 comments Opened Mar 20, 2026 by themightychris Closed Apr 18, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Often while Claude Code is working I want to write some follow-up instructions to queue up what to do next or what else to look at. When these instructions will involve adding a new directory, currently I need to stop Claude or wait until it is finished before I can run /add-dir. If you queue up /add-dir while Claude is busy it doesn't work. So what typically happens currently is I queue up new places to explore and then have to individually grant permission to individual sub directories over and over as it explores

Proposed Solution

/add-dir should function like /btw where it is executed immediately—outside the agent loop

Alternative Solutions

Current options are:

  • Wait until everything is done before adding a direcotry
  • Queue up a message that requires new directory access and then have to grant subdirectory permissions one at a time interactively repeatedly
  • Stop the current loop to add a directory

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

  1. I start Claude exploring a problem
  2. While it's working I realize another directory would be useful
  3. I start typing up a message to queue adding more stuff to explore, and while queuing up a message like this while Claude is working works well, I can't add a directory

Additional Context

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗