.flywheel/memory/openspec-init-installs-skills-machine-wide.md
2 KB - Открыть исходный файл
name: openspec-init-installs-skills-machine-wide description: "openspec init installs its workflow skills machine-wide unless --scope project is given, and the skills need the openspec CLI on PATH." type: observation scope: local status: active sources: [add-installer] occurrences: 1 last_verified: 2026-11-22 provenance: {by: agent, date: 2026-11-18} links: []
What happened
Running openspec init --tools claude --profile core (OpenSpec 2.1.0) created only the
openspec/ folder in the project. Its six workflow skills (explore, propose, apply, update, sync,
archive) went to the user's home folder and were linked into the user's global Claude skills folder,
so they applied to every project on the machine. Running openspec init --tools claude --scope project
instead wrote the skills to the project folder .agents/skills and linked them into
.claude/skills/.
Why
In OpenSpec 2.1.0 the --scope option of init defaults to global. The skills call the openspec
CLI (their allowed tools are limited to it), so they fail when the CLI is only available through npx.
Resolution
Initialize OpenSpec with openspec init --tools claude --scope project, so the skills stay with the
repository. Install the CLI globally (npm i -g @fission-ai/openspec@2.1.0) before using the
workflow skills, or run it through npx for validation only. The flywheel installer does not copy
OpenSpec skills; it only seeds openspec/config.yaml. Telemetry is off with OPENSPEC_TELEMETRY=0.
Where
openspec/config.yaml (seeded), .flywheel/bin/flywheel.py (install command).