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.
npx agentmods add skills/adambien/airails/zbnpx skills add AdamBien/airails --skill zbgit clone --depth 1 https://github.com/AdamBien/airailsWrote 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.
[](https://agentmods.dev/skills/adambien/airails/zb)<a href="https://agentmods.dev/skills/adambien/airails/zb"><img src="https://agentmods.dev/badge/skills/adambien/airails/zb.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.00952 |
| Opus 5 | $0.00040 | $0.00476 |
| Sonnet 5 | $0.00016 | $0.00190 |
| Haiku 4.5 | $0.00008 | $0.00095 |
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 6d 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.
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:
zb.shin the project root- Glob for
**/zb.shwithin the project directory tree - Glob for
**/zb.shone level above the project (sibling projects) - Check
~/bin/zb.shor~/.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:
zb.jarin the project root- Glob for
**/zb.jarwithin the project directory tree - Glob for
**/zb.jarone level above the project (sibling projects) - Check
~/bin/zb.jaror~/.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
.zbfiles in the project cdinto the directory containing the.zbfile before running zb- If no
.zbexists, run from the directory that containssrc/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
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.
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.
- 6d ago First seen · 121 lines · 80 tokens per session scan A 5ab475eba31b
zb is a skill published in the GitHub repository AdamBien/airails (48 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 952 once invoked, about $0.0004 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.
Other skills, from other repositories
authoring-java-sdk-tasks
Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java/JVM, asks about @Builder.Dag/@Builder.Task/@Builder.XCom, the Task/BundleBuilder interfaces, reading connections/variables/XComs from Java, the JSON-to-Java type…
configuring-airflow-language-sdks
Configures Airflow to run language SDK tasks (Java, Go, and future native SDKs) — register a coordinator, map a queue to it, ensure the runtime/artifact on workers, and tune coordinator options. Use when the user wants Airflow to route a queue to a native-language coordinator, asks about the [sdk]…
jackson-3-migration
Migrer Jackson 2.x til Jackson 3.x (tools.jackson) i Kotlin/Java-prosjekter — automatisert OpenRewrite-pass pluss manuell Kotlin-spesifikk opprydding og verifisering.
java-to-kotlin
Trinnvis Java-til-Kotlin-migrering med rammeverk-bevisste transformasjoner for Spring, Ktor og Nav-mønstre.
js-gof
Apply Gang of Four and related design patterns in JavaScript and TypeScript. Use when implementing creational, structural, or behavioral patterns, or when the user mentions factories, builder, prototype, flyweight, singleton, object pool, adapter, wrapper, decorator, proxy, bridge, composite, facade, chain of…
data-structures
Implements custom JavaScript data structures: queues, deques, stacks, linked lists, cons lists, circular buffers, unrolled lists, tries, heaps, graphs, LRU caches, CRDTs, pools, structs. Use when building or choosing non-native collections, optimizing enqueue/dequeue, designing persistent lists, or when the user asks…