Skip to main content

Clojure REPL Evaluation

Skill Warning Active

Evaluate Clojure code via nREPL using clj-nrepl-eval. Use this when you need to test code, check if edited files compile, verify function behavior, or interact with a running REPL session.

Purpose

Evaluate Clojure code interactively against a running nREPL server for testing, debugging, and verifying code changes.

Features

  • Discover and connect to nREPL servers
  • Evaluate arbitrary Clojure code snippets
  • Maintain persistent REPL sessions
  • Reset REPL session state
  • Handle code via arguments, heredoc, or stdin

Use Cases

  • Verify that edited Clojure files compile and load correctly
  • Test function behavior interactively
  • Check the current state of the REPL
  • Debug code by evaluating expressions

Non-Goals

  • Replacing a full IDE's debugging capabilities
  • Managing Clojure project dependencies directly
  • Executing arbitrary shell commands outside of nREPL interaction

Workflow

  1. Discover available nREPL servers
  2. Select an nREPL server (or start a new one)
  3. Provide Clojure code for evaluation
  4. Receive and review the evaluation results

Prerequisites

  • A running nREPL server accessible via host:port
  • Clojure environment set up

License

  • critical:License usabilityThe bundled LICENSE-AGPL.txt is the GNU Affero General Public License v3, which is a strong copyleft license that may not be compatible with all downstream use cases and requires specific considerations for network-facing services.

Security

  • warning:InjectionWhile the tool evaluates Clojure code, there's a risk of injection if untrusted Clojure code is passed without sanitization, although the SKILL.md guides users on safe code passing. No explicit protection against arbitrary code execution is detailed.
  • warning:Sandbox IsolationThe skill executes arbitrary Clojure code which could potentially interact with the file system or network, and the SKILL.md does not explicitly detail sandboxing measures beyond standard nREPL server isolation.

Trust

  • warning:Issues AttentionThe repository has 418 open issues and 321 closed issues in the last 90 days, indicating a high volume of activity but also a potentially slow response rate for new issues given the ratio.

Execution

  • warning:ValidationThe SKILL.md mentions automatic delimiter repair for parentheses, but there's no explicit mention of a schema library for validating the structure or content of arbitrary Clojure code passed as input.

Code Execution

  • warning:Error HandlingWhile the `clj-nrepl-eval` tool likely handles errors from Clojure code execution, the SKILL.md does not detail how these errors are translated into structured agent-understandable error messages or if they provide specific recovery steps.

Compliance

  • info:GDPRThe skill evaluates Clojure code, which could potentially process personal data if the user's code does. There's no explicit mention of sanitization beyond what the user's code provides.

Documentation

  • info:READMEThe README.md provides a high-level overview of Metabase, not the clj-nrepl-eval skill. The SKILL.md serves as the primary documentation for this skill.

Errors

  • warning:Actionable error messagesThe SKILL.md outlines error handling for REPL interaction but does not detail specific actionable error messages for various failure modes, nor does it provide remediation steps or documentation links for user-facing errors.

Protocol

  • warning:Idempotent retry & timeoutsThe tool includes a timeout option, but the idempotency of mutations (if any are performed by the evaluated Clojure code) is not guaranteed by the tool itself, and error handling for timeouts is not detailed in terms of structured retryable errors.

Installation

npx skills add metabase/metabase

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Warning
75 /100
Analyzed about 22 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars47.3k
LicenseAGPL-3.0-or-later
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.