# Repository Briefing: darkrishabh/agent-skills-eval
> Source: https://repoforai.com/repo/darkrishabh/agent-skills-eval (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/darkrishabh/agent-skills-eval
- **Official Docs / Website**: https://darkrishabh.github.io/agent-skills-eval/
- **Category**: LLMs & Inference (大模型与推理微调)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A (78/100 · Maintenance 35/35 · Adoption 12/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI, API
- **Momentum**: 822 ★ total (+1 24h / +3 7d) · 45 forks
- **Topics**: `agent-evals`, `agent-skills`, `agentskills`, `ai-agents`, `cli`, `jsonl`, `llm-evals`, `llm-evaluation`, `openai-compatible`, `typescript`, `yaml`
- **When to Use**: Best for: Teams maintaining agentskills.io skill libraries that want a CI regression check and inspectable comparisons of outputs with and without skill context. Skip if: Your primary requirement is turnkey testing of live MCP execution, multi-turn agent behavior, or production runtime identity.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Paired evaluation: `--baseline` runs the same prompt with and without skill context, then grades each output independently against the same assertions.
- Skill validation: Recursively discovers `SKILL.md`; strict mode checks frontmatter constraints and the skill name’s match to its parent directory.
- Grading: Promotes `expected_output` to a judge assertion when explicit assertions are absent; supports deterministic `tool_assertions` for captured calls.
- Backend integration: Ships an OpenAI-compatible chat provider and exposes a TypeScript `Provider` interface for custom backends and test mocks.
- Inspectable artifacts: Writes per-variant output, timing and grading, plus aggregate `benchmark.json`; supports JSONL event logs and a static HTML report.
- CI controls: YAML configuration with CLI overrides, include/exclude globs, eval-ID selection, and a default concurrency of four cases.
```

## Quick Start / Clone
```bash
npx agent-skills-eval ./skills \
  --target gpt-4o-mini \
  --judge gpt-4o-mini \
  --baseline \
  --strict
```
