clojurescript

clojurescript is a skill for Claude Code, Codex from brackendev/clojurescript-skills. It costs 324 tokens per session (2,611 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 324 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,611 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.00324 $0.02611
Opus 5.5 $0.00130 $0.01044
Sonnet 5.5 $0.00065 $0.00522
Haiku 4.5 $0.00032 $0.00261

Measured 20d ago against content hash 3dc0c087aa3b, 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 20d 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 · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 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 and advanced compilation, 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.

Iron Laws

These rules prevent bugs that appear only in production, silent data loss, and security holes on JavaScript hosts. The clojure skill's Iron Laws (CLJ-1 through CLJ-12) also apply. Never write code that breaks one. When existing code breaks a law, stop and report the law ID, the location, the offending code, and the correct pattern, then ask before changing code outside the current task. A law overrides any Key Rule or reference that seems to conflict with it.

  1. CLJS-1: KEEP JAVASCRIPT PROPERTY NAMES SAFE FROM :advanced RENAMING. The Closure Compiler renames property names it cannot see in externs, so interop that works in development returns nil in the release build. Turn externs inference on (:infer-externs true with (set! *warn-on-infer* true) on the stock compiler, where it defaults to false except under :target :bundle; shadow-cljs defaults to :auto), and clear every "Cannot infer target type" warning with ^js, or ^clj for ClojureScript values. String-keyed access through goog.object/get is never renamed (references/interop.md).
  2. CLJS-2: NEVER PUT UNTRUSTED STRINGS IN HTML OR URL SINKS. MDN calls innerHTML "probably the most common vector for cross-site scripting (XSS) attacks." The same holds for insertAdjacentHTML, React's dangerouslySetInnerHTML, and user-controlled href and src values, which can carry javascript: URLs. Set textContent for text, sanitize HTML with a maintained sanitizer such as DOMPurify, and allow only expected URL schemes (references/interop.md).
  3. CLJS-3: TEST THE RELEASE BUILD, NOT THE DEV BUILD. Property renaming and missing externs appear only under :advanced optimization, and shadow-cljs release builds also elide assertions (the stock compiler keeps them unless :elide-asserts true is set). Build the release artifact the project ships (shadow-cljs release uses :advanced by default, and cljs.main needs --optimizations advanced) and run it before reporting success (references/project-workflows.md).
  4. CLJS-4: js->clj KEEPS STRING KEYS UNLESS YOU ASK FOR KEYWORDS. (:name (js->clj obj)) is nil because the key is the string "name". Pass :keywordize-keys true when the code reads the result with keywords (references/interop.md).
  5. CLJS-5: HINT ^boolean ONLY ON VALUES THAT ARE ALWAYS BOOLEANS. The hint removes the check that makes 0 and "" truthy, so a hinted expression that returns 0 or "" takes the false branch. Hint only expressions that return true or false, such as (true? x) (references/host-semantics.md).

Read the full file on GitHub · 84 lines

Files

What ships with it

8 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. 20d ago Changed · +1 lines 3dc0c087aa3b
  2. 1mo ago Changed · -400 lines · -79 tokens per session b8f27a44e8cd
  3. 1mo ago Changed · -22 lines 2c1f686712cb
  4. 2mo ago Changed · +80 lines · +54 tokens per session 37f7ed4ce9d7
  5. 3mo 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 13d ago), licensed MIT. It adds 324 tokens to every session and 2,611 once invoked, about $0.0013 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

clojurescript compared with skills from other repositories

clojurescript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clojurescriptbrackendev/clojurescript-skillsSkill113d agoMITA324Claude Code, Codex
clojure-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A84Claude Code
clojure-skillschaploud/clojure-skillsSkill131mo agononeA86Claude Code
build-android-binarymicrosoft/power-platform-skillsSkill1.2ktodayMITA150Claude Code
phx-deps-auditoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA58Claude Code, Codex
documentoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA48Claude Code
ecto-patternsoliver-kriska/claude-elixir-phoenixSkill580yesterdayMITA51Claude Code