release-publish

release-publish is a skill for Claude Code from confighub/confighub-skills. It costs 67 tokens per session (3,132 once invoked), scanned A, original, MIT.

A workflow for managing complete ConfigHub releases packaged as OCI artifacts. OCI is a standard format for storing and delivering versioned software packages.

In plain words
What is it for?
Use it for deploy or publish requests, release previews, tagged release selection, release history checks, withdrawals, and deletion of whole-Space releases.
Why use it?
It gives you a controlled way to preview, publish, inspect, withdraw, or delete an environment-wide release while accounting for the exact effective configuration.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the confighub-skills plugin — 16 skills, 1 command, 1 hook shipped together

Good fit Use it for deploy or publish requests, release previews, tagged release selection, release history checks, withdrawals, and deletion of whole-Space releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/confighub/confighub-skills/release-publish
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.

Any agent
npx skills add confighub/confighub-skills --skill release-publish
Clone the repo
git clone --depth 1 https://github.com/confighub/confighub-skills

Made for: Claude Code.

Or install confighub-skills, the plugin that ships this one along with the rest of its 16 skills, 1 command, 1 hook.

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 release-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/confighub/confighub-skills/release-publish/github.svg)](https://agentmods.dev/skills/confighub/confighub-skills/release-publish)
Your own site
<a href="https://agentmods.dev/skills/confighub/confighub-skills/release-publish"><img src="https://agentmods.dev/badge/skills/confighub/confighub-skills/release-publish/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 release-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/confighub/confighub-skills/release-publish"><img src="https://agentmods.dev/badge/skills/confighub/confighub-skills/release-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,132 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.00067 $0.03132
Opus 5 $0.00034 $0.01566
Sonnet 5 $0.00013 $0.00626
Haiku 4.5 $0.00007 $0.00313

Measured 2d ago against content hash 657538432f5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

release-publish 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 2d 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/release-publish/SKILL.md · 234 lines

How it starts

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

release-publish

Execution mode: follow references/execution-modes.md. This Skill grants no automatic tool permission. After a fresh whole-Space scope preview, standalone use submits one requested publish or lifecycle mutation to the host permission system. Scope expansion, incomplete Target membership, failed gates, or missing destructive preconditions still require a stop; an external overlay may impose a stricter stop before Bash.

This skill preserves ordinary-language apply/deploy jobs while using the only current delivery contract: Component → Variant Space → immutable OCI Release → Argo CD/Flux pull → runtime. The retired cub-apply trigger families route here; they are retained explicitly in compatibility/no-loss-inventory.v1.json.

Current Release contract

cub release publish <space-slug>:

  • reads Space.ReleaseTargetID and requires that Target to use ProviderType OCI;
  • bundles the EffectiveReleaseSet: every Unit in that Space whose Unit.TargetID == Space.ReleaseTargetID;
  • captures each effective Unit at head unless --revision <tag-slug> is supplied, in which case the server selects the highest Revision currently carrying that mutable TagID;
  • checks ValidationErrors; and
  • creates one immutable Release with a ConfigHub ReleaseID, bundle Digest, OCI ManifestDigest, UnitCount, and Published=true.

It has no Unit, Filter, ChangeSet, cross-Space selector, or dry-run flag. A ChangeSet groups/reviews/restores revisions but does not narrow publication. The current profile uses OCI Space Releases; older bridge/per-Unit delivery is historical context only and must not be offered as executable fallback.

Preserve the job without hiding a scope change

Prior intent Current disposition
apply one Unit / Unit list / Filter compare the requested set with the whole EffectiveReleaseSet; ask the user to accept the newly disclosed scope or use a dedicated Variant Space
apply every pending Unit identify pending heads, then disclose every effective Unit captured, including unchanged heads
apply a ChangeSet verify its closed revisions, then preview the complete destination Space Release
dry-run apply emit a read-only publication preview; never call it a server dry-run
apply a specific revision use a complete revision Tag only after every effective Unit resolves to an exact tagged RevisionID/DataHash
cancel an in-flight Unit apply historical per-Unit behavior; immutable Release publication has no equivalent cancellation job
direct ConfigHub/bridge delivery unsupported by the reviewed current Release path, which accepts OCI only

Read the full file on GitHub · 234 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed 657538432f5f
  2. 12d ago First seen · 234 lines · 67 tokens per session scan A 10713edc95bf

Subscribe to this mod's changes

release-publish is a skill published in the GitHub repository confighub/confighub-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 3,132 once invoked, about $0.0003 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.