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

add-model

Skill by simstudioai

Adds a new LLM model entry to the Sim repo's models.ts file, with specs checked against the provider's live API docs. Built for developers who maintain Sim's provider model catalog.

  • Score 93
  • 30k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-model

Built from the published package, never by AI.

git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.claude/skills && cp -r /tmp/sim/.agents/skills/add-model ~/.claude/skills/add-model

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

Step-by-step: install add-model in Claude Code

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

About

The add-model skill adds a new model entry to apps/sim/providers/models.ts in the Sim codebase. It requires every numeric and capability value, such as pricing, context window and capability flags, to come from a live fetch of the provider's official docs in the same session. Training data and prior knowledge are not accepted as sources.

The skill checks which capability flags the provider code actually reads, matches the field order of sibling entries, and reviews hosted billing and tests that use hardcoded model IDs. It then runs bun run lint and prints a verification report that cites a URL for each value. It is aimed at developers who maintain Sim's model list.

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

What it can do

  • Live docs lookupFetches the provider's official models and pricing pages before writing an entry.
  • Two-source pricing checkCross-checks pricing against a secondary source such as OpenRouter or Artificial Analysis.
  • Capability flag checkUses a consumption matrix to keep only capability flags the provider code reads.
  • Entry pattern matchingMatches the field order and ordering of sibling entries in models.ts.
  • Hosted billing checkChecks whether getHostedModels() would enroll the new model in hosted billing.
  • Test reference searchFinds tests that hardcode model IDs so they can be updated.
  • Verification reportRuns bun run lint and prints a report with a source URL for each value.

What you need

  • Access to the Sim repository with apps/sim
  • Ability to fetch web pages from provider docs
  • bun to run bun run lint

Try asking

  • Add model claude-x under anthropic in models.ts with pricing from the live docs
  • Verify pricing and context window for mistral-large-latest from its official docs
  • Check if my new DeepSeek model would be hosted or BYOK-only before inserting it

Good to know

  • Marks fields as unverified and asks the user instead of guessing when no authoritative source is reachable.
  • bun run lint does not run tests, so affected provider tests must be run separately.
  • Some capability flags only take effect in provider code that reads them.
  • New request behavior may require editing provider code, not just the models.ts entry.

Security check

A

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

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

Inside the skill

  • SKILL.md16 KB
  • agents/openai.yaml258 B

Alternatives to add-model

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

add-model: common questions

What does the add-model skill do?

It adds a new model entry to apps/sim/providers/models.ts, with every value checked against the provider's live docs. It also reviews hosted billing and related tests.

Can the skill fill in pricing it cannot verify?

No. The source says that unverified fields are marked UNVERIFIED in the report and the user is asked before any guess is made.

Which file does the skill edit?

It edits apps/sim/providers/models.ts and may edit provider code under apps/sim/providers/ when new request handling is needed.

How do I install add-model?

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

Is add-model free?

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

Is add-model safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. 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 add-model?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

add-model Install

Add to stack

Loading.