add-provider
БесплатноБез исполняемых скриптовНе проверенAdd a DeepChat LLM provider through explicit reviewed source changes. Use when a developer asks Codex to add a provider, provider profile, upstream provider…
от ThinkInAIXYZ★ 6 419 звёзд на GitHubОб этом скилле
Add Provider
Goal
DeepChat owns provider presets, credentials, model discovery, and model capability metadata.
The built-in agent sends requests through Dim's native drivers. Keep shared model catalog data
in PublicProviderConf and verify the driver independently of the catalog entry.
Required Inputs
Collect or derive these before editing source:
- Provider ID in kebab case.
- Display name.
- API type or known transport family.
- Default base URL.
- Auth type: API key, no auth, OAuth, profile credentials, or provider-specific credential.
- Model metadata source: built-in config, provider-db, config-db, live model fetch, or custom only.
- Test model ID and check strategy.
- Official website, API key URL, docs URL, model list URL.
- Request quirks: headers, endpoint suffixes, route rewrites, streaming shape, tool-call support, reasoning support, image/audio/embedding endpoints, or proxy requirements.
Supported Paths
Existing Driver
For a user-configured endpoint, use the matching API type to verify compatibility. In Add Provider,
OpenAI Completions sends /chat/completions and OpenAI sends /responses.
For a built-in preset, inspect defaults.ts, providerId.ts, and providerRegistry.ts
under src/main/provider/. The registry resolves the provider ID first, then its API type.
src/main/provider/providerTransport.ts selects the wire protocol, including per-model routes
for aggregators. src/main/agent/dim/modelCatalog.ts maps this protocol to the native driver.
A compatible new brand can reuse that driver without a Dim catalog entry or a Dim upgrade.
Change settings fields only when the existing form cannot represent the required configuration.
Special Provider
Choose the code owner based on the required behavior:
- Model discovery and connection checks live in
src/main/provider/, includingproviders/aiSdkProvider.tsandmanagers/providerInstanceManager.ts. - Interactive authentication lives in
src/main/provider/auth/and the typed provider routes. Followsrc/main/agent/dim/providerCredentials.tsandnative/dim-host/src/provider_connections.rsto deliver credentials and protected headers through the existing connection owner. - Request and stream compatibility must work with the driver shipped by this branch. Use a
supported driver configuration when possible. A new wire protocol or unsupported feature
needs driver support in Dim before DeepChat can expose it for the built-in agent.
Verify availability against the release and source commit in
resources/dim-runtime-lock.json.
Guardrails
- Do not introduce
ProviderRuntimeDefinition, generated runtime manifests, or runtime package-name inference. - Do not install provider SDK packages automatically.
- Do not execute provider logic in the renderer.
- Do not store new OAuth credentials in provider API-key fields.
- Keep secrets out of Dim model configuration, provider catalogs, and logs. Pass opaque references for credentials and protected headers.
- Do not add a special provider when a known transport and explicit config are sufficient.
- Reject the request when the required inputs cannot identify a safe path.
Workflow
- Read
docs/features/provider-runtime/spec.mdwhen the provider work touches the provider runtime scope. Also readplan.mdif it exists for an active provider-runtime goal. Treat any legacytasks.mdas migration input rather than another execution tracker. - Inspect the relevant files above and derive the effective endpoint, auth kind and native driver for the test model.
- Add the smallest explicit source changes for the selected path.
- Verify provider creation, auth handling, and model discovery as affected. For changes to request routing or driver behavior, send a built-in agent request through Dim. A successful model list or connection check does not exercise the native conversation path.
- Update an active SDD
plan.mdas coherent implementation slices land, when one exists. For a legacytasks.md, merge remaining work into the existing plan; without one, keep a single-slice complex bug checklist inspec.mdand createplan.mdfor feature, architecture, or multi-slice bug work. Do not update or recreate the task file. - Run:
pnpm run format
pnpm run i18n
pnpm run lint
pnpm run typecheck
Run focused main/renderer tests for any touched provider code.
Output Checklist
Report:
- Provider ID and API type.
- Selected path.
- Files changed.
- Native driver and any DeepChat-specific discovery or auth logic.
- Credential storage location.
- Model metadata source.
- Check strategy and test model.
- Validation commands run.
Установить add-provider в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-provider?
Add a DeepChat LLM provider through explicit reviewed source changes. Use when a developer asks Codex to add a provider, provider profile, upstream provider config, model catalog mapping, provider auth behavior, or a special provider adapter in this repository.
Как установить скилл add-provider?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-provider запускает скрипты?
Нет, скилл состоит только из инструкций (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