Logo van Clj Skill Eval

Clj Skill Eval

Community
humorless
clj-skill-eval

Evalueer Clojure-skills met grondige tests in echte projecten, zowel met als zonder ingeschakelde skills. Gebruik deze skill zodra je wilt beoordelen of een Clojure-skill (zoals clj-discover, clj-debug of clj-replace) de ontwikkelresultaten daadwerkelijk verbetert. Vergelijk verschillen in gedrag aan de hand van context-logs, codekwaliteit, documentatiediepte en volledigheid van tests. Zo voorkom je vage of hypothetische evaluaties en dwing je concrete tests in de praktijk af.

Overzicht

Uitgeverhumorless
Repositoryclj-native-agent
Skillnaamclj-skill-eval
Sterren
51
Forks
0
Meegeleverde bestanden
1
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door humorless op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Clj Skill Eval in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/humorless/clj-native-agent/tree/main/skills/clj-skill-eval
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/humorless/clj-native-agent.git /tmp/clj-native-agent
mkdir -p .claude/skills
cp -r /tmp/clj-native-agent/skills/clj-skill-eval .claude/skills/clj-skill-eval
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Clj Skill Eval in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Clj Skill Eval automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Clj Skill Eval niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Clojure Skill Evaluation Framework

Evaluating Clojure skills requires real projects with measurable behavior differences, not hypothetical assumptions. This skill enforces a rigorous evaluation methodology that compares with-skill vs without-skill development on identical tasks.

Core Principle

Skills only matter if they change actual behavior.

The evaluation method:

  1. Create two isolated projects (with/without skills)
  2. Execute identical real development tasks in both
  3. Compare: code quality, development time, documentation depth, test comprehensiveness
  4. Analyze context-logs to observe behavioral differences (REPL usage, exploration patterns, debugging approach)

Phase 1: Evaluation Planning

Define the Skill(s) to Evaluate

Input:

  • Skill name and path (e.g., clj-discover, clj-debug)
  • What behavior should the skill change? (e.g., "Should shift from log-based debugging to REPL-based debugging")

Output:

  • Clear evaluation hypothesis (not vague assumptions)
  • List of observable behavioral differences to measure

Design a Realistic Development Task

Requirements:

  • Real project scenario - Not toy examples or contrived problems
  • Concrete requirements - Clear success criteria, not ambiguous specs
  • Medium complexity - Enough to showcase skill value, not trivial (5-15 min per version)
  • Type diversity - Different task types reveal different skill strengths:
    • Discovery task: "Implement feature using unfamiliar library/API" (tests clj-discover)
    • Debugging task: "Fix a bug in existing system" (tests clj-debug)
    • Exploration task: "Understand and modify macro behavior" (tests clj-discover)
    • Integration task: "Use Java library via interop" (tests clj-discover)

Example Task:

Implement GET /system-stats API endpoint that returns CPU usage and memory info.
- Use OSHI library for system statistics
- Return JSON with cpu-usage (0.0-1.0) and memory-info {total, available}
- Include at least one passing test

Create Evaluation Criteria

Quantitative:

  • Execution time (seconds, minutes)
  • Token usage
  • Lines of code
  • Number of documentation files
  • Test coverage

Qualitative:

  • API choice (found optimal path or basic path?)
  • Code quality (comments, clarity, type safety)
  • Test defensiveness (what scenarios are covered?)
  • Documentation depth (decisions explained or just results?)
  • Behavioral patterns (REPL usage? Logs added? Files read?)

Phase 2: Project Setup

Create Two Isolated Projects

Use neil to generate identical Clojure Stack Lite projects:

bash
neil new io.github.abogoyavlensky/clojure-stack-lite my-test-without-skill
neil new io.github.abogoyavlensky/clojure-stack-lite my-test-with-skill

Then in each:

bash
cd my-test-without-skill && neil add nrepl
cd my-test-with-skill && neil add nrepl

