Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mifunedev/openharness --skill weighgit clone --depth 1 https://github.com/mifunedev/openharnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mifunedev/openharness/weigh)<a href="https://agentmods.dev/skills/mifunedev/openharness/weigh"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/weigh/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mifunedev/openharness/weigh"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/weigh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00197 | $0.02715 |
| Opus 5.5 | $0.00079 | $0.01086 |
| Sonnet 5.5 | $0.00039 | $0.00543 |
| Haiku 4.5 | $0.00020 | $0.00271 |
Grade A, and why
weigh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
weigh — weighted-trajectory selection
Run sample → attach signals → weight → select over one task. The model side
proposes candidate trajectories (this is the Workflow tool's substrate — its
judge-panel / adversarial-verify sampling); the harness owns the weight
function that picks among them: scripts/score-trajectories.mjs, a pure,
zero-dep, frozen-weights scorer. See references/workflow-shape.md for the seam
and references/scoring.md for the weighting contract.
Core principle: the model proposes, the scorer disposes. Selection is a deterministic, version-controlled, reconstructable weighted sum — not a vibe.
disable-model-invocation: truesuppresses auto-invocation only — the model never fires/weighon its own (it spawns N agents and burns tokens). A user-typed/weighruns the full procedure below, including the Step-2 sampling fan-out.allowed-toolsincludesAgentbecause Step 2 spawns the N sampling agents — without it the sampling step cannot run.
Result tag
Announce exactly one human result tag at the end of the run:
RESULT: SELECTED | NO-SELECTION | DRY-RUN
| Tag | Meaning |
|---|---|
SELECTED |
The scorer ran and returned a selected id (or top-K for synthesis). |
NO-SELECTION |
Every trajectory broke the hard floor — the scorer returned { selected: null, reason: "NO-SELECTION", floorViolations }. Report the floor that killed them; do not promote a failure. |
DRY-RUN |
--dry-run was passed: the sampling plan was printed and the run stopped after Step 1. |
Steps
Step 1 — Resolve config (and --dry-run gate)
Parse $ARGUMENTS:
| Setting | Default | Notes |
|---|---|---|
task / --cohort <path> |
(required) | A task string to sample for, OR a pre-assembled cohort JSON to score directly (skip Steps 2–3). |
--n N |
4 | Number of trajectories to sample. Hard cap 8 (mirrors /delegate wave discipline + the cost risk). Clamp N into [1, 8]. |
--method |
best-of-n |
One of best-of-n (argmax), vote (largest self-consistency cluster), softmax, synthesis (top-K). |
--weights <json> |
frozen DEFAULT_WEIGHTS |
Passed through to the scorer verbatim (single shell token); the scorer's validateWeights() rejects bad vectors. --weights '{"consistency":30,"evalPass":20,"auditPass":15,"cost":10,"judge":0}' → a fully deterministic, judge-free weight. |
--soft |
off | Convert the hard eligibility floor into a down-weight (least-bad pick allowed). |
--dry-run |
off | Print the sampling plan (N, angles, method, weights) and stop here — spawn no agents. Announce RESULT: DRY-RUN, run Step 6's log, stop. |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 189 lines · 197 tokens per session scan A ca3eb51bb204
weigh is a skill published in the GitHub repository mifunedev/openharness (37 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 197 tokens to every session and 2,715 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
weigh compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| weighmifunedev/openharness | Skill | 37 | 2mo ago | Apache-2.0 | A | 197 | Claude Code |
| data-visualizationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 40 | Claude Code, Codex |
| cuml-machine-learninglangchain-ai/deepagents | Skill | 32k | today | MIT | A | 43 | Claude Code, Codex |
| blog-postlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 58 | Claude Code, Codex |
| social-medialangchain-ai/deepagents | Skill | 32k | today | MIT | A | 58 | Claude Code, Codex |
| rememberlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 71 | Claude Code, Codex |
| cudf-analyticslangchain-ai/deepagents | Skill | 32k | today | MIT | A | 51 | Claude Code, Codex |