Feature request: fuzzy match in claude agents dispatch input (@<repo> / @<subagent> picker)

Resolved 💬 1 comment Opened May 22, 2026 by 0xnfrith Closed Jun 21, 2026

Feature request

In the new claude agents view (research preview, docs: https://docs.claude.com/en/docs/claude-code/agent-view), make the @<repo> / @<subagent> mention picker in the dispatch input fuzzy / substring match, the way the in-session @ autocomplete (file / folder mentions inside a normal Claude Code conversation) already does.

Today the picker only does prefix match, which makes it hard to reach a target without retyping the full leading segment.

Setup

I opened claude agents from a parent directory (~/HUB) that contains many sibling repos, so the @<repo> mention form (per the doc's "Dispatch a session" section) can be used to dispatch a session into any of them.

Repro

  1. From a parent directory containing several repos, run claude agents.
  2. In the dispatch input, type @ — the picker lists every sibling repo as @<repo-name>.
  3. Continue typing characters that appear as a substring (not a prefix) of one of the repos — e.g. vi against nf-visualize.
  4. Observe: no matches, even though nf-visualize clearly contains vi.
  5. Now type a prefix instead (e.g. nf-v) — the list correctly narrows to @nf-visualize.

So the picker is prefix-only. The in-session @ file/folder autocomplete (inside a normal Claude Code session) handles this case fine — typing vi there would surface nf-visualize.

Screenshots

1. Full @ picker, cursor right after @ — full list of sibling repos available:

!claude agents @ picker — full list

2. Prefix match works — typing @nf-v correctly narrows to @nf-visualize:

!claude agents @ picker — prefix match works

3. Substring / fuzzy does NOT work — typing @vi (substring of nf-visualize) produces no matches, dropping to the "enter to create · esc to clear" empty-state footer:

!claude agents @ picker — substring fails

Ask

Wire the same fuzzy / substring matcher used by the in-session @ autocomplete into the claude agents dispatch input picker, so:

  • @vi surfaces @nf-visualize (and any other entry containing vi)
  • Initials / camel-style fuzzy (@nv, @nfv) would also be nice if the in-session picker supports that — whatever the existing contract is, mirror it
  • Apply to both @<repo> and @<subagent> mention completions, since they share the picker

This is a small but meaningful papercut once you have more than ~5 repos in a parent directory or more than a handful of custom subagents — prefix-only quickly stops being enough to land on the right entry without typing most of the name.

Thanks!

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