Why isolation?

  • No shared state or configuration
  • Can run in parallel without interference
  • Each gets clean Integrant system with (reset)

Create Task Description

Create TASK.md in both projects with identical requirements:

markdown
# Task: [Implementation Task Name]

## Objective
[Clear, concrete objective]

## Requirements
[Bullet points with specific requirements]

## Success Criteria
✓ Criterion 1
✓ Criterion 2

Phase 3: Parallel Execution with Subagents

Critical Permission Setting

When running subagents in Claude Code, use --dangerously-skip-permissions to avoid permission constraint blocks:

bash
claude --dangerously-skip-permissions [your-claude-code-command]

Why this is necessary: Skills may use tools (brepl, WebSearch, file operations) that require explicit permission. Without this flag, subagents may abort with "permission constraints" instead of completing the task.

Launch Both Versions in Parallel

Create two subagents simultaneously (same turn) to ensure comparable timing:

Subagent 1 (WITHOUT skills):

Execute this task in /path/to/my-test-without-skill:

1. Read TASK.md to understand requirements
2. Complete the implementation task
3. Save all final code files to outputs/
4. Record your approach in outputs/APPROACH.md:
   - How did you discover what to do?
   - What APIs/libraries did you choose and why?
   - What debugging/exploration did you do?
   - How much time was spent coding vs exploring?
5. DO NOT use any Clojure skills

Focus: Complete the task efficiently.

Subagent 2 (WITH skills):

Execute this task in /path/to/my-test-with-skill:

1. Read TASK.md to understand requirements
2. Complete the implementation task
3. Save all final code files to outputs/
4. Record your approach in outputs/APPROACH.md:
   - Which skills did you use and when?
   - How did each skill influence your decisions?
   - What exploration patterns did you use?
   - Did you use REPL-based debugging or log-based?
5. Use these Clojure skills as they become relevant:
   - clj-discover (understanding APIs, Java interop, macros)
   - clj-debug (interactive debugging via brepl)
   - clj-replace (structural code replacement)

Focus: Complete the task with skill guidance.

Important: Launch both in the same turn so timing is comparable.


Phase 4: Deep Comparison Analysis

Code Quality Comparison

Compare the generated code files (handlers, routes, tests):

API Choices:

  • Did WITHOUT-skill take the first obvious path?
  • Did WITH-skill find a more optimal/standard API path?
  • Evidence of research vs. immediate coding?

Type Safety:

  • Explicit type conversions or implicit assumptions?
  • Comments explaining tricky parts?
  • Error handling or happy path only?

Test Defensiveness:

  • Basic assertions only or comprehensive coverage?
  • Edge case handling?
  • Business logic validation (e.g., available ≤ total)?

Documentation Comparison

Compare the APPROACH.md and generated documentation:

WITHOUT-skill should show:

  • "Direct implementation without exploration"
  • Minimal decision-making explanation
  • Quick success

WITH-skill should show:

  • "Researched library before implementing"
  • "Tested in REPL to verify approach"
  • Clear decision rationale for API choices
  • More comprehensive documentation

Behavioral Pattern Analysis

From APPROACH.md, identify these patterns:

PatternWITHOUT-skillWITH-skillSignificance
REPL usageAbsent/minimalFrequent interactive testingIndicates skill-enabled debugging
File readingScattered explorationTargeted researchSkill guidance on what to look at
Debugging approachLogs/printlnInteractive breplCore behavior shift
DocumentationMinimalDetailed with rationaleSkill encourages thorough thinking

Timing & Token Data

Capture from subagent notifications:

  • Execution time (without-skill should be faster but lower quality)
  • Total tokens (WITH-skill explores more)
  • Time-to-quality ratio

Phase 5: Drawing Conclusions

Skill Effectiveness Scoring

For each skill, estimate:

  • Usage Strength: How much did the skill actually activate? (⭐ scale)
  • Impact on Behavior: Did it change development approach? (YES/NO)
  • Applicability: For what task types is it valuable?

