Command Palette

Search for a command to run...

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

add-byok-provider

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

Add or maintain a built-in BYOK media provider in the OpenMotion repository, including official API research, credentials, model discovery, generation…

nexu-ioот nexu-io★ 18 116 звёзд на GitHub

Об этом скилле

Add a BYOK provider

Use this repository-local contributor Skill to implement a provider through the existing openmotion_media_use Tool and Model Gateway. Read the checkout's AGENTS.md and follow its current development/PR rules. Paths below are relative to the repository root. This Skill stays in .agents/skills/; product guidance ships from root skills/.

Start with gateway behavior, then inspect the current callers and the closest existing adapter. Use Atlas for a shared image/video/audio prediction API, fal for returned queue URLs, WaveSpeed for authenticated discovery, and OpenDesign for a custom HTTPS gateway. Check current code instead of copying an entire provider or its assumptions.

Establish the provider contract

Find and read the provider's official API/model documentation. Record source links and the date checked in its reference. Establish:

  • Stable provider ID, display name, key-creation URL, API origin and authentication scheme.
  • Whether model discovery is public or authenticated, response fields, pagination and model-specific schema links.
  • Supported image/video/audio operations, exact model IDs, required fields and sample outputs. Separate speech from music/SFX and media files from transcription, text, training or 3D results.
  • Submit and poll endpoints, remote task identity, intermediate/terminal statuses, output retrieval, cancellation and idempotency semantics.
  • HTTP errors versus envelope/task codes, rate limits and uncertain outcomes. A 401 alone does not prove an incorrect key; consult the provider's actual semantics.

Implement only confirmed API behavior. Do not invent a model catalogue endpoint, account entitlement, unsupported modality, remote cancellation or refund. If documentation leaves a blocking ambiguity, explain the missing contract while continuing independent work.

Extend the existing integration

Inspect these boundaries and update the ones the provider needs:

Boundary Current source Required result
Provider registration shared/provider-registry.ts Register a dedicated provider's identity, setup links, API origin, endpoint editability, environment-key names and reference section here. Compatible presets are imported from shared/provider-presets.json. IDs and labels derive from this registry; do not add parallel lists in settings, HTTP or MCP.
Credentials and availability gateway/connections.ts, gateway/service.ts Reuse the shared configuration entry and existing file layouts, retaining saved-key priority, environment fallback, verification reset and save/remove semantics. A configured key enables the provider; it does not prove successful generation.
Model discovery gateway/catalog.ts, gateway/service.ts, optionally gateway/providers.ts Query the documented catalogue with the correct authentication. Normalize only supported media outputs; preserve pagination, caching and unavailable-catalogue warnings. Built-in fallback entries are optional examples, not a replacement for live discovery.
Generation gateway/providers.ts, or a focused provider module Implement ProviderAdapter.generate and register it in providerAdapters. Reuse persisted jobs, progress/remoteId, validation, downloads and project import.
Editor configuration gateway/settings.ts, studio/src/motion/ModelSettings.tsx Settings consumes registry metadata, including setup/reference links and endpoint editability. Reuse catalogue sync, capability filtering and the common default-model storage entry. Keep account authorization separate from provider API keys. Distinguish listed presets from implemented execution protocols.
Reference delivery shared/workflow.ts, server.ts, gateway/media-use.ts Register the provider document under media resources, plus the matching production alias kept for older clients, and include its HTTP reference route. Confirm inspect/reference/models accept and return the new ID.
User guidance skills/openmotion-media/references/providers/, references/jobs.md in that media Skill, relevant docs/ Maintain one provider reference, listed in the media job procedure and available through the Tool.

The public Tool already covers inspect/reference/models/generate/status/cancel. Reuse those actions; a supplier does not need its own MCP Tool or distributable Skill. Preserve the existing production routes and intentional UI visibility decisions. Tool and Skill lists come from their actual registries; do not introduce fixed quantity gates.

Request and credential boundaries

  • Inject keys only inside the service. Never read a contributor's real secret file, return a key to an Agent, add credentials to model parameters, or commit them. Use synthetic credentials in fixtures.
  • Use the exact model schema. Some speech models expect text, others prompt; the existing mode controls that mapping. Cloud speech additionally nests op
Полный SKILL.md на GitHub

Установить add-byok-provider в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/wire-examples.md

FAQ

Что делает скилл add-byok-provider?

Add or maintain a built-in BYOK media provider in the OpenMotion repository, including official API research, credentials, model discovery, generation adapters, editor configuration, provider references and verification. Use for contributor requests to integrate a supplier; ordinary media generation uses the openmotion-media Skill.

Как установить скилл add-byok-provider?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл add-byok-provider запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить add-byok-provider с