babashka

SKILL.md

babashka

Clojure scripting without JVM startup.

Script

#!/usr/bin/env bb
(require '[babashka.http-client :as http])
(require '[cheshire.core :as json])

(-> (http/get "https://api.github.com/users/bmorphism")
    :body
    (json/parse-string true)
    :public_repos)

Tasks

;; bb.edn
{:tasks
 {:build (shell "make")
  :test  (shell "make test")
  :repl  (babashka.nrepl.server/start-server! {:port 1667})}}

Filesystem

(require '[babashka.fs :as fs])
(fs/glob "." "**/*.clj")
(fs/copy "src" "dst")

Process

(require '[babashka.process :as p])
(-> (p/shell {:out :string} "ls -la") :out)

Run

bb script.clj
bb -e '(+ 1 2)'
bb --nrepl-server
Weekly Installs
10
Repository
plurigrid/asi
GitHub Stars
8
First Seen
Jan 29, 2026
Installed on
codex10
opencode9
claude-code9
github-copilot9
gemini-cli9
continue8