Skip to content

openspec update

Updates AI tool configuration files and instruction templates to the latest version.

Terminal window
openspec update [path]
ArgumentDescription
pathProject directory (default: current)
  • openspec/AGENTS.md - AI workflow instructions
  • AGENTS.md (root) - Handoff stub
  • Tool-specific slash commands
  • Managed marker content

Run openspec update after:

  • Upgrading OpenSpec version
  • Adding new AI tools to your workflow
  • Syncing team configurations
Terminal window
$ openspec update
Updating OpenSpec configuration...
Updated openspec/AGENTS.md
Updated AGENTS.md
Updated .claude/commands/openspec/proposal.md
Updated .claude/commands/openspec/apply.md
Updated .claude/commands/openspec/archive.md
OpenSpec configuration updated successfully.

OpenSpec manages content between markers:

<!-- OPENSPEC:START -->
This content is managed by OpenSpec.
Do not edit manually.
<!-- OPENSPEC:END -->

Content outside markers is preserved.

Terminal window
openspec update
Terminal window
openspec update ./packages/api
Terminal window
bun install -g @clanker-guru/openspec@latest
openspec update
CodeMeaning
0Success
1Not an OpenSpec project