harn-approval-review

harn-approval-review is a skill for Claude Code from burin-labs/harn. It costs 27 tokens per session (1,844 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,844 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.01844
Opus 5.5 $0.00011 $0.00738
Sonnet 5.5 $0.00005 $0.00369
Haiku 4.5 $0.00003 $0.00184

Measured 1mo ago against content hash 1e722e92a54f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 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.

Matched deny rules never reach a reviewer, including allow_all. Their receipts record auto_review.unavailable_reason: "deny_rule" and reviewer_answered: false. Reviewers may answer asks and deliberately reviewable refusals such as side-effect ceilings. allow_all also preserves the catastrophic floor.

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),
})

Read the full file on GitHub · 179 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. 1mo ago Changed · +2 lines 1e722e92a54f
  2. 1mo ago Changed · +12 lines e16bea4830bd
  3. 2mo ago Changed c7ad3f49284d
  4. 3mo 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 (34 stars, last pushed 2d ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,844 once invoked, about $0.0001 per session on Opus 5.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.

Related

harn-approval-review compared with skills from other repositories

harn-approval-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harn-approval-reviewburin-labs/harnSkill342d agoApache-2.0C27Claude Code
translateRTGS2017/NagaAgentSkill1.5k29d agoAGPL-3.0A40Claude Code, Codex
self-host-studiodecocms/studioSkill419yesterdayMITA117Claude Code, Codex
flutter-appdecocms/studioSkill419yesterdayMITA78Claude Code, Codex
decocms-uidecocms/studioSkill419yesterdayMITA95Claude Code
slidesdecocms/studioSkill419yesterdayMITA40Claude Code, Codex
jira-releasedecocms/studioSkill419yesterdayMITA60Claude Code