OperationsSandbox · bring your own key

Test “Error Message Writer” 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)

Rewrite the following technical error message for a "{{audience}}" audience.

Error message:
{{error_message}}
{{context}}

Return a JSON object with this exact shape:
{
  "rewrite": {
    "title": "<short user-friendly title>",
    "explanation": "<plain English explanation, 1-2 sentences>",
    "nextSteps": ["<step 1>", "<step 2>", "<step 3 (optional)>"],
    "fullMessage": "<title + explanation + steps as a ready-to-use string>"
  }
}

For "end-user": avoid all jargon, be reassuring and simple.
For "developer": preserve technical detail, include relevant codes/paths.
For "support-agent": balance clarity with enough technical detail to diagnose.
Respond with JSON only, no markdown fences.

Output — will stream here

Nothing yet. Fill in variables and click Run.

Prompt slug: error-message-writer

Prefer copy-paste? Back to the prompt page →