Turns a directory of Python checks and TOML judge files into a scored verifier for Harbor tasks. Drop criterion functions or LLM judge configs into your tests/ folder, run one uvx command, and get a reward.json back. The multi-reward setup is clean: subdirectories become separate dimensions (correctness/, quality/, structure/), each with its own score. Built-ins cover the usual suspects (file checks, command output, JSON comparisons), and you can write custom criteria with a @criterion decorator. The agent-as-a-judge mode is interesting but slow, it actually shells out to a CLI that can explore files. Honestly feels like the right level of abstraction if you're already writing Harbor tasks and don't want to hand-roll scoring logic.

skills.sh installs
1.3K
GitHub stars
6.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add harbor-framework/harbor --skill rewardkit --agent claude-code

Installs into .claude/skills of the current project.

Files

Help the user write task verifiers with Reward Kit. Reward Kit is a lightweight Python package that turns a directory of criteria files into a reward score. Each criterion is a Python function call or a TOML judge file; folders become separate rewards.

Setup in a Harbor task

Put criteria alongside test.sh in the task's tests/ directory:

tests/
├── test.sh
├── checks.py         # programmatic criteria
└── judge.toml        # optional LLM/agent judge

tests/test.sh:

#!/bin/bash
uvx --python '>=3.12,<3.14' --from 'harbor-rewardkit==0.2.*' rewardkit /tests

This runs all criteria in /tests/ against the workspace at /app and writes /logs/verifier/reward.json. Defaults match Harbor's conventions — no extra config needed.

If judge criteria need API keys, pass them through task.toml:

[verifier.env]
ANTHROPIC_API_KEY = "${ANTHROPIC_API_KEY}"

Ask whether Reward Kit should run in the agent's shared environment or in a separate verifier environment. Prefer a separate verifier environment when judge prompts, grading dependencies, API keys, or clean-room checks should not be available to the agent:

Sponsors

Details

Repository
github.com/harbor-framework/harbor
Category
AI & Agent Building
First seen
Jul 14, 2026

More from harbor-framework/harbor

All 2
1run-llama avatarllamaparserun-llama/llamaparse-agent-skillsUse this skill when the user asks to parse the content of an unstructured file (PDF, PPTX, DOCX...)1.3Kskills.sh installs
2github avatargeofeed-tunergithub/awesome-copilotUse this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published I1.3Kskills.sh installs
3neolabhq avatarupdate-docsneolabhq/context-engineering-kitUpdate and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs/, READMEs, JSDoc, and API docum1.3Kskills.sh installs
4thesysdev avataropenuithesysdev/openuiUse for building, debugging, integrating, migrating, or documenting OpenUI, OpenUI Lang, Agent Interface, OpenUI Cloud, @openuidev packages, streaming generativ1.3Kskills.sh installs
5ai-native-camp avatarcontent-digestai-native-camp/camp-2This skill should be used when the user asks to "콘텐츠 정리", "아티클 요약", "PDF 학습", "영상 정리", "트윗 정리", "digest", "summarize", "정리해줘", or provides a YouTube URL, X/Twit1.3Kskills.sh installs
6figma avatarcreate-design-system-rulesfigma/mcp-server-guideGenerates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design r1.3Kskills.sh installs