cljs-new

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

A project scaffold for ClojureScript, a Lisp-style language that compiles to JavaScript. It creates the files needed for a `cljs.main` build and REPL, tests, formatting, and code checks.

In plain words
What is it for?
Use it to create a named project with source code, tests, a browser resource, dependency settings, formatting rules, and clj-kondo configuration.
Why use it?
It gives a new ClojureScript project a consistent starting layout and development configuration instead of requiring each file to be created by hand.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/cljs-new.svg)](https://agentmods.dev/skills/brackendev/clojurescript-skills/cljs-new)
Your own site
<a href="https://agentmods.dev/skills/brackendev/clojurescript-skills/cljs-new"><img src="https://agentmods.dev/badge/skills/brackendev/clojurescript-skills/cljs-new.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,141 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00019 $0.02141
Opus 5 $0.00010 $0.01071
Sonnet 5 $0.00004 $0.00428
Haiku 4.5 $0.00002 $0.00214

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

Security

Grade A, and why

cljs-new scanned grade A 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSL -A 'Mozilla/5.0' \
.apm/skills/cljs-new/SKILL.md · 235 lines

How it starts

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

Scaffold a ClojureScript Project

Create a new ClojureScript project that uses cljs.main as its build and REPL entry point. The scaffold follows the official ClojureScript Quick Start layout and adds an :test alias, a :cljfmt alias, and clj-kondo configuration. See CONVENTIONS.md in the repo root for the argument grammar this skill follows.

Arguments

Input Target
<project-name> Required. Use hyphens (for example, hello-world); the skill maps to underscores for file paths (hello_world/) and keeps hyphens in namespace symbols (hello-world.core).
(no argument) Prompt the operator for a project name.

This skill is exempt from the all and <path> rows of the standard scope vocabulary because scaffolding has no useful default scope. See CONVENTIONS.md for the standard.

Mutation

Mutates by default: creates the project directory and writes deps.edn, the entry-point source file src/<project_name>/core.cljs, the test source and test-runner files under test/<project_name>/, resources/public/index.html, .cljfmt.edn, .gitignore, and .clj-kondo/config.edn (plus the upstream clj-kondo exports under .clj-kondo/imports/). No --report flag; preview the side effects by reading this SKILL.md.

Prerequisites

Verify these are installed before proceeding. If any are missing, stop and tell the user.

  • clj (Clojure CLI / tools.deps)
  • clj-kondo (Clojure linter; lints .cljs and .cljc too)
  • Java 17 or higher

Check with:

clj --version
clj-kondo --version
java -version

Steps

1. Get Project Name

Use $ARGUMENTS as the project name. If empty, ask the user for a project name.

The project name uses hyphens (for example, hello-world). File paths use underscores (for example, hello_world/). The namespace mirrors the project name (hello-world.core).

Read the full file on GitHub · 235 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. 5d ago First seen · 235 lines · 19 tokens per session scan A cf9b007a3267

Subscribe to this mod's changes

cljs-new is a skill published in the GitHub repository brackendev/clojurescript-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 2,141 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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