gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Allow skills to be activated manually like /commands

Open jtoohill opened this issue 9 months ago • 41 comments

What would you like to be added?

The ability to manually trigger skill activation, e.g. by typing /skill-name.

Why is this needed?

Occasionally, I'll work on a task for which I know an installed skill is relevant, but the agent won't reliably activate the skill in response to my prompt (despite my best efforts to prompt engineer the skill description).

Caveat: I can usually get the skill to activate by prompting the agent with "activate the $SKILLNAME skill", but the command completion menu (typing / and seeing the list of available commands and their descriptions) would be handy to extend to include skills as well.

Additional context

According to their docs, this functionality is supported by Claude Code.

jtoohill avatar Mar 04 '26 21:03 jtoohill

/assign

Devnil434 avatar Mar 05 '26 17:03 Devnil434

👋 @Devnil434, thanks for your interest in this issue! We're reserving self-assignment for issues that have been marked with the help wanted label. Feel free to check out our list of issues that need attention.

gemini-cli[bot] avatar Mar 05 '26 18:03 gemini-cli[bot]

+1 to this, it's quite common that I want to use a particular skill to start a workflow off.

rnett avatar Mar 06 '26 01:03 rnett

+1 this is such a important feature agree

SaschaHeyer avatar Mar 09 '26 19:03 SaschaHeyer

+1 it's mandatory for me

odi01 avatar Mar 29 '26 16:03 odi01

You can trigger the skill if you say please: /my-skill please

I believe any text after the skill name would work, but if you have the opportunity to be nice why not.

kenpritchard avatar Apr 24 '26 21:04 kenpritchard

Categorized as area/documentation and kind/feature. Priority set to priority/p2.

gemini-cli[bot] avatar May 08 '26 20:05 gemini-cli[bot]

Manual skill activation via commands would be a helpful UI/UX addition. Please provide your CLI version.

gemini-cli[bot] avatar May 21 '26 16:05 gemini-cli[bot]

/assign

Hariharanpugazh avatar May 25 '26 18:05 Hariharanpugazh

👋 @Hariharanpugazh, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.

gemini-cli[bot] avatar May 25 '26 18:05 gemini-cli[bot]

/assign

CodeItAlone avatar Jun 07 '26 18:06 CodeItAlone

@CodeItAlone Thanks for taking interest but this issue is already assigned. We'd still love to have you contribute. Check out our Help Wanted list for issues where we need some extra attention.

gemini-cli[bot] avatar Jun 07 '26 18:06 gemini-cli[bot]

/assign

lostmartian avatar Aug 22 '26 09:08 lostmartian

@lostmartian Thanks for taking interest but this issue is already assigned. We'd still love to have you contribute. Check out our Help Wanted list for issues where we need some extra attention.

gemini-cli[bot] avatar Aug 22 '26 09:08 gemini-cli[bot]

@lostmartian Thanks for taking interest but this issue is already assigned. We'd still love to have you contribute. Check out our Help Wanted list for issues where we need some extra attention.

But tthe pr was closed and currently no one is working on this issue

lostmartian avatar Aug 22 '26 09:08 lostmartian

/assign

Hariharanpugazh avatar Sep 01 '26 09:09 Hariharanpugazh

@Hariharanpugazh Thanks for taking interest but this issue is already assigned. We'd still love to have you contribute. Check out our Help Wanted list for issues where we need some extra attention.

gemini-cli[bot] avatar Sep 01 '26 09:09 gemini-cli[bot]

Hi maintainers I'd like to pick this up. While investigating, I found that skills already appear in the / completion menu and can be activated via /skill-name in the interactive UI (via SkillCommandLoader and the activate_skill tool). Two gaps remain, which I've addressed:

  1. Non-interactive mode is broken for skills. SkillCommandLoader isn't registered in the non-interactive slash-command path, and the tool action result isn't handled there, so gemini -p "/skill-name" fails instead of activating the skill.
  2. The autocomplete menu had no [Skill] tag to distinguish skills from built-in commands (unlike [MCP] and [Agent]).

I have a branch ready with unit tests, and typecheck/lint passing. Could this issue be labeled help wanted so I can open the PR for review? Happy to adjust the scope based on your guidance.

Hariharanpugazh avatar Sep 29 '26 02:09 Hariharanpugazh

/assign

saadgodikat avatar Oct 06 '26 07:10 saadgodikat

@saadgodikat Thanks for taking interest but this issue is already assigned. We'd still love to have you contribute. Check out our Help Wanted list for issues where we need some extra attention.

gemini-cli[bot] avatar Oct 06 '26 07:10 gemini-cli[bot]