OpenSpec icon indicating copy to clipboard operation
OpenSpec copied to clipboard

some commands are MISSING

Open ProcessMonitor opened this issue 6 months ago • 6 comments

Why don't I see a command like /opsx:new after using the openspec update command?

adam@Mac blog % openspec update
✓ All 1 tool(s) up to date (v1.3.1)
Tools: claude

Use --force to refresh files anyway.

After using it (in Claude Code CLI):

Image

i restart my ide and claude session . it doesn't work anyway

If you all guys are confident in your product, give users the option to inject opsx once and then enable it by default in all subsequent claude session, instead of requiring init every time the window is opened.

ProcessMonitor avatar May 26 '26 01:05 ProcessMonitor

I also have 4 skills and 4 commands

hang@hangdeMacBook-Pro skills % openspec init
✔ Select tools to set up (28 available) Codex
▌ OpenSpec structure created
✔ Setup complete for Codex

OpenSpec Setup Complete

Created: Codex
4 skills and 4 commands in .codex/
Config: openspec/config.yaml (schema: spec-driven)

Getting started:
  Start your first change: /opsx:propose "your idea"

Learn more: https://github.com/Fission-AI/OpenSpec
Feedback:   https://github.com/Fission-AI/OpenSpec/issues

Restart your IDE for slash commands to take effect.

huangxh1 avatar May 27 '26 02:05 huangxh1

Why don't I see a command like /opsx:new after using the openspec update command?

adam@Mac blog % openspec update ✓ All 1 tool(s) up to date (v1.3.1) Tools: claude

Use --force to refresh files anyway. After using it (in Claude Code CLI):

Image i restart my ide and claude session . it doesn't work anyway

If you all guys are confident in your product, give users the option to inject opsx once and then enable it by default in all subsequent claude session, instead of requiring init every time the window is opened.

  1. use openspec config profile command 。select workflow and skill
  2. use openspec init --profile custom

huangxh1 avatar May 27 '26 04:05 huangxh1

1- Select the commands you need: Image

2- Don't forget the update command: Command: openspec update

3- Restart your ide/cli

bilal-py avatar Jun 06 '26 20:06 bilal-py

tried, still the same, claude is OK, codex still missing all the commands.

zhanglongqi avatar Jun 09 '26 09:06 zhanglongqi

under .claude create folder commands/opsx and and run openspec config profile again should generate missing seemslike when folder structure is missing it fails.

Angelo-Verona avatar Jul 15 '26 09:07 Angelo-Verona

The missing /opsx:new is explained by the active workflow profile, and the current CLI generates it correctly once that workflow is selected, so I’m closing this as answered.

The default core profile intentionally contains only propose, explore, apply, update, sync, and archive. new, continue, ff, verify, bulk-archive, and onboard are expanded workflows. Configure them once and refresh the project files:

openspec config profile
# select the workflows you want, including New change
openspec update

This is documented here: https://github.com/Fission-AI/OpenSpec/blob/45cca5db6137ed209117cc70510eb3e057fb981b/docs/supported-tools.md#L14-L22

I reproduced the behavior on current main (45cca5db) with a custom profile containing new, continue, and onboard. Initializing Claude generated:

.claude/commands/opsx/new.md
.claude/commands/opsx/continue.md
.claude/commands/opsx/onboard.md

and the matching skills. The focused profile/init/E2E test set passes: 146 tests passed.

One clarification for the Codex comment in this thread: Codex is skills-only, so it intentionally does not receive opsx-* command files. Its supported invocation form is $openspec-<skill>; see the tool-specific table: https://github.com/Fission-AI/OpenSpec/blob/45cca5db6137ed209117cc70510eb3e057fb981b/docs/supported-tools.md#L30-L41

clay-good avatar Aug 03 '26 19:08 clay-good