skillgrade-setup
- Repo stars 490
- Author updated Live
- Author repo skillgrade
- Domain
- Writing
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @mgechev · no license declared
- Token usage
- Lean
- Setup complexity
- Manual integration
- External API key
- Required · OpenAI / Anthropic / Gemini
- Operating systems
- Docker
- Runtime requirements
- Node.js · Docker
- Permissions
-
- Read-only
- Write / modify
- Env read
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skillgrade-setup
description: Sets up and runs skillgrade evaluation pipelines for Agent Skills. Use when initializing eval co…
category: writing
runtime: Node.js / Docker
---
# skillgrade-setup output preview
## PART A: Task fit
- Use case: Sets up and runs skillgrade evaluation pipelines for Agent Skills. Use when initializing eval configurations, running trials, reviewing results, or integrating with CI. Don't use for writing grader scripts, general test authoring, or non-agentic documentation..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Procedures / Error Handling” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Sets up and runs skillgrade evaluation pipelines for Agent Skills. Use when initializing eval configurations, running trials, reviewing results, or integrating with CI. Don't use for writing grader scripts, general test authoring, or non-agentic documentation.”.
- **02** When the source has headings, the agent prioritizes “Procedures / Error Handling” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, read environment variables; may access external network resources; requires OpenAI / Anthropic / Gemini API keys.
## Running Rules
- read files, write/modify files, read environment variables; may access external network resources; requires OpenAI / Anthropic / Gemini API keys.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, read environment variables.
Start with a small task and check whether the result follows “Procedures / Error Handling”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skillgrade-setup
description: Sets up and runs skillgrade evaluation pipelines for Agent Skills. Use when initializing eval co…
category: writing
source: mgechev/skillgrade
---
# skillgrade-setup
## When to use
- Sets up and runs skillgrade evaluation pipelines for Agent Skills. Use when initializing eval configurations, running…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Procedures / Error Handling” and keep inference separate from source facts.
- read files, write/modify files, read environment variables; may access external network resources; requires OpenAI / Anthropic / Gemini API keys.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skillgrade-setup" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Procedures / Error Handling
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js / Docker | read files, write/modify files, read environment variables | may access external network resources
guardrails -> requires OpenAI / Anthropic / Gemini API keys + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Skillgrade Evaluation Setup
Procedures
Step 1: Install Skillgrade
- Verify Node.js 20+ and Docker are available.
- Run
npm i -g skillgradeto install the CLI globally.
Step 2: Initialize an Eval Configuration
- Navigate to the skill directory (must contain a
SKILL.md). - Set the appropriate API key environment variable (
GEMINI_API_KEY,ANTHROPIC_API_KEY, orOPENAI_API_KEY). - Run
skillgrade initto generate aneval.yamlwith AI-powered tasks and graders. - If an
eval.yamlalready exists, pass--forceto overwrite:skillgrade init --force. - Without an API key, a well-commented template is generated instead.
Step 3: Configure eval.yaml
- Read
references/eval-yaml-spec.mdfor the full configuration schema. - Define one or more tasks under the
tasks:key. Each task requires:name: unique task identifierinstruction: what the agent should accomplishworkspace: files to copy into the evaluation containergraders: one or more scoring mechanisms (see theskillgrade-gradersskill)
- Optionally configure
defaults:for agent, provider, trials, timeout, and threshold.
Step 4: Run Evaluations
- Select an appropriate preset based on the evaluation goal:
--smoke(5 trials): Quick capability check.--reliable(15 trials): Reliable pass rate estimate.--regression(30 trials): High-confidence regression detection.
- Run the evaluation:
skillgrade --smoke. - Run a specific eval by name:
skillgrade --eval=fix-linting. - Run multiple evals:
skillgrade --eval=fix-linting,write-tests. - Run only deterministic graders (skip LLM calls):
skillgrade --grader=deterministic. - Run only LLM rubric graders:
skillgrade --grader=llm_rubric. - The agent is auto-detected from the API key. Override with
--agent=gemini|claude|codex. - Override the provider with
--provider=docker|local.
Step 5: Review Results
- Run
skillgrade previewfor a CLI report. - Run
skillgrade preview browserto open the web UI athttp://localhost:3847. - Reports are saved to
$TMPDIR/skillgrade/<skill-name>/results/. Override with--output=DIR.
Step 6: Integrate with CI
- Add a GitHub Actions step that installs skillgrade, navigates to the skill directory, and runs with
--regression --ci --provider=local. - Use
--provider=localin CI — the runner is already an ephemeral sandbox, so Docker adds overhead without benefit. - The
--ciflag causes a non-zero exit code if the pass rate falls below--threshold(default: 0.8). - Read
references/ci-example.mdfor a complete workflow template.
Error Handling
- If
skillgrade initfails with "No SKILL.md found," verify the current directory contains a validSKILL.mdfile. - If evaluation hangs, check Docker is running and the container has network access for API calls.
- If all trials fail with "No API key," ensure the environment variable is exported, not just set inline for a different command.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review