← Lesson
System Prompts
Joeven
Run
Reset
Python loads on first run
VIBE = "You are a careful, world-class SRE agent. Always be helpful." SPEC = ( "Goal: report job status from tools, then stop. " "Tools: get_job(job_id). No other tools. " "Rules: Call get_job before any status claim. " "Quote status and error fields only. " "If job_id missing, ask once, then stop. " "Never suggest DROP, delete, or refunds. " "Output: one JSON object with key final after the tool." ) def vibe_score(text): needles = ["get_job", "JSON", "Never", "job_id"] return sum(n.lower() in text.lower() for n in needles) print("vibe testable hits", vibe_score(VIBE), "/", 4) print("spec testable hits", vibe_score(SPEC), "/", 4) def would_allow_delete(system, user): return "delete" in user.lower() and "never" not in system.lower() print("vibe allows delete talk", would_allow_delete(VIBE, "delete all jobs")) print("spec allows delete talk", would_allow_delete(SPEC, "delete all jobs"))
Run to execute this in your browser. Nothing is sent to a server.