Skip to content

feat(desktop): add agent skill picker to composer - #6567

Open
joebasrawi wants to merge 5 commits into
block:mainfrom
joebasrawi:feat/composer-skill-picker
Open

feat(desktop): add agent skill picker to composer#6567
joebasrawi wants to merge 5 commits into
block:mainfrom
joebasrawi:feat/composer-skill-picker

Conversation

@joebasrawi

Copy link
Copy Markdown

Summary

Adds a searchable skill picker to the message composer when one agent is selected.

It uses the commands advertised by that agent’s current session. You can search the list and insert a slash command at your current cursor position.

Commands are scoped to the current agent, channel, and session so old commands do not appear.

Related issue

Closes #5741

Testing

Ran just ci successfully.

Added unit tests for command extraction, session handling, and command insertion.

Added a Playwright test covering search, selection, insertion, and restoring focus to the composer.

Before and after screenshots attached.

Before

Composer before the skill picker opens

After

Searchable agent skill picker

@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is b1f6b7ef770dddbb7f33c9f5861c379a47bca1d6...2d3b8c0497e835ec2769e04966c8375b188a416b.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 2d3b8c0497e835ec2769e04966c8375b188a416b to authorize a new review.
Any previous review applies only to its recorded range.

@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch from bc220f4 to 09a1a8e Compare September 1, 2026 17:24
joebasrawi and others added 4 commits September 4, 2026 13:15
Signed-off-by: Joseph B <289838966+joebasrawi@users.noreply.github.com>
Current main emits live observer activity for running agents. Seed the
Playwright skill-picker fixture with a current timestamp so those
commands are not treated as a previous session.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Joseph B <joebasrawi@users.noreply.github.com>
Composer fill() replaces the auto-mention and unpins the agent after
the mention-polish work on main, so type at the end of the input instead.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Joseph B <joebasrawi@users.noreply.github.com>
Match the emoji picker: restore editor focus in Radix onCloseAutoFocus
instead of a rAF callback, so inserting a skill keeps the caret in the
composer after voice-note popover focus handling.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Joseph B <joebasrawi@users.noreply.github.com>
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch 2 times, most recently from 941c962 to 9a4bbe0 Compare September 4, 2026 13:19
Automatic mentions are thread-only on current main. Select one agent
there so the skill picker still has a current session to search.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Joseph B <joebasrawi@users.noreply.github.com>
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch from 9a4bbe0 to 2d3b8c0 Compare September 4, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill picker in the composer

2 participants