clojurescript

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

A set of instructions for writing, editing, reviewing, or discussing ClojureScript code, which compiles to JavaScript and runs in browsers or other JavaScript runtimes.

In plain words
What is it for?
Use it for ClojureScript files and projects, including configurations for tools such as shadow-cljs or cljs.test.
Why use it?
It provides language-specific guidance for syntax, JavaScript interaction, compilation, errors, and project workflows.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present.

Good fit Use it for ClojureScript files and projects, including configurations for tools such as shadow-cljs or cljs.test.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brackendev/clojurescript-skills/clojurescript
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.

Any agent
npx skills add brackendev/clojurescript-skills --skill clojurescript
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

README.md
[![agentmods](https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/clojurescript/github.svg)](https://agentmods.dev/skills/brackendev/clojurescript-skills/clojurescript)
Your own site
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/clojurescript"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/clojurescript/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clojurescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/clojurescript"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/clojurescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 403 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00403 $0.06698
Opus 5.5 $0.00161 $0.02679
Sonnet 5.5 $0.00081 $0.01340
Haiku 4.5 $0.00040 $0.00670

Measured 14d ago against content hash 37f7ed4ce9d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clojurescript 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 14d 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/SKILL.md · 505 lines

How it starts

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

ClojureScript

Layered on top of the clojure skill, which defines host-neutral Clojure family guidance. This skill applies only to ClojureScript (.cljs files, .cljc files compiled to JS, ClojureScript deps.edn projects, shadow-cljs.edn, figwheel-main.edn). It overrides the baseline for JavaScript interop, externs inference, macro stage separation (:require-macros, :refer-macros, :include-macros), host-typed exception handling (catch :default, js/Error), JS-flavored numerics and truthiness, host-specific aliases (goog.object, goog.string, goog.dom), and the cljs.main project workflow.

JVM and ClojureDart deltas live in their own packages (clojure-jvm-skills, clojuredart-skills). Do not apply this skill's JS interop, externs, or catch :default rules to those dialects.

Key Rules

  1. Property access uses a leading hyphen. (.-prop obj) reads a property; (set! (.-prop obj) v) assigns it. (.method obj args) calls a method. The hyphen is what distinguishes property access from method invocation in ClojureScript.
  2. Globals live under the js/ namespace unless the namespace refers them. js/document, js/window, js/Promise, js/Error. Since ClojureScript 1.12.116, (:refer-global :only [Promise]) in the ns form makes Promise usable without the prefix. On older compilers, js/ is the only path to native globals.
  3. Catch with :default when you want to catch everything; otherwise name a JS type. ClojureScript supports (catch :default e ...). Prefer js/Error and its subclasses (js/TypeError, js/RangeError, js/SyntaxError) when the failure mode has a named JS type.
  4. Macros must be defined in .clj or .cljc files. Macros and functions run in different compilation stages. A macro and a function may share the same name. Consumers load macros with :require-macros, :refer-macros, or :include-macros, or with a plain :require and :refer when the library namespace loads its own macros (implicit macro loading, which covers cljs.test).
  5. :import is only for Google Closure classes. (:import [goog Uri]) works; (:import [java.util Date]) does not exist on this host. Use (:require ...) and js/ for everything else.
  6. No gen-class, no refs, no agents, no STM. Atoms are the only built-in state primitive. Concurrency primitives that depend on multiple OS threads do not exist; JS has a single execution thread per realm.
  7. Numbers are JavaScript numbers. There is no Ratio, BigDecimal, or BigInt literal. (= 0.0 0) evaluates to true. Use js/BigInt directly when arbitrary-precision integers are required.
  8. Use ^boolean to avoid checked-if. It is the only type hint with runtime significance for code generation, and it suppresses the runtime check that copes with JavaScript's wider falsy set (0, "", NaN, null, undefined).
  9. Use ^js and ^js/Foo.Bar to drive externs inference for advanced compilation. Without hints on foreign JavaScript values, the Google Closure Compiler may rename property names and break interop at advanced optimization levels.
  10. Convert at the boundary, not at every use. Use js->clj and clj->js once at the interop boundary to translate between persistent collections and native JS objects, then operate on Clojure data inside the namespace.
  11. Use ^:async and await for Promise-based code on ClojureScript 1.12.145 or later. Put ^:async on the function name or on the fn symbol, never on the argument vector. await is valid only directly inside an ^:async function.

Read the full file on GitHub · 505 lines

Files

What ships with it

2 files 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. 14d ago Changed · +80 lines · +54 tokens per session 37f7ed4ce9d7
  2. 1mo ago First seen · 425 lines · 349 tokens per session scan A f238bf72710b

Subscribe to this mod's changes

clojurescript is a skill published in the GitHub repository brackendev/clojurescript-skills (1 stars, last pushed 2d ago), licensed MIT. It adds 403 tokens to every session and 6,698 once invoked, about $0.0016 per session on Opus 5.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

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

shiny-py-optimize

Diagnose and fix performance problems in Shiny for Python apps — slow startup, sluggish interactions, blocking operations, and apps that struggle beyond a handful of concurrent users. Use when a Shiny for Python app is slow, hangs, recomputes too much, times out, or must support more users; when the user asks to…

posit-dev/skills · 105 tokens

document

Use when asked to document Elixir code: add or fill in @moduledoc and @doc for modules and functions. Documents tested code only; may add a README section or ADR. Not for docs lookup or audits.

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