awac-ai-agent-plugins: Command for Claude Code

.claude/commands/publish-plugin.md

publish-plugin is a command for Claude Code from IvanLutsenko/awac-ai-agent-plugins. It costs 16 tokens per session (596 once invoked), scanned A, original, MIT.

A release command for publishing changes to a plugin. It bumps the version, updates the changelog and README, then commits and pushes the changes with the selected release type.

In plain words
What is it for?
It helps make patch, minor, or major plugin releases from a Git repository, including version updates, release notes, commits, and pushes.
Why use it?
Publishing a plugin involves several repository steps that are easy to miss or perform inconsistently. This groups those steps and checks which plugin changed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions Codex.

This is IvanLutsenko/awac-ai-agent-plugins's own configuration. It tells Claude Code how to work on awac-ai-agent-plugins 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 awac-ai-agent-plugins configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash: cd "$(git rev-parse --show-toplevel)" && python3 scripts/publish-plugin.py {plugin_name} {bump_type}.

Reuse

Borrowing it

Nothing to install: this file belongs to IvanLutsenko/awac-ai-agent-plugins. 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/IvanLutsenko/awac-ai-agent-plugins/main/.claude/commands/publish-plugin.md
Clone the repo
git clone --depth 1 https://github.com/IvanLutsenko/awac-ai-agent-plugins

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-plugin

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/publish-plugin.svg)](https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/publish-plugin)
Your own site
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/publish-plugin"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/publish-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 596 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.00016 $0.00596
Opus 5 $0.00008 $0.00298
Sonnet 5 $0.00003 $0.00119
Haiku 4.5 $0.00002 $0.00060

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

Security

Grade A, and why

publish-plugin 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.

.claude/commands/publish-plugin.md · 61 lines

What it actually says

Publish Plugin

Publish plugin after changes: $ARGUMENTS

Step 1: Parse arguments

Extract from $ARGUMENTS:

  • plugin_name (required) — directory name under plugins/
  • bump_type (optional, default: patch) — patch, minor, or major

If no arguments provided, detect which plugin was changed:

Bash: cd "$(git rev-parse --show-toplevel)" && git diff --name-only HEAD | grep '^plugins/' | head -1 | cut -d/ -f2

If multiple plugins changed, ask user which one to publish.

Step 2: Run version bump script

Bash: cd "$(git rev-parse --show-toplevel)" && python3 scripts/publish-plugin.py {plugin_name} {bump_type}

Parse the YAML output — it shows old/new version and which files were updated.

Step 3: Generate changelog

Look at what changed since last version:

Bash: cd "$(git rev-parse --show-toplevel)" && git diff HEAD -- plugins/{plugin_name}/

Based on the diff, write a changelog entry in plugins/{plugin_name}/README.md:

  • Find the ## Changelog or ## Version History section
  • Add a new ### {new_version} entry BEFORE the previous version
  • Use concise bullet points describing what changed
  • Prefix breaking changes with **Breaking:**

Step 4: Update root README "What's New"

In the root README.md, find the plugin's section and update **What's New in X.Y.Z:** with a 1-line summary.

Step 5: Verify

Check all files are consistent:

Bash: cd "$(git rev-parse --show-toplevel)" && grep -rn "{new_version}" plugins/{plugin_name}/.claude-plugin/plugin.json plugins/{plugin_name}/.codex-plugin/plugin.json plugins/{plugin_name}/README.md README.md CLAUDE.md .claude-plugin/marketplace.json

Step 6: Commit + push

Bash: cd "$(git rev-parse --show-toplevel)" && git add plugins/{plugin_name}/ README.md CLAUDE.md .claude-plugin/marketplace.json scripts/ && git commit -m "feat({plugin_name}): v{new_version} — {1-line summary}"
Bash: cd "$(git rev-parse --show-toplevel)" && git push
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 First seen · 61 lines · 16 tokens per session scan A d356be464dd3

Subscribe to this mod's changes

publish-plugin is a command published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (2 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 596 once invoked, about $0.0001 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-05.