In short.
source-command-opsx-archive is an assistant skill for developers closing out OpenSpec changes, but its confirmation prompts allow unfinished changes or unsynchronized specifications to be archived. The experimental workflow inspects artifact status, counts completed and incomplete tasks, compares change specifications with main specifications, and moves the change directory into a dated archive. Its metadata marks it internal. Compatible tool versions, installation details and successful runtime behavior are not established by the supplied documentation.
Researched and written by an AI model and checked by a second AI model. How it works
The scope comprises .agents/skills/source-command-opsx-archive/SKILL.md, the sole selected file listed in the supplied complete-scope manifest, plus the related repository-root LICENSE notice. Other Gitruck/cli code, the OpenSpec implementation, companion skills and assistant-host implementations are outside this evidence. No commands were executed. Installation, compatibility, synchronization correctness, data preservation and successful archival remain unassessed.
The overview
Identity
source-command-opsx-archive is an instruction-based assistant skill stored in Gitruck/cli at .agents/skills/source-command-opsx-archive/SKILL.md. It handles the migrated opsx-archive command, with /opsx:archive shown as the user-facing invocation.
The file describes an experimental workflow and sets internal: true in its metadata. Its specific purpose is to archive an OpenSpec change and report its completion and specification-sync state.
Assessment
The documented procedure is useful for teams that want a consistent closeout routine: it brings artifact status, task completion, specification changes and the archive destination into one interaction. It also provides explicit paths for proceeding with warnings.
Its checks establish recorded workflow status, not implementation correctness. The skill does not prescribe running tests or validating the resulting software, and its documentation supplies no execution results.
Users
The documented requirements make it most suitable for developers and maintainers already using OpenSpec change directories, artifacts, task lists and main specifications. An assistant operator must be able to decide whether unfinished work or skipped synchronization is acceptable.
Beginners need to understand that archiving moves a change out of the active-change area. A delta specification records changes intended for a main specification; moving its directory into an archive does not itself apply those updates.
Capabilities
The skill describes listing active changes, showing their schemas when available, inspecting artifact completion through JSON status output, and counting completed and incomplete task checkboxes. Missing task files do not trigger a task warning.
It also describes comparing delta specifications with main specifications for additions, modifications, removals and renames; offering synchronization choices; checking for an existing archive destination; moving the change; and summarizing the schema, destination, synchronization state and outstanding warnings.
Using it
Requirements
The procedure assumes an OpenSpec project and an openspec command supporting list --json and status --change "<name>" --json. It needs access to change artifacts, the task file, delta specifications and main specifications, plus permission to create directories and move the change directory.
The instructions name AskUserQuestion for change selection and a general-purpose Task that invokes openspec-sync-specs through the Skill tool. They require confirmation before proceeding with incomplete artifacts or tasks but do not specify the tool for those confirmations. Supported assistant hosts, OpenSpec versions and the companion skill's implementation are not supplied.
Mechanism
The assistant identifies the change, reads its artifact graph through openspec status, and inspects task checkboxes. Incomplete artifacts or tasks lead to warnings and confirmation prompts. If delta specifications exist, it compares them with their main counterparts and presents a combined summary before requesting a synchronization decision.
The archive operation creates openspec/changes/archive when needed and moves the change directory to openspec/changes/archive/YYYY-MM-DD-<change-name>. Moving the directory carries .openspec.yaml with it. An existing destination causes the documented procedure to stop with an error.
Setup
No installation command, package dependency list or supported-host matrix is provided. Adoption requires making the SKILL.md available to an assistant that can perform the documented shell operations and interactive tool calls within an existing OpenSpec project.
The documented usage is /opsx:archive followed optionally by a change name. Specification synchronization additionally depends on the referenced openspec-sync-specs skill. Exact registration steps and compatibility remain unknown.
Example
For a hypothetical change named add-auth, the documented invocation is /opsx:archive add-auth. The assistant would inspect its artifact status and task list, then compare any delta specifications with the corresponding main specifications.
If the required decisions permit archiving and the destination is available, the described result is a directory at openspec/changes/archive/YYYY-MM-DD-add-auth/ and a summary of completion and synchronization status. This is an illustrative walkthrough; no successful execution is established.
Assessment & evidence
Limitations
Archiving can proceed after confirmation despite incomplete artifacts or tasks, and users can choose to skip specification synchronization. A missing task file also allows the procedure to continue. An archived change therefore does not necessarily represent completed implementation or updated main specifications.
The opening input description permits inferring a change name from conversation, while the numbered steps and guardrails require a selection prompt when no name is supplied. Synchronization is delegated to a general-purpose Task whose prompt invokes openspec-sync-specs through the Skill tool. Recovery from failed synchronization or a failed move is not documented, apart from the existing-destination case.
Why the design matters
The procedure's practical value comes from making closeout decisions visible before a change leaves the active directory. Artifact status and task counts expose recorded unfinished work, while the specification comparison exposes updates that could otherwise remain only inside an archived change.
The permissive confirmation paths make this a human-directed workflow. They support intentional exceptions, but the resulting archive summary must be read alongside its warnings to understand what was actually completed.
Alternatives
A manual alternative follows directly from the documented operations: inspect OpenSpec status, review the task file, compare and reconcile specifications, then move the change into a dated archive directory. This avoids dependence on the named assistant tools but leaves coordination and reporting to the developer.
The referenced openspec-sync-specs skill addresses the synchronization part of the workflow. Its source is not included, so its behavior cannot be compared in detail. No evidence supports a comparison with other archiving tools.
Evidence
The original resource location is [https://github.com/Gitruck/cli/tree/main/.agents/skills/source-command-opsx-archive]. The captured instruction file is available at the fixed revision [https://raw.githubusercontent.com/Gitruck/cli/6d888abd6f5b7e01046e54b8572dd3342c366c39/.agents/skills/source-command-opsx-archive/SKILL.md]. It supports the described workflow, dependencies and documented safeguards.
The related repository licence is [https://raw.githubusercontent.com/Gitruck/cli/6d888abd6f5b7e01046e54b8572dd3342c366c39/LICENSE]. These sources contain instructions and licence terms, not runtime logs, compatibility results or demonstrated archive outcomes.
Access & freshness
Costs
Price and operating costs are unknown. The skill does not specify an assistant provider, model, token usage, subscription requirement or execution charges. Its MIT licence grants use and redistribution rights without a licence fee, but does not establish the cost of the surrounding assistant and OpenSpec environment.
Rights
The repository LICENSE is the MIT License, with copyright attributed to 同合云 (Gitruck), 2026. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation.
Copies or substantial portions must retain the copyright and permission notice. The licence provides the material without warranty and disclaims liability. The captured SKILL.md and accompanying licence notice are eligible for redistribution under those terms.
Freshness
The supplied material was captured on 2026-11-15 at 22:02:50.307 UTC from Git revision 6d888abd6f5b7e01046e54b8572dd3342c366c39. The findings apply to that snapshot.
A release version, file modification date, compatible OpenSpec version and subsequent changes are not established. The main-branch resource location may differ from the pinned source.
Before adoption
Confirm that the intended assistant supports the named tools and OpenSpec commands, and that openspec-sync-specs is available when synchronization is needed. Resolve how the host should handle an omitted change name.
For each archive, review the reported incomplete work and specification differences before deciding to proceed. Check the dated destination and retain the licence notice with redistributed copies. Treat successful operation and compatibility as unverified until demonstrated in the intended environment.
