spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Slash commands not discovered in Gemini/Codex/Qwen (only speckit.constitution visible), while Claude Code shows all

Open Scoheart opened this issue 1 year ago • 9 comments

Summary

When using Spec-Kit with Gemini CLI and Codex CLI, only the command speckit.constitution is discovered in the slash menu. Other core commands such as speckit.specify, speckit.plan, speckit.tasks, and speckit.implement are not shown, making it impossible to run the full Spec-Kit workflow with these tools. In contrast, Claude Code correctly discovers and runs the full set of /speckit.* commands in the same project.

Output

gemini & qwen ...

> /speckit.implement

✕ Unknown command: /speckit.implement

Environment

 ~/ uv tool list
specify-cli v0.0.18
 ~/ gemini --version
0.8.1
 ~/ codex --version
codex-cli 0.46.0
 ~/ claude --version
2.0.11 (Claude Code)
 ~/ qwen --version
0.0.14

Scoheart avatar Oct 09 '25 12:10 Scoheart

There could be a problem with how you initialized spec-kit.

Start a new project and initialyze spec-kit choosing claude code as a code agent.

Then you need to check output of the ls -a .claude/commands/ command ran from your project directory. If commands files are there, problem is likely to be with your code agent tool.

outp1 avatar Oct 09 '25 14:10 outp1

Copy the commands below the existing normal .qwen\commands to the .qwen\commands of the newly created project, and start the qwen cli to see the commands

bailiangcn avatar Oct 09 '25 14:10 bailiangcn

I have the same problem in gemini / copilot

frizikk avatar Oct 09 '25 15:10 frizikk

Similar problem for me, no commands are discovered in VS code in new project.

lisovyk avatar Oct 09 '25 21:10 lisovyk

Gemini slash commands are failing because \ in the generated TOML files are not escaped.

Quick workaround: replace \ to \\ in .gemini/commands/*.toml

hsin19 avatar Oct 09 '25 22:10 hsin19

This was cause in in my case. Changing from '' to \' in .toml files solved it.

svrhovac avatar Oct 10 '25 15:10 svrhovac

Latest release fixes the TOML issue, so it should work.

localden avatar Oct 10 '25 19:10 localden

in codex you need to put /prompts: infront of the spec-kit commands eg /prompts:speckit.constitution make an spa with local storage

lupinsansei avatar Nov 28 '25 07:11 lupinsansei

in codex you need to put /prompts: infront of the spec-kit commands eg /prompts:speckit.constitution make an spa with local storage

Yes, and you should set the CODEX_HOME to you path/project/.codex

Farley-Chen avatar Jan 15 '26 09:01 Farley-Chen