Skip to main content
Run any Skill in Manus
with one click

clj-surgeon

Stars7
Forks1
UpdatedJune 19, 2026 at 15:19

Token-efficient structural operations on Clojure/ClojureScript code via babashka + rewrite-clj. Use this skill BEFORE reading any .clj/.cljs/.cljc file over ~200 lines and BEFORE spawning Explore agents for Clojure code — measured 150× more token-efficient than reading whole files (single repo outlined in ~250ms, cross-repo grep across thousands of files in ~3s). Also trigger for: finding functions or usages across one or many repos, extracting or reordering defns, eliminating declares, renaming namespaces, converting CLJ↔CLJS↔CLJC, auditing dependency graphs of a single form. Triggers on phrases like "find where X is defined", "split this file", "what depends on Y", "extract these functions into a new ns", "is this declare needed", "rename this namespace", "convert these two files to cljc" — even when the user doesn't explicitly name the tool. Invoke as the `clj-surgeon` command on PATH (never `bb <script>`); every op is `clj-surgeon :op <command> :file <path> [:form <name> …]` with named args — run `clj-sur

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly