Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

harn-providers

БесплатноБез исполняемых скриптовНе проверен

Use for Harn provider setup, model routing, provider capability matrices, and llm_call options.

burin-labsот 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.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.

Capability routing

  • Model capabilities should be data-driven.
  • Avoid hardcoding provider quirks in caller code.
  • Read provider identity, classification (local or hosted), and nested auth from harness.llm.provider_catalog().providers. These are projections of the authoritative catalog artifact; do not infer them from provider names.
  • Resolve message_wire_format and live_endpoint_family as 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. Use ladder: "<name>" for calls and harness.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_supported distinct from the public call option effort; 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_trip defaults to strip; use echo_signed only for signed blocks and echo_same_key only 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 call behavior 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
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить harn-providers с