Write Evaluation Report

Structure:

markdown
# Evaluation Report: [Skill Name]

## Executive Summary
One sentence: Did the skill improve development outcomes?

## Task Executed
[Task description and success criteria]

## Key Findings

### Quantitative Comparison
- Time: [without-skill] vs [with-skill]
- Tokens: [without-skill] vs [with-skill]
- Code quality metrics

### Behavioral Differences
- API choices: [specific example]
- Testing approach: [specific example]
- Documentation depth: [specific example]

### Skill Activation Analysis
- Which skills were used: [list with ⭐ ratings]
- Permission issues: [if any]
- Unexpected patterns: [if any]

## Recommendations
- Is the skill valuable? [YES/NO with justification]
- In what scenarios is it most useful?
- What could be improved?

Phase 6: Iteration & Refinement

If skill effectiveness is unclear:

  1. Design a task better suited to the skill

    • If clj-discover wasn't triggered: add a task requiring exploration of unfamiliar APIs
    • If clj-debug wasn't used: add a task requiring interactive debugging
  2. Run evaluation again with the new task

  3. Compare patterns from multiple tasks to understand when/why the skill activates


Anti-Patterns to Avoid

❌ DO NOT:

  • Ask hypothetical questions ("Would this skill help with X?")
  • Grade skills on "knowledge transfer" (they should change behavior, not just provide info)
  • Accept "skill loaded but not executed" as success
  • Run only simple tasks that don't showcase skill value
  • Evaluate without comparing with a baseline

✅ DO:

  • Run identical tasks in with/without conditions
  • Measure actual behavioral changes (REPL usage, exploration patterns, debugging approach)
  • Analyze why skills were or weren't triggered
  • Test with multiple task types to find where skills shine
  • Document specific code/documentation differences

Task Type Reference

Use these to design varied evaluation tasks:

1. Discovery Task (triggers clj-discover)

"Implement feature using unfamiliar library"

  • Example: "Add JWT authentication using auth0 library"
  • Skill value: Helps navigate unfamiliar API without trial-and-error

2. Debugging Task (triggers clj-debug)

"Fix a bug in a multi-component system"

  • Example: "Users report login failures; debug Integrant system lifecycle"
  • Skill value: Shifts from log-based to interactive REPL debugging

3. Macro/Meta Task (triggers clj-discover)

"Understand and modify macro behavior"

  • Example: "Extend defroutes macro to support new pattern"
  • Skill value: Explains macro expansion and meta-patterns

4. Java Interop Task (triggers clj-discover)

"Integrate Java library"

  • Example: "Add system monitoring via OSHI library" (what we tested)
  • Skill value: Clarifies Java API navigation and method selection

Remember

A skill only matters if it changes how Claude develops code, not just what code it produces.

If evaluation shows skills don't change behavior, that's valuable data — it means either:

  1. The skill's triggering conditions need adjustment
  2. The skill's content needs rethinking
  3. The task isn't suited to the skill's strengths

All of these are solvable. But measuring behavior change is the only way to know.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Clj Skill Eval?

Evalueer Clojure-skills met grondige tests in echte projecten, zowel met als zonder ingeschakelde skills. Gebruik deze skill zodra je wilt beoordelen of een Clojure-skill (zoals clj-discover, clj-debug of clj-replace) de ontwikkelresultaten daadwerkelijk verbetert. Vergelijk verschillen in gedrag aan de hand van context-logs, codekwaliteit, documentatiediepte en volledigheid van tests. Zo voorkom je vage of hypothetische evaluaties en dwing je concrete tests in de praktijk af.

Waarom Clj Skill Eval gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Clj Skill Eval bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Clj Skill Eval in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/humorless/clj-native-agent/tree/main/skills/clj-skill-eval. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Clj Skill Eval gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Clj Skill Eval gebruiken?

Zoveel als je wilt. Je kunt Clj Skill Eval gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Clj Skill Eval gratis?

Deze skill is door humorless op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