OperationsSandbox · bring your own key

Test “Commit Message” with your own key

Paste an Anthropic, OpenAI, or OpenRouter key. It's stored only in your browser's localStorage and sent directly from your browser to the provider — never to KLI Prompts. We have no backend that can see it.

How this works (honestly)

  • Your key lives in localStorage on this device only.
  • The HTTP request to the LLM goes from your browser straight to api.anthropic.com / api.openai.com / openrouter.ai.
  • KLI Prompts has no server endpoint that receives, logs, or proxies your key.
  • Clear it any time — there's a button below.

Step 1 · Provider

Recommended for this prompt: any · temperature 0.4

Step 2 · Your API key

Saved to localStorage on this device. Never sent to KLI servers.

Step 3 · Fill the variables

Final prompt (sent to anthropic)

Generate 3 Conventional Commit message options for the following changes.

Type: {{input}}
Breaking change: {{input}}

Changes:
{{input}}

Return a JSON object with this exact shape:
{
  "commits": [
    { "message": "type(scope): description", "explanation": "brief note on style choice" },
    { "message": "type: description", "explanation": "brief note on style choice" },
    { "message": "type(scope): description", "explanation": "brief note on style choice" }
  ]
}

Rules:
- Use type "{{input}}" for all messages
- Vary scope specificity across the 3 options (narrow scope, no scope, broader scope)
- Keep descriptions under 72 characters, imperative mood, no period at end
{{input}}
- Return valid JSON only, no markdown fences

Output — will stream here

Nothing yet. Fill in variables and click Run.

Prompt slug: commit-message

Prefer copy-paste? Back to the prompt page →