zb-release-pipeline

zb-release-pipeline is a skill for Claude Code, Codex from AdamBien/airails. It costs 148 tokens per session (1,671 once invoked), scanned A, original, MIT.

A skill that creates a GitHub Actions workflow for building a zb Java project and publishing the resulting JAR file as a GitHub Release.

In plain words
What is it for?
Use it to set up CI/CD, which means automated build and delivery, for a zb project, including Java setup, version detection, compilation, tagging, and release creation.
Why use it?
It automates repeatable builds and releases whenever the project needs a new version published.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is run: java -jar ../zb.jar.

Good fit Use it to set up CI/CD, which means automated build and delivery, for a zb project, including Java setup, version detection, compilation, tagging, and release creation.

Compare 6 skills 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/AdamBien/airails
agentmods
npx agentmods add skills/adambien/airails/zb-release-pipeline

Made for: Claude Code, Codex.

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 zb-release-pipeline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambien/airails/zb-release-pipeline"><img src="https://agentmods.dev/badge/skills/adambien/airails/zb-release-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,671 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00148 $0.01671
Opus 5 $0.00074 $0.00835
Sonnet 5 $0.00030 $0.00334
Haiku 4.5 $0.00015 $0.00167

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

Security

Grade A, and why

zb-release-pipeline 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 12d 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.

java/zb-release-pipeline/SKILL.md · 137 lines

How it starts

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

zb GitHub Actions Pipeline

Generate .github/workflows/release.yml for a zb project. The pipeline checks out the repo, installs Java, reads the project version, downloads the latest zb.jar, builds the project, and creates a GitHub Release with the produced JAR attached and tagged v<version>.<run_number>.

This skill produces a workflow equivalent to the reference below — only with the project-specific paths and names auto-detected, nothing hardcoded:

- name: Build
  working-directory: <module>
  run: java -jar ../zb.jar
- name: Create Release
  run: gh release create "v${{ steps.version.outputs.version }}.${{ github.run_number }}" ...

Procedure

1. Locate the build directory

The build directory is where zb runs from — the directory that contains the project's .zb config alongside the sources (src/main/java or src/).

  • Glob for .zb files in the repository.
  • If a repo has both a root .zb and a .zb in a module subdirectory, the build directory is the one that also contains version.txt and the actual src/ tree. A multi-module-style layout (e.g. zsmith/zsmith/) builds from the inner module.
  • Record BUILD_DIR as the path relative to the repository root. If the build directory is the repo root, BUILD_DIR is ..

2. Read the .zb config in the build directory

From the build directory's .zb, extract:

  • jar.file.name (e.g. zsmith.jar) → this is the artifact file name.
  • jar.dir (e.g. zbo/) → defaults to zbo/ if absent.

Derive:

  • ARTIFACT_NAME = jar.file.name without the .jar suffix (used in the release title).
  • ARTIFACT_PATH = <BUILD_DIR>/<jar.dir><jar.file.name>, normalized (no ./ prefix, collapse //). Example: zsmith/zbo/zsmith.jar.

3. Resolve the version file

The version step does cat <VERSION_FILE> at the repo root.

  • Look for version.txt in the build directory first, then the repo root.
  • VERSION_FILE = that file's path relative to the repo root (e.g. zsmith/version.txt or version.txt).
  • If no version.txt exists anywhere, tell the user one is required for the release tag and offer to create one (single line, e.g. 1.0.0) in the build directory. Do not invent a different versioning scheme.

Read the full file on GitHub · 137 lines

Files

What ships with it

2 files 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. 12d ago First seen · 137 lines · 148 tokens per session scan A 95fa4b638301

Subscribe to this mod's changes

zb-release-pipeline is a skill published in the GitHub repository AdamBien/airails (50 stars, last pushed 5d ago), licensed MIT. It adds 148 tokens to every session and 1,671 once invoked, about $0.0007 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-30.

Related

Other skills, from other repositories

swarm-migrate

Cross-repo migration swarm — one coordinator + N parallel subagents (one per target repo) that apply the same transformation, open PRs, wait for CI, and report back to a shared JSON ledger. Coordinator handles topology, conflict auto-rebase, and stop-on-novel-failure. Use when bumping a shared dependency, rolling out…

yonatangross/orchestkit · 103 tokens

npm-publish

Prepare an npm package for publishing. Handles version bump, CHANGELOG update, typings check, test run, README refresh, package.json audit, and npm pack verification. Use when the user asks to prepare a release, bump version, publish a package, or do release prep.

metarhia/metaskills · 59 tokens

publish-npm-package

Configure or troubleshoot npm package publication with GitHub Actions and npm Trusted Publishing. Use this skill for JavaScript or TypeScript packages. Also use it for the npm package in a mixed-language repository. Do not use it for applications or repositories without an npm package. Do not use it for generic CI…

btfranklin/skills · 77 tokens

changelog

Turn a range of commits or merged PRs into a changelog entry grouped by change type. Use when the user asks for release notes, a changelog, or "what changed" between two points.

omnigent-ai/omnigent · 44 tokens

ship

Enter the Ship phase of CocoBrew. Reads review.md approval, generates structured commit, creates semantic version tag, optionally creates PR via gh CLI, and records deployment details. Requires approved review.

Snowflake-Labs/cocoplus · 41 tokens

changelog

Update per-package CHANGELOG.md files for a Ratel release. Drafts entries with git-cliff (scoped per package), lets you curate, then writes the CHANGELOGs. Handles both RC entries and GA-graduation collapse (merging X.Y.Z-rc. sections into a single X.Y.Z section). Invoke before tagging a release.

ratel-ai/ratel · 74 tokens