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

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 4e1770aa3ee7552e2bb50e897e113c22e30488de...3e7da90f07e72ae4e95128755f54abdf2f1f4e57.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 3e7da90f07e72ae4e95128755f54abdf2f1f4e57 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 8 times, most recently from 182a939 to 7d178a1 Compare September 8, 2026 17:23
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch 12 times, most recently from 3ccf9ba to eba96cf Compare September 15, 2026 17:05
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch 4 times, most recently from 2b3bcec to f0bf2ef Compare September 17, 2026 13:17
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch 2 times, most recently from 581383d to 7bf7739 Compare September 18, 2026 13:28
joebasrawi and others added 5 commits September 18, 2026 21:17
Signed-off-by: Joseph B <289838966+joebasrawi@users.noreply.github.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.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>
Signed-off-by: Cursor Agent <cursoragent@cursor.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>
Signed-off-by: Cursor Agent <cursoragent@cursor.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>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
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>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
@cursor
cursor Bot force-pushed the feat/composer-skill-picker branch from 7bf7739 to 3e7da90 Compare September 18, 2026 21:17
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