Agent skill · Audited from source
Rewardkit
skill · harbor-framework/harborApache-2.0 licenceAudited 8 Oct 2026 · source 59ec1b8a02cf
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 59ec1b8a02cf and found no filesystem, network or shell access and no hard-coded secrets. What it does: Write Harbor task verifiers using Reward Kit. Use when creating or editing a
Cite
Cite this page
ModelsAtlas. “Rewardkit (harbor-framework/harbor)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/harbor-framework/rewardkit
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
LOWInventory / provenanceinv.symlink · CLAUDE.md
CLAUDE.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · docs/CLAUDE.md
docs/CLAUDE.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 59ec1b8a02cf · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherharbor-framework GitHub organizationOwner of the repository this skill is read from
- Source folderharbor-framework/harbor/skills/rewardkitThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict59ec1b8a02cfA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Write Harbor task verifiers using Reward Kit. Use when creating or editing a
---
name: rewardkit
description: Write Harbor task verifiers using Reward Kit. Use when creating or editing a
task's tests/ directory, adding grading criteria, setting up LLM/agent judges, or designing
verifiers that produce a reward score.
---
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`:
```bash
#!/bin/bash
uvx --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`:
```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:
```toml
[environment]
network_mode = "no-network" # Agent env baseline — offline during agent.run()
[verifier]
environment_mode = "separate"
[verifier.environment]
network_mode = "public" # Verifier env baseline — LLM judge API calls
docker_image = "python:3.12-slim"
```
In shared mode, the verifier runs in the agent container and inherits
`[environment].network_mode`. Put `[verifier].network_mode` only when verify()
needs different network access than the agent phase (a phase override, not a
baseline). If agent and verifier need different baselines without runtime
switching, use `environment_mode = "separate"` and set
`[verifier.environment].network_mode`.
Judge criteria that call external APIs need a `public` baseline or allowlist on
the verifier environment. Programmatic checks that only read local files can use
`no-network`.
In separate mode, `tests/` is the verifier image build context and must provide
`/tests/test.sh` at runtime; Harbor does not upload `tests/` into the running
verifier container.
## Programmatic criteria
Call built-ins from any `.py` file in `tests/`:
```python
import rewardkit as rk
rk.file_exists("output.txt")
rk.file_contains("output.txt", "hello")
rk.command_succeeds("python main.py", weight=2.0)
rk.json_key_equals("result.json", "status", "ok")
```
All criteria accept `weight` (default `1.0`) and `isolated` (default `False`, runs in
overlayfs so side effects don't leak).
### Available built-ins
- **Files**: `file_exists`, `file_not_exists`, `file_contains`, `file_contains_regex`,
`file_matches`, `files_equal`, `diff_ratio`
- **Commands**: `command_succeeds`, `command_output_contains`, `command_output_matches`,
`command_output_matches_regex` (30s default timeout, optional `cwd`)
- **Data**: `json_key_equals`, `json_path_equals`, `csv_cell_equals`, `xlsx_cell_equals`
(needs `[office]` extra), `sqlite_query_equals`
- **HTTP**: `http_status_equals`, `http_response_contains`
- **Images**: `image_similarity`, `image_size_equals` (needs `[image]` extra)
- **Trajectory**: `trajectory_tool_used`, `trajectory_tool_not_used`, `trajectory_turn_count`
For extras, install with `uv tool install harbor-rewardkit[all]`.
## Custom criteria
Use the `@criterion` decorator. First parameter is always `workspace: Path`. Returns
`bool`, `float`, or a dict with `score` plus optional `reasoning`, `confidence`, and `model`:
```python
from pathlib import Path
from rewardkit import criterion
@criterion
def has_valid_output(workspace: Path) -> bool:
return (workspace / "output.txt").read_text().strip() != ""
```
Zero-parameter criteria auto-register. Criteria with extra args must be called via `rk`:
```python
@criterion(description="output has at least {n} lines")
def has_n_lines(workspace: Path, n: int) -> bool:
return len((workspace / "output.txt").read_text().splitlines()) >= n
rk.has_n_lines(10, weight=2.0)
rk.has_n_lines(50, weight=1.0)
```
For criteria shared across reward subdirs, define with `shared=True` in a root-level file
and call from subdirs.
## Judge criteria (LLM or agent-as-a-judge)
For subjective checks (quality, readability, edge cases), create a TOML file:
```toml
[judge]
judge = "anthropic/claude-opus-5-5" # LiteLLM model string
files = ["/app/main.py"]
[[criterion]]
description = "Is the code correct?"
type = "binary"
[[criterion]]
description = "How readable is the code?"
type = "likert"
points = 5
weight = 2.0
```
Criterion types:
- `binary` — yes/no → 1.0 or 0.0
- `likert` — 1..points, normalized to [0, 1]
- `numeric` — min..max, normalized to [0, 1]
- `rubric` — 2 to 10 described `levels` forming a scale from worst to best; position sets the score
### Agent judges
Agent judges shell out to a CLI and can explore the filesystem:
```toml
[judge]
judge = "claude-code"
model = "anthropic/claude-opus-5-5"
isolated = true
[[criterion]]
description = "Does the solution handle edge cases?"
type = "binary"
```
Slower and more expensive than LLM judges, but they can run commands and inspect files.
### JEV judge
JEV is a new type of language model from TypeSafe. It answers each criterion with a probability or a rubric
score and returns no reasoning, so it is fast and cheap. It needs the `jev` extra
(`harbor-rewardkit[jev]`) and `TYPESAFE_API_KEY`.
```toml
[judge]
judge = "jev"
files = ["/app/answer.md"]
[[criterion]]
description = "Does the answer address the requested task?"
[[criterion]]
description = "How complete is the answer?"
type = "rubric"
levels = ["Omits the information", "Covers part of it", "Covers all of it"]
```
Binary criteria pass aExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 59ec1b8
uvx --from 'harbor-rewardkit==0.2.*' rewardkit /tests
git clone https://github.com/harbor-framework/harbor git -C harbor checkout 59ec1b8a02cf
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 59ec1b8a02cf only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
59ec1b8a02cf
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/harbor-framework/rewardkit/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All testing skills →harbor-framework/harbor
Existing task skill that should remain after job-level skill injection.
harbor-framework/harbor
Scaffold a new Harbor benchmark adapter by running `harbor adapter init` and then guide implementation using the Adapters Agent Guide as the authoritative spec.
harbor-framework/harbor
Create a new Harbor task for evaluating agents. Use when the user wants to
harbor-framework/harbor
Generate a greeting message and write it to a file.
harbor-framework/harbor
Publish a Harbor task or dataset to the registry. Use when the user wants to upload, publish, or share tasks or datasets/benchmarks on the Harbor registry.
harbor-framework/harbor
Write the proof file for the Harbor runtime skill injection example.
Add this badge to your README
[](https://modelsatlas.com/skills/harbor-framework/rewardkit/)
<a href="https://modelsatlas.com/skills/harbor-framework/rewardkit/"><img src="https://modelsatlas.com/skills/harbor-framework/rewardkit/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Rewardkit
What does the Rewardkit skill do?
Is Rewardkit safe to install?
What can Rewardkit access on my machine?
What do I need installed to use Rewardkit?
How current is this page?
Sources
- github.com/harbor-framework/harbor/tree/main/skills/rewardkit — the audited source at commit 59ec1b8a02cf and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Rewardkit skill do?
- Is Rewardkit safe to install?
- What can Rewardkit access on my machine?