ClaudeStore/Docs
⚠ These docs are a work in progress. Some content may be inaccurate or temporarily AI-generated.

One-Prompt Setup Templates for Claude Code, Cursor, Cline, Continue, and OpenCode

Copy one ready-made prompt into an AI agent and let it configure Claude Code CLI, the VS Code extension, Cursor, Cline, Continue, Roo Code, Kilo Code, or OpenCode automatically.

Claude Code base URL: https://api2.claudestore.store. OpenAI-compatible base URL: https://api2.claudestore.store/v1. Key placeholder: YOUR_SK_CS2_KEY. Safe to publish: Yes, placeholders only.

How to Use These Templates

  1. Copy the template for your exact client.
  2. Replace YOUR_SK_CS2_KEY with your real sk-cs2-… key.
  3. Paste the prompt into an agent that can edit local files and run shell commands.
  4. Review the files it plans to change before approving writes.
  5. Keep the key in user-level config only, not inside repository files unless you explicitly want a project-local override.

Do not paste your real key into public chats or docs

These templates are safe to publish because they use a placeholder. Replace the placeholder only inside your local agent session.

Prompt Library

ClientBest forWhat it edits
Claude Code CLITerminal-first setup using shell env vars and ~/.claude/settings.json.~/.zshrc or ~/.bashrc, ~/.claude/settings.json, optionally ~/.claude.json
Claude Code VS Code ExtensionVS Code users who want the official Claude Code extension to share the same config as the CLI.VS Code extension install, shell profile, ~/.claude/settings.json
CursorCursor custom provider setup using the OpenAI-compatible endpoint.Cursor user settings file or Cursor Models UI
Cline / Roo Code / Kilo CodeFree VS Code agents that work best with the OpenAI-compatible route.VS Code extension settings, optional VS Code user settings
ContinueContinue users who want the agent to update the existing Continue config format automatically.~/.continue/config.yaml or ~/.continue/config.json
OpenCodeTerminal AI users configuring OpenCode's user config file.~/.config/opencode/opencode.jsonc

Claude Code CLI

Terminal-first setup using shell env vars and ~/.claude/settings.json.

This template is expected to touch: ~/.zshrc or ~/.bashrc, ~/.claude/settings.json, optionally ~/.claude.json

Prompt for Claude Code CLIprompt
You are setting up Claude Code CLI against the ClaudeStore gateway for this development environment.

