clojure-style

clojure-style is a skill for Claude Code, Codex from kuhumcst/DanNet. It costs 90 tokens per session (1,510 once invoked), scanned A, original, MIT.

A set of coding rules for Clojure and ClojureScript, including related .cljc and .edn files. It favors small functions, simple composition, pure core logic, and small focused changes.

In plain words
What is it for?
Use it when writing, editing, refactoring, reviewing, or experimenting with Clojure or ClojureScript code.
Why use it?
It gives the agent consistent guidance for changing or reviewing Clojure code and helps avoid unnecessary refactoring.

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/kuhumcst/dannet/clojure-style
Any agent
npx skills add kuhumcst/DanNet --skill clojure-style
Clone the repo
git clone --depth 1 https://github.com/kuhumcst/DanNet

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 clojure-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/kuhumcst/dannet/clojure-style.svg)](https://agentmods.dev/skills/kuhumcst/dannet/clojure-style)
Your own site
<a href="https://agentmods.dev/skills/kuhumcst/dannet/clojure-style"><img src="https://agentmods.dev/badge/skills/kuhumcst/dannet/clojure-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,510 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.00090 $0.01510
Opus 5 $0.00045 $0.00755
Sonnet 5 $0.00018 $0.00302
Haiku 4.5 $0.00009 $0.00151

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

Security

Grade A, and why

clojure-style 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.

.claude/skills/clojure-style/SKILL.md · 147 lines

How it starts

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

Clojure Style

Guiding principle

Perfection is attained not when there is nothing more to add, but when there is nothing left to take away (Saint-Exupéry). When improving code, look for something to remove before adding anything. Prefer the smallest diff that does the job: surgical edits, clean and lean git history, no drive-by refactors of the surrounding namespace.

Compose small functions

Model the code on the Clojure standard library: many small, single-purpose functions with an obvious data-in/data-out contract, combined through composition rather than accumulated into large bodies.

  • Build features by composing existing vars — threading (->, ->>), comp, partial, seq functions — before writing new ones.
  • If a function needs internal section comments or does two describable things, split it. A helper with a good name beats a comment.
  • Prefer map/filter/reduce/into over explicit loop/recur; reach for loop only when the seq library genuinely doesn't fit.
  • Keep the core pure; push side effects to the edges and mark them with !.
  • Use a transducer (comp of xforms with into) when a pipeline is reused or performance-critical; otherwise plain threading reads better.
;; prefer
(->> documents
     (filter valid?)
     (map normalize)
     (group-by :category))

Name like clojure.core

Consistency with the standard library and with the surrounding namespace beats novelty. A reader who knows clojure.core should be able to guess what a name means.

  • Conventional parameter names: f, g, pred, coll, xs, x, s, m, k, v, n, acc, opts — and project conventions like conn, ident. Match the parameter names already used by sibling functions.
  • Systematic affixes: ->tokenizer-xf (constructor), node->hiccup (transform, arrow shows direction), persist-results! (side effect), valid? (predicate), -xf (transducer).
  • Simple verbs for transforms (keywordize), plural nouns for extraction (attribute-objects).
  • Namespaces: reverse-domain (dk.cst.project-name), kebab-case, a real docstring on the ns form, requires grouped logically (core libraries first), standard aliases (str, walk, io, json).

Read the full file on GitHub · 147 lines

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 · 147 lines · 90 tokens per session scan A 4331dd05324f

Subscribe to this mod's changes

clojure-style is a skill published in the GitHub repository kuhumcst/DanNet (29 stars, last pushed 7d ago), licensed MIT. It adds 90 tokens to every session and 1,510 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

graph-mutation-plan

Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.

potpie-ai/potpie · 51 tokens

tinker-dev

Development guidance for the Apache TinkerPop monorepo. Use when building, testing, or contributing to TinkerPop's graph computing framework and its multi-language Gremlin ecosystem (Java, Python, JavaScript, .NET, Go). Covers coding conventions, build recipes, test evaluation, documentation, development environment…

apache/tinkerpop · 75 tokens

review

Structured PR review for pygraphistry. Input: PR number/branch (default current branch PR). Output: findings and convergence artifacts under plans/ /. Method: multi-wave, evidence-first review across spec, correctness, tests, security, code quality, DRY, concurrency, performance, architecture, operability, and…

graphistry/pygraphistry · 69 tokens

test-amplification

Methodical bug-driven test amplification for pygraphistry features. Use when hardening a feature area via user-workflow exploration, 5-Whys retrospectives, bug-taxonomy derivation, concrete test planning, implementation, and safety-gated validation.

graphistry/pygraphistry · 56 tokens

plan

OPT-IN file-based planning for multi-session tasks. Only use when user explicitly requests it or work spans multiple sessions. For single-session work, prefer your platform's native planning features.

graphistry/pygraphistry · 38 tokens

portaljs-add-dcat

Make a PortalJS portal harvestable by national/EU/US open-data portals — emit standards-compliant DCAT catalog feeds (DCAT 2/3, DCAT-AP, DCAT-US, national profiles) in JSON-LD, Turtle, and RDF/XML at build, with autodiscovery and per-profile conformance checking. Use when a portal needs to be harvested by…

datopian/portaljs · 99 tokens