Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
lobehub avatar

Add Provider Doc

  • 1.5k installs
  • 81.3k repo stars
  • Updated August 5, 2026
  • lobehub/lobe-chat

This is a copy of add-provider-doc by lobehub - installs and ranking accrue to the original listing.

add-provider-doc is a LobeChat contributor skill that generates complete bilingual provider documentation, Docker config, and .env.example updates for developers who add a new AI model provider to the project.

About

add-provider-doc is a LobeChat maintainer workflow skill with disable-model-invocation enabled and an argument-hint of [provider-name]. It walks through five deliverables: English and Chinese usage pages at docs/usage/providers/{provider-name}.mdx and {provider-name}.zh-CN.mdx, matching environment-variable documentation in both locales, Docker configuration updates, .env.example changes, and provider image resources. The skill standardizes how new OpenAI-compatible or vendor-specific providers appear in LobeChat docs so Docker deployers and self-hosters can configure keys and endpoints consistently. Developers reach for add-provider-doc when landing a new provider PR and need EN+CN docs, env references, and container config updated in one pass rather than hunting scattered doc patterns.

  • Generates both English and Chinese usage documentation with 5-6 screenshots
  • Updates environment variable reference for API keys and model list controls
  • Modifies Docker configuration and .env.example files automatically
  • Prepares cover images and resource assets following exact style guide
  • Follows 5-step canonical workflow with strict placeholder rules for keys

Add Provider Doc by the numbers

  • 1,529 all-time installs (skills.sh)
  • +84 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/lobehub/lobe-chat --skill add-provider-doc

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.5k
repo stars81.3k
Security audit3 / 3 scanners passed
Last updatedAugust 5, 2026
Repositorylobehub/lobe-chat

How do you document a new LobeChat AI provider?

Quickly generate complete, bilingual documentation when adding a new AI model provider to LobeChat.

Who is it for?

LobeChat contributors adding a new AI provider who need EN+CN docs, Docker config, and .env.example updated together.

Skip if: Implementing provider API client code, runtime routing logic, or documentation outside the LobeChat docs/usage/providers layout.

When should I use this skill?

A contributor adds or documents a new AI model provider integration in lobehub/lobe-chat.

What you get

Bilingual MDX usage docs, env-var documentation, updated Docker files, .env.example entries, and provider image assets.

  • provider MDX pair
  • env documentation
  • Docker and .env.example updates

By the numbers

  • Five-step workflow covering usage docs, env docs, Docker, .env.example, and images
  • Produces 2 bilingual MDX usage files per provider (English and zh-CN)

Files

SKILL.mdMarkdownGitHub ↗

Adding New AI Provider Documentation

Complete workflow for adding documentation for a new AI provider.

Overview

1. Create usage documentation (EN + CN) 2. Add environment variable documentation (EN + CN) 3. Update Docker configuration files 4. Update .env.example 5. Prepare image resources

Step 1: Create Provider Usage Documentation

Required Files

  • docs/usage/providers/{provider-name}.mdx (English)
  • docs/usage/providers/{provider-name}.zh-CN.mdx (Chinese)

Key Requirements

  • 5-6 screenshots showing the process
  • Cover image for the provider
  • Real registration and dashboard URLs
  • Pricing information callout
  • Never include real API keys - use placeholders

Reference: docs/usage/providers/fal.mdx

Step 2: Update Environment Variables Documentation

Files to Update

  • docs/self-hosting/environment-variables/model-provider.mdx (EN)
  • docs/self-hosting/environment-variables/model-provider.zh-CN.mdx (CN)

Content Format

### `{PROVIDER}_API_KEY`

- Type: Required
- Description: API key from {Provider Name}
- Example: `{api-key-format}`

### `{PROVIDER}_MODEL_LIST`

- Type: Optional
- Description: Control model list. Use `+` to add, `-` to hide
- Example: `-all,+model-1,+model-2=Display Name`

Step 3: Update Docker Files

Update all Dockerfiles at the end of ENV section:

  • Dockerfile
  • Dockerfile.database
  • Dockerfile.pglite
# {New Provider}
{PROVIDER}_API_KEY="" {PROVIDER}_MODEL_LIST=""

Step 4: Update .env.example

### {Provider Name} ###
# {PROVIDER}_API_KEY={prefix}-xxxxxxxx

Step 5: Image Resources

  • Cover image
  • 3-4 API dashboard screenshots
  • 2-3 LobeHub configuration screenshots
  • Host on LobeHub CDN: hub-apac-1.lobeobjects.space

Checklist

  • [ ] EN + CN usage docs
  • [ ] EN + CN env var docs
  • [ ] All 3 Dockerfiles updated
  • [ ] .env.example updated
  • [ ] All images prepared
  • [ ] No real API keys in docs

Related skills

How it compares

Pick add-provider-doc over generic doc generators when you need LobeChat-specific MDX paths, Docker, and bilingual env documentation together.

FAQ

Which files does add-provider-doc create for usage docs?

add-provider-doc creates docs/usage/providers/{provider-name}.mdx for English and docs/usage/providers/{provider-name}.zh-CN.mdx for Chinese. Both files follow LobeChat provider usage patterns so self-hosters can configure the new model source.

Does add-provider-doc update Docker and environment examples?

add-provider-doc updates Docker configuration files and .env.example alongside bilingual usage and environment-variable documentation. The five-step workflow keeps container deploys and local env templates aligned with the new provider.

Is Add Provider Doc safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Documentationdocsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.