harn-providers

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

A Harn guide for configuring language-model providers, routing requests to models, defining structured outputs, and testing provider behavior.

In plain words
What is it for?
Use it when connecting or debugging model providers, choosing routes, requiring JSON or schema-based responses, or configuring retries and mock providers.
Why use it?
It helps keep provider choices explicit and makes automated tests work without requiring live vendor credentials.

Skill for Claude Code

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

Good fit Use it when connecting or debugging model providers, choosing routes, requiring JSON or schema-based responses, or configuring retries and mock providers.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-providers"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-providers.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 1,450 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.01450
Opus 5 $0.00013 $0.00725
Sonnet 5 $0.00005 $0.00290
Haiku 4.5 $0.00003 $0.00145

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

Security

Grade A, and why

harn-providers 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 10d 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-providers/SKILL.md · 139 lines

How it starts

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

Harn providers

Use this skill when wiring or debugging LLM providers, model routes, structured output, connector providers, or provider readiness.

Pair it with [[harn-orchestration]] for workflow behavior and [[harn-testing]] for deterministic provider fixtures.

Start here

  • docs/llm/harn-quickref.md documents llm_call and llm_stream_call.
  • The quickref also covers provider: "auto", schemas, and retries.
  • docs/llm/harn-triggers-quickref.md documents connector provider manifests.
  • LLM configuration and routing live under crates/harn-vm/src/.
  • Package/provider manifest handling lives under crates/harn-cli/src/package/.
  • Provider capability rows are surfaced by CLI matrix commands.
  • Mock providers are the default for deterministic tests.
  • Never require live credentials in ordinary CI.

llm_call options

  • Keep provider explicit when behavior depends on a vendor.
  • Use provider: "auto" only when capability-based routing is acceptable.
  • Keep model optional only when routing policy can choose safely.
  • Express structured output through output: "json", a schema, or {schema, strict?, validation?, stream_abort?}.
  • Preserve schema_retries and repair behavior.
  • Compose system text with the single system string-or-fragment-list option.
  • Use effort and speed for provider-neutral intent.
  • Use timeout_ms and idle_timeout_ms; both are milliseconds.
  • Put wire-specific fields below provider_options.<provider>.
  • Treat portable generation options as required caller intent. An authored capability denial is a terminal invalid_request; adapters must not drop it.
  • Unknown custom generation routes remain open-world. Explicit cache: true and prompt_cache_ttl require authored support because cache lowering is provider-specific; TTL values must be listed in prompt_cache_ttls.
  • Let cache_breakpoint_style choose the request marker location. Provider adapters must use the canonical lowering and preserve explicit caller markers.
  • Keep provider tool execution distinct with provider_tools.
  • Preserve tool-call format negotiation and cost controls.
  • Preserve mock-provider determinism.

Read the full file on GitHub · 139 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. 10d ago First seen · 139 lines · 25 tokens per session scan A 943efde1fa4a

Subscribe to this mod's changes

harn-providers 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 1,450 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.

Related

Other skills, from other repositories

archestra-dev-llm-providers

Use when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching provider credentials/enums and model constants.

archestra-ai/archestra · 49 tokens

translate

A translation tool for converting user-provided text between languages, with Chinese and English as the default pair.

RTGS2017/NagaAgent · 40 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

hugging-face-model-trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV…

patchy631/ai-engineering-hub · 131 tokens

hugging-face-datasets

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

patchy631/ai-engineering-hub · 49 tokens