zb

zb is a skill for Claude Code, Codex from AdamBien/airails. It costs 80 tokens per session (952 once invoked), scanned A, original, MIT.

A build tool for single-module Java 25 or newer projects with no external dependencies. It creates executable JAR files without Maven or Gradle.

In plain words
What is it for?
Use it to compile, package, and run Java projects when a .zb configuration is available or needs to be created.
Why use it?
It removes the need for a larger dependency-management build system in small, self-contained Java projects.

Skill for Claude CodeCodex

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

Good fit Use it to compile, package, and run Java projects when a .zb configuration is available or needs to be created.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adambien/airails/zb
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 AdamBien/airails --skill zb
Clone the repo
git clone --depth 1 https://github.com/AdamBien/airails

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambien/airails/zb"><img src="https://agentmods.dev/badge/skills/adambien/airails/zb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 952 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00080 $0.00952
Opus 5.5 $0.00032 $0.00381
Sonnet 5.5 $0.00016 $0.00190
Haiku 4.5 $0.00008 $0.00095

Measured 3mo ago against content hash 5ab475eba31b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zb 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 3mo 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/SKILL.md · 121 lines

How it starts

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

zb - Zero Dependencies Builder

Build single-module Java 25+ projects into executable JARs without Maven or Gradle.

How to Build

Step 1: Check for zb.sh script

Search for a zb.sh wrapper script in this order — stop at the first match:

  1. zb.sh in the project root
  2. Glob for **/zb.sh within the project directory tree
  3. Glob for **/zb.sh one level above the project (sibling projects)
  4. Check ~/bin/zb.sh or ~/.local/bin/zb.sh

If zb.sh is found, skip to Step 3 (zb.sh) — the script handles jar location and execution internally.

If zb.sh is not found, continue to Step 2 to locate zb.jar manually.

Step 2: Find zb.jar (only if zb.sh not found)

Locate zb.jar in this order — stop at the first match:

  1. zb.jar in the project root
  2. Glob for **/zb.jar within the project directory tree
  3. Glob for **/zb.jar one level above the project (sibling projects)
  4. Check ~/bin/zb.jar or ~/.local/bin/zb.jar

If neither zb.sh nor zb.jar is found, tell the user to download from github.com/AdamBien/zb.

Step 3: Find the build directory

zb must run from the directory containing the .zb config file (or where one should be generated). In multi-module repos, this is the module subdirectory, not the repo root.

  • Glob for .zb files in the project
  • cd into the directory containing the .zb file before running zb
  • If no .zb exists, run from the directory that contains src/main/java

Step 4: Run the build

With zb.sh:

cd <build-directory> && <path-to-zb.sh>

With zb.jar (fallback):

cd <build-directory> && java -jar <path-to-zb.jar>

Step 5: Verify

Check exit code and output. A successful build prints the number of compiled files. Common errors:

  • "Multiple main classes found" — you are in the wrong directory (likely the repo root instead of a module subdirectory)
  • Compilation errors — fix the source and rebuild

Source Directory Convention

Read the full file on GitHub · 121 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. 3mo ago First seen · 121 lines · 80 tokens per session scan A 5ab475eba31b

Subscribe to this mod's changes

zb is a skill published in the GitHub repository AdamBien/airails (76 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 952 once invoked, about $0.0003 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-30.

Related

zb compared with skills from other repositories

zb next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zbAdamBien/airailsSkill76yesterdayMITA80Claude Code, Codex
authoring-java-sdk-tasksastronomer/agentsSkill465todayApache-2.0A152Claude Code
configuring-airflow-language-sdksastronomer/agentsSkill465todayApache-2.0A155Claude Code
loom-javacosmix/loomSkill66yesterdayMITA14Claude Code, Codex
jackson-3-migrationnavikt/copilotSkill65yesterdayMITA53Claude Code, Codex
java-to-kotlinnavikt/copilotSkill65yesterdayMITA35Claude Code, Codex
aws-sdk-java-v2-bedrockgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA92Claude Code