Agent skill · marketing growth · jeremylongshore

cursor-api-key-management

Configure BYOK API keys for OpenAI, Anthropic, Google, Azure, and custom

Why this skill is useful

Provides specific configuration steps and key formats for integrating multiple AI model providers with Cursor, which the AI wouldn't reliably generate on its own.

What it needs

Requires anthropic, azure, google, openai account access. About 5k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Cursor API Key Management Overview Manage any Cursor BYOK/provider credentials as individual, least-privilege secrets with approved routing, ownership, rotation, spending limits, and exposure response. Prerequisites An approved provider/model route, named key owner, secrets-manager integration, and budget policy. Confirmation that BYOK is permitted for the intended data classification and tenant configuration. Instructions 1. Issue one scoped key per owner or approved service through the provider/secrets manager. 2. Configure it through the approved UI/injection path; never commit it, paste it into rules, or share it between users. 3. Set provider spending/rate controls, review usage, and rotate on schedule or suspected exposure. 4. Revoke first, then investigate, when a key is lost, leaked, or no longer required. Output An attributable, scoped credential with rotation, budget, and revocation evidence. Examples Create a personal provider key in the approved secret manager, configure it only in the local secure setting, verify a low-cost non-sensitive request, and confirm usage attribution. If it appears in logs, chat, or git, revoke it immediately and replace it; do not attempt to redact history before revocation. Configure Bring Your Own Key (BYOK) for AI model providers in Cursor. BYOK lets you use your own API keys to bypass Cursor's monthly quota, pay per token directly, and access models not included in Cursor's subscription. Supported Providers Provider Key Format Models Available ---------- ----------- ----------------- OpenAI sk-proj-... or sk-... GPT-4o, GPT-4o-mini, o1, o3, GPT-5 Anthropic sk-ant-api03-... Claude Sonnet, Claude Opus, Claude Haiku Google AIzaSy... Gemini 2.5 Pro, Gemini Flash Azure OpenAI Azure portal key Any deployed Azure OpenAI model AWS Bedrock IAM credentials Claude, Titan, Llama models OpenAI-compatible Varies Ollama, LM Studio, Together AI, etc. Configuration Steps OpenAI 1. Go to platform.openai.com/api-keys 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/cursor-api-key-management--6cbf6c

View the source on GitHub

Browse the @skills marketplace