clojure-eval — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited clojure-eval (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when you need to:
The clj-nrepl-eval command evaluates Clojure code against an nREPL server. Session state persists between evaluations, so you can require a namespace in one evaluation and use it in subsequent calls. Each host:port combination maintains its own session file.
First, discover what nREPL servers are running in the current directory:
clj-nrepl-eval --discover-portsThis will show all nREPL servers (Clojure, Babashka, shadow-cljs, etc.) running in the current project directory.
Then use the AskUserQuestion tool:
IMPORTANT: IF you start a REPL do not supply a port let the nREPL start and return the port that it was started on.
Evaluation automatically connects to the given port
Use the -p flag to specify the port and pass your Clojure code.
Recommended: Pass code as a command-line argument:
clj-nrepl-eval -p <PORT> "(+ 1 2 3)"For multiple expressions (single line):
clj-nrepl-eval -p <PORT> "(def x 10) (+ x 20)"Alternative: Using heredoc (may require permission approval for multiline commands):
clj-nrepl-eval -p <PORT> <<'EOF'
(def x 10)
(+ x 20)
EOFAlternative: Via stdin pipe:
echo "(+ 1 2 3)" | clj-nrepl-eval -p <PORT>Discover all nREPL servers in current directory:
clj-nrepl-eval --discover-portsShows all running nREPL servers in the current project directory, including their type (clj/bb/basilisp) and whether they match the current working directory.
Check previously connected sessions:
clj-nrepl-eval --connected-portsShows only connections you have made before (appears after first evaluation on a port).
Require a namespace (always use :reload to pick up changes):
clj-nrepl-eval -p <PORT> "(require '[my.namespace :as ns] :reload)"Test a function after requiring:
clj-nrepl-eval -p <PORT> "(ns/my-function arg1 arg2)"Check if a file compiles:
clj-nrepl-eval -p <PORT> "(require 'my.namespace :reload)"Multiple expressions:
clj-nrepl-eval -p <PORT> "(def x 10) (* x 2) (+ x 5)"Complex multiline code (using heredoc):
clj-nrepl-eval -p <PORT> <<'EOF'
(def x 10)
(* x 2)
(+ x 5)
EOFNote: Heredoc syntax may require permission approval.
With custom timeout (in milliseconds):
clj-nrepl-eval -p <PORT> --timeout 5000 "(long-running-fn)"Reset the session (clears all state):
clj-nrepl-eval -p <PORT> --reset-session
clj-nrepl-eval -p <PORT> --reset-session "(def x 1)"-p, --port PORT - nREPL port (required)-H, --host HOST - nREPL host (default: 127.0.0.1)-t, --timeout MILLISECONDS - Timeout (default: 120000 = 2 minutes)-r, --reset-session - Reset the persistent nREPL session-c, --connected-ports - List previously connected nREPL sessions-d, --discover-ports - Discover nREPL servers in current directory-h, --help - Show help messageclj-nrepl-eval -p <PORT> "(+ 1 2 3)" - works with existing permissions<<'EOF' ... EOF) for truly multiline code, but note it may require permission approval--reset-session is used:reload to pick up recent changesclj-nrepl-eval --discover-ports clj-nrepl-eval -p <PORT> "(require '[my.ns :as ns] :reload)" clj-nrepl-eval -p <PORT> "(ns/my-fn ...)":reload, test again~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.