mate-artifact-publish

mate-artifact-publish is a skill for Claude Code from uniqbit-ag/mate-cli. It costs 46 tokens per session (1,757 once invoked), scanned A, original, MIT.

A process for publishing archived OpenSpec changes, which are stored records of completed proposed work. It lets the user select pending items, runs the repository's finish command, synchronizes changes, and creates a dated revert tag.

In plain words
What is it for?
It helps find unpublished archives, choose which ones to release, run the finish pipeline, push repository changes, and record a tag for reverting them.
Why use it?
Archiving work locally does not publish it, and publishing the wrong item can create unwanted commits or tags. This process separates discovery, selection, confirmation, and publication.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps find unpublished archives, choose which ones to release, run the finish pipeline, push repository changes, and record a tag for reverting them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uniqbit-ag/mate-cli/mate-artifact-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 uniqbit-ag/mate-cli --skill mate-artifact-publish
Clone the repo
git clone --depth 1 https://github.com/uniqbit-ag/mate-cli

Made for: Claude Code.

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 mate-artifact-publish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/uniqbit-ag/mate-cli/mate-artifact-publish"><img src="https://agentmods.dev/badge/skills/uniqbit-ag/mate-cli/mate-artifact-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,757 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.00046 $0.01757
Opus 5 $0.00023 $0.00879
Sonnet 5 $0.00009 $0.00351
Haiku 4.5 $0.00005 $0.00176

Measured today against content hash a863ada2960f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mate-artifact-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 today.

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.

packages/mate-core/src/templates/mate-skills/agents/mate-artifact-publish/SKILL.md · 95 lines

How it starts

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

Publish archived work deliberately: discover what is pending, let the user select it, confirm the side effects once, then run the deterministic publish pipeline for each selected change.

Workflow

Archiving a change is a local OpenSpec operation and never publishes anything. Publication is this skill: an explicit selection followed by one mate artifact publish call per selected change. That CLI owns archiving, capability sync, the scoped commit, remote synchronization, the dated tag, the push, and conflict handoff — this skill only discovers, selects, confirms, sequences, and reports.

Steps

  1. Discover pending changes.

    mate artifact pending --json
    

    Run it from the companion repository. It returns every dated archive under openspec/changes/archive/ whose own files are still uncommitted in the companion working tree — the archive directory itself, or the active change directory archiving deleted. An archive whose own files are already committed is not pending, whatever tags exist:

    {
      "type": "openspec",
      "companionPath": "/path/to/companion",
      "count": 1,
      "pending": [
        {
          "name": "acme",
          "anchor": "2026-09-07-acme",
          "path": "openspec/changes/archive/2026-09-07-acme",
          "tag": "openspec/2026-09-07-acme",
          "uncommittedPaths": ["openspec/changes/archive/2026-09-07-acme/"],
          "uncommittedSpecs": ["openspec/specs/widget-api/spec.md"],
          "state": "uncommitted"
        }
      ],
      "unattributedSpecs": ["openspec/specs/other-api/spec.md"]
    }
    

    uncommittedSpecs are the canonical specs that change's deltas applied to which are themselves uncommitted — the rest of its publication scope. unattributedSpecs are uncommitted canonical specs no pending change accounts for; they belong to work that is not archived yet, and publishing cannot pick them up.

    Use these fields verbatim. Do not ls the archive, run git status yourself, parse openspec list, read tags by hand, or recompute names, dates, anchors, or tags.

Read the full file on GitHub · 95 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. today Changed · +5 lines a863ada2960f
  2. yesterday Changed 2e00bd90d372
  3. 3d ago First seen · 90 lines · 46 tokens per session scan A 14bd712db754

Subscribe to this mod's changes

mate-artifact-publish is a skill published in the GitHub repository uniqbit-ag/mate-cli (11 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,757 once invoked, about $0.0002 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-09-09.