Agent skill

Cursor Model Selection

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Configure and select AI models in Cursor for Chat, Composer, and Agent mode.

MITAuto-check passed

Install Cursor Model Selection

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill cursor-model-selection -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace cursor-model-selection --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/cursor-model-selection .claude/skills/cursor-model-selection && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cursor-model-selection
GitHub stars
2.8k
Token cost
~2k tokens
SKILL.md length
738 words
Files
6 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Configure and select AI models in Cursor for Chat, Composer, and Agent mode.

  • Works in 4 steps: Use an approved economical model for… → Confirm the model's data-handling route… → Record material model decisions for… → …
  • Change cursor model
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 9 more sections
  • Calls cursor

What it does

Cursor Model Selection is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure and select AI models in Cursor for Chat, Composer, and Agent mode. Triggers on "cursor model", "cursor gpt", "cursor claude", "change cursor model", "cursor ai model", "cursor auto mode".

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/available-models.md`, `references/errors.md` and `references/examples.md`). Compatibility notes: Designed for Claude Code

It works with OpenAI. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Change cursor model
  • Cursor ai model
  • Cursor auto mode

Example prompts

  • “cursor model”
  • “cursor gpt”
  • “cursor claude”
  • “/cursor-model-selection”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(cmd:*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Use an approved economical model for simple explanations or edits; escalate only for a defined complex task.
  2. Confirm the model's data-handling route before attaching proprietary or regulated content.
  3. Record material model decisions for high-risk work and independently validate all generated output.
  4. Reassess model choice when quality, cost, privacy, or latency exceeds the agreed threshold.

What it can do on your machine

Read from SKILL.md and the folder at commit 80f86df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(cmd:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cursor

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.cursor.com
    • cursor.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Cursor Model Selection loads about 2k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 738 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 738 words, ~2,048 tokens.

Download SKILL.mdSave it as .claude/skills/cursor-model-selection/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
cursor-model-selection
description
Configure and select AI models in Cursor for Chat, Composer, and Agent mode. Triggers on "cursor model", "cursor gpt", "cursor claude", "change cursor model", "cursor ai model", "cursor auto mode".
allowed-tools
Read, Write, Edit, Bash(cmd:*)
compatibility
Designed for Claude Code
version
1.19.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, cursor, cursor-model

Cursor Model Selection

Overview

Choose models by task risk, reasoning needs, data-handling policy, latency, and approved spend—not by apparent confidence in a single response.

Prerequisites

  • The organization's approved model/provider list and data-routing constraints.
  • A defined task, budget/latency expectation, and normal human review/test path.

Instructions

  1. Use an approved economical model for simple explanations or edits; escalate only for a defined complex task.
  2. Confirm the model's data-handling route before attaching proprietary or regulated content.
  3. Record material model decisions for high-risk work and independently validate all generated output.
  4. Reassess model choice when quality, cost, privacy, or latency exceeds the agreed threshold.

Output

  • A model selection tied to task requirements, policy, and a validation plan.

Error Handling

ConditionSafe response
Model is not approved for the data classStop and use an approved route or seek formal approval.
Cost/latency exceeds budgetDowngrade or narrow the task; do not bypass spending controls.
Output quality is inadequateUse a better-suited approved model and retain independent review.

Examples

Use an approved fast model for a localized type annotation with its focused test. For a high-impact architecture proposal, use the approved reasoning model, attach only necessary design documents, and require human reviewers to validate alternatives and rollback implications.

Configure AI models for Chat, Composer, and Agent mode. Cursor supports models from OpenAI, Anthropic, Google, and its own proprietary models. Choosing the right model per task is a major productivity lever.

Available Models

Included with Cursor Subscription
ModelProviderBest ForContext
GPT-4oOpenAIGeneral coding, fast responses128K
GPT-4o-miniOpenAISimple tasks, cost-efficient128K
Claude SonnetAnthropicCode quality, detailed explanations200K
Claude HaikuAnthropicFast simple tasks200K
cursor-smallCursorQuick completions, simple edits8K
AutoCursorAutomatic model selection per queryVaries
Premium Models (count against fast request quota)
ModelProviderBest ForContext
Claude OpusAnthropicComplex architecture, hard bugs200K
GPT-5OpenAIAdvanced reasoning, complex code128K+
o1 / o3OpenAIDeep reasoning, mathematical logic128K
Gemini 2.5 ProGoogleDesign, large context analysis1M

Model Selection by Task

Quick Reference
Bug fix in one file        → GPT-4o or Claude Sonnet
Multi-file refactoring     → Claude Sonnet or Opus
Architecture planning      → Claude Opus or GPT-5
Test generation            → GPT-4o (fast + good patterns)
Complex algorithm design   → o1/o3 reasoning models
Large codebase analysis    → Gemini 2.5 Pro (1M context)
Simple autocomplete        → cursor-small (automatic via Tab)
"I don't know"             → Auto mode
How to Switch Models

Per conversation: Click the model name in the top-right of Chat or Composer panel.

Default model: Cursor Settings > Models > set default for Chat and Composer separately.

Auto mode: Select "Auto" as the model. Cursor picks the best model per query based on complexity and current server load.

Bring Your Own Key (BYOK)

Use your own API keys to bypass Cursor's quota system. You pay the provider directly at their rates.

Configuration

Cursor Settings > Models > enable Use own API key:

OpenAI:

API Key: sk-proj-xxxxxxxxxxxxxxxxxxxx

Anthropic:

API Key: sk-ant-xxxxxxxxxxxxxxxxxxxx

Google (Gemini):

API Key: AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxx
Azure OpenAI

For enterprise Azure deployments:

Cursor Settings > Models > Azure:
  API Key:       xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  Endpoint:      https://my-instance.openai.azure.com
  Deployment:    gpt-4o-deployment-name
  API Version:   2024-10-21
Show full SKILL.md (305 more words)Show less
Adding Custom Models

For OpenAI-compatible providers (Ollama, LM Studio, Together AI):

  1. Cursor Settings > Models > Add Model
  2. Enter model name (e.g., llama-3.1-70b)
  3. Enable Override OpenAI Base URL
  4. Enter base URL: http://localhost:11434/v1 (Ollama) or provider URL
  5. Enter API key if required
BYOK Limitations
FeatureUses BYOK Key?Uses Cursor Model?
ChatYes--
ComposerYes--
Agent modeYes--
Tab CompletionNoAlways Cursor model
Apply from ChatNoAlways Cursor model

Tab Completion always uses Cursor's proprietary model regardless of BYOK configuration.

Cost Optimization Strategies

Tiered Model Usage
Tier 1 (Fast + Cheap):    cursor-small, GPT-4o-mini, Claude Haiku
  Use for: simple questions, syntax help, boilerplate

Tier 2 (Balanced):        GPT-4o, Claude Sonnet
  Use for: most coding tasks, debugging, refactoring

Tier 3 (Premium):         Claude Opus, GPT-5, o1/o3
  Use for: architecture decisions, critical bugs, complex logic
Quota Management

Cursor subscription includes a monthly quota of "fast requests" (premium model uses). When exceeded, requests queue behind other users ("slow requests").

  • Check remaining quota: cursor.com/settings > Usage
  • Pro plan: ~500 fast requests/month
  • Business plan: ~500 fast requests/month per seat
Tips to Reduce Usage
  1. Use Auto mode -- it picks cheaper models when they suffice
  2. Start with Sonnet/GPT-4o, escalate to Opus/o1 only if needed
  3. Write detailed prompts to avoid back-and-forth (fewer requests)
  4. Use BYOK for heavy usage -- pay per token instead of per request

Model Behavior Differences

Code Generation Style
python
# Claude models: Verbose, well-documented, defensive
def process_order(order: Order) -> Result[ProcessedOrder, OrderError]:
    """Process an order through the payment and fulfillment pipeline.

    Args:
        order: The order to process.

    Returns:
        Result containing the processed order or an error.

    Raises:
        Never raises -- errors returned as Result.Err.
    """
    if not order.items:
        return Err(OrderError.EMPTY_ORDER)
    ...

# GPT models: Concise, pragmatic, fewer comments
def process_order(order: Order) -> ProcessedOrder:
    if not order.items:
        raise ValueError("Order has no items")
    ...
Reasoning Models (o1, o3)

These models "think" before responding. They are slower but significantly better at:

  • Multi-step logic problems
  • Finding subtle bugs in complex code
  • Mathematical or algorithmic optimization
  • Understanding implicit requirements

They are overkill for simple tasks. Use them deliberately for hard problems.

Enterprise Considerations

  • Model access control: Admins can restrict which models team members access via the admin dashboard
  • Spending limits: Set per-user or per-team spending caps when using BYOK
  • Compliance: Some models route through different providers -- verify data handling per model
  • Azure preference: Enterprise teams on Azure can route all requests through their own Azure OpenAI deployments
  • Audit: Model selection per request is visible in usage analytics (Business/Enterprise plans)

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in skills/.curated/cursor-model-selection of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/available-models.md
  • references/errors.md
  • references/examples.md
  • references/model-comparison.md
  • references/model-selection-by-task.md

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Cursor Model Selection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cursor Model Selection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cursor Model Selection this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2kAutomated safety check: PassMIT
Geo Fundamentalswasp-lang/wasp19k9 repos~861Automated safety check: PassMIT
AI SDKvercel-labs/ai-facts16820 repos~1.2kAutomated safety check: PassNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 9 repos~861 tokens
    Marketing & SEOAuto-check passed
  • AI SDK

    vercel-labs/ai-facts

    Official

    Answer questions about the AI SDK and help build AI-powered features.

    168 GitHub starsUsed in 20 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    45k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Cursor Model Selection

What does Cursor Model Selection do?

Configure and select AI models in Cursor for Chat, Composer, and Agent mode. Cursor Model Selection is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure and select AI models in Cursor for Chat, Composer, and Agent mode.

When should I use Cursor Model Selection?

Cursor Model Selection fits situations like: change cursor model; Cursor ai model; Cursor auto mode.

How do I install Cursor Model Selection in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill cursor-model-selection -a claude-code`. Or copy the skill folder (skills/.curated/cursor-model-selection in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/cursor-model-selection in your project. Claude Code loads it when a task matches its description.

How do I install Cursor Model Selection in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill cursor-model-selection -a codex`. Or copy the skill folder (skills/.curated/cursor-model-selection in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/cursor-model-selection in your project. Codex loads it when a task matches its description.

Can I use Cursor Model Selection in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill cursor-model-selection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cursor-model-selection, .gemini/skills/cursor-model-selection, .github/skills/cursor-model-selection and .opencode/skills/cursor-model-selection in your project.

What does Cursor Model Selection need to run?

Going by SKILL.md and its folder, Cursor Model Selection needs the command-line tools its instructions call (cursor). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(cmd:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Cursor Model Selection access the network?

SKILL.md names 2 domains. As links in the text: docs.cursor.com and cursor.com. This is read from the text; nothing was executed.

Is Cursor Model Selection safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cursor Model Selection use?

Cursor Model Selection is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cursor Model Selection use?

About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 833 tokens, read only when the agent opens those files.

What are the alternatives to Cursor Model Selection?

Skills that share tags, products or a category with Cursor Model Selection: Geo Fundamentals (wasp-lang/wasp, 19k stars), AI SDK (vercel-labs/ai-facts, 168 stars), AI Image Generation and Editing (zhayujie/CowAgent, 47k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cursor Model Selection?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.