From babashka
Use when working with Babashka - the fast-starting native Clojure interpreter and scripting runtime. Activate when the user asks about bb scripts, bb.edn tasks, babashka tasks, shell scripting in Clojure, built-in namespaces, pods, babashka.process, babashka.fs, babashka.deps, command-line CLIs, shebang scripts, SCI compatibility, classpath/deps issues, or replacing Bash scripts with Clojure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/babashka:babashkaThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Babashka (`bb`) is a native Clojure interpreter for scripting with fast startup. Use it when the task looks like shell scripting, project automation, CI glue, small CLIs, file/process automation, or quick data transformation where JVM Clojure startup would be too heavy.
Babashka (bb) is a native Clojure interpreter for scripting with fast startup. Use it when the task looks like shell scripting, project automation, CI glue, small CLIs, file/process automation, or quick data transformation where JVM Clojure startup would be too heavy.
| Task | Go to |
|---|---|
| Write an executable script, parse args, read stdin, print output | scripts.md |
Add or fix bb.edn tasks, task dependencies, shell, clojure, run | tasks.md |
| Use built-in namespaces, add deps/paths/classpath, load pods | deps-and-pods.md |
| Work with files, processes, HTTP, JSON/EDN, shell commands, portability | interop.md |
| Something differs from JVM Clojure, is slow, cannot load, or behaves oddly | anti-patterns.md |
Babashka runs Clojure through SCI, not JVM bytecode compilation. It starts quickly and ships as a self-contained native binary with a curated set of Clojure namespaces, useful libraries, and selected Java classes. It can interpret compatible Clojure source from the classpath, but it cannot load arbitrary Java classes at runtime.
Choose the form based on audience:
bb -e '(println (+ 1 2 3))'bb -i -o '(map clojure.string/upper-case *input*)'#!/usr/bin/env bbbb.edn with :tasksUseful defaults:
*command-line-args* contains script or task arguments.*in*, *out*, and *err* work like Clojure.babashka.fs is the preferred cross-platform filesystem API.babashka.process is the preferred subprocess API for non-trivial process work.clojure.tools.cli for option parsing when scripts grow beyond positional args.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub stoating/clojure-babashka-skill --plugin babashka