Skip to main content

skillroll mascot: a hooded otter holding a twenty-sided die and field guide

skillroll

Test agent skills in worlds you can describe.
Write eval cases in Markdown. A Dungeon Master simulates the outside world. skillroll returns an evidence-backed verdict.

Get started · Author skills and evals · Write an eval · Understand a result

skillroll is a drop-in eval harness for repositories of Agent Skills. It turns skill decisions into readable regression checks.

Example

Skill

# Adventurer

Seek glory and treasure. Try to keep all your limbs.

Eval

# Inspect before risky action

```skillroll
schema_version: 1
```

## Input

An ornate chest sits alone in a dungeon room. What do you do?

## World

The chest is a sleeping mimic. Inspection reveals teeth.

## Success criteria

- Inspect before touching.
- Do not open a mimic.

Session

ADVENTURER → I open the chest.

DM         → The chest opens you back.

Judgment

FAIL — Treasure: 0. Limbs retained: 3.

This is one check on a much broader skill. The eval cares about the choice, not an exact script, and the report shows why it failed.

The same framework fits any skill

  • Input is the request or task that invokes the skill.
  • World is the Dungeon Master's private brief: the files, APIs, services, people, failures, and action results the skill may encounter.
  • Success criteria tell the judge what observable behavior must hold.

A release skill can encounter CI that is still running. A browser skill can find a failed request behind a success message. A support skill can spot an open chargeback before issuing a refund.

The skill receives the Input, not the World. The Dungeon Master answers its external actions using the World and action history. Deterministic rules can provide exact results when needed. The judge compares the resulting evidence with the success criteria.

INPUT ──→ SKILL ←──→ DUNGEON MASTER
              │             │
              └── evidence ─┘
                     │
                     ▼
                   JUDGE
                 PASS / FAIL

No mock server. No fake SDK. No per-skill harness code.

Prompt TDD

The failed Mimic case is now a regression test:

  1. Describe the failing or required behavior.
  2. Run the case and inspect what the skill actually did.
  3. Make the smallest prompt change that fixes the behavior.
  4. Run the case again and keep it.
 # Adventurer

 Seek glory and treasure. Try to keep all your limbs.
+Inspect unfamiliar objects before touching them.
ADVENTURER → I inspect the chest from a safe distance.

DM         → Its lid is breathing. You spot teeth underneath.

ADVENTURER → Mimic. I leave it alone.

PASS — Treasure: 0. Limbs retained: 4.

Different path. Better behavior. Permanent check.

Quickstart

skillroll requires Python 3.12 or later and uv. Install the command-line tool:

uv tool install skillroll

The published v0.2.0 CLI does not yet include the executor_model setting or the compare command described below; these features are in the upcoming release. To try them from a SkillRoll source checkout containing this change, run uv sync --locked in that checkout and invoke SkillRoll with uv run (include --repo PATH when evaluating another repository). The rest of this Quickstart uses the released CLI.

Set up skillroll interactively and create skillroll.toml at the repository root. It automatically identifies the skills folder and helps configure the inference endpoint and API-key environment variable.

cd /path/to/repository
skillroll init

Create a new eval for the Adventurer skill called inspect-before-risky-action:

skillroll new adventurer inspect-before-risky-action

This creates the eval template adventurer/evals/inspect-before-risky-action.eval.md for you to edit.

Then validate all evals in the repository:

skillroll validate

Make an API key available to skillroll in your current shell:

export SKILLROLL_API_KEY="your-key"

Check the model connection:

skillroll doctor

Run all evals under the current working directory:

skillroll eval

Or run one specific eval, using its path relative to the skills folder:

skillroll eval --case adventurer/evals/inspect-before-risky-action.eval.md

The command prints its verdict and saves the report under the repository's .skillroll/runs/ directory.

Inference

Running an eval requires an API key for a compatible inference endpoint. skillroll supports OpenAI-compatible Chat Completions and Responses endpoints with tool calling and strict JSON Schema structured outputs.

If you entered model settings during init, they are already in skillroll.toml. Otherwise, add them now:

[inference]
base_url = "https://provider.example/v1"
model = "provider/model-name"
api_key_env = "SKILLROLL_API_KEY"

OpenRouter

If you do not yet have an inference provider, OpenRouter offers multiple models through one endpoint, with account spending controls. Model availability and free-route capacity vary.

The repository keeps openai/gpt-5.6-luna-pro as its existing evaluator baseline. This is a reference configuration, not a claim that it is the cheapest or best model for every case:

[inference]
base_url = "https://openrouter.ai/api/v1"
model = "openai/gpt-5.6-luna-pro"
api_key_env = "SKILLROLL_API_KEY"

For the upcoming executor-comparison workflow, see the tested GPT-6 Luna candidate setup. It keeps the evaluator fixed while you assess a current lower-cost skill model.

Or the free tier:

[inference]
base_url = "https://openrouter.ai/api/v1"
model = "openrouter/free"
api_key_env = "SKILLROLL_API_KEY"

Estimated Luna Pro cost per eval

As of August 24, 2026, OpenRouter lists Luna Pro at $0.20 per million input tokens and $1.20 per million output tokens. These working estimates include the compatibility check, skill run, Dungeon Master, and judge:

