Skip to content

openspec init --tools none does not create openspec/config.yaml #712

Description

@akoi

Description

When running openspec init --tools none (e.g. when managing skills/commands externally via a global agent config), the command creates the openspec/ directory structure (changes/, specs/) but does not create an openspec/config.yaml file.

Steps to Reproduce

  1. Run openspec init --tools none in a project
  2. Check the openspec/ directory

Actual Behavior

openspec/
├── changes/
└── specs/

No config.yaml is created.

Expected Behavior

openspec/
├── changes/
├── specs/
└── config.yaml

config.yaml should always be created during init, regardless of the --tools setting. This file is where users define project-level configuration such as:

  • Default schema (schema: spec-driven)
  • Project context (tech stack, conventions, domain knowledge)
  • Per-artifact rules

The --tools flag controls which AI tool integrations get set up (skills, slash commands, etc.), but config.yaml is an OpenSpec-level project config file, not a tool integration file. Its creation should not be gated by the tools selection.

Use Case

This is particularly relevant for users who manage their AI tool configuration externally (e.g., a shared/global config repo for OpenCode skills) and use --tools none because they don't need per-project tool integration files. They still need config.yaml to define their project context and schema.

Environment

  • OpenSpec version: 1.1.1
  • OS: macOS (darwin)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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