Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Cyrikv0.1.0In 1 marketplace
Runs clojure-lsp behind a Babashka proxy that keeps Claude Code's LSP navigation correct after shell-side file changes and adds a rename command.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A Claude Code plugin that runs clojure-lsp behind a small Babashka proxy.
Claude Code's native LSP client talks to the proxy over stdio; the proxy
talks to clojure-lsp. The proxy exists to keep navigation correct after
files change outside Claude's Edit and Write tools (shell commands,
formatters, git commands that move the working tree), and to offer a rename
that runs in the same long-lived clojure-lsp.
Status: all five phases of the plan are implemented: the transparent proxy with a traffic log (C1), progress ownership (C2), change injection with gating (C3), change reports (C4), the control socket (C5), the hooks that bracket every Bash command (C6) and rename (C7), plus format (C8) and clean-ns (C9).
The repository is the plugin. .claude-plugin/plugin.json is the manifest,
.lsp.json the LSP server configuration, bin/ the executables Claude Code
and hooks run, src/ the Babashka code, test/ the suites (bb test).
bin/clojure-lsp-proxy-server: the LSP entry point. Starts the server
named by CLOJURE_LSP_PROXY_SERVER (default clojure-lsp on PATH) with
the proxy's own arguments and proxies stdio.bin/clojure-lsp-proxy: the command line over the control socket
(status, changed [--wait] <path>..., rename, format, clean-ns).skills/clojure-rename/SKILL.md, skills/clojure-format/SKILL.md,
skills/clojure-clean-ns/SKILL.md: tell Claude to use the rename,
format and clean-ns commands instead of editing by hand.src/clojure_lsp_proxy/rename.clj, format.clj: rename and formatting
through the running clojure-lsp; command.clj: clojure-lsp refactor
commands (workspace/executeCommand, so far clean-ns) and the
workspace/applyEdit the server sends for them; edit.clj applies the
resulting workspace edit, reports the touched files and waits for the
analysis.bin/on-bash-start, bin/on-bash-end, hooks/hooks.json: the Claude
Code hooks around every Bash command (PreToolUse, PostToolUse and
PostToolUseFailure).src/clojure_lsp_proxy/detect.clj: which files a Bash command changed,
from a git snapshot before it and a check after it (adapted from
rule-fairy).src/clojure_lsp_proxy/hooks.clj: the hook scripts' logic.src/clojure_lsp_proxy/main.clj: process lifecycle and the two pumps.src/clojure_lsp_proxy/gate.clj: progress ownership, the send queue and
the gate (C2, C3).src/clojure_lsp_proxy/changes.clj: which paths are reported and how
(C4).src/clojure_lsp_proxy/control.clj, client.clj, cli.clj: the
socket's server side, its client and the command line (C5).src/clojure_lsp_proxy/framing.clj, transport.clj, log.clj,
project.clj: Content-Length framing, locked writes with logging, the
traffic log and the per-project directory under
~/.cache/clojure-lsp-proxy/.Clone the repository anywhere; <clone> below stands for that
directory. It needs Babashka (bb on PATH, or in ~/.local/bin,
/opt/homebrew/bin or /usr/local/bin) and a clojure-lsp (see "The
server").
git clone https://github.com/Cyrik/clojure-lsp-proxy <clone>
The repository is its own marketplace (.claude-plugin/marketplace.json,
one plugin with source ./). Installed once with
claude plugin marketplace add <clone>
claude plugin install clojure-lsp-proxy@clojure-lsp-proxy
every new session loads it, whatever started Claude Code. A relative-path
plugin of a directory marketplace runs in place: the proxy's start event
logs CLAUDE_PLUGIN_ROOT as <clone>, so git pull (or an edit in the
clone) is live in the next session; claude plugin update only acts on a
version change. For a one-off session, claude --plugin-dir <clone>
works too and registers before any installed plugin.
The proxy needs clojure-lsp 2026.10.15 or newer (clojure-lsp --version),
the first release that reports watched-file analysis progress
(clojure-lsp#2474).
With an older one, navigation works but every reported change holds
requests for the 30 s deadline, and the log says so (see "The server").
The marketplace can also come straight from GitHub,
claude plugin marketplace add Cyrik/clojure-lsp-proxy, with the same
install command. That installs a copy in Claude Code's plugin cache
instead of running in place, so it upgrades only when the plugin's
version changes (claude plugin marketplace update clojure-lsp-proxy,
then claude plugin update clojure-lsp-proxy@clojure-lsp-proxy).
Only one plugin may serve .clj: Claude Code gives each extension to the
first LSP server registered and logs the losers under --debug
("extension .clj already handled by ..."). Any other plugin that
registers an LSP server for .clj (for example clojure-lsp-cc) has to
be disabled with claude plugin disable <plugin>@<marketplace>.
npx claudepluginhub cyrik/clojure-lsp-proxy --plugin clojure-lsp-proxyBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground