In short.
comet-archive is an assistant skill for developers closing verified Comet changes, but its required archiving scripts are outside this folder. It describes checking workflow state, obtaining explicit confirmation, merging specification changes through OpenSpec, marking related documents and moving the change into an archive directory. It also explains reopening verification, deferring archiving and committing the resulting files. The supplied material is a benchmark-directory copy of the instructions; installation compatibility and executable behavior were not assessed, and nothing was run.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is complete for the selected folder eval/local/skills/benchmarks/040-beta/comet-archive at commit d31d310e6d8c8223a08646c6e022c4de9ee75b91: its supplied manifest contains SKILL.md, with the repository-root LICENSE captured as an accompanying notice. Other Comet skills, reference guides, state and archive scripts, OpenSpec implementations and project files are outside this scope. No commands were executed; compatibility, mutations, failure handling and recovery remain untested.
The overview
Identity
comet-archive identifies itself as stage 5, Archive, of the Comet development workflow. It is an assistant instruction file for closing a change after verification and branch handling.
The selected file is eval/local/skills/benchmarks/040-beta/comet-archive/SKILL.md in rpamis/comet. That location identifies a benchmark copy; the evidence does not establish whether this folder is a supported installation target or a published release.
Assessment
This is a useful closing procedure for teams already using Comet. It makes the final confirmation explicit, defines what successful archiving should leave behind and reminds users that archive changes still need a commit.
Its usefulness depends on the surrounding installation. The folder supplies instructions rather than the state, archive and recovery implementations they invoke. No commands were run, so successful archiving, failure handling and recovery remain untested.
Users
The intended users are developers working with an assistant in an existing Comet project, especially when a verified change needs confirmation, specification merging or archive-stage recovery.
Beginners get explicit choices and completion criteria, but still need to understand project specifications, Git changes and workflow state. Experienced developers get concrete commands, metadata fields and recovery transitions. The instructions are mainly Chinese and require archive summaries to use the language of the triggering user request.
Capabilities
The skill describes an entry check, a confirmation summary and three user choices: archive now, return to verification or defer while preserving the archive stage. It also documents a --dry-run preview option.
The referenced archive script is described as marking design and plan documents, merging specification additions, modifications, removals and renames through OpenSpec, moving the change directory and updating archive and recovery metadata. These are documented capabilities; the script implementation is not included.
Using it
Requirements
The documented prerequisites are completed verification, completed branch handling and verify_result: pass in openspec/changes/<name>/.comet.yaml. The archive script is described as additionally checking phase=archive and archived=false.
The commands require Node.js, the Comet state and archive scripts, OpenSpec archiving support and referenced Comet documentation. Script locations are represented by variables such as COMET_STATE and COMET_ARCHIVE. Required versions, supported operating systems and compatible assistant hosts are unknown.
Mechanism
The documented entry command is node "$COMET_STATE" check <name> archive. Before mutation, the assistant must present the change name, verification report and conclusion, branch status and the specification-merging and file-moving actions awaiting confirmation.
After confirmation, node "$COMET_ARCHIVE" "<change-name>" delegates the work to a script. Expected completion requires exit code 0, an archive directory at openspec/changes/archive/YYYY-MM-DD-<change-name>/ and archived: true. A nonzero exit requires stopping and reporting the error.
Choosing further verification uses the archive-reopen state transition before /comet-verify. After a successful archive, the instructions warn against running the guard on the original active change name because that directory has moved.
Setup
The file directs the assistant to comet/reference/scripts.md to locate comet-env.mjs and the required scripts. Resumed work also depends on comet/reference/context-recovery.md, while confirmation behavior refers to comet/reference/decision-point.md.
Those references and executable files are outside the supplied folder. No standalone installation command or assistant registration procedure is provided, so this file alone does not establish a complete setup.
Example
As an illustrative scenario, a configured Comet project has a change named add-search that has passed verification and completed branch handling. The user invokes /comet-archive, the assistant checks archive eligibility and presents the confirmation summary. If the user confirms, the referenced script is expected to merge specification changes and move the change into its dated archive directory.
The resulting specification, document-metadata and directory changes still need review and a Git commit. This scenario illustrates the documented sequence; it is not an execution result.
Assessment & evidence
Limitations
The instructions describe the archive operation as irreversible and require confirmation before it merges main specifications and moves change files. They do not supply enough implementation evidence to assess rollback, partial-failure recovery or enforcement of that confirmation.
Archiving does not automatically commit its changes. The suggested git add -A can stage other working-tree changes as well, so reviewing the actual file list matters. The available evidence also does not establish whether the underlying checks detect incorrect specification content.
Reasoning
The design puts a human decision immediately before specification and directory changes, then uses explicit workflow transitions for reopening verification. This makes the intended handoff clear and avoids relying on manual edits to .comet.yaml.
Those benefits remain conditional on the assistant following the instructions and the external scripts implementing their stated checks. Exit codes, archive metadata and directory presence are completion signals; they do not by themselves demonstrate that the merged specifications correctly represent the implemented feature.
Alternatives
A possible lower-level alternative is to coordinate the referenced OpenSpec archiving and Git steps directly. This is an inference from the described mechanism: the file supplies neither a complete manual replacement procedure nor comparative results.
For a change that is not ready to close, the documented options are to defer archiving or return to /comet-verify through archive-reopen. These are continuation routes within Comet rather than competing resources.
Evidence
The workflow details come from the complete selected SKILL.md at a fixed repository commit [https://raw.githubusercontent.com/rpamis/comet/d31d310e6d8c8223a08646c6e022c4de9ee75b91/eval/local/skills/benchmarks/040-beta/comet-archive/SKILL.md].
The licensing evidence is the repository-root MIT notice at the same commit [https://raw.githubusercontent.com/rpamis/comet/d31d310e6d8c8223a08646c6e022c4de9ee75b91/LICENSE]. No executable scripts, runtime results or referenced Comet guides are included, so their contents and behavior cannot be confirmed.
Access & freshness
Costs
No purchase price, subscription, required model or usage charges are specified. Total setup, maintenance and any assistant-provider costs are unknown. No runtime or token-consumption measurements are supplied.
Rights
The captured repository-root LICENSE is the MIT License, copyright 2026 rpamis. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties.
Redistribution of the captured skill should preserve that notice. The supplied license does not establish the licensing terms of dependencies whose files were not captured.
Freshness
The supplied snapshot was captured on 17 November 2026 at 14:20:29.479 UTC from commit d31d310e6d8c8223a08646c6e022c4de9ee75b91. This identifies the exact source described here.
The 040-beta path component does not establish a published release version. Later changes, current dependency compatibility and ongoing maintenance are unknown.
Actions
Before using this copy, obtain the matching Comet scripts and referenced guides, establish how the intended assistant loads it and confirm that the project satisfies its archive prerequisites. Review a --dry-run preview before approving specification merging and file moves.
After archiving, inspect the resulting specifications, metadata and moved files before committing. Complete any remaining branch follow-up according to the previously chosen merge, pull-request or keep-branch approach. The source provides procedures for these actions, but no successful execution evidence.
