close

close is a skill for Claude Code, Codex from snapsynapse/skill-provenance. It costs 83 tokens per session (834 once invoked), scanned A, original, MIT.

A closing procedure for updating version records after editing a skill bundle. It validates the bundle, updates changed file versions and dates, refreshes manifest checksums, and records the work in the changelog.

In plain words
What is it for?
Use it at the end of a skill-editing session. It helps finalize changes to SKILL.md and related versioned files, update MANIFEST.yaml, and prepare a commit message.
Why use it?
It leaves the bundle in a consistent state before committing, packaging, or handing it off. Validation helps catch structural problems before hashes and version data are changed.

Skill for Claude CodeCodex

Part of the skill-provenance plugin — 6 skills shipped together

Install

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.

agentmods
npx agentmods add skills/snapsynapse/skill-provenance/close
Any agent
npx skills add snapsynapse/skill-provenance --skill close
Clone the repo
git clone --depth 1 https://github.com/snapsynapse/skill-provenance

Made for: Claude Code, Codex.

Or install skill-provenance, the plugin that ships this one along with the rest of its 6 skills.

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 close

README.md
[![agentmods](https://agentmods.dev/badge/skills/snapsynapse/skill-provenance/close.svg)](https://agentmods.dev/skills/snapsynapse/skill-provenance/close)
Your own site
<a href="https://agentmods.dev/skills/snapsynapse/skill-provenance/close"><img src="https://agentmods.dev/badge/skills/snapsynapse/skill-provenance/close.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.00834
Opus 5 $0.00042 $0.00417
Sonnet 5 $0.00017 $0.00167
Haiku 4.5 $0.00008 $0.00083

Measured 3d ago against content hash 7e248dc2dd43, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

close 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 3d 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.

skills/close/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Provenance: Close

Update all version-tracking artifacts when finishing a skill editing session. This ensures the bundle leaves the session in a consistent, verifiable state.

When to use

Run /skill-provenance:close after you've finished editing files in a skill bundle and before committing, packaging, or handing off.

Protocol

  1. Validate before mutation. Run verify-only validate.sh first when available. Resolve structural grammar, unsafe or duplicate paths, symlink components, and missing files before updating hashes. Hash mismatches and missing or malformed hashes may then be repaired with an explicit validate.sh --update workflow; hash: null remains an intentional opt-out.

  2. Update internal version headers. For each changed file that carries YAML frontmatter with version metadata:

    • Increment version by 1.
    • Set version_date to today.
    • Set previous_version to the old version number.
    • Write a change_summary (1-3 sentences describing what changed, not just that something changed).
  3. Update MANIFEST.yaml. For every changed versioned file:

    • Update version to match the new internal version.
    • Recompute and update hash.
    • For files that don't carry internal headers (JSON, scripts, binaries), the manifest version field is authoritative — increment it there.
    • Bump bundle_version (semver): PATCH for fixes/docs, MINOR for new features, MAJOR for breaking changes.
    • Update bundle_date to today.
    • If the user deployed or reinstalled the skill this session, update relevant deployments metadata.
  4. Update CHANGELOG.md. Add a new entry at the top:

    • Use the new bundle_version and today's date as the heading.
    • Name every file that changed and what changed in it.
    • Flag staleness explicitly. If a versioned file was changed but a dependent file was not updated (e.g., SKILL.md changed but evals.json wasn't updated to match), say so in the entry.

Read the full file on GitHub · 87 lines

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. 3d ago First seen · 87 lines · 83 tokens per session scan A 7e248dc2dd43

Subscribe to this mod's changes

close is a skill published in the GitHub repository snapsynapse/skill-provenance (7 stars, last pushed 5d ago), licensed MIT. It adds 83 tokens to every session and 834 once invoked, about $0.0004 per session on Opus 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-08-31.

Related

Other skills, from other repositories