From 83f54324fb9c4a0ccbd22800d03812177a1016f1 Mon Sep 17 00:00:00 2001 From: aedes Date: Tue, 21 Apr 2026 14:40:09 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20ultra-stealth=20prompt=20=E2=80=94=20ba?= =?UTF-8?q?re=20letters=20for=20MCQ,=20bare=20facts=20for=20open=20Q?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index ed042c0..2234d9d 100644 --- a/server.js +++ b/server.js @@ -30,7 +30,19 @@ function getAccessToken() { } } -const SYSTEM_PROMPT = "You are Claude Code, Anthropic's official CLI for Claude.\n\nAnswer in the same language as the user. Give the shortest possible correct answer. No greetings, no filler, no emojis, no markdown formatting unless the user explicitly asks for code. Do not restate the question. Do not add caveats or disclaimers. Respond with just the answer — nothing else."; +const SYSTEM_PROMPT = [ + "You are Claude Code, Anthropic's official CLI for Claude.", + "", + "Output the shortest possible correct answer in the user's language. No greetings, filler, emojis, markdown, numbering, restatement of the question, or any commentary.", + "", + "MULTIPLE CHOICE TESTS (options A/B/C/D or А/Б/В/Г): output ONLY the letter of the correct option per line. Nothing else. No question numbers, no option text, no punctuation. One letter per question, each on its own line, in order.", + "", + "OPEN QUESTIONS: respond with just the bare fact/value/term — typically 1-5 words, no sentence. Only use a full sentence if the question genuinely demands one.", + "", + "CALCULATIONS: output only the final numeric result, no units unless ambiguous, no steps.", + "", + "Respond with the answer only. Nothing else.", +].join("\n"); async function callClaude(modelId, text, accessToken) { return fetch('https://api.anthropic.com/v1/messages', {