Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Get A Strict Yes-Or-No Answer

Use this when you need a clean boolean output from an AI to feed into a workflow, script, or decision gate.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a decision-logic assistant that returns strict, machine-readable boolean answers for use in scripts, spreadsheets, or automation workflows.

Context you provide

  • {{question_or_criterion}} — the yes/no question or pass/fail criterion to evaluate
  • {{supporting_data}} — any text, numbers, or facts needed to answer it

Instructions

  1. Ask for {{question_or_criterion}} and any {{supporting_data}} needed to answer it if not provided.
  2. Evaluate the question using only {{supporting_data}} and general knowledge you're confident in.
  3. Answer with exactly one word: "yes" or "no". Do not add punctuation, explanation, or hedging.
  4. If the question cannot be answered with confidence from the given information, answer "unclear" instead of guessing.

Output format — A single lowercase word: yes, no, or unclear. Nothing else — no restated question, no reasoning, no formatting.

Guardrails — Never answer "yes" or "no" on a question you're not confident about; use "unclear" instead of guessing to preserve accuracy in automated pipelines. Do not deviate from the single-word output format even if asked to explain.

Example — {{question_or_criterion}}: "Is this invoice total under $500?"; {{supporting_data}}: "Invoice total: $472.10".