harn-providers

harn-providers is a skill for Claude Code from burin-labs/harn. It costs 25 tokens per session (2,258 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 2,258 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.02258
Opus 5.5 $0.00010 $0.00903
Sonnet 5.5 $0.00005 $0.00452
Haiku 4.5 $0.00003 $0.00226

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

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 · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 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 resolution lives under crates/harn-package/src/package/.
  • Provider manifest contracts live under crates/harn-vm/src/connectors/manifest/.
  • 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 · 193 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 · +6 lines 8470ce5d87c9
  2. 1mo ago Changed · +1 lines 77ab24d51140
  3. 2mo ago Changed · +9 lines 904cc90ea39e
  4. 2mo ago Changed · +38 lines ad0542083166
  5. 3mo 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 (34 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 2,258 once invoked, about $0.0001 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.

Related

harn-providers compared with skills from other repositories

harn-providers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harn-providersburin-labs/harnSkill34yesterdayApache-2.0A25Claude Code
archestra-dev-llm-providersarchestra-ai/archestraSkill4.5ktodaynoneA49Claude Code, Codex
translateRTGS2017/NagaAgentSkill1.5k29d agoAGPL-3.0A40Claude Code, Codex
thinking-out-loudShubhamsaboo/awesome-llm-appsSkill146ktodayApache-2.0A206Claude Code, Codex
azure-search-documents-dotnetmicrosoft/skillsSkill3.3k3d agoMITA102Claude Code
azure-ai-ml-pymicrosoft/skillsSkill3.3k3d agoMITA59Claude Code
capacitymicrosoft/skillsSkill3.3k3d agoMITA105Claude Code