darkrishabh/agent-skills-eval
TypeScript CLI and SDK for testing whether Agent Skills improve model outputs
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a TypeScript evaluation runner, not an inference server. Its npm package exposes the agent-skills-eval CLI and the evaluateSkills SDK entry point, with commander and js-yaml as its two runtime dependencies. It recursively discovers SKILL.md, reads cases from evals/evals.json, and sends each case to the target model with skill context. When baseline mode is enabled, it sends the same prompt again without that context. The judge grades each output independently against the same assertions.
The SDK accepts a Provider for each of the target and judge roles. The built-in provider uses OpenAI-compatible chat completions; a custom provider can call another backend or wrap an existing agent. The built-in path makes one chat-completion request per target run, apart from retries. It can capture function tool-call requests, but it neither executes them nor connects to MCP servers or runs a multi-turn agent loop.
Key Capabilities & Differentiators
Strict mode checks skill metadata, including name format, field lengths, and whether the skill name matches its parent directory. Markdown references can be added to the skill context, while scripts are exposed by manifest. Cases support file references, expected output, and assertions. If explicit assertions are omitted, expected_output can become a judge assertion. Per-eval settings and model parameters complement deterministic tool_assertions, which can check captured calls without relying on a judge's interpretation.
The workspace supports an iteration-N layout or the SDK's flat layout for multi-skill aggregation. grading.json, timing.json, and benchmark.json preserve case-level details and aggregate results. JSONL events support downstream processing, and the static HTML report shows side-by-side outputs, assertion-level grading evidence, prompts, timing, token usage, and tool calls when present.
Trade-offs & Limitations
Compared with a general-purpose LLM evaluation harness, this runner removes setup work when the unit under test is an agentskills.io directory: discovery, paired runs, and comparison artifacts are built in. Compared with a runtime-native harness, it trades execution fidelity for portability. The default result tells you how injected skill context affected a target model on these cases, not whether a production agent would discover the skill, execute a tool successfully, or finish a multi-step task.
Baseline mode adds a second generation and grading path, increasing model usage. The judge defaults to the target model, so use clear rubrics and inspect the underlying outputs before treating small differences as regressions. The MIT license covers the evaluator, not provider terms. Because reports can contain full prompts and outputs, restrict artifact access when using sensitive fixtures. Passing results do not attest to runtime identity or compliance.
Hardware & Deployment Guide
Run it on Node.js 18+ via npx agent-skills-eval or install the npm package for SDK integration. Configure an OpenAI-compatible endpoint through baseUrl or OPENAI_BASE_URL, and provide credentials through the configured environment variable, which defaults to OPENAI_API_KEY. YAML is suitable for checked-in run settings, while CLI flags override matching values. The default concurrency is four cases, so tune it to the endpoint's rate limits and capacity.
Hosted inference requires no GPU on the runner. For private or offline workflows, both model roles must use endpoints reachable within the environment, or SDK providers that do not depend on external services. Size local inference separately for the models, context lengths, and concurrency. The static report needs no application server. No latest release is listed; the experimental native runtime is a separate SDK entry point, with native adapters and CLI integration still under development.
--baseline runs the same prompt with and without skill context, then grades each output independently against the same assertions.SKILL.md; strict mode checks frontmatter constraints and the skill name’s match to its parent directory.expected_output to a judge assertion when explicit assertions are absent; supports deterministic tool_assertions for captured calls.Provider interface for custom backends and test mocks.benchmark.json; supports JSONL event logs and a static HTML report.Teams maintaining agentskills.io skill libraries that want a CI regression check and inspectable comparisons of outputs with and without skill context.
Your primary requirement is turnkey testing of live MCP execution, multi-turn agent behavior, or production runtime identity.
Quick Start & Installation
npx agent-skills-eval ./skills \ --target gpt-4o-mini \ --judge gpt-4o-mini \ --baseline \ --strict
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/darkrishabh/agent-skills-eval.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agent-skills-eval
How do I evaluate an existing agent or a non-OpenAI backend?
Provider interface and pass the provider to evaluateSkills. For a live agent integration, the adapter owns the tool loop and returns the resulting output and captured toolCalls. The built-in provider only captures tool-call requests; a recorded request is not proof of execution.Does the evaluator need a GPU, and how should I size CI runners?
Can we self-host it for commercial use and publish the reports internally?
When is this a better fit than a generic LLM evaluator or runtime-native harness?
SKILL.md is the change under test and you want skill discovery, a no-skill baseline, and comparable artifacts without wiring those up yourself. Use a general LLM evaluation harness for broader non-skill suites, or a runtime-native harness when skill discovery, real tools, and multi-turn behavior must be tested as deployed.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy