Skillgrade Graders logo

Skillgrade Graders

Community
mgechev
skillgrade-graders

Authors deterministic, LLM rubric, and human graders for skillgrade evaluations. Use when creating scoring scripts, writing evaluation rubrics, setting up human review workflows, or combining multiple graders with weighted scoring. Don't use for setting up eval pipelines, configuring eval.yaml defaults, or general test writing.

Overview

Publishermgechev
Repositoryskillgrade
Skill nameskillgrade-graders
Stars
722
Forks
49
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mgechev on GitHub. Read the source before you install it.

Installation

Install the Skillgrade Graders AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mgechev/skillgrade/tree/main/skills/skillgrade-graders
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mgechev/skillgrade.git /tmp/skillgrade
mkdir -p .claude/skills
cp -r /tmp/skillgrade/skills/skillgrade-graders .claude/skills/skillgrade-graders
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skillgrade Graders in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skillgrade Graders on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skillgrade Graders is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skillgrade Grader Authoring

Procedures

Step 1: Identify the Grading Strategy

  1. Determine which grader types the task needs:
    • Deterministic: objective verification — file checks, output comparison, test execution.
    • LLM rubric: qualitative assessment — workflow compliance, code quality, reasoning.
    • Human: subjective judgment — design fidelity, UX, documentation clarity.
  2. For most tasks, combine deterministic (weight 0.7) and LLM rubric (weight 0.3).
  3. Add a human grader when automated checks can't reliably measure quality.

Step 2: Write a Deterministic Grader

  1. Create a script in the skill's graders/ directory (bash or TypeScript).
  2. The script must output a JSON object to stdout with the following structure:
    json
    {"score": 0.67, "details": "2/3 checks passed", "checks": [{"name": "check-name", "passed": true, "message": "Description"}]}
  3. score (0.0–1.0) and details are required. checks is optional but recommended.
  4. Read references/grader-output-schema.md for the full output specification.
  5. Use awk for arithmetic in bash scripts — bc is not available in node:20-slim.
  6. Access task context via SKILLGRADE_INPUT env var (JSON with task, trial, expected, metadata).
  7. Reference the grader in eval.yaml:
    yaml
    - type: deterministic
      run: bash graders/check.sh
      weight: 0.7

Step 3: Write an LLM Rubric Grader

  1. Draft a rubric with explicit scoring criteria and point allocations.
  2. Structure the rubric into weighted sections that sum to 1.0:
    Workflow Compliance (0-0.5):
    - Did the agent follow the mandatory workflow steps?
    Efficiency (0-0.5):
    - Completed in ≤5 commands without trial-and-error?
  3. Reference the rubric in eval.yaml:
    yaml
    - type: llm_rubric
      rubric: |
        [rubric text or file path]
      weight: 0.3
      provider: gemini               # optional: gemini (default) | anthropic | openai
      model: gemini-3.5-flash        # optional model override (defaults to the latest dynamically resolved flash model)
  4. For long rubrics, store in a separate file and reference by path: rubric: rubrics/quality.md.

Step 4: Write a Human Grader

  1. Define a prompt that tells the reviewer what to evaluate:
    yaml
    - type: human
      prompt: |
        Does the generated UI match the design spec?
        Check layout, colors, and responsive behavior.
      weight: 0.5
  2. When the grader runs, it writes context to <workspace>/.review/<task>-<trial>.json and prints a banner.
  3. The reviewer writes a result file at <workspace>/.review/<task>-<trial>.result.json:
    json
    {"score": 0.8, "details": "Layout matches, colors are off on mobile"}
  4. The grader polls for the result file (30-minute timeout).

Step 5: Combine Multiple Graders

  1. Assign weights to each grader based on importance. Weights are normalized automatically.
  2. Final reward is calculated as: Σ (grader_score × weight) / Σ weight.
  3. Example configuration:
    yaml
    graders:
      - type: deterministic
        run: bash graders/check.sh
        weight: 0.7      # 70% — did it work?
      - type: llm_rubric
        rubric: rubrics/quality.md
        weight: 0.2      # 20% — was the approach good?
      - type: human
        prompt: Is the output production-ready?
        weight: 0.1      # 10% — human sign-off

Step 6: Write Graders for Multi-Turn Tasks

  1. Each turn in a multi-turn task can have its own graders.
  2. Graders run after each turn completes — they see the cumulative workspace state.
  3. Grader results from all turns are aggregated into the trial's final reward.

Step 7: Write Graders for Dataset Tasks

  1. For dataset-expanded tasks, each row's data is available as expected in SKILLGRADE_INPUT.
  2. Write one grader script that uses expected to dynamically check the correct answer:
    js
    const { expected } = JSON.parse(process.env.SKILLGRADE_INPUT);
    const answer = JSON.parse(fs.readFileSync('answer.json', 'utf8'));
    const score = answer.result === expected.expected_output ? 1 : 0;

Step 8: Validate Graders

  1. Create a reference solution script that produces the expected output.
  2. Run skillgrade --validate to verify graders score the reference solution correctly.
  3. Test only deterministic graders: skillgrade --grader=deterministic (skips LLM calls, faster iteration).
  4. Test only LLM rubric graders: skillgrade --grader=llm_rubric.
  5. Run a specific eval with a specific grader type: skillgrade --eval=my-eval --grader=deterministic.
  6. If a grader returns unexpected scores, inspect the script output and adjust scoring logic.

Error Handling

  • If a deterministic grader outputs non-JSON, ensure all echo/console.log statements except the final JSON result are redirected to stderr.
  • If an LLM rubric grader returns 0.00 with a missing API key message, set the appropriate key for your provider: GEMINI_API_KEY (provider: gemini), ANTHROPIC_API_KEY (provider: anthropic), or OPENAI_API_KEY (provider: openai).
  • To use a custom/self-hosted LLM endpoint, set ANTHROPIC_BASE_URL (for provider: anthropic) or OPENAI_BASE_URL (for provider: openai) — e.g. for Ollama or vLLM.
  • If scores are inconsistent across trials, reduce rubric ambiguity by adding concrete examples of passing and failing behavior.
  • If a human grader times out (30 minutes), it returns a score of 0. Write the result file promptly.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Skillgrade Graders AI skill do?

Authors deterministic, LLM rubric, and human graders for skillgrade evaluations. Use when creating scoring scripts, writing evaluation rubrics, setting up human review workflows, or combining multiple graders with weighted scoring. Don't use for setting up eval pipelines, configuring eval.yaml defaults, or general test writing.

Why use Skillgrade Graders on TypingMind?

Because you install it once and use it with any model. Skillgrade Graders is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skillgrade Graders in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mgechev/skillgrade/tree/main/skills/skillgrade-graders. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Skillgrade Graders?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skillgrade Graders?

As many as you like. As long as a model supports skills, you can use Skillgrade Graders with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skillgrade Graders AI skill free?

Yes. It is published on GitHub by mgechev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