harn-language

harn-language is a skill for Claude Code from burin-labs/harn. It costs 25 tokens per session (2,030 once invoked), scanned A, original, Apache-2.0.

A language guide for writing and checking Harn programs, including its syntax, types, modules, imports, triggers, and standard patterns. Harn is a programming language used in this repository's scripts and tools.

In plain words
What is it for?
Writing, reviewing, and type-checking Harn code, creating script entry points, running focused checks, managing temporary files, handling conditional updates, and producing bounded JSONL logs.
Why use it?
It points developers to the language references and repository-specific commands, reducing mistakes when editing Harn files or handling files, logs, JSON, and shared state.

Skill for Claude Code

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

Good fit Writing, reviewing, and type-checking Harn code, creating script entry points, running focused checks, managing temporary files, handling conditional updates, and producing bounded JSONL logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/burin-labs/harn/harn-language
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-language
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-language

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-language"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-language.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.02030
Opus 5 $0.00013 $0.01015
Sonnet 5 $0.00005 $0.00406
Haiku 4.5 $0.00003 $0.00203

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

Security

Grade A, and why

harn-language 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 9d 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.

crates/harn-skills/src/corpus/harn-language/SKILL.md · 170 lines

How it starts

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

Harn language

Use this skill when writing, reviewing, or explaining .harn source code.

Pair it with [[harn-testing]] for fixtures and [[harn-diagnostics]] for user-facing errors.

Start here

  • Read docs/llm/harn-quickref.md before editing .harn files.
  • In a Harn worktree, run make setup once and use HARN_BIN_NO_BUILD=1 ./scripts/harn_bin.sh -- <command> for narrow CLI checks. This resolves the lane-local binary without starting a hidden Cargo build. Outside the repository, use the installed, pinned harn executable.
  • Use docs/llm/harn-triggers-quickref.md when trigger manifests are involved.
  • Read spec/HARN_SPEC.md as the assembled language reference.
  • Default new script entrypoints to fn main(harness: Harness) { ... } and route side effects through harness.*.
  • Use harness.fs.mkdtemp_in_workspace(prefix?) for scratch files that must be visible under sandbox policy; avoid composing .harn/tmp paths by hand.
  • Use typed std/fs conditional replacement for shared state or artifacts that must not overwrite a newer observation; branch on the closed receipt.
  • Use bounded std/jsonl pages for file-backed logs and transcripts. Apply a SchemaContract<T> when consumers need typed records and named rules.
  • For connector credentials, read canonical ids such as provider/access-token through harness.secrets from a package script; the runner scopes the default provider from the nearest harn.toml.
  • Edit the authoritative chapters under spec/chapters/*.md for spec changes; never hand-edit the generated spec/HARN_SPEC.md or docs/src/language-spec.md projections.
  • Regenerate and verify every spec projection with make sync-language-spec.
  • Check user-visible behavior with conformance fixtures under conformance/tests/.
  • Keep examples small enough for agents to copy without hidden setup.
  • Prefer existing syntax and stdlib helpers over new host-side shortcuts.
  • Put platform spellings, policy rows, and other closed configuration in one typed data-only module. Import that value into the evaluator and mechanically project it downstream instead of duplicating lists or host branches.

Read the full file on GitHub · 170 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. 9d ago First seen · 170 lines · 25 tokens per session scan A b9ed73c7b2f3

Subscribe to this mod's changes

harn-language is a skill published in the GitHub repository burin-labs/harn (21 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 2,030 once invoked, about $0.0001 per session on Opus 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.