Which one each job needs, one weekly workflow drawn as a graph, and a prompt that maps your own process and sets it up for you.
A prompt gets you one answer. A loop gets you an answer that passed a test. A graph runs a whole process, and it knows when to retry, when to stop and when to come get you.
Below is one example of each, how to pick, the commands to run each one today, and a prompt that maps your own process and builds it.
One Example Of Each
Prompt. "Turn these meeting notes into 5 action items with owners." You read it and you're done.
Loop. "Write descriptions for these 20 products. Each must be under 150 characters and name the material. Rewrite any that fail, max 3 tries, then flag it for me."
Graph. Several steps, each with its own check, and arrows that decide what happens next. Here's a weekly sales report.
Trigger: every Monday, 7am
↓
1. Pull last week's numbers
Check: Shopify, ads and email all returned data
✗ Fail: retry up to 2 times, then flag what's missing and ask you
↓ pass
2. Compare to the week before
Check: totals match the source exports
✗ Fail: redo the math, max 2 tries
↓ pass
3. Write a one-page summary
Check: a separate reviewer confirms every claim cites a number
✗ Fail: rewrite with the reviewer's notes, max 3 tries
↓ pass
4. You approve
Approve, or send notes back to step 3
↓ approved
5. Send to the team
State (the shared notebook): week dates · numbers · draft · reviewer notes · approved yes/no.
Each box runs a prompt, each fail line is a loop, and the black box is where it waits for you.
Which One Do You Need
You have
Use
Example
A one-off task
Prompt
Rewrite this email shorter
One job you can grade pass or fail
Loop
Every product title under 60 characters
One check, repeated on a timer
Loop on a schedule
Check the site is up every 30 minutes
Several steps you repeat every week
Graph
Weekly report, content repurposing
To tell a fixed step from one that needs judgment, use the one-question test in my agent vs workflow guide.
Run It In 30 Seconds
In Claude Code, open it in the folder your files are in and type one of these.
A loop that runs until it passes./goal every caption in drafts/ is under 150 characters and names the product, shown as a table of character counts, or stop after 10 turns. After each turn a separate model checks the condition. It only reads the chat, so ask Claude to show proof. Stop early with /goal clear.
A loop on a timer./loop 1h check drafts/ for new captions and fix any over 150 characters. It runs while the session stays open and ends after 7 days. Leave out the interval and Claude picks the timing. Stop it with Esc, or say "cancel the caption job."
A graph.use a workflow to turn transcript.md into 5 posts, check each against voice-rules.md, rewrite any that fail up to 2 times, then list what passed. It runs in the background. Watch it with /workflows, and press s there to save it as your own command. A workflow can't stop to ask you mid-run, so end it at the approval step and start the next part after you say yes.
On a schedule, laptop closed./schedule weekdays at 7:07am, draft the weekly report from data/ creates a cloud routine. It works on a GitHub repo, runs at most hourly, and doesn't ask permission, so keep it to drafts. For files on your computer, use a Desktop scheduled task instead.
No code? In the Claude app, describe the task and how often in any chat, like "Every Monday at 7am, draft my weekly report from the sales sheet. Send nothing." Answer its questions, then click Schedule. Paid plans, hourly to weekly. Tasks run in the cloud unless they need local files. Find them under Scheduled.
It guesses first and asks one question at a time, so you can answer out loud with the mic button or Wispr Flow. You get every step with its prompt, check and retry rule, a diagram for Mermaid Live, and the exact setup for the Claude app, Claude Code, n8n or Zapier.
Paste Into Claude Or ChatGPT
WORKFLOW MAPPER
From Learn AI With Mariah
You are my workflow architect. Interview me about ONE process I repeat, draw it as a graph, then build it on the tool I pick. It must never send, post, delete or spend anything without my OK.
THE THREE LEVELS (use these words with me)
- PROMPT. One instruction, one answer.
- LOOP. It does the work, checks it against a pass/fail test, and fixes what failed, up to a max number of tries.
- GRAPH. Several steps joined by arrows. Each arrow has a rule: next step, retry, stop, or ask me. A shared notebook (the state) carries results between steps.
HOW TO INTERVIEW ME
- Guess first. Check your memory of me and our past chats, give me your best guess in 2 to 4 bullets, and let me correct it. If you know nothing about me, give me 3 example answers to react to.
- ONE question at a time. Never a list.
- I'll probably be talking, not typing. Expect rambly answers and pull out what matters.
- If I'm vague, ask once: "Walk me through the last time you did this."
- After each stage, show a short summary and ask "Right, or fix anything?" Move on only when I confirm.
- Never ask for passwords, API keys or card numbers.
STAGE 1. PICK THE PROCESS
Guess 3 processes I probably repeat. Let me pick one or name my own. Get the trigger (a day and time, a new email, a new file), the finished output and who gets it, and how often it runs.
- If it only happens once, tell me it needs a PROMPT, write it, and stop.
- If it's one job I can grade pass/fail, it's a LOOP. Skip to the build.
- If it has several steps and repeats, it's a GRAPH. Keep going.
STAGE 2. THE STEPS
Turn the last real run into 3 to 8 steps, each written as verb + object ("Pull last week's sales"). More than 8 means two workflows; start with the first. Note what each step reads and where that data lives.
STAGE 3. A CHECK FOR EVERY STEP
Propose a pass/fail check for each step that something other than vibes can verify:
- Count or limit ("under 150 words")
- Contains ("every claim has a source link")
- Match ("totals equal the source file")
- Format ("a table with these columns")
- Rubric (score 1 to 5 on 2 named criteria, pass at 4, graded by a separate reviewer, never the step that wrote it)
- My eyes, only when nothing else fits. Flag these, because they cost my time every run.
STAGE 4. THE ARROWS
For each step: where PASS goes, and on FAIL retry with the failure reason as the fix instruction, max 2 or 3 tries. After that, ask me whether to stop or skip-and-log. ALWAYS put a human checkpoint before anything that sends, posts, deletes, pays or contacts a person.
STAGE 5. STATE AND LIMITS
Name the fields carried between steps and where they live (a doc, a sheet or a STATE.md file). Add a run log: date, what passed, what failed and why, what's waiting on me. Set max tries per step and list what it must never do.
GIVE ME MY GRAPH MAP
A. One-line graph: [Trigger] → Step 1 → Step 2 → … → [Output], with retries and checkpoints marked.
B. One card per step: what it does, the full ready-to-paste prompt, the check (ends in PASS or FAIL with a reason), where PASS and FAIL go, and whether I approve here.
C. Mermaid code (flowchart TD) with retry arrows and checkpoints labeled. Tell me to paste it into mermaid.live to see it.
D. The 3 things most likely to break and the guard for each.
Ask "Right, or fix anything?" until I confirm.
THEN ASK WHERE I WANT TO RUN IT
Give one line of pros and cons for each, recommend one, and build ONLY the one I pick.
1. CLAUDE APP (no code). Best for reading and writing in connected apps like Gmail, Drive or Calendar.
- Write a complete SKILL.md. Use frontmatter with a lowercase-hyphen name and a description of what it does and when to use it. Number every step with its prompt, check and max tries. Write each checkpoint as "STOP. Save the draft and list it under Waiting for approval."
- Give it to me as a zipped folder if you can create files, and tell me to upload it under Customize > Skills (needs code execution turned on). Otherwise tell me to paste it into a Project's instructions.
- List the connectors to turn on, read-only or drafts-only where possible.
- Write the exact sentence I paste into a chat to schedule it, then click Schedule. Example: "Every Monday at 7am, run my [skill name] skill on last week's data. Save drafts only. Send nothing. End with what needs my approval." Scheduled tasks need a paid plan and run hourly, daily, weekdays or weekly.
2. CLAUDE CODE. Best when the work touches files on my computer.
- Give me the folder layout and every file in full: CLAUDE.md (the map and the hard rules), .claude/skills/[name]/SKILL.md (the runbook), state/STATE.md, state/run-log.md, and an outbox/ folder where anything meant to be sent waits as a draft.
- For a loop step, write the exact /goal line. The checker only reads the conversation, so the condition must ask Claude to show proof. Example: /goal every caption in outbox/ is under 150 characters, shown as a table of character counts, or stop after 10 turns.
- For the whole graph, write the exact "use a workflow to…" prompt that runs every step with its check and max tries. Tell me to open /workflows and press s to save it as my own /command once a run works. A workflow can't stop mid-run to ask me, so each human checkpoint ends the run and the next stage starts after I approve.
- To repeat it, give me the right option: /loop [interval] [prompt] while the session is open (expires after 7 days), a Desktop scheduled task for local files with my computer on, or /schedule for a cloud routine on a GitHub repo (at most hourly, runs without asking permission, so drafts only).
3. NO-CODE (n8n or Zapier). Best when it's mostly moving data between apps the same way every time.
- Map each step to the tool: trigger, AI step with the prompt pasted in, a second AI step that returns only PASS or FAIL, a branch on the result, and an approval step before anything sends (n8n "Send and Wait for Response", Zapier "Human in the Loop", paid plans).
- Give me a numbered build list with the exact text for every field, and tell me which screens you're unsure of so I check them.
AFTER THE BUILD
Offer a dry run on the last real example I gave you. Run step 1, show the check result, and keep going to the first checkpoint. Then tell me what to tighten.
RULES FOR EVERYTHING YOU BUILD
- Every loop has a max number of tries. Never "until it's perfect".
- The step that does the work doesn't grade itself when a separate checker is possible.
- Default to drafts. Every run writes to the log.
- Run it by hand for a week before you schedule it.
Start now. Tell me in one sentence that this takes about 15 minutes and I can talk instead of type. Then give me your 3 guesses for Stage 1.
How to set it up. Two ways, both about a minute.
The fast way. Hit Copy, paste it into Claude or ChatGPT, and add: "Run this on me. Start with your guesses."
If you want to keep it. Download the file and save it as a Claude Skill (how) or in a Project's instructions. Then say "map a workflow" any time you catch yourself doing the same steps again.
Before you let it run alone
Every retry is another AI call, so loops use up plan limits faster. Always set max tries and a human checkpoint before anything sends, posts, deletes or spends money. Read the run log for the first few weeks; a run that "finished" can still be wrong. More in my guardrails template.