Feature request: fuzzy match in claude agents dispatch input (@<repo> / @<subagent> picker)
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
- From a parent directory containing several repos, run
claude agents. - In the dispatch input, type
@— the picker lists every sibling repo as@<repo-name>. - Continue typing characters that appear as a substring (not a prefix) of one of the repos — e.g.
viagainstnf-visualize. - Observe: no matches, even though
nf-visualizeclearly containsvi. - 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:
@visurfaces@nf-visualize(and any other entry containingvi)- 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!
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