clojurescript-lenses

clojurescript-lenses is a skill for Claude Code, Codex from brackendev/clojurescript-skills. It costs 160 tokens per session (2,847 once invoked), scanned A, original, MIT.

A set of ClojureScript code-review guidelines. ClojureScript is a language that compiles to JavaScript, the language used by browsers and some server runtimes.

In plain words
What is it for?
Use it when writing or reviewing ClojureScript, especially code that calls JavaScript or targets browser or Node.js runtimes.
Why use it?
It adapts general code-review ideas to ClojureScript concerns such as JavaScript interoperability, compilation, and the event loop.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/brackendev/clojurescript-skills/clojurescript-lenses
Any agent
npx skills add brackendev/clojurescript-skills --skill clojurescript-lenses
Clone the repo
git clone --depth 1 https://github.com/brackendev/clojurescript-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for clojurescript-lenses

README.md
[![agentmods](https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/clojurescript-lenses.svg)](https://agentmods.dev/skills/brackendev/clojurescript-skills/clojurescript-lenses)
Your own site
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/clojurescript-lenses"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/clojurescript-lenses.svg" alt="Measured on agentmods" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00160 $0.02847
Opus 5 $0.00080 $0.01424
Sonnet 5 $0.00032 $0.00569
Haiku 4.5 $0.00016 $0.00285

Measured 4d ago against content hash 82b1f48fea67, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

clojurescript-lenses 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 4d 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.

.apm/skills/clojurescript-lenses/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Lenses for ClojureScript

Layered on top of clojure-lenses (in clojure-skills), which covers the host-neutral Clojure translations. This skill records only the ClojureScript-specific deltas that the baseline does not address: JavaScript interop boundaries, externs and advanced compilation, macro stage separation, the JS event loop, the absence of refs / agents / STM, and the limits of var reification.

The default code-lenses review set is grug, honest-code, tidy-first, and parse-dont-validate. aposd and legacy-code are opt-in (added with +aposd or +legacy-code, or invoked directly). The sections below apply when the corresponding lens is active; APOSD and Legacy Code translations are present so the lens can use them when explicitly invoked, but they are not part of the default trigger set.

When the code-lenses plugin is active in a ClojureScript project, apply the baseline clojure-lenses translations first; reach for this skill for the JavaScript-specific additions below.

Grug Brain

  • Default building blocks remain maps, vectors, and sets with namespaced keys. JavaScript objects belong at the interop boundary only; convert with clj->js and js->clj once and operate on Clojure data inside the namespace.
  • Reach for deftype only when implementing a JavaScript protocol or interop that requires a named prototype. Use plain functions and data for everything else.
  • The macro / function divide is its own complexity: macros must live in .clj or .cljc files and be required via :require-macros, :refer-macros, or :include-macros. Treat that as a reason to prefer functions; reach for macros only when the macro is doing real syntactic work that a function cannot.
  • REPL-driven development on ClojureScript means the browser REPL or Node REPL. Spike in the REPL before introducing abstractions. The cost of starting a CLJS REPL is higher than a JVM REPL, so once a REPL is up, keep using it.
  • :advanced compilation is a complexity demon waiting to happen. Enable externs inference (:infer-externs true, *warn-on-infer*) early and add ^js / ^js/Foo.Bar hints incrementally so production builds do not surprise you.
  • Reagent / re-frame / Fulcro are powerful, but they are abstraction. A vector of hiccup and an atom is simpler when the problem fits. Reach for a framework when the open polymorphism it provides matches a real need.

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 4d ago First seen · 89 lines · 160 tokens per session scan A 82b1f48fea67

Subscribe to this mod's changes

clojurescript-lenses is a skill published in the GitHub repository brackendev/clojurescript-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 160 tokens to every session and 2,847 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories

clojure-expert

Expert knowledge in Clojure/ClojureScript, immutability, REPL-driven development, core.async, and functional programming on the JVM. Use when the user mentions ClojureScript, functional programming, immutability, REPL, core async, or JVM, or when the task involves Lisp Features, Concurrency, REPL-Driven Development…

personamanagmentlayer/pcl · 84 tokens

clojure-skills

Clojure/ClojureScript/ClojureDart development skill. Activates when working with .clj, .cljs, .cljc, .cljd, .edn, .bb files. Provides structural search and editing of S-expressions, nREPL evaluation, runtime queries via cider-nrepl, and static navigation via clojure-lsp.

chaploud/clojure-skills · 82 tokens

build-android-binary

Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…

microsoft/power-platform-skills · 150 tokens

fastapi

FastAPI best practices and conventions. Use when working with FastAPI APIs and Pydantic models for them. Keeps FastAPI code clean and up to date with the latest features and patterns, updated with new versions. Write new code or refactor and update old code.

ReflexioAI/claude-smart · 57 tokens

phx-deps-audit

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

oliver-kriska/claude-elixir-phoenix · 58 tokens

document

Generate @moduledoc/@doc for tested Elixir features; may update their README section or ADR. Not for docs lookup, documentation audits/reviews, or capturing standalone decisions.

oliver-kriska/claude-elixir-phoenix · 39 tokens