What problem does it solve? LLM prompts that "usually work" fail unpredictably in production: models ignore instructions, hallucinate, produce unparseable output, or behave inconsistently. This Skill treats prompting as engineering — it diagnoses why a prompt fails, rewrites it with deliberate structure, and defines an eval so you can measure whether it actually improved. ## Core Features & Use Cases - Prompt writing and rewriting: Produces complete, runnable prompts with clear instructions, few-shot examples for hard cases, delimited untrusted content, and constrained output schemas. - Prompt debugging: Traces symptoms (ignored instructions, contradictions, format failures) to the specific tokens or conflicting rules causing them, then provides a minimal fix. - Eval-driven verification: Requires naming the failing cases and pass criteria before editing, so improvements are measured rather than vibes-based. - Security hardening: Defends against prompt injection by delimiting retrieved content, and supports authorized red-teaming of your own systems. - Use Case: Your chatbot ignores the "one sentence" rule. Cipher traces the cause — your few-shot examples are all three sentences long — and fixes the examples so the model pattern-matches the behavior you actually want. ## Quick Start Ask Cipher to rewrite your system prompt so the model reliably outputs valid JSON, and to define the test cases that prove it works.