Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

new-provider

Skill by finch-xu

Guides an AI assistant through adding a new LLM provider to the cc-router repository. It covers writing a YAML descriptor in src-tauri/providers/, checking the sync changes, and running the loader tests. It is for developers maintaining cc-router.

  • Score 75
  • 298 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install new-provider

Built from the published package, never by AI.

git clone --depth 1 https://github.com/finch-xu/cc-router /tmp/cc-router && mkdir -p ~/.claude/skills && cp -r /tmp/cc-router/.claude/skills/new-provider ~/.claude/skills/new-provider

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install new-provider in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The new-provider skill guides an AI assistant through adding a new LLM provider to the cc-router repository. In cc-router, a provider is a YAML descriptor placed in src-tauri/providers/, which is embedded into the binary at compile time. The source says this needs no Rust code for the descriptor layer.

The workflow has three steps: research the upstream API documentation, write the YAML file, and optionally add a brand icon. It highlights key fields such as auth, base URL and the models endpoint, and lists common pitfalls. It ends by running cargo test for the provider loader. It is for developers maintaining cc-router who want to add providers such as OpenRouter, Together, Groq or Ollama.

Written from the project's SKILL.md and checked against it.

What it can do

  • Upstream researchLists six key questions to answer from the provider's docs, covering base URL, auth header, required headers, model discovery and API key needs.
  • YAML descriptor templateProvides a skeleton for a provider file in src-tauri/providers/ with display names, endpoints, auth and model discovery.
  • Compatibility rating guidanceExplains when to mark a provider as verified, partial or untested.
  • Four-language text rulesRequires display text in zh, zh-Hant, en and ja, with glossary terms to keep wording consistent.
  • Optional brand iconDescribes adding an icon to the ProviderIcon BRAND_MAP, with a Bot icon fallback for unlisted brands.
  • Verification stepRuns cargo test for provider::loader to check parsing, unique ids and default endpoints.

What you need

  • Access to the cc-router repository
  • Documentation for the provider's API
  • Cargo to run the loader tests
  • pnpm for the optional TypeScript check

Try asking

  • Add OpenRouter as a new provider in cc-router
  • Connect the Groq API to cc-router as a provider
  • Write the YAML descriptor for a new provider from its docs URL

Good to know

  • Covers only the descriptor layer, not scheduler or state machine changes in Rust
  • Changes to Rust code signal that the provider may need a schema extension and should be checked with the user first
  • Does not commit or open pull requests; the maintainer commits changes

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/new-provider/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to new-provider

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

new-provider: common questions

Does adding a provider require Rust code?

No. The source says a provider is a YAML file in providers/ that is embedded at compile time, so no Rust changes are needed for the descriptor layer.

How is a new provider registered?

Placing the YAML file in providers/ is enough. The source says build.rs scans the folder, so no manifest or bundle list needs editing.

How do I check the new provider works?

Run cargo test --lib provider::loader in src-tauri. The source says a pass means the YAML parses, its id is unique, and its text is translated in all four languages.

How do I install new-provider?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is new-provider free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is new-provider safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to new-provider?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

new-provider Install

Add to stack

Loading.