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.
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-modelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sim/.agents/skills/add-model ~/.gemini/antigravity-cli/skills/add-modelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
