Agent skill

Openspec Archive Change

by henhen6 in henhen6/mdp

归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用. An agent skill from henhen6/mdp.

MITAuto-check passed

Install Openspec Archive Change

skills CLI
$ npx skills add henhen6/mdp --skill openspec-archive-change -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install henhen6/mdp openspec-archive-change --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/henhen6/mdp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/openspec-archive-change .claude/skills/openspec-archive-change && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openspec-archive-change
GitHub stars
132
Token cost
~576 tokens
SKILL.md length
125 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用. An agent skill from henhen6/mdp.

  • Works in 6 steps: 如果没有提供变更名称,提示选择 → 检查产出物完成状态 → 检查任务完成状态 → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openspec Archive Change is an agent skill from henhen6/mdp. 归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: 需要 openspec-cn CLI。

The repository describes itself as: MDP-主数据平台,后端项目。专注于单点登录解决方案。内置用户中心、开发者平台、管理后台3个应用。包含:单点登录、Oauth2 登录、用户身份管理、应用申请、应用接入、主数据维护、主数据订阅、主数据广播、应用接口调用、接口管理管理和查看、系统配置等功能。 The licence is MIT.

Example prompts

  • “/openspec-archive-change”

Requirements

  • Compatibility (from SKILL.md): 需要 openspec-cn CLI。

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 如果没有提供变更名称,提示选择
  2. 检查产出物完成状态
  3. 检查任务完成状态
  4. 评估增量规范同步状态
  5. 执行归档
  6. 显示摘要

What it can do on your machine

Read from SKILL.md and the folder at commit 91eef93. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    需要 openspec-cn CLI。

    From compatibility in the SKILL.md frontmatter.

Context cost

Openspec Archive Change loads about 576 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 125 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~576

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from henhen6/mdp at commit 91eef93, republished under its MIT licence (© henhen6). 125 words, ~576 tokens.

