Add model

From diegosouzapw/awesome-omni-skill · View interactive version

Add model is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Add a new AI model to a provider (anthropic, openai, groq, cerebras). Use when a new model is announced and needs to be supported in aico.

How to use this skill

Skill file

Add Model Skill

Add a new AI model to the aico codebase.

Arguments

$ARGUMENTS should be in the format provider:model-id (e.g. anthropic:claude-opus-4-6).

If only a model ID is given, infer the provider from the model name prefix:

Prerequisite: Gather Model Information

Before writing any code, gather the following from the user or from provided reference URLs:

  1. Model ID (e.g. claude-opus-4-6)
  2. Description - what the model is best at
  3. Pricing - input/output per MTok
  4. Context window and max output tokens
  5. Notable capabilities (e.g. extended thinking, vision, tool calling)
  6. Predecessor model to deprecate (optional)

If the user provides a reference URL, fetch it to extract this information.

Provider Reference URLs

When the user does not provide a reference URL, consult the official documentation for the relevant provider:

| Provider | Models Documentation | Pricing Documentation |

|-----------|-------------------------------------------------------------------|-----------------------------------|

| Anthropic | https://platform.claude.com/docs/en/about-claude/models/overview | https://claude.com/pricing#api |

| OpenAI | https://platform.openai.com/docs/models | https://openai.com/api/pricing/ |

| Groq | https://console.groq.com/docs/models | https://groq.com/pricing/ |

| Cerebras | https://inference-docs.cerebras.ai/models/overview | https://www.cerebras.ai/pricing |

Fetch the relevant page(s) to extract:

Step-by-step Procedure

1. Create the model Go file

Create a new file at internal/providers/<provider>/<model_file_name>.go.

The file name convention uses underscores for separators:

Use the existing model files in the same provider as a template. Each provider has a different pattern:

Anthropic models (`internal/providers/anthropic/`)

Template reference: any existing claude_*.go file in the same directory.

OpenAI models (`internal/providers/openai/`)

Template reference: gpt4o.go

Groq / Cerebras models (OpenAI-compatible)

Template reference: any model file in internal/providers/groq/ or internal/providers/cerebras/

2. Register the model in the provider file

Edit the provider's main file (internal/providers/<provider>/<provider>.go or anthropic.go):

  1. AvailableModels() - Add the new model struct to the returned slice
  2. selectModel() - Add a case for the model ID
  3. NewGenerativeModel() - Add a case for the model ID with the constructor

Place the new model at an appropriate position (typically at the top for the latest/best model).

3. Update the doc comment

Update the documentation comment block at the top of the provider file to include the new model's description and pricing.

4. Deprecate predecessor (if requested)

If the user requests deprecating an older model:

  1. Prefix its Description() return with [Deprecated] <Model Name> - superseded by <New Model>.
  2. Move its entry in the doc comment to the bottom with (Deprecated) suffix
  3. Keep all code functional — do NOT remove the model

5. Build and test

Run:

go build ./...
go test ./...

6. Verify with CLI

Run and show the user the output of:

go run ./cmd/aico models
go run ./cmd/aico models describe <new-model-id>

If a predecessor was deprecated, also show:

go run ./cmd/aico models describe <deprecated-model-id>

7. Commit

Follow the Conventional Commits format defined in CLAUDE.md:

feat(api): add <Model Name> support

If a predecessor was deprecated, mention it:

feat(api): add <Model Name> support and deprecate <Old Model>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.