Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add creativedswork/dscode --skill openspec-archive-changegit clone --depth 1 https://github.com/creativedswork/dscodeWrote 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.
[](https://agentmods.dev/skills/creativedswork/dscode/openspec-archive-change)<a href="https://agentmods.dev/skills/creativedswork/dscode/openspec-archive-change"><img src="https://agentmods.dev/badge/skills/creativedswork/dscode/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.
<a href="https://agentmods.dev/skills/creativedswork/dscode/openspec-archive-change"><img src="https://agentmods.dev/badge/skills/creativedswork/dscode/openspec-archive-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01366 |
| Opus 5.5 | $0.00012 | $0.00546 |
| Sonnet 5.5 | $0.00006 | $0.00273 |
| Haiku 4.5 | $0.00003 | $0.00137 |
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.
This is a copy
86% identical to openspec-archive-change — 61 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archive OpenSpec Change
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
-
If no change name provided, prompt for selection
Run
openspec list --jsonto 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.
-
Check artifact completion status
Run
openspec status --change "<name>" --jsonto check artifact completion.Parse the JSON to understand:
schemaName: The workflow being usedartifacts: List of artifacts with their status (doneor 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
-
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.
-
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 ''. Delta spec analysis: "). Proceed to archive regardless of choice.
- Compare each delta spec with its corresponding main spec at
4.5 If schema is spec-driven-plus, ensure consolidate is done
If the schema is spec-driven-plus, check if consolidate.md exists in the change directory.
If not, generate it before proceeding:
openspec instructions consolidate --change "<name>" --json
Read the consolidate template, scan related archived changes, and create consolidate.md.
Skip if:
- Schema is not
spec-driven-plus - consolidate.md already exists
-
Finalize prototype lifecycle
For
spec-driven-plus, read<changeRoot>/prototype.md.- If it is a non-UI stub, continue.
- If the
## Prototype Retentiontable is missing, incomplete, or still containspending, loadprototype-workflowand make the final per-filearchiveordeletedecision before proceeding. - For
delete, remove any remaining staging HTML, remove itsdocs/prototypes/README.mdentry, and remove or rewrite stale references. - For
archive, createdocs/prototypes/archive/YYYY-MM-DD-<change-name>/, move the HTML there, updateprototype.md,design.md, specs, docs, and all other repository references from the staging path to the archived path, and remove the old README entry. - Do not overwrite an existing archive file. Stop and resolve the conflict.
- Verify no current-change HTML remains directly under
docs/prototypes/and a repository search finds no references to its old staging path.
This step is mandatory even when apply was skipped or completed before the lifecycle policy existed.
-
Perform the archive
Create the archive directory if it doesn't exist:
mkdir -p openspec/changes/archive
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.
- 1mo ago First seen · 155 lines · 31 tokens per session scan A 792e04dc17cb
openspec-archive-change is a skill published in the GitHub repository creativedswork/dscode (11 stars, last pushed 29d ago), licensed MIT. It adds 31 tokens to every session and 1,366 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to openspec-archive-change, differing in 61 lines, and is treated as a copy.
Other skills, from other repositories
company-employee
The protocol every employee of a PenguinHarness organization follows — read the handbook first, act on [orgtrigger] work runs, schedule tickets from the desk session and do the work in ticket sessions, block instead of idling, ask the board in the all-hands channel before anything heavy, costly, irreversible or…
company-ceo
Run a PenguinHarness organization as its CEO — turn the mission into a ticket tree, hire HR and finance first, partition the shared workspace, schedule the calendar, open a channel per stream, review tickets and report to the board in the all-hands channel.
company-hr
Run HR for a PenguinHarness organization — guarantee every employee has an enabled calendar event, hire and offboard employees (channels included), evaluate and improve them (with the default-rsi-toolkit plugin's agent-optimization skill), and keep the handbook's role conventions current.
company-mirror
Run a PenguinHarness organization that mirrors a real company — one digital twin per real colleague, each twin's desk bound to that colleague's chat bot, twins answering what the handbook already knows and relaying the rest to one another instead of hiring, scheduling and filing tickets.
company-setup
Create a company-mode organization together with the user — collect its id, name, mission, shared workspace, model and CEO budget one question at a time, confirm the whole thing in one summary, then run penguin org create and hand the user over to company mode.
agent-notes
Use when deciding whether a Cherry Studio change needs an Agent Note, authoring or reviewing a Spec, recording a durable bug-fix decision, moving a note between proposed/implemented/rejected, or checking supersession and stacked Spec approval.