Skip to content

feat: invoke Agent Skills via slash commands #21760

@NTaylorMullen

Description

@NTaylorMullen

What would you like to be added?

Enable the ability to invoke Agent Skills directly via slash commands (e.g., /<skill-name>). This should also support passing optional arguments that are then submitted as a follow-up prompt to the Gemini model (e.g., /<skill-name> hello world).

Additionally, for these explicit client-initiated skill activations, the CLI should bypass user confirmation prompts if the policy engine returns an ASK_USER decision, treating the slash command as implicit user consent.

Why is this needed?

Users want a faster way to trigger specific skills without relying on the model to select them or navigating through the /skills menu. Supporting follow-up prompts allows for a more streamlined "trigger and query" workflow. Bypassing confirmation for these explicit commands reduces friction for power users.

Additional context

This issue is being created retroactively to track the implementation provided in PR #21758.

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionality🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions