Skip to content
Back to skills

Cli Eval

ASecurity

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythonbashgitdatabaseperformance

Works with

  • terminal
  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 5, 2026

npx -y skills add Ferhat-Yasinoglu/pusula --skill cli-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ferhat-yasinoglu-cli-eval/badge)](https://www.skillsdirectory.com/skills/ferhat-yasinoglu-cli-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-eval
description: Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

## Quick install

```bash
npm install -g pusula   # or: npx pusula
pusula --version
```

## Subcommands

### `eval`

**Example:**

```bash
pusula eval
```

### `eval suites`

**Example:**

```bash
pusula eval suites
```

### `eval list`

**Example:**

```bash
pusula eval list
```

### `eval get <suiteId>`

**Example:**

```bash
pusula eval get <suiteId>
```

### `eval create`

**Flags:**

- `--file <path>`

**Example:**

```bash
pusula eval create
```

### `eval run <suiteId>`

**Flags:**

- `-m, --model <id>`
- `--combo <name>`
- `--concurrency <n>`
- `--tag <tag>`
- `--watch`

**Example:**

```bash
pusula eval run <suiteId>
```

### `eval list`

**Flags:**

- `--suite <id>`
- `--status <s>`
- `--since <ts>`
- `--limit <n>`

**Example:**

```bash
pusula eval list
```

### `eval get <runId>`

**Example:**

```bash
pusula eval get <runId>
```

### `eval results <runId>`

**Flags:**

- `--failed`

**Example:**

```bash
pusula eval results <runId>
```

### `eval cancel <runId>`

**Flags:**

- `--yes`

**Example:**

```bash
pusula eval cancel <runId>
```

### `eval scorecard <runId>`

**Example:**

```bash
pusula eval scorecard <runId>
```

### `simulate [prompt]`

**Flags:**

- `--file <path>`
- `-m, --model <id>`
- `--combo <name>`
- `--reasoning-effort <level>`
- `--thinking-budget <n>`
- `--explain`

**Example:**

```bash
pusula simulate [prompt]
```

<!-- skill:custom-start -->
<!-- Migrated from skills/pusula-cli-eval/SKILL.md (preserved curated content) -->

# Pusula — CLI Evals

Requires the `pusula` CLI. See [CLI entry-point skill](https://raw.githubusercontent.com/Ferhat-Yasinoglu/pusula/main/skills/cli-serve/SKILL.md) for install + global flags.

## What are evals?

Evals are automated test suites that score LLM outputs against expected answers or rubrics. Pusula stores suites and run results in its local database.

## Eval suites

```bash
pusula eval suites list                       # List all eval suites
pusula eval suites list --json                # JSON output

pusula eval suites get <suiteId>              # Full suite definition
```

### Create a suite

```bash
pusula eval suites create \
  --name "code-quality" \
  --rubric "exact-match" \
  --samples-file ./samples.jsonl                 # JSONL: {input, expected_output}
```

Rubric options: `exact-match`, `contains`, `llm-judge`, `regex`.

`--samples-file` format (one JSON object per line):

```jsonl
{"input": "What is 2+2?", "expected_output": "4"}
{"input": "Translate 'hello' to Spanish", "expected_output": "hola"}
```

## Run an eval

```bash
pusula eval suites run <suiteId> \
  --model claude-sonnet-4-6                      # Run suite against a specific model

pusula eval suites run <suiteId> \
  --model gpt-4o \
  --watch                                        # Live TUI progress (EvalWatch)
```

The run is asynchronous. Use `--watch` for a live terminal dashboard or poll manually:

```bash
RUN_ID=$(pusula eval suites run <suiteId> --model claude-sonnet-4-6 --output json | jq -r '.id')
pusula eval get $RUN_ID
```

## Manage runs

```bash
pusula eval list                              # List all eval runs
pusula eval list --json

pusula eval get <runId>                       # Run details (status, model, score)
pusula eval results <runId>                   # Per-sample results
pusula eval scorecard <runId>                 # Full scorecard with pass/fail per sample
pusula eval cancel <runId>                    # Cancel a running eval
```

## Scorecard output

```bash
pusula eval scorecard <runId> --output json
```

Response fields per sample:

```json
{
  "id": "sample-1",
  "score": 0.95,
  "passed": true,
  "input": "What is 2+2?",
  "output": "4",
  "expected": "4"
}
```

## Comparing models

Run the same suite against multiple models and compare:

```bash
for MODEL in claude-sonnet-4-6 gpt-4o gemini-2.0-flash; do
  pusula eval suites run $SUITE_ID --model $MODEL --output json | jq '{model: .model, score: .score}'
done
```

## CI integration

```bash
# Run and fail CI if score drops below threshold
SCORE=$(pusula eval suites run $SUITE_ID --model claude-sonnet-4-6 --output json | jq -r '.score')
python3 -c "import sys; score=float('$SCORE'); sys.exit(0 if score >= 0.90 else 1)"
```

## Errors

- `suites create` fails with `invalid rubric` → use one of: `exact-match`, `contains`, `llm-judge`, `regex`
- `suites run` returns `model not found` → verify model ID with `pusula models --search <name>`
- `eval get` shows `status: failed` → check `pusula logs --search eval` for error details
- `scorecard` returns empty results → the run may still be `running`; poll `pusula eval get <runId>` until `status` is `completed`
<!-- skill:custom-end -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.