mcpbeat Sign in

Add Provider Skill for Codex

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.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
6187
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/ThinkInAIXYZ/deepchat --skill add-provider

The instruction itself

10 sections, as written by the author

Add Provider

Goal

Generate DeepChat provider integration changes against the current provider architecture. Keep

provider display data in PublicProviderConf, map runtime behavior to known transports, and use a

special provider implementation only when the API behavior requires one.

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

OpenAI-Compatible API

Use this when the provider supports OpenAI Chat Completions or Responses-compatible HTTP APIs.

Typical files:

  • src/main/provider/defaults.ts
  • src/main/provider/providerId.ts
  • src/main/provider/providerRegistry.ts
  • src/shared/providerDbCatalog.ts when models come from the public provider database
  • test/main/** provider registry or creation tests

Existing Native Transport

Use this when the provider maps to an existing DeepChat transport such as Anthropic, Gemini, Vertex,

Azure, Bedrock, Ollama, or ACP.

Typical files:

  • src/main/provider/defaults.ts
  • src/main/provider/providerRegistry.ts
  • Settings components only when the existing generic form lacks required fields
  • Focused tests for provider creation and connection checks

Special Provider

Use this when auth, request shape, streaming, discovery, or error handling differs from existing

transports.

Typical files:

  • src/main/provider/providers/<providerName>Provider.ts
  • src/main/provider/<providerName>Adapter.ts
  • src/main/provider/managers/providerInstanceManager.ts
  • src/shared/contracts/routes/* and src/renderer/api/*Client.ts for interactive auth
  • src/renderer/settings/components/* for provider-specific settings UI
  • Main and renderer tests covering the new behavior

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.
  • 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.md when the provider work touches the provider runtime

scope. Also read plan.md and tasks.md if they exist for an active provider-runtime goal.

  • Inspect the current provider files before editing:
  • src/main/provider/defaults.ts
  • src/main/provider/providerId.ts
  • src/main/provider/providerRegistry.ts
  • src/main/provider/aiSdk/providerFactory.ts
  • src/main/provider/managers/providerInstanceManager.ts
  • src/renderer/settings/components/ProviderApiConfig.vue
  • Classify the request into one supported path.
  • Add the smallest explicit source changes for that path.
  • Add or update tests that prove provider creation, auth handling, and model discovery behavior.
  • Update the active SDD tasks.md entries as the work lands, when an active tasks file exists.
  • Run:
pnpm run format
pnpm run i18n
pnpm run lint

Run focused main/renderer tests for any touched provider code.

Output Checklist

Report:

  • Provider ID and API type.
  • Selected path.
  • Files changed.
  • Runtime transport or special provider class.
  • Credential storage location.
  • Model metadata source.
  • Check strategy and test model.
  • Validation commands run.

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Geo Database
by christophacham
×4

Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.

12k tokens
Pymc Bayesian Modeling
by christophacham
×4

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

24k tokens scripts
Pymoo
by christophacham
×4

Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA/D, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.

19k tokens scripts
Statsmodels
by ComeOnOliver
×4

Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.

41k tokens
Add Uint Support
by pytorch
vendor ×3

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

2k tokens
At Dispatch V2
by pytorch
vendor ×3

Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.

2k tokens
Docstring
by pytorch
vendor ×3

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

3k tokens

How to use it

Copy the folder

Take thinkinaixyz/add-provider from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.