harn-approval-review

harn-approval-review is a skill for Claude Code from burin-labs/harn. It costs 27 tokens per session (1,662 once invoked), scanned C, original, Apache-2.0.

A guide for configuring who responds when an automated task reaches a permission gate, including a person, an automatic model review, or an allow-all policy.

In plain words
What is it for?
Use it to configure approval handling in agent loops, adjust reviewer policy, and evaluate automatic reviews against real examples.
Why use it?
It clarifies the difference between deciding whether an action is allowed and deciding who answers an approval request; the reviewer does not replace the security boundary.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to configure approval handling in agent loops, adjust reviewer policy, and evaluate automatic reviews against real examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/burin-labs/harn/harn-approval-review
Install

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.

Any agent
npx skills add burin-labs/harn --skill harn-approval-review
Clone the repo
git clone --depth 1 https://github.com/burin-labs/harn

Made for: Claude Code.

Wrote 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.

agentmods badge for harn-approval-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/burin-labs/harn/harn-approval-review/github.svg)](https://agentmods.dev/skills/burin-labs/harn/harn-approval-review)
Your own site
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-approval-review"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-approval-review/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.

agentmods 80×15 button for harn-approval-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-approval-review"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-approval-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,662 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01662
Opus 5 $0.00014 $0.00831
Sonnet 5 $0.00005 $0.00332
Haiku 4.5 $0.00003 $0.00166

Measured 12d ago against content hash de1206aef0f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

harn-approval-review scanned grade C with 1 finding 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 12d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

`~/.ssh/id_rsa` while fixing a parser test". Only the corpus can.
crates/harn-skills/src/corpus/harn-approval-review/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Approval review

A permission gate that refuses work on a non-interactive run used to end the run. There was nobody to ask. The approval resolver decides who answers instead, and the reviewer is a model that answers by reading the refused action against the user's actual goal.

Pair with [[harn-agent]] for the loop this runs inside and [[harn-testing]] for what counts as evidence.

The reviewer is not a security boundary

It is a judgment layer above a boundary that stays exactly where it was. The sandbox is not relieved of its job because a reviewer exists, and no claim about this feature should imply otherwise. Cursor says the same of its own auto-review and is right to.

Two orthogonal axes

PolicyAction {allow, ask, deny} is the per-rule verdict. ApprovalResolver {host, auto_review, allow_all} is who answers when a rule says ask. They are separate types on purpose: PolicyAction is ranked and that rank drives most-restrictive-wins composition across the policy stack, so "is allow_all more restrictive than allow?" is a question with no answer and must never be asked.

  • host — ask a person. A surface that cannot reach one reports the ask as unsatisfiable rather than answering on their behalf.
  • auto_review — route to the reviewer. Headless and eval default.
  • allow_all — answer every ask yes. This is what yolo and full-auto mean, and it has one owner rather than a per-surface empty policy overlay.

allow_all does not lift the catastrophic floor. That is the one thing yolo still refuses.

Install a reviewer on a loop

import { approval_reviewer_for } from "std/agent/approval_review"

agent_loop(harness, task, system, {
  approval_policy: policy,
  approval_reviewer: approval_reviewer_for(harness, review_policy, goal),
})

goal is required, not optional. The reviewer's question is never "is this command dangerous" in the abstract — it is "does THIS goal authorize THIS action". A reviewer given no goal can only reason from the command, which is the weaker instrument and the one that produces both kinds of error.

Read the full file on GitHub · 165 lines

Changes

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.

  1. 12d ago First seen · 165 lines · 27 tokens per session scan C de1206aef0f4

Subscribe to this mod's changes

harn-approval-review is a skill published in the GitHub repository burin-labs/harn (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 1,662 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.