harn-providers
БесплатноБез исполняемых скриптовНе проверенUse for Harn provider setup, model routing, provider capability matrices, and llm_call options.
от burin-labs★ 34 звезды на 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.mddocumentsllm_callandllm_stream_call.- The quickref also covers
provider: "auto", schemas, and retries. docs/llm/harn-triggers-quickref.mddocuments 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
providerexplicit when behavior depends on a vendor. - Use
provider: "auto"only when capability-based routing is acceptable. - Keep
modeloptional only when routing policy can choose safely. - Express structured output through
output:"json", a schema, or{schema, strict?, validation?, stream_abort?}. - Preserve
schema_retriesandrepairbehavior. - Compose system text with the single
systemstring-or-fragment-list option. - Use
effortandspeedfor provider-neutral intent. - Use
timeout_msandidle_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: trueandprompt_cache_ttlrequire authored support because cache lowering is provider-specific; TTL values must be listed inprompt_cache_ttls. - Let
cache_breakpoint_stylechoose 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.
Capability routing
- Model capabilities should be data-driven.
- Avoid hardcoding provider quirks in caller code.
- Read provider identity,
classification(localorhosted), and nestedauthfromharness.llm.provider_catalog().providers. These are projections of the authoritative catalog artifact; do not infer them from provider names. - Resolve
message_wire_formatandlive_endpoint_familyas one dialect for request, stream, response, and error handling. Do not choose a builder or parser independently from provider strings or response headers. - Put route-specific reasoning behavior in capability rows and resolve it with
harness.llm.apply_reasoning_policy; do not branch on model IDs, providers, families, or lineages in stdlib policy. - Put reusable ordered routes in catalog
[model_ladders.<name>]rows. Useladder: "<name>"for calls andharness.llm.model_ladder(name)when policy or tooling needs to inspect the steps. - Capability checks should describe both positive and negative support.
- JSON schema support is not the same as native JSON support.
- Keep capability-field names such as
reasoning_effort_supporteddistinct from the public call optioneffort; capability data may describe a wire mechanic that callers never spell directly. - Keep provider continuation metadata private and byte-exact. The capability
field
reasoning_round_tripdefaults tostrip; useecho_signedonly for signed blocks andecho_same_keyonly with a typed history wire field. - Vision, PDF, audio, tools, cache, and streaming support vary independently.
- Prompt scaffolding may differ by provider.
- Tool prompting may differ by provider.
- Assistant prefill support may differ by provider.
- Developer-role support may differ by provider.
- When routing changes, update the matrix tests or docs that expose it.
- Check every routed attempt after its link-specific model and option overrides resolve; admission belongs before rate limiting and provider transport.
Connector providers
- Connector packages should declare provider ids.
- Connector packages should declare supported event kinds.
- Connector packages should declare payload schemas.
- Inbound normalization should be deterministic.
- Optional polling should be explicit.
- Connector
callbehavior should be capability-gated. - Keep OAuth and secret handling out of docs and fixtures.
- Do not embed tokens in package manifests.
- Use package validation tests for manifest shape.
- Use trigger quickref examples for user-facing behavior.
Cost and reliability
- Cost ceilings should be caller-visible.
- Retry behavior should be bounded.
- Provider fallback should be explicit and auditable.
- Do not silently
Установить harn-providers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл harn-providers?
Use for Harn provider setup, model routing, provider capability matrices, and llm_call options.
Как установить скилл harn-providers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл harn-providers запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic