OpenClawForJun: Skill for Codex

.codex/skills/openspec-archive-change/SKILL.md

openspec-archive-change is a skill for Codex from IsJunNa/OpenClawForJun. It costs 36 tokens per session (1,118 once invoked), scanned A, original, MIT.

A workflow for checking and archiving a completed software change. It reviews unfinished documents, tasks, and specification updates before moving the change to an archive.

In plain words
What is it for?
Use it to select an active change, review its completion status, optionally sync specification updates, and archive it.
Why use it?
It prevents changes from being archived without warning about incomplete work or unsynchronised specifications. It also avoids choosing an unclear change automatically.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: names the AskUserQuestion tool.

This is IsJunNa/OpenClawForJun's own configuration. It tells Codex how to work on OpenClawForJun itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenClawForJun configures →

Reuse

Borrowing it

Nothing to install: this file belongs to IsJunNa/OpenClawForJun. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/IsJunNa/OpenClawForJun/main/.codex/skills/openspec-archive-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/IsJunNa/OpenClawForJun

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openspec-archive-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/isjunna/openclawforjun/openspec-archive-change/github.svg)](https://agentmods.dev/skills/isjunna/openclawforjun/openspec-archive-change)
Your own site
<a href="https://agentmods.dev/skills/isjunna/openclawforjun/openspec-archive-change"><img src="https://agentmods.dev/badge/skills/isjunna/openclawforjun/openspec-archive-change/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openspec-archive-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/isjunna/openclawforjun/openspec-archive-change"><img src="https://agentmods.dev/badge/skills/isjunna/openclawforjun/openspec-archive-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01118
Opus 5.5 $0.00014 $0.00447
Sonnet 5.5 $0.00007 $0.00224
Haiku 4.5 $0.00004 $0.00112

Measured 1mo ago against content hash d8bfebc1b596, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openspec-archive-change scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/openspec-archive-change/SKILL.md · 115 lines

What it actually says

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

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

步骤

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

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

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

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

  2. 检查产出物完成状态

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

    解析 JSON 以了解:

    • schemaName:正在使用的工作流
    • 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 ''. Delta spec analysis: ")。无论选择如何,都继续归档。

  5. 执行归档

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

    mkdir -p openspec/changes/archive
    

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

    检查目标是否已存在:

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

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

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

成功时的输出

## 归档完成

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

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

防护措施

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

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 115 lines · 36 tokens per session scan A d8bfebc1b596

Subscribe to this mod's changes

openspec-archive-change is a skill published in the GitHub repository IsJunNa/OpenClawForJun (77 stars, last pushed 8mo ago), licensed MIT. It adds 36 tokens to every session and 1,118 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

openspec-archive-change compared with skills from other repositories

openspec-archive-change next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openspec-archive-changeIsJunNa/OpenClawForJunSkill778mo agoMITA36Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code