evilgenius.id
Lab

Prompt generator: a free tool that asks before it writes

Type a rough ask, answer up to 3 questions, get a structured prompt to paste into ChatGPT, Gemini or Claude. Built on free-tier models for zero cost.

Open evilgenius.id/prompt-generator

The prompt generator turns a rough ask into a prompt you paste into ChatGPT, Gemini or Claude. It never runs the prompt itself. It is free, needs no login and saves nothing.

How it works

  1. Type a rough ask, for example “caption IG promo diskon akhir tahun kopi susu 20% sampai 31 Desember”.
  2. Pick 1 of 5 outputs: grading rubric, meeting minutes, PRD and user stories, code review, or caption and copywriting.
  3. Answer up to 3 clarifying questions. You can skip them.
  4. Copy the prompt: a role, the inputs, the output format and the rules.

The page is in Indonesian by default, with an EN switch.

Why I built it

I read Prompt Cowboy’s public page and its shipped JavaScript. Most of the “magic” is about 440 templates in one fixed shape: a role, then inputs with REQUIRED slots, then an output format, then rules with a word limit and banned phrases. A cheap model fills the slots.

I then compared 10 prompt tools. Only 1 of 10, Prompt Cowboy, asked clarifying questions. None were built for Indonesian users or for these 5 jobs.

How it is built

One Cloudflare Worker serves the static page and calls Workers AI free-tier models:

  • Llama 3.3 (70-billion-parameter) writes the prompt.
  • Llama 3.1 (8-billion-parameter) asks the clarifying questions and grades the result on 5 checks: role, inputs, format, rules and length. A failed grade triggers 1 retry.
  • Rate limit: 10 requests per minute per IP.
  • Cost: zero on the free tier. At the daily quota the tool stops instead of billing.

I split the build between agents. A PM agent cut the work in two. One agent built the API and one built the front end, in parallel, against a fixed API contract.

What broke in the end-to-end test

I ran the real models, not mocks. It found 4 bugs and 1 more problem:

Problem Cause Fix
Indonesian selected, English prompt returned The English template text outweighed the language instruction Indonesian templates, plus a language check in the grader
Questions asked for things already in the ask (product, platform, date) No check of what was filled 1 yes/no check per required slot. Ask only what is missing
The FAQ promised saved history The feature did not exist The FAQ now says nothing is saved
The output choices had no accessible names Missing labels Labels added
The writer wrote the rubric itself instead of a prompt for one, and the grader passed it Loose writer prompt, no grader rule Stricter writer prompt and a grader rule against it

What is still weak

  • The 8B grader is unreliable. It passes some bad prompts and fails some good ones.
  • Optional details stay as blank [SLOT] placeholders. You fill them in by hand.
  • The banned-phrase list is still in English, even inside Indonesian prompts.
  • Not yet tested on a real phone.

Next

Google sign-in with saved history, and more templates.