Source of truth — use these exact values, do not invent alternatives:
- Endpoint:   https://api2.claudestore.store
- Auth env:   ANTHROPIC_API_KEY  (do NOT use ANTHROPIC_AUTH_TOKEN)
- Main model: claude-sonnet-4.6
- Fast model: claude-haiku-4.5
- API key:    YOUR_SK_CS2_KEY   (replace with the user's real sk-cs2-* key)

Do the following:

1. Install the CLI globally if it is missing:
   npm install -g @anthropic-ai/claude-code
   claude --version

2. Update the user's shell profile (~/.zshrc on macOS, ~/.bashrc on Linux). Replace existing values if present, do not duplicate:
   export ANTHROPIC_BASE_URL="https://api2.claudestore.store"
   export ANTHROPIC_API_KEY="YOUR_SK_CS2_KEY"
   export ANTHROPIC_MODEL="claude-sonnet-4.6"
   export ANTHROPIC_SMALL_FAST_MODEL="claude-haiku-4.5"
   export DISABLE_TELEMETRY=1
   export DISABLE_AUTOUPDATER=1

3. Create or overwrite ~/.claude/settings.json with exactly:
   {
     "env": {
       "ANTHROPIC_BASE_URL": "https://api2.claudestore.store",
       "ANTHROPIC_API_KEY": "YOUR_SK_CS2_KEY",
       "ANTHROPIC_MODEL": "claude-sonnet-4.6",
       "ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4.5",
       "DISABLE_TELEMETRY": "1",
       "DISABLE_AUTOUPDATER": "1"
     }
   }

4. Reload the shell profile.

5. Run and print all verification commands:
   curl -s https://api2.claudestore.store/healthz
   curl -s https://api2.claudestore.store/v1/models -H "Authorization: Bearer $ANTHROPIC_API_KEY"
   claude --print "reply with exactly: pong"

6. If the CLI says the custom key was rejected before, inspect ~/.claude.json and move the key fingerprint from rejected to approved, then rerun the smoke test.

IMPORTANT:
- Use ANTHROPIC_API_KEY only.
- Do not leave references to old hosts or legacy key prefixes.
- Replace YOUR_SK_CS2_KEY with the real key before running.

Claude Code VS Code Extension

VS Code users who want the official Claude Code extension to share the same config as the CLI.

This template is expected to touch: VS Code extension install, shell profile, ~/.claude/settings.json

Prompt for Claude Code VS Code Extensionprompt
You are configuring the official Claude Code VS Code extension and its local Claude runtime for this machine.

Source of truth — use these exact values:
- Base URL:   https://api2.claudestore.store
- Auth env:   ANTHROPIC_API_KEY
- Main model: claude-sonnet-4.6
- Fast model: claude-haiku-4.5
- API key:    YOUR_SK_CS2_KEY

Do the following:

1. Install the official Claude Code extension in VS Code if it is missing.
2. Ensure the Claude Code CLI is installed and available:
   npm install -g @anthropic-ai/claude-code
   claude --version
3. Update the user shell profile with:
   export ANTHROPIC_BASE_URL="https://api2.claudestore.store"
   export ANTHROPIC_API_KEY="YOUR_SK_CS2_KEY"
   export ANTHROPIC_MODEL="claude-sonnet-4.6"
   export ANTHROPIC_SMALL_FAST_MODEL="claude-haiku-4.5"
   export DISABLE_TELEMETRY=1
   export DISABLE_AUTOUPDATER=1
4. Create or overwrite ~/.claude/settings.json with the same env block so both the CLI and the VS Code extension read the same config.
5. If there is a project-level .claude/settings.json with conflicting base URL or key values, ask before changing it. Otherwise keep project settings aligned.
6. Reload the VS Code window after writing the files.
7. Run these checks and print the output:
   curl -s https://api2.claudestore.store/healthz
   curl -s https://api2.claudestore.store/v1/models -H "Authorization: Bearer $ANTHROPIC_API_KEY"
   claude --print "reply with exactly: pong"

IMPORTANT:
- Use ANTHROPIC_API_KEY only, never ANTHROPIC_AUTH_TOKEN.
- The VS Code extension should use the same ~/.claude/settings.json as the CLI.
- Replace YOUR_SK_CS2_KEY with the real key before running.

Cursor

Cursor custom provider setup using the OpenAI-compatible endpoint.

This template is expected to touch: Cursor user settings file or Cursor Models UI

Prompt for Cursorprompt
You are configuring Cursor IDE to use ClaudeStore as a custom OpenAI-compatible provider.

Source of truth — use these exact values:
- Provider type: OpenAI-compatible custom provider
- Base URL:      https://api2.claudestore.store/v1
- API key:       YOUR_SK_CS2_KEY
- Default model: claude-sonnet-4.6
- Optional models: claude-opus-4.6, claude-haiku-4.5

Do the following:

1. Detect the operating system.
2. Preferred settings file locations:
   - macOS:   ~/Library/Application Support/Cursor/User/settings.json
   - Linux:   ~/.config/Cursor/User/settings.json
   - Windows: %APPDATA%\Cursor\User\settings.json
3. If this Cursor version stores custom provider values in settings.json, update the settings there carefully.
4. If this Cursor version stores the provider only through the UI, open Cursor Settings -> Models and fill the exact values interactively:
   - OpenAI API Key: YOUR_SK_CS2_KEY
   - OpenAI Base URL: https://api2.claudestore.store/v1
   - Add model ids: claude-sonnet-4.6, claude-opus-4.6, claude-haiku-4.5
5. Remove stale custom Claude provider values only if they clearly point to an old host or obsolete key.
6. Verify using Cursor's model verification flow or by sending a test prompt with claude-sonnet-4.6 in Cursor chat.

IMPORTANT:
- Cursor must use https://api2.claudestore.store/v1 with /v1 included.
- Do not use the bare domain in Cursor.
- Do not touch unrelated providers or unrelated API keys.

Cline / Roo Code / Kilo Code

Free VS Code agents that work best with the OpenAI-compatible route.

This template is expected to touch: VS Code extension settings, optional VS Code user settings

Prompt for Cline / Roo Code / Kilo Codeprompt
You are configuring a VS Code agent extension to use ClaudeStore. This prompt is valid for Cline, Roo Code, and Kilo Code.

Source of truth — use these exact values:
- Provider type: OpenAI-compatible
- Base URL:      https://api2.claudestore.store/v1
- API key:       YOUR_SK_CS2_KEY
- Default model: claude-sonnet-4.6
- Optional models: claude-opus-4.6, claude-haiku-4.5

Do the following:

1. Detect which extension is installed: Cline, Roo Code, or Kilo Code. If none is installed, install Cline by default unless the user asked for a different one.
2. Configure the extension through its settings UI or backing VS Code settings so it uses:
   - OpenAI-compatible provider
   - Base URL https://api2.claudestore.store/v1
   - API key YOUR_SK_CS2_KEY
   - Default model claude-sonnet-4.6
3. If the extension supports multiple saved models, add Opus and Haiku as optional choices.
4. Do not store the API key in repo files. Prefer user-level extension settings.
5. Run and print terminal checks:
   curl -s https://api2.claudestore.store/healthz
   curl -s https://api2.claudestore.store/v1/models -H "Authorization: Bearer YOUR_SK_CS2_KEY"
6. Run one smoke test inside the extension chat, for example: "Summarize the current workspace in 3 bullets."

IMPORTANT:
- Use the OpenAI-compatible mode with /v1.
- Remove only clearly stale ClaudeStore-related values, not unrelated settings.
- Replace YOUR_SK_CS2_KEY with the real key before running.

Continue

Continue users who want the agent to update the existing Continue config format automatically.

This template is expected to touch: ~/.continue/config.yaml or ~/.continue/config.json

Prompt for Continueprompt
You are configuring the Continue VS Code extension to use ClaudeStore.

Source of truth — use these exact values:
- Base URL:      https://api2.claudestore.store/v1
- API key:       YOUR_SK_CS2_KEY
- Default model: claude-sonnet-4.6
- Optional models: claude-opus-4.6, claude-haiku-4.5

Do the following:

1. Detect which Continue config format is installed on this machine:
   - ~/.continue/config.yaml
   - ~/.continue/config.json
   - workspace-level Continue config if the installed version uses one
2. If a user-level config exists, update that file instead of creating a repo-local config.
3. Add or update a ClaudeStore model entry using the schema expected by the installed Continue version.
4. If the installed schema supports provider + base URL fields, point them to https://api2.claudestore.store/v1 and set the API key to YOUR_SK_CS2_KEY.
5. Keep unrelated models and unrelated providers intact.
6. Reload VS Code and run one Continue chat smoke test with claude-sonnet-4.6.
7. Print the final config path and the exact model entry that was added.

IMPORTANT:
- Prefer the existing config format; do not migrate JSON to YAML or YAML to JSON unless required.
- Keep the key out of repository files when possible.
- Replace YOUR_SK_CS2_KEY with the real key before running.

OpenCode

Terminal AI users configuring OpenCode's user config file.

This template is expected to touch: ~/.config/opencode/opencode.jsonc

Prompt for OpenCodeprompt
You are configuring OpenCode to use ClaudeStore.

Source of truth — use these exact values:
- Base URL:      https://api2.claudestore.store/v1
- API key:       YOUR_SK_CS2_KEY
- Default model: claude-sonnet-4.6

Config paths:
- macOS/Linux: ~/.config/opencode/opencode.jsonc
- Windows:     %USERPROFILE%\.config\opencode\opencode.jsonc

Do the following:

1. If OpenCode is already installed, locate the user config file.
2. Create or update opencode.jsonc so the anthropic provider uses:
   - baseURL: https://api2.claudestore.store/v1
   - apiKey: YOUR_SK_CS2_KEY
3. If a default model setting exists, set it to claude-sonnet-4.6.
4. Keep unrelated provider config intact.
5. Print the final config file contents.
6. Run a short smoke test through OpenCode if the command is available. Otherwise print the exact next step for the user.

IMPORTANT:
- OpenCode should point to /v1.
- Do not save the key inside repo files.
- Replace YOUR_SK_CS2_KEY with the real key before running.

Which Template to Start With

  • Use Claude Code CLI if you want the most deterministic setup and terminal verification.
  • Use Claude Code VS Code Extension if you want the editor and the CLI to share one ~/.claude/settings.json.
  • Use Cursor only if you already use Cursor Pro and want a custom provider inside Cursor.
  • Use Cline / Roo Code / Kilo Code if you want a free VS Code agent with minimal setup friction.
  • Use Continue if Continue is already your daily driver and you want the agent to preserve the existing config format.
  • Use OpenCode if you want a terminal AI assistant with a user-level config file.

Ready to start?

Get API access to all Claude models in under 2 minutes.

View Plans