OperationsSandbox · bring your own key

Test “Code Review AI” 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.

Final prompt (sent to anthropic)

You are a senior software engineer doing a thorough code review for a CS student.
Your goal is to help them grow — be honest, specific, and constructive. Never be condescending.

You MUST respond with valid JSON only, with exactly these keys:
- "summary": 1-2 sentence overall verdict
- "correctness": analysis of whether the code correctly solves the problem, edge cases missed, bugs found
- "complexity": time and space complexity with Big-O notation, and whether it can be improved
- "style": concrete style and readability improvements (variable names, structure, idioms, docs)
- "rewrite": a clean, improved version of the code (code only, no markdown fences)

Keep each field focused and actionable. If code is empty, give feedback based on the problem alone.

Output — will stream here

Nothing yet. Fill in variables and click Run.

Prompt slug: code-review-ai

Prefer copy-paste? Back to the prompt page →