add-provider

Scaffold an AI provider package and register it in the AICO CLI.

6|Updated May 1, 2023
One-click install
npx skills add https://github.com/micheam/ai-assistant-console --skill add-provider-micheam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-provider
Source: https://github.com/micheam/ai-assistant-console/tree/main/.claude/skills/add-provider
Command: npx skills add https://github.com/micheam/ai-assistant-console --skill add-provider-micheam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add a new AI provider to the AICO CLI by scaffolding the provider package and wiring it into the CLI so teams can integrate new services quickly.

Core Features & Use Cases

  • Scaffolds provider package structure with a main provider file and model descriptors.
  • Registers the provider in the CLI, enabling model discovery, API key handling, and runtime switching.
  • Use Case: A team wants to add a new OpenAI-compatible service like 'together' or a custom SDK; this skill generates the scaffolding and integration boilerplate.

Quick Start

Run the add-provider skill with the provider name to scaffold the provider package and wire it into the CLI.

Frequently Asked Questions about add-provider

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new AI provider to the AICO CLI?

To add a new AI provider to the AICO CLI, you scaffold the provider package and wire it into the CLI. This generates the package structure, model descriptors, and integration boilerplate for runtime switching.

What does scaffolding an AI provider package involve?

Scaffolding an AI provider package involves creating a main provider file and model descriptors. It implements the required provider interface with Endpoint, ProviderName, and factory methods to enable model discovery and API key handling.

Can I integrate an OpenAI-compatible service like 'together' into my CLI?

Yes, you can integrate an OpenAI-compatible service like 'together' into your CLI. The scaffolding process generates the necessary provider package structure and integration boilerplate to support custom SDKs.

What is the best way to register a custom model SDK for CLI discovery?

The best way to register a custom model SDK for CLI discovery is by updating the CLI model discovery and flag handling. This wires the new provider into the system, enabling detection and API key handling across development and deployment.

Do I need to manually update CLI commands when adding a provider?

You do not need to manually update CLI commands when adding a provider. The process automatically updates CLI model discovery and flag handling to support the new provider across development, testing, and deployment environments.

What limitations exist when wiring model descriptors into the CLI?

Wiring model descriptors requires implementing the specific provider interface with Endpoint, ProviderName, and factory methods. Limitations include ensuring the new package correctly integrates with existing CLI flag handling and API key management protocols.