agentrium: Command for Claude Code

.claude/commands/publish.md

publish is a command for Claude Code from talayash/agentrium. It costs 0 tokens per session (1,020 once invoked), scanned A, original, MIT.

A release procedure for publishing a new version of ClaudeTerminal, a desktop application. It checks the project, updates version references, and guides the release steps.

In plain words
What is it for?
It is for checking release readiness, updating version information across project files, building release packages, and publishing a new application version.
Why use it?
It helps prevent releases with inconsistent version numbers, uncommitted changes, or the wrong branch.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is talayash/agentrium's own configuration. It tells Claude Code how to work on agentrium 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 agentrium configures →

Reuse

Borrowing it

Nothing to install: this file belongs to talayash/agentrium. 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/talayash/agentrium/master/.claude/commands/publish.md
Clone the repo
git clone --depth 1 https://github.com/talayash/agentrium

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 publish

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/talayash/agentrium/publish"><img src="https://agentmods.dev/badge/commands/talayash/agentrium/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,020 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.00000 $0.01020
Opus 5.5 $0.00000 $0.00408
Sonnet 5.5 $0.00000 $0.00204
Haiku 4.5 $0.00000 $0.00102

Measured 24d ago against content hash 18ea2946b2f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 24d 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.

.claude/commands/publish.md · 106 lines

How it starts

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

Publish a new release of Agentrium

You are performing a full release of Agentrium. Follow every step below in order. Stop and ask the user if anything is ambiguous or fails.

Arguments

$ARGUMENTS - The new version number (e.g. 1.6.0). If not provided, ask the user what version to publish.

Step 1: Validate

  1. Confirm the version number with the user before proceeding.
  2. Read the current version from package.json and verify the new version is higher.
  3. Ensure the working tree is clean (git status). If there are uncommitted changes, warn the user and ask whether to proceed or abort.
  4. Ensure you are on the master branch. If not, warn the user.

Step 2: Bump version in all files

Update the version string in all five of these files (replace the old version with the new one):

  1. package.json - the "version" field
  2. src-tauri/Cargo.toml - the version field under [package]
  3. src-tauri/tauri.conf.json - the "version" field
  4. README.md - update these version references (link text AND URL for each row of the Download table):
    • The version badge: version-X.Y.Z-green
    • Windows NSIS: Agentrium_X.Y.Z_x64-setup.exe
    • Windows MSI: Agentrium_X.Y.Z_x64_en-US.msi
    • macOS Apple Silicon: Agentrium_X.Y.Z_aarch64.dmg
    • macOS Intel: Agentrium_X.Y.Z_x64.dmg
    • Every row must be a real [filename](https://github.com/talayash/agentrium/releases/latest/download/filename) link, not a bare backtick code span.
  5. CLAUDE.md - the Current version: **X.Y.Z** line

After editing, verify each file was updated correctly by reading the changed lines.

Step 2b: Add changelog entry

Add a new entry at the top of the src/changelog.json array for this version. Ask the user for a summary of the features/changes to include. Each entry has this format:

{
  "version": "X.Y.Z",
  "date": "YYYY-MM-DD",
  "features": [
    { "title": "Fix bugs & performance" },
    { "title": "Feature name", "description": "Optional description" }
  ]
}

Read the full file on GitHub · 106 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. 24d ago Changed · +3 lines 18ea2946b2f7
  2. 1mo ago Changed e36a9f72217a
  3. 1mo ago First seen · 103 lines · 0 tokens per session scan A 9a974fe00e58

Subscribe to this mod's changes

publish is a command published in the GitHub repository talayash/agentrium (46 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,020 tokens. 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-30.