openspec-archive-change
Archive a completed change in the experimental workflow.
Skill by openspec
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jouryjc-openspec-archive-change
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
openspec-archive-change- Description
- Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
- License
- MIT
- Compatibility
- Requires openspec CLI.
- Metadata
- author: openspec · version: 1.0 · generatedBy: 1.3.1
- Instructions
- 105 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Archive a completed change in the experimental workflow. **Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes. **Steps** 1. **If no change name provided, prompt for selection** Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select. Show only active changes (not already archived). Include the schema used for each change if available. **IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose. 2. **Check artifact completion status** Run `openspec status --change "<name>" --json` to check artifact completion. Parse the JSON to understand: - `schemaName`: The workflow being used - `artifacts`: List of artifacts with their status (`done` or other) **If any artifacts are not `done`:** - Display warning listing incomplete artifacts - Use **AskUserQuestion tool** to confirm user wants to proceed - Proceed if user confirms 3. **Check task completion status** Read the tasks file (typically `tasks.md`) to check for incomplete tasks. Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete). **If incomplete tasks found:** - Display warning showing count of incomplete tasks - Use **AskUserQuestion tool** to confirm user wants to proceed - Proceed if user confirms **If no tasks file exists:** Proceed without task-related warning. 4. **Assess delta spec sync state** Check for delta specs at `openspec/changes/<name>/specs/`. If none exist, proceed without sync prompt. **If delta specs exist:** - Compare each delta spec with its corresponding main spec at `openspec/specs/<capability>/spec.md` - Determine what changes would be applied (adds, modifications, removals, renames) - Show a combined summary before prompting **Prompt options:** - If changes needed: "Sync now (recommended)", "Archive without syncing" - If already synced: "Archive now", "Sync anyway", "Cancel" If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice. 5. **Perform the archive** Create the archive directory if it doesn't exist: ```bash mkdir -p openspec/changes/archive ``` Generate target name using current date: `YYYY-MM-DD-<change-name>` **Check if target already exists:** - If yes: Fail with error, suggest renaming existing archive or using different date - If no: Move the change directory to archive ```bash mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name> ``` 6. **Display summary** Show archive completion summary including: - Change name - Schema that was used - Archive location - Whether specs were synced (if applicable) - Note about any warnings (incomplete artifacts/tasks) **Output On Success** ``` ## Archive Complete **Change:** <change-name> **Schema:** <schema-name> **Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/ **Specs:** ✓ Synced to main specs (or "No delta specs" or "Sync skipped") All artifacts complete. All tasks complete. ``` **Guardrails** - Always prompt for change selection if not provided - Use artifact graph (openspec status --json) for completion checking - Don't block archive on warnings - just inform and confirm - Preserve .openspec.yaml when moving to archive (it moves with the directory) - Show clear summary of what happened - If sync is requested, use openspec-sync-specs approach (agent-driven) - If delta specs exist, always run the sync assessment and show the combined summary before prompting
From Jouryjc/kb-server, MIT.
More from Jouryjc/kb-server
- 0.469score
kb-eval-score-codex
Jouryjc
执行知识库 QA 评测:使用 Codex CLI 生成答案并评分,不调用 Claude,输出 JSON 和 CSV 报告
SkillCFreshness: CClaude Code +9 - 0.462score
kb-eval-score
Jouryjc
执行知识库 QA 评测:调用 run_claude.sh 生成答案并评分,输出 CSV 报告
SkillCFreshness: CClaude Code +9 - 0.462score
kb-eval-score
Jouryjc
执行知识库 QA 评测:调用 run_csc.sh 生成答案并评分,输出 CSV 报告
SkillCFreshness: CClaude Code +9 - 0.461score
kb-eval-gen-qa
Jouryjc
基于本地代码仓库生成可用于知识库检索评测的准确 QA 数据集
SkillCFreshness: CClaude Code +9 - 0.445score
kb-query
Jouryjc
查询 kb-Product 产品知识库,获取模块文档、架构、技术栈和业务领域信息,管理本地 kb-query 缓存,并自动通过 graph-* 图谱和 Grep/Glob 探索关联代码实现。当用户询问模块、产品、架构、技术栈、业务领域、知识库、代码实现等问题时触发。Query and inspect kb…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 21, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- MIT
- Repository
- github.com/Jouryjc/kb-server
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.448score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.198score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 13Claude Code +9 - 0.193score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 6Claude Code +9 - 0.190score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillBFreshness: BClaude Code +9 - 0.179score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 1Claude Code +9 - 0.179score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 1Claude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9
More from openspec
- 0.448score
openspec-new-change
openspec
Start a new OpenSpec change using the experimental artifact workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-ff-change
openspec
Fast-forward through OpenSpec artifact creation.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-explore
openspec
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-continue-change
openspec
Continue working on an OpenSpec change by creating the next artifact.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-propose
openspec
Propose a new change with all artifacts generated in one step.
SkillAFreshness: A★ 3.2KClaude Code +9
Cite this page
openspec-archive-change skill. Agent Mart. https://agentmart.dev/skills/jouryjc-openspec-archive-change (last updated 2026-10-24)