Keep your agent skills tasty
Skillet runs multi-provider evals for AI agent skills. Point it at any directory with a SKILL.md, and it spins up real agent loops against Claude, ChatGPT, and Gemini, mocks the external APIs and MCP tools your skill expects, grades transcripts with an LLM judge, and writes a per-run manifest of every input that shaped the result so you can re-run the same configuration in CI.
Built on the open Agent Skills standard.
- Multi-provider runs. Same skill, same eval cases, run against Claude, GPT, and Gemini in one command. The
benchmark.jsoncarries a provider dimension so you can see which model your skill works best on. - Integration mocks as eval primitives. Generate deterministic mock HTTP servers from OpenAPI specs and mock MCP-style tools from MCP server repos with
skillet mock import. Test skills that call Stripe, GitHub, or your own API without touching production. - Per-run input manifest. Every
skillet eval runwrites a sibling<stamp>.manifest.jsonnext to the benchmark file with the skillet version, skill content hash, providers/models, mock spec hashes, and theevals.jsonhash. When a future run drifts, diff the manifests to spot which input changed.
Most LLM eval frameworks (Promptfoo, OpenAI Evals, Inspect AI, Braintrust) score prompt → completion pairs against a rubric. Skillet evaluates agent skills: a SKILL.md driving a real agent loop with file system and shell tools running in a sandboxed working directory, plus mock HTTP and MCP tools when a skill declares them. The unit of work is "did the agent follow the skill's instructions and finish the task," not "did the model produce the right string."
That shifts a few things:
- The agent gets a working directory and
bash/read_file/write_filetools. Assertions can reference the final state of that environment, not just the last assistant message. - Integration mocks are first-class. Test a skill that calls Stripe or your own API without standing up a real server.
- A single eval run covers multiple providers so you can see which models your skill generalizes to.
If you're scoring single completions against a rubric, a generic framework is probably a better fit. If you're shipping skills that run as agent loops with tool calls and external APIs, Skillet is built for that.
pnpm add -D @render-lab/skilletTo install from a GitHub release tarball instead of npm:
pnpm add -D "https://github.com/render-lab/skillet/releases/latest/download/render-lab-skillet-latest.tgz"Requires Node.js 20+.
skillet eval init # interactive setup → skillet.config.yaml
skillet mock import openapi ./fixtures/render-openapi.json --name render
skillet eval run ./my-skill # multi-provider eval runThe first command writes skillet.config.yaml with your providers and grader. The second imports an OpenAPI spec into the config's mocks: block and writes a mock manifest under .skillet-evals/mocks/. The third runs every eval case in ./my-skill/evals.json against every configured provider, writes <stamp>.json (benchmark) and <stamp>.manifest.json (input manifest) under .skillet-evals/results/<skill>/, and prints a side-by-side summary.
Changed-skill selection is opt-in. Existing skillet eval run and explicit skill-path commands keep their behavior.
# Preview without API keys or model calls.
skillet eval run --changed-since origin/main --dry-run
# Run affected skills and save the selection explanation for CI.
skillet eval run --changed-since origin/main \
--selection-output .skillet-evals/selection.jsonPass --config skillet.eval.yaml if your config uses a different name. Changed mode requires skills.roots; positional skill paths cannot be combined with --changed-since.
Skillet compares HEAD to its merge base with the supplied ref, then includes staged, unstaged, and nonignored untracked files. Changes anywhere within a skill select that skill's entire suite. Existing provider/model and --eval-id filters still apply. Removed skills are reported without running them, and selected skills without eval files are reported as skipped. Preview validates selected eval definitions but does not authenticate, fetch remote mocks, or run models.
A valid empty selection exits successfully without model calls. Git/ref/configuration errors fail before evaluation. Git history must be complete (fetch-depth: 0 in GitHub Actions); Skillet does not fetch automatically. Worktrees, detached HEAD, and invocation from a subdirectory are supported. Inputs outside the Git repository, including escaping symlinks, require an unfiltered run.
Add optional rules to your existing config:
skills:
roots: [skills]
changes:
global:
- shared/manifest.json
- scripts/sync-shared.mjs
- .github/workflows/skillet-evals.yml
ignore:
- README.md
- docs/**
dependencies:
- paths: [shared/blueprints.md]
skills: [skills/render-blueprints, skills/render-deploy]Patterns are relative to the Git repository root, even when the config lives in a subdirectory. * matches within one segment, ? matches one non-slash character, and a whole-segment ** matches across directories. Dotfiles are included. Absolute paths, .., negation, brace expansion, character classes, and environment substitution are unsupported. Consumer patterns match whole skill-directory paths; a consumer must match at least one current or base skill.
The active config, root dependency manifests/lockfiles, and .gitmodules always select all skills. This includes package.json, pnpm-workspace.yaml, npm/pnpm/Yarn/Bun lockfiles, pyproject.toml, uv.lock, poetry.lock, and requirements*.txt. changes.global adds more global inputs.
Unmapped changes outside skills select all skills. Map shared sources to their consumers to narrow coverage, or explicitly ignore unrelated docs. Ignore rules never override a direct skill change, dependency match, or global input. .skillet-evals/** is ignored by default outside skill directories. Shared-content manifests are not automatically interpreted; configure their inputs and consumers explicitly. External fixtures and local mock sources need dependency rules when their consumers cannot be inferred from directory ownership. Remote source changes without a Git diff are not detectable.
Selection is printed with reasons (direct, dependency, global, or unmapped). --selection-output additionally writes a versioned JSON artifact with compared commits, changed paths, selected/removed/skipped skills, and ignored paths. It contains no credentials or file contents and does not change benchmark formats. Prefer the ignored .skillet-evals/ directory for this artifact so it does not become an input on the next run. Both --dry-run and --selection-output require --changed-since.
Upgrade Skillet before using the new flags or config block. Keep the full-suite command for manual regression runs. In a PR workflow, fetch complete history and pass the target base SHA through an environment variable:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Evaluate affected skills
env:
EVAL_BASE: ${{ github.event.pull_request.base.sha }}
run: >-
pnpm exec skillet eval run --changed-since "$EVAL_BASE"
--selection-output .skillet-evals/selection.jsonKeep workflow triggers broad enough to include shared/config/dependency changes. Keep structural checks repo-wide, report empty selections as skips, and aggregate only results from the current run. Existing generated workflows are unchanged; adopting this command is a separate CI change. Preserve existing fork-PR secret restrictions; do not use pull_request_target to execute untrusted code with credentials.
skillet eval measures how well an agent follows a skill's instructions. An eval run combines the skill's SKILL.md, realistic prompts (single or multi-turn), sandboxed shell and file tools, optional mocks, one or more model providers, and an LLM judge that grades the transcript against explicit assertions. The result is a benchmark history per skill — useful for comparing providers, catching regressions when you edit a skill, and publishing results in CI.
Configure providers in skillet.config.yaml:
providers:
- { name: anthropic, model: claude-sonnet-4-6, apiKey: ${ANTHROPIC_API_KEY} }
- { name: openai, model: gpt-5.4, apiKey: ${OPENAI_API_KEY} }
- { name: google, model: gemini-3.1-pro-preview, apiKey: ${GOOGLE_API_KEY} }You can also use the short form when the model id is enough to infer the provider:
providers:
- claude-sonnet-4-6
- gpt-5.4
- gemini-3.1-pro-previewskillet eval run ./my-skill runs every case against every provider. The resulting benchmark.json has a provider_summary block so you can compare side by side:
"provider_summary": {
"claude-sonnet-4-6": { "pass_rate": { "mean": 0.92 } },
"gpt-5.4": { "pass_rate": { "mean": 0.81 } },
"gemini-3.1-pro-preview": { "pass_rate": { "mean": 0.78 } }
}skillet eval report renders the same data as a static HTML page.
Use mocks when a skill expects access to an external API or MCP server but you want evals to stay local, deterministic, and safe. Test a skill that calls the Render API without hitting Render. Test a skill that uses your in-house MCP server without standing it up.
Import a mock from an OpenAPI spec or an MCP server repo:
skillet mock import openapi ./fixtures/render-openapi.json --name render
skillet mock import mcp ./fixtures/render-mcp-server --name render-toolsEach call adds an entry to skillet.config.yaml and writes .skillet-evals/mocks/<name>/manifest.json with the imported HTTP routes and tool descriptors:
mocks:
render:
openapi: ./fixtures/render-openapi.json
render-tools:
mcpServer: ./fixtures/render-mcp-serverEach eval case can then opt in to one or more configured mocks and supply per-test scenario state and overrides:
{
"id": 1,
"prompt": "Debug why my service is unhealthy.",
"mocks": {
"render": {
"state": {
"services": [{ "id": "svc_123", "name": "api", "status": "unhealthy" }],
"deploys": [{ "id": "dep_123", "serviceId": "svc_123", "status": "failed" }]
},
"overrides": {
"GET /services/{id}": { "responseFromState": "services[id]" },
"tool:list_services": { "responseFromState": "services" }
}
}
},
"assertions": ["Identifies svc_123 as unhealthy", "Connects it to the failed deploy"]
}Each eval run gets its own isolated mock state and local HTTP server, included in grading context so assertions can reference the final state. Parallel evals do not share mock state.
Each skill includes an evals.json file with test cases:
{
"skill_name": "code-review",
"evals": [
{
"id": 1,
"prompt": "Review app.py for bugs and security issues.",
"files": ["fixtures/app.py"],
"assertions": [
"Identifies the SQL injection vulnerability",
"Writes a review.md file with organized findings"
]
}
]
}Evals support single prompts and multi-turn conversations via a turns array. Skillet recognizes both the flat layout (<skill>/evals.json with fixtures under <skill>/fixtures/) and the skill-creator layout (<skill>/evals/evals.json with fixtures under <skill>/evals/files/).
An evals.json file can also declare top-level providers (filters which configured providers run for this skill) and mocks (a list of mock names this skill depends on, optionally with inline definitions):
{
"skill_name": "code-review",
"providers": ["openai", "anthropic"],
"mocks": ["render"],
"evals": [ ... ]
}When you expose http, Skillet imports GET, POST, PUT, PATCH, and DELETE operations from the OpenAPI spec (JSON or YAML, must be the document itself with openapi and paths). Path parameters like /services/{id} are matched on incoming requests, and application/json example responses are used as defaults. For GET routes, Skillet can resolve common collection state automatically (so /services/{id} resolves an item from state.services). Route override keys use the format METHOD /path/{param}.
When you expose tools, Skillet imports tool definitions from a GitHub repo URL, a local path with a README tool list, or a directory of tool descriptor JSON files. README import supports the format - **tool_name** - Description followed by parameter bullets. Tool override keys use the format tool:<tool_name>. You can also declare explicit tools in skillet.config.yaml under a mock's tools: list.
Use responseFromState to return data from the eval scenario state:
servicesreturnsstate.servicesservices[id]finds an item instate.serviceswhoseidmatches the route or tool argument namediddeploys[serviceId]finds an item whoseidorserviceIdmatches the argument namedserviceId
For static responses, use response: { ... } instead of responseFromState.
Every skillet eval run writes <stamp>.manifest.json next to the benchmark JSON. It records every input that shaped the run:
{
"run_id": "2026-05-03T17-04-12",
"skillet_version": "0.2.0",
"skills": [
{ "path": "./my-skill", "content_sha256": "…", "skill_version": "1.0.0" }
],
"providers": [
{ "name": "anthropic", "model": "claude-sonnet-4-6" },
{ "name": "openai", "model": "gpt-5.4" }
],
"mocks": [
{ "name": "render", "openapi": "./fixtures/render-openapi.json", "openapi_sha256": ["…"] }
],
"eval_config": {
"evals_json_sha256": "…",
"evals_run": [1, 2, 3],
"runs_per_provider": 1
}
}LLM calls aren't bit-reproducible, so a replay won't be byte-identical — but if results drift, the manifest pinpoints which input changed (skill content, mock spec, eval case, provider).
skillet eval init can scaffold .github/workflows/skillet-evals.yml, which validates eval definitions, runs model evals, writes a job summary, comments on the pull request with results, and uploads .skillet-evals/results artifacts plus a static HTML report.
init also offers an opt-in to host the report on Render. It writes a render.yaml for a static site that serves an eval-reports branch where each PR's report is published under pr-<N>/. The PR comment then prepends a link to <your-service>.onrender.com/pr-<N>/ whenever the SKILLET_REPORT_BASE_URL repo variable is set.
skillet eval init # interactive setup → skillet.config.yaml
skillet eval scaffold # create a SKILL.md + evals.json starter
skillet eval validate # check eval definitions
skillet eval generate ./my-skill # generate eval cases from a SKILL.md
skillet eval fixtures ./my-skill # generate fixture files referenced by evals
skillet eval run # run evals across configured providers
skillet eval report # render results as static HTML
skillet eval serve ./my-skill # local UI for browsing results
skillet eval compare a.json b.json # diff two benchmark JSON files
skillet mock import openapi <spec> # import an OpenAPI spec as a mock
skillet mock import mcp <repo> # import an MCP server repo as a mockConfigure API keys via ANTHROPIC_API_KEY, OPENAI_API_KEY, and GOOGLE_API_KEY. Results are written to .skillet-evals/results/<skill-name>/ and reports to .skillet-evals/report/.
If you've authored evals with Anthropic's skill-creator skill (evals.json, eval_metadata.json, benchmark.json), Skillet reads them with minimal changes — it extends the schema with multi-provider runs and mocks but stays compatible with the core fields.
packages/skillet/ # Main TypeScript CLI and eval engine
packages/skillet-eval-python/ # Python reference eval engine
schemas/ # Shared JSON schemas (evals, benchmarks, config, grading)
fixtures/skills/ # Sample skills used for eval testing
fixtures/golden/ # Reference benchmark outputs for regression testing
Prerequisites: Node.js 20+, pnpm.
pnpm install && pnpm build
pnpm test
pnpm typecheck
pnpm checkThe release workflow runs when you push a tag matching v*.
- Bump
packages/skillet/package.jsonto the version you want to release and push the commit tomain. - Run
pnpm release:tagto create and pushv<version>(or pass a version explicitly:pnpm release:tag 0.2.0). - GitHub Actions then runs verification, uploads
render-lab-skillet-<version>.tgzandrender-lab-skillet-latest.tgz, and publishes@render-lab/skilletto npm.
To pin a specific release tarball: pnpm add -D "https://github.com/render-lab/skillet/releases/download/v<version>/render-lab-skillet-<version>.tgz".
MIT
Runs copy the skill's root Markdown files and references/ tree into the working
directory, preserving relative paths, including with a separate --evals file.
Bundled reference symlinks are rejected. Explicit files keep their existing
basename placement; a collision with a bundled document fails clearly. Unchanged
bundled documents are excluded from collected output files.
Shell commands receive PATH and essential Windows runtime variables, with HOME, config/cache paths and temporary directories pointing into the run directory. Provider keys, CI tokens, proxy credentials and other parent environment variables are not inherited. This is environment filtering, not OS-level filesystem or network isolation; run untrusted evaluations in a disposable isolated runner.
A response with no text or tool calls is recorded as error_kind: empty_response,
with usage and the provider's stop reason when available. It is not sent to the
grader: it has zero graded assertions and an error, not a behavioral pass or fail.
Tool-only runs and textual refusals still receive normal grading. Existing
benchmark files remain readable.
Mock tool JSON Schema is passed to providers without a lossy Zod round-trip, preserving nested objects, array items, required fields, enums, and descriptions. The MCP README importer recognizes indented object fields and arrays of objects; README prose remains a best-effort source. Prefer explicit inline or JSON tool descriptors for exact contracts.
Set SKILLET_SAVE_TRANSCRIPTS=1 when running evals to include raw steps, arguments, tool results, and provider stop reasons in completed run reports, including empty-response results. It is off by default. Transcripts can contain secrets: use synthetic credentials and review artifacts before sharing them. The model grader can accept an invalid call; inspect raw arguments against the contract when correctness depends on their exact shape. This option does not add deterministic schema validation to mock handlers.
