cljs-fix

cljs-fix is a skill for Claude Code, Codex from brackendev/clojurescript-skills. It costs 130 tokens per session (3,956 once invoked), scanned B, original, MIT.

A maintenance workflow for ClojureScript projects, covering lint checks, formatting, tests, advanced compilation, and duplicate-code-form checks. ClojureScript is a programming language that compiles to JavaScript.

In plain words
What is it for?
It is for checking or formatting ClojureScript source and tests, with options to run selected checks or report formatting issues without writing changes.
Why use it?
It collects common code-quality and build checks in one workflow and can format source files when requested.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is clojure -M:test && node out/test.js.

Good fit It is for checking or formatting ClojureScript source and tests, with options to run selected checks or report formatting issues without writing changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/brackendev/clojurescript-skills
agentmods
npx agentmods add skills/brackendev/clojurescript-skills/cljs-fix

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 cljs-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/cljs-fix/github.svg)](https://agentmods.dev/skills/brackendev/clojurescript-skills/cljs-fix)
Your own site
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/cljs-fix"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/cljs-fix/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 cljs-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/cljs-fix"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/cljs-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,956 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00130 $0.03956
Opus 5.5 $0.00052 $0.01582
Sonnet 5.5 $0.00026 $0.00791
Haiku 4.5 $0.00013 $0.00396

Measured 1mo ago against content hash 5ccbaa0e464b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cljs-fix scanned grade B with 1 finding 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 1mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

Report fail if exit code is non-zero, or if the output contains `Cannot infer target type in expression` warnings. Those inference failures predict property renaming under advanced compilation and must be resolved before
.apm/skills/cljs-fix/SKILL.md · 198 lines

How it starts

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

ClojureScript Fix

Run lint, format, test, advanced-compilation, and duplicate-form checks on ClojureScript source files. The format step writes by default; lint, test, advanced, and dry are pure-read of source. See the package's CONVENTIONS.md for the argument grammar this skill follows.

Arguments

Input Target
(no argument) Run all five steps (lint, format, test, advanced, dry) on the project's source and test paths
all Same as (no argument); accepted for family consistency
lint Run lint only
format Run format only
test Run tests only
advanced Run advanced-compilation sanity check only
dry Run dry only
<path> <glob> Restrict the lint, format, and dry steps to those files or directories. The test and advanced steps ignore paths and always run the project's test suite and build
--report Replace cljfmt fix with non-writing cljfmt check in the format step

Step keywords are combinable (for example, /cljs-fix lint test dry), and paths combine with them (/cljs-fix format src/app). The --report flag may appear in any position. When --report is present without an explicit step keyword, every step still runs, and only the format step's behavior changes.

The step keyword dry is the dry4clj duplicate-form scan, not a dry-run mode. Only the literal --report token disables writes.

Read the full file on GitHub · 198 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. 1mo ago Changed · +30 lines · +7 tokens per session scan A → B 5ccbaa0e464b
  2. 1mo ago Changed · -2 lines bba78a102201
  3. 1mo ago Changed · +6 lines · +97 tokens per session 2fed827fe7a2
  4. 2mo ago Changed · +1 lines ff3539ee29e4
  5. 2mo ago Changed 33216c3dc30f
  6. 3mo ago First seen · 163 lines · 26 tokens per session scan A 67b9c8ea4c45

Subscribe to this mod's changes

cljs-fix is a skill published in the GitHub repository brackendev/clojurescript-skills (1 stars, last pushed 13d ago), licensed MIT. It adds 130 tokens to every session and 3,956 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

cljs-fix compared with skills from other repositories

cljs-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cljs-fixbrackendev/clojurescript-skillsSkill113d agoMITB130Claude Code, Codex
lipas-e2elipas-liikuntapaikat/lipasSkill795d agoMITA55Claude Code
help-video-ingestlipas-liikuntapaikat/lipasSkill795d agoMITA72Claude Code
clojure-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A84Claude Code
joyrideBetterThanTomorrow/joyrideSkill6007d agononeA84Claude Code, Codex
joyride-testingBetterThanTomorrow/joyrideSkill6007d agononeA94Claude Code, Codex
joyride-user-scriptingBetterThanTomorrow/joyrideSkill6007d agononeA62Claude Code, Codex