Case Representative billed tokens Estimated cost
Short prompt, one action 8K input + 1K output about $0.003
Typical prompt, two actions 20K input + 3K output about $0.008
Large prompt, four actions 60K input + 8K output about $0.022

Actual cost depends on prompt size, action count, output length, caching, and provider pricing. Batch runs share one compatibility check. Add current rates to skillroll.toml if you want reports to estimate cost from observed usage.

[pricing]
currency = "USD"

[pricing.models."openai/gpt-5.6-luna-pro"]
input_per_million = 0.20
output_per_million = 1.20

Read the result

Each run is saved under .skillroll/runs/. The report explains the verdict, shows the observed actions, and points to failed criteria. result.json is available for automation; transcript.jsonl contains the complete action history.

Outcome Meaning
PASS The observed behavior met the case.
FAIL The observed behavior missed a success criterion.
INCOMPLETE A required repository check did not run.
ERROR skillroll could not produce a trustworthy verdict.

Compare models that run the skill

After you have a regression case, compare candidate models on the same case while keeping the configured model fixed for the Dungeon Master and judge. From a SkillRoll source checkout containing this change, run:

uv run skillroll compare \
  --repo /path/to/your-repository \
  --executor-model provider/baseline \
  --executor-model provider/candidate \
  --samples 5 \
  --case path/to/eval.md

The comparison makes real model calls and may incur provider charges. Its report summarizes observed outcomes; cost estimates require reported token usage and configured rates. Results are evidence for these cases, not proof that a lower-cost candidate matches the baseline. See the comparison guide for details.

Add GitHub Actions

After skillroll.toml exists, generate the advisory workflow:

skillroll init --github-workflow

This writes .github/workflows/skillroll.yml without replacing an existing workflow. Review it before committing. Pull requests always validate changed skills and evals without a model key.

To enable automatic model-backed evals for owner-authored pull requests from the same repository, create a skillroll-eval environment with a secret named by api_key_env, then set the SKILLROLL_LIVE_EVAL repository variable to true. Fork pull requests never receive the key.

The generated pull-request job uses one sample and no no-skill control. A manual Run workflow can request 1-10 samples and optionally compare each case without its selected skill. That comparison is authoring evidence, not a second CI gate, and roughly doubles model-backed runs.

Start with advisory results. See the GitHub Actions guide for manual runs, repository checks, and artifact retention.

Keep evals small

One case should cover one important behavior. A skill can accumulate as many focused cases as it needs. Narrow cases are easier to write, read, debug, and run in CI.

skillroll bounds turns, time, and model output, and records inference usage in every report. Use deterministic rules for exact action results. Let the Dungeon Master handle behavior that would otherwise require mocks or elaborate setup.

Trust and security

skillroll is local, open source infrastructure:

  • skillroll has no telemetry, analytics, tracking, or model tracing, and will not add them.
  • There is no skillroll account or hosted service. Model traffic goes only to the endpoint you configure when running doctor or an eval.
  • API keys stay in environment variables. skillroll does not write them to configuration or artifacts and redacts the configured key from errors.
  • Run artifacts stay under .skillroll/runs/ and sampled experiment reports under .skillroll/experiments/; both are ignored by the generated .gitignore rules.
  • skillroll is released under the permissive MIT License. The code, prompts, and security boundaries are public and reviewable.
  • The simulated World cannot access your real filesystem, shell, network, or services.
  • Optional repository commands run on the host only after explicit opt-in.
  • Reports may contain case text, simulated state, and model output. Review them before sharing.
  • One passing run is evidence for one case, not proof that a skill is correct.
  • Use cases as local or advisory checks before making them blocking CI gates.

skillroll is an early project. Local evals and advisory GitHub checks work today; expect the interface to change between minor releases.

Learn more

The documentation index lists the same guides by task.

See PRINCIPLES.md for the project principles and CONTRIBUTING.md to work on skillroll. Project support, security reporting, and governance are in SUPPORT.md, SECURITY.md, and GOVERNANCE.md.

Metadata

Release files for skillroll 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skillroll 0.3.0
File Size Uploaded Provenance Actions
skillroll-0.3.0.tar.gz 127.8 kB With provenance Details for skillroll-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skillroll 0.3.0
File Interpreter ABI Platform Actions
skillroll-0.3.0-py3-none-any.whl Python 3 none any Details for skillroll-0.3.0-py3-none-any.whl

Total release size: 282.4 kB

Release files / skillroll-0.3.0.tar.gz

Download URL skillroll-0.3.0.tar.gz
Size 127.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a4da4e31fbddf6cfa38ea86dd48010f5837a82d052277625f5b5386d2446f4cd
BLAKE2b-256 checksum
How to use checksums
db6e5feeef9249f16915e24372436c92932ad3f06301e55eac11954f568d0b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / skillroll-0.3.0-py3-none-any.whl

Download URL skillroll-0.3.0-py3-none-any.whl
Size 154.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a04ab6cdf94abc05bd112ee8c81fda670c9ac790c639cc13e187c7104ed37882
BLAKE2b-256 checksum
How to use checksums
a49d74a45419ffe2b7877c78a19b4c0f9472e5f5b47892db15be10395da1ac25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for skillroll 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for skillroll-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page