Download SKILL.mdSave it as .claude/skills/openspec-archive-change/SKILL.md (or your agent's skills folder).
name
openspec-archive-change
description
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
compatibility
需要 openspec-cn CLI。
license
MIT
metadata.author
openspec
metadata.version
1.0
metadata.generatedBy
1.3.1

归档实验性工作流中已完成的变更。

输入:可选指定变更名称。如果省略,检查是否可以从对话上下文中推断。如果模糊或不明确,你必须提示获取可用变更。

步骤

  1. 如果没有提供变更名称,提示选择

    运行 openspec-cn list --json 获取可用变更。使用 AskUserQuestion tool 让用户选择。

    仅显示活动变更(未归档的)。 如果可用,包括每个变更使用的 Schema。

    重要提示:不要猜测或自动选择变更。始终让用户选择。

  2. 检查产出物完成状态

    运行 openspec-cn status --change "<name>" --json 检查产出物完成情况。

    解析 JSON 以了解:

    • schemaName:正在使用的工作流 Schema
    • artifacts:产出物列表及其状态(done 或其他状态值)

    如果有任何产出物不是 done:

    • 显示列出未完成产出物的警告
    • 使用 AskUserQuestion tool 确认用户是否要继续
    • 如果用户确认,则继续
  3. 检查任务完成状态

    阅读任务文件(通常是 tasks.md)以检查未完成的任务。

    统计标记为 - [ ](未完成)与 - [x](已完成)的任务。

    如果发现未完成的任务:

    • 显示警告,显示未完成任务的数量
    • 使用 AskUserQuestion tool 确认用户是否要继续
    • 如果用户确认,则继续

    如果没有任务文件存在: 继续,无需任务相关警告。

  4. 评估增量规范同步状态

    检查 openspec/changes/<name>/specs/ 中的增量规范。如果不存在,则在没有同步提示的情况下继续。

    如果存在增量规范:

    • 将每个增量规范与其在 openspec/specs/<capability>/spec.md 对应的各主规范进行比较
    • 确定将应用哪些更改(添加、修改、移除、重命名)
    • 在提示前显示综合摘要

    提示选项:

    • 如果需要更改:"立即同步(推荐)"、"归档而不同步"
    • 如果已同步:"立即归档"、"仍然同步"、"取消"

    如果用户选择同步,使用 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>")。无论选择如何,都继续归档。

  5. 执行归档

    如果归档目录不存在,则创建它:

    bash
    mkdir -p openspec/changes/archive

    使用当前日期生成目标名称:YYYY-MM-DD-<change-name>

    检查目标是否已存在:

    • 如果是:失败并报错,建议重命名现有归档或使用不同日期
    • 如果否:将变更目录移动到归档
    bash
    mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
  6. 显示摘要

    显示归档完成摘要,包括:

    • 变更名称
    • 使用的 Schema
    • 归档位置
    • 规范是否已同步(如果适用)
    • 关于任何警告的说明(未完成的产出物/任务)

成功时的输出

## 归档完成

**变更:** <change-name>
**Schema:** <schema-name>
**归档至:** openspec/changes/archive/YYYY-MM-DD-<name>/
**规范:** ✓ 已同步到主规范(或 "无增量规范" 或 "同步已跳过")

所有产出物已完成。所有任务已完成。

防护措施

  • 如果未提供变更,始终提示选择
  • 使用产出物图(openspec-cn status --json)进行完成度检查
  • 不要在警告时阻止归档 - 只需告知并确认
  • 移动到归档时保留 .openspec.yaml(它与目录一起移动)
  • 显示清晰的操作摘要
  • 如果请求同步,使用 openspec-sync-specs 方法(代理驱动)
  • 如果存在增量规格说明,始终运行同步评估并在提示前显示综合摘要

© henhen6, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/openspec-archive-change of henhen6/mdp.

Open the folder on GitHubat commit 91eef93

Compare with similar skills

Openspec Archive Change next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openspec Archive Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Archive Change this skillhenhen6/mdp132—~576Automated safety check: PassMIT
OpenSpec Bulk Change ArchiverFission-AI/OpenSpec71k2 repos~5.6kAutomated safety check: PassMIT
Openspec Archive Changetsedio/tsed3.1k6 repos~4.1kAutomated safety check: PassMIT
Openspec Verify ChangeFission-AI/OpenSpec71k2 repos~4.6kAutomated safety check: PassMIT
OpenSpec Guided OnboardingFission-AI/OpenSpec71k1 repos~4.5kAutomated safety check: PassMIT
CTF ZIP Archive Key Recoveryzhaoxuya520/reverse-skill40k1 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    71k GitHub starsUsed in 2 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Archive a completed OpenSpec change in the experimental workflow.

    3.1k GitHub starsUsed in 6 repos~4.1k tokens
    Auto-check passed
  • Openspec Verify Change

    Fission-AI/OpenSpec

    Verify implementation matches OpenSpec change artifacts. An agent skill from Fission-AI/OpenSpec.

    71k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • OpenSpec Guided Onboarding

    Fission-AI/OpenSpec

    Walks you through a complete OpenSpec workflow cycle with narration while doing real work in your codebase.

    71k GitHub starsUsed in 1 repo~4.5k tokens
    Agent WorkflowsAuto-check passed
  • CTF ZIP Archive Key Recovery

    zhaoxuya520/reverse-skill

    Recovers internal keys from legacy ZipCrypto-protected ZIP archives in CTF challenges through a known-plaintext method, instead of brute force.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    SecurityAuto-check passed
  • Openspec Archive Change

    elastic/terraform-provider-elasticstack

    Official

    Archive a completed change in the experimental workflow. An agent skill from elastic/terraform-provider-elasticstack.

    210 GitHub starsUsed in 86 repos~2.7k tokens
    Auto-check passed

More from henhen6/mdp

  • Openspec Explore

    henhen6/mdp

    进入探索模式 - 一个用于探索想法、调查问题和澄清需求的思考伙伴。当用户想要在进行更改之前或期间深入思考某事时使用. An agent skill from henhen6/mdp.

    132 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • 实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用. An agent skill from henhen6/mdp.

    132 GitHub stars~644 tokensUpdated yesterday
    Auto-check passed
  • Openspec Propose

    henhen6/mdp

    一步提案新变更并生成所有产出物。当用户想要快速描述他们想要构建的内容,并获得包含设计、规格说明和任务的完整提案以准备实现时使用。

    132 GitHub stars~642 tokensUpdated yesterday
    Auto-check passed

Questions about Openspec Archive Change

What does Openspec Archive Change do?

归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用. An agent skill from henhen6/mdp. Openspec Archive Change is an agent skill from henhen6/mdp.

How do I install Openspec Archive Change in Claude Code?

Run `npx skills add henhen6/mdp --skill openspec-archive-change -a claude-code`. Or copy the skill folder (.claude/skills/openspec-archive-change in henhen6/mdp) into .claude/skills/openspec-archive-change in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Archive Change in Codex?

Run `npx skills add henhen6/mdp --skill openspec-archive-change -a codex`. Or copy the skill folder (.claude/skills/openspec-archive-change in henhen6/mdp) into .agents/skills/openspec-archive-change in your project. Codex loads it when a task matches its description.

Can I use Openspec Archive Change in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add henhen6/mdp --skill openspec-archive-change -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-archive-change, .gemini/skills/openspec-archive-change, .github/skills/openspec-archive-change and .opencode/skills/openspec-archive-change in your project.

What does Openspec Archive Change need to run?

SKILL.md names no scripts, command-line tools or credentials: Openspec Archive Change is instructions for the agent only. Compatibility (from SKILL.md): 需要 openspec-cn CLI。.

Does Openspec Archive Change access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openspec Archive Change safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openspec Archive Change use?

Openspec Archive Change is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openspec Archive Change use?

About 576 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openspec Archive Change?

Skills that share tags, products or a category with Openspec Archive Change: OpenSpec Bulk Change Archiver (Fission-AI/OpenSpec, 71k stars), Openspec Archive Change (tsedio/tsed, 3.1k stars), Openspec Verify Change (Fission-AI/OpenSpec, 71k stars) and OpenSpec Guided Onboarding (Fission-AI/OpenSpec, 71k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Archive Change?

henhen6 (a GitHub user) maintains it in henhen6/mdp, which has 132 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 8, 2026.

Source: henhen6/mdp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.