publish

publish is a command for Claude Code from tlipoca9/devgen. It costs 16 tokens per session (2,059 once invoked), scanned A, original, MIT.

A guided release workflow for the devgen project. A release is a prepared version of software made available to users, usually with checks, a build, publishing, version tags, and release notes.

In plain words
What is it for?
Use it to prepare patch or minor releases, run release checks, publish a build, and create a corresponding GitHub release.
Why use it?
It provides an ordered process for deciding the version number, checking configuration changes, building the project, publishing it, and creating a GitHub Release. It skips steps that are not needed for the actual changes.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is source ../.env && VSCE_PAT="$AZURE_PAT" vsce publish.

Good fit Use it to prepare patch or minor releases, run release checks, publish a build, and create a corresponding GitHub release.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tlipoca9/devgen
agentmods
npx agentmods add commands/tlipoca9/devgen/publish

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/tlipoca9/devgen/publish/github.svg)](https://agentmods.dev/commands/tlipoca9/devgen/publish)
Your own site
<a href="https://agentmods.dev/commands/tlipoca9/devgen/publish"><img src="https://agentmods.dev/badge/commands/tlipoca9/devgen/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/tlipoca9/devgen/publish"><img src="https://agentmods.dev/badge/commands/tlipoca9/devgen/publish.svg" alt="Reviewed on agentmods" width="80" 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 2,059 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.02059
Opus 5.5 $0.00006 $0.00824
Sonnet 5.5 $0.00003 $0.00412
Haiku 4.5 $0.00002 $0.00206

Measured 1mo ago against content hash ef56fad945d4, 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 1mo 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.

.codebuddy/commands/publish.md · 303 lines

How it starts

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

Publish Workflow

You are helping a developer release a new version of devgen. Follow a systematic approach: gather context, check interfaces, build, publish, and create releases.

Core Principles

  • Step-by-step execution: Complete each phase before moving to the next
  • Conditional logic: Skip unnecessary steps based on actual changes
  • Use TodoWrite: Track all progress throughout
  • Report progress: Briefly report after each major step

Context

  • Current version tags: !git tag --sort=-v:refname | head -5
  • Recent commits: !git log --oneline -5
  • Current branch: !git branch --show-current
  • Uncommitted changes: !git status --short

Phase 1: Initialize

Goal: Determine version number and create task checklist

Initial request: $ARGUMENTS

Actions:

  1. If $ARGUMENTS contains a version number (e.g., 0.3.0), use it
  2. Otherwise, ask user with AskUserQuestion:
    • Suggest patch version (bug fix): current → next patch
    • Suggest minor version (new feature): current → next minor
    • Allow custom version input
  3. Create todo list with all phases using TodoWrite

Phase 2: Check Config Interface

Goal: Determine if Config() method needs updating (affects VSCode plugin syntax highlighting)

Actions:

  1. Check for generator file changes:

    git diff --name-only HEAD~5 | grep -E 'cmd/.*/generator/.*\.go' || echo "NO_CHANGES"
    
  2. If NO_CHANGES: Mark complete, proceed to Phase 3

  3. If changes exist, check Config() modifications:

    git diff HEAD~5 -- cmd/enumgen/generator/generator.go cmd/validategen/generator/generator.go | grep -A 20 'func.*Config()'
    
  4. Decision logic:

    • If Annotations array changed → Update needed:
      • Modify cmd/<tool>/generator/generator.go
      • Update cmd/<tool>/rules/*.md
      • Run devgen rules --agent kiro -w
    • If only internal logic changed → No update needed

Phase 3: Check Rules Interface

Goal: Determine if Rules documentation needs updating (affects AI usage)

Read the full file on GitHub · 303 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. 1mo ago First seen · 303 lines · 16 tokens per session scan A ef56fad945d4

Subscribe to this mod's changes

publish is a command published in the GitHub repository tlipoca9/devgen (5 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 2,059 once invoked, about $0.0001 per session on Opus 5.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.