ack-openspec-check
Skill13 starsChanged 5 months agoMITView on GitHub
Check that the OpenSpec CLI is 2.1.0 or later and that the OpenSpec files in the repository match it, and give the upgrade steps when they do not. Use before relying on OpenSpec, when an openspec command fails or behaves unexpectedly, or when someone asks which OpenSpec version is set up.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- ack-create-agents-mdSkill
- ack-create-checkpointSkill
- ack-create-skillSkill
- ack-create-user-contextSkill
- ack-drift-controlSkill
- ack-guideSkill
- ack-interviewSkill
- ack-interview-with-contextSkill
- ack-loop-01-readinessSkill
- ack-loop-02-implementSkill
- ack-loop-03-reviewSkill
- ack-loop-04-learningsSkill
- ack-loop-05-commitSkill
- ack-restore-checkpointSkill
- ack-sessionSkill
- ack-setupSkill
- ack-tddSkill
- ack-validate-agents-mdSkill
- ack-validate-skillSkill
- ack-validate-user-contextSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Use before any step that relies on OpenSpec.
- Very specific: line 18
Use when an openspec command fails, is unknown, or returns output in an unexpected shape.
- Distinctive: line 19
Use when the user asks which OpenSpec version is installed or whether it is current.
- Very specific: line 20
Do not use this skill to set up OpenSpec in a repository for the first time.
- Very specific: line 26
Run openspec --version. Done when you have a version, or know the command is missing.
- Very specific: line 28
Check the generated files with openspec update --dry-run --json.
- Very specific: line 41
Run only openspec --version, openspec version --json and openspec update --dry-run --json.
- Distinctive: line 42
Never use sudo or edit shell profiles in any suggested command.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenSpec Check
Purpose
Detect an OpenSpec set-up older than the kit supports, and say exactly how to upgrade it. The kit relies on OpenSpec 2.1.0 or later (spec section 11.6, ADR-016). Two things can be out of date on their own: the CLI on the machine, and the files OpenSpec generated into the repository. This skill checks both and changes neither.
When To Use
- Use before any step that relies on OpenSpec;
ack-loop-01-readiness,ack-create-agents-md,ack-validate-agents-mdandack-guidestart it. - Use when an
openspeccommand fails, is unknown, or returns output in an unexpected shape. - Use when the user asks which OpenSpec version is installed or whether it is current.
- Do not use this skill to set up OpenSpec in a repository for the first time;
openspec initdoes that, offered byack-create-agents-md.
Required Inputs
- A shell in the repository, so the
openspeccommands can run.
Workflow
- Run
openspec --version. Done when you have a version, or know the command is missing. - Classify the CLI with
references/upgrade.md:NO_CLI,UPGRADE_CLI(older than 2.1.0),NEWER(a later major than 2) or current. ForNO_CLIandUPGRADE_CLI, skip to step 4. - Check the generated files with
openspec update --dry-run --json; if the command fails, use the fallback inreferences/upgrade.md. Done when the files are classified as current,UPDATE_FILES, orUNVERIFIED(the fallback found no 1.x markers and so cannot confirm the files are current). - Report one status line (
OPENSPEC: OK,NEWER,UPDATE_FILES,UNVERIFIED,UPGRADE_CLIorNO_CLI), the versions found, and for every status exceptOKthe steps fromreferences/upgrade.md, with the user's package manager whereopenspec version --jsonnames it.
Output Expectations
- The status line first, so the calling skill can act on it:
OKandNEWERcontinue;UPDATE_FILESandUNVERIFIEDcontinue only after the user runsopenspec update(forUNVERIFIED, at least its dry run) or says to proceed;UPGRADE_CLIandNO_CLIstop (manual mode still allows planning). - The CLI version, and for
UPDATE_FILEShow many generated files would change and whether any are 1.x/opsx:*command files. - The upgrade steps, copied from
references/upgrade.mdand filled in for this machine. After an install or upgrade they include the telemetry opt-out and the question whether to keep telemetry on.
Resources
- Version rule, classification and upgrade steps:
references/upgrade.md - Decision: ADR-016,
../../docs/adr/ADR-016-minimum-openspec-2-1.md(in the kit repository)
Constraints And Safety
- Run only
openspec --version,openspec version --jsonandopenspec update --dry-run --json. Installing, upgrading andopenspec updateare for the user to run; offer the commands and wait. - Never use sudo or edit shell profiles in any suggested command.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

