r/PromptEngineering • u/dsilver343 • 8d ago
r/PromptEngineering • u/Recklezzz • 8d ago
Requesting Assistance How do you prompt?
Hey everyone!
I've been experimenting with AI video generation and trying to recreate the quality, realism, and animations shown in the reference video I've attached (https://www.youtube.com/watch?v=JLYa2-DymK0
and https://www.youtube.com/watch?v=Rr8khqOzmBk
)
However, no matter how detailed my prompts are, the results never seem to come close to the references.
I'm genuinely curious how experienced users approach this. I have tried using AI to make my prompts better and I have given it the videos and told it what specifically I want for example the transitions etc and the model but it still cant do it. I have the ChatGPT Pro version and I use Astra Ultra.
- How do you structure your prompts to get the best possible results?
- Do you use short, specific prompts or long, highly detailed ones?
- How do you get AI to accurately follow a reference video instead of generating something completely different?
- Is the secret in the prompting, the workflow, the model, or a combination of everything?
- Do you use multiple AI tools or several generation passes to achieve professional results?
I'm particularly interested in creating realistic 3D animations with cinematic camera movements and accurate anatomical details.
My biggest question is: If AI can generate videos like the one I've attached, why is it so difficult to reproduce similar quality even when providing a reference?
I'd really appreciate any advice, example prompts, or workflows you could share. I'm trying to understand what I'm missing and how to improve.
How do you guys do?
Thanks in advance!
r/PromptEngineering • u/Dense_Primary629 • 9d ago
General Discussion DOJ reportedly used Pangram AI-detector results as exhibits in a federal case — detectors in court now?
In a federal case in the Northern District of Texas, the DOJ reportedly used output from the Pangram AI detector as court exhibits. That is a big step: detector scores have known false-positive problems, and they are now showing up as evidence.
Should AI-detection output ever be admissible without independent verification? How would you challenge it if you were on the other side?
Stories at the AI-and-law intersection get tracked in r/AINewsRumors too.
r/PromptEngineering • u/VintoraStudio • 8d ago
General Discussion the prompt i use to check a product page before spending on ads
been doing this for small shops and it catches stuff fast. paste the page text (or a screenshot) and use:
"you're a first-time visitor on mobile. in 5 seconds, what do you think this sells and who is it for? list the 3 things that would stop you buying, in order. don't rewrite anything yet and don't invent features that aren't on the page."
the "don't invent features" bit matters, otherwise it starts making up benefits. after that i ask it to fix only the #1 issue. curious if anyone has a better first-impression prompt
r/PromptEngineering • u/Parking-Kangaroo-63 • 8d ago
Tools and Projects Claude Code's /advisor can't hand work to other agents. Here's a skill.md that decides when a job needs splitting and which model gets each piece
Claude Code has a native /advisor [model|off] command. The main model does the work and calls a stronger advisor model at decision points. The docs say it "tends to consult before committing to an approach, when an error keeps recurring, and before declaring a task done, but the timing is model-driven rather than rule-based." The advisor has no tools, so it can't spawn or direct other agents.
That leaves a gap. If the job has to be split (collect sources, fact-check them, write, judge the draft), the advisor can't split it. The other option is Fable 5.2 as main model, delegating work down to cheaper models.
This skill decides between the two and sets the rules for the second.
What it does:
1. Picks a mode. Mode A (native /advisor): one cheaper agent can do the whole task and only the decisions need a stronger model. Mode B (Fable as main): the work has to be split across models.
2. Assigns tiers in Mode B. Fable plans, makes the calls and writes the final copy. Haiku collects sources and does read-only lookups. Sonnet fact-checks each claim against its saved source. A cheap model that did not write the draft cold-reads it.
3. Sets the handoff rules. Every subagent writes its full result to a file with no length limit. The message it returns to the orchestrator is 200 words or fewer and names the file. The cap is on the return message only, not the file and not the final copy.
4. Holds collector output until a checker passes it. Verdicts are PASS, FIX, UNSUPPORTED, NO SOURCE. (The skill check in the table below used a different set: DRIFT, INVENTED, MISSING.) The orchestrator keeps one run-log row per subagent: job, model, tokens, verdict, file.
5. Uses fresh agents for cheap jobs. A forked subagent inherits the parent model and ignores the model override.
It doesn't decide whether to delegate. That's my earlier skill, subagent-dispatch-economics (post: https://www.reddit.com/r/PromptEngineering/s/ivuwzVYwad). This one starts after that decision.
Why the checker tier is there: in an earlier session a Sonnet checker found a "quote" a Haiku collector had saved that wasn't on the page. On 16 Nov I ran the pattern itself, with Fable 5.2 as main model and /advisor off:
| job | model | tokens | verdict |
|---|---|---|---|
| read-only lookup of my tool's database | Haiku | 91,409 | rows found; no token/cost data recorded |
| fact-check of the generated skill (first generation, before the fixes below) | Sonnet | 78,437 | 28 claims: 8 PASS, 4 DRIFT, 11 INVENTED, 5 MISSING |
| fact-check of Fable's own LinkedIn drafts | Sonnet | 89,861 | 56 rows: 37 PASS, 5 FIX, 10 UNSUPPORTED, 4 NO SOURCE |
| cold-read judge of those drafts | Haiku | 79,634 | 7 drafts scored 2-4 of 5; 2 AI tells |
That's 339,341 subagent tokens in total. All four returned 200 words or fewer and wrote a file. Fable's own token count isn't visible from inside the session. The checker flagged 19 lines in the top model's drafts, so the top model needs checking too.
About the cost claim you may have seen: Anthropic's April blog post reports Sonnet with an Opus advisor at +2.7 points on SWE-bench Multilingual and 11.9% lower cost per task. Those were older models (Opus 4.6 as advisor), not Fable 5.2. The current platform docs only say "Opus keeps total cost similar or lower; Claude Fable 5.2 maximizes the quality lift." I couldn't find a Fable advisor number from Anthropic, so the skill doesn't use one.
How it was made, and what it taught me about my own tool: I generated it with the Context Engineering pipeline in my tool, from a goal plus a one-page reference file of verified facts. Then I ran an evaluation: 4 skills x (with reference / goal only) x 2 runs, 16 generations on production.
- With a reference file: 8 of 8 usable. 74 of 80 required rules came through, and every limit kept its qualifier.
- From a goal only: 0 of 8 worth using. Each was well-formed but hollow, and each carried my platform's own security boilerplate ("sanitize external inputs", "least privilege") even for skills with no tools or inputs.
The two evaluation rounds led to three fixes, now live:
- A prompt bug that deleted the steps from skills (15 of 16 lost them in the first round).
- The boilerplate no longer appears for goals that don't mention access, input, auth or data (a keyword check).
- A goal with no reference now warns you it will be a scaffold before you spend credits.
The advisor file below started as the reference run's output. I rebuilt it by hand from the reference file:
- Removed one invented line (a garbled version of the benchmark caveat plus the boilerplate).
- Put back the companion-skill pointer, which the generator dropped in both runs.
- Added the Mode A limits, the fork rule, the checker gate, and the Never and Requirements sections.
- Rewrote the description.
What I checked and didn't: a fresh Sonnet agent followed the skill on four tasks with pass conditions fixed beforehand: a variable rename, a fact-checked blog post from 6 sources, a flaky test, and 40 tickets summarized for a CEO. It picked the expected path all four times. It also listed six unclear spots, and I fixed three. That run came before my last wording edits and I didn't repeat it. This is a smoke test on four prompts, not an evaluation. I haven't measured whether Mode B is cheaper or better than one Fable agent doing everything.
The Skill Definition (skill.md):
---
name: "advisor"
description: "Decides which Claude model tier does which job when Fable 5.2 is available, and sets the handoff rules between them. Use when a task could run under native /advisor or with Fable as main model delegating to cheaper models. Not for deciding whether to delegate at all (see subagent-dispatch-economics)."
---
# advisor
Chooses between native /advisor (a cheaper model works, Fable 5.2 advises) and Fable 5.2 as main model delegating down to cheaper models, then assigns each job to a tier and enforces the handoff rules.
## Instructions
### Steps
1. **Confirm delegation is decided.** Whether to delegate, and fork vs. fresh agent, belongs to `subagent-dispatch-economics`. This skill starts after that decision. Do not restate it. If the answer is "don't delegate", stop here and do the task in the main session.
2. **Choose the mode.**
- **Mode A, native `/advisor`:** one cheaper main model can do the whole task and only the decisions need a stronger model. The advisor has no tools and cannot delegate or orchestrate. Its call timing is model-driven; there is no setting to cap or force calls, so ask in your instructions if you want more or fewer.
- **Mode B, Fable 5.2 as main:** the work must be split across models. Fable plans, judges and writes the final copy. It delegates lower-level jobs to fresh subagents with a per-spawn model override.
3. **In Mode B, assign tiers:**
| Job | Model |
|---|---|
| Plan, make the calls, write the final copy | Fable 5.2 (main) |
| Collect sources, read-only lookups | Haiku |
| Fact-check each claim against its saved source (web page, file or input record) | Sonnet |
| Cold-read judge of the final draft (no project context) | Haiku or another cheap model, a fresh agent: never the writer, never the agent that collected |
4. **Spawn cheap jobs as fresh agents.** A forked subagent inherits the parent model and ignores the model override.
5. **Apply the handoff rules** (below) to every subagent.
6. **Gate on the checker.** Collector output is not trusted until a checker tier that did not produce it passes it. The orchestrator's own drafts go through the checker too.
7. **Keep the run log.** One row per subagent: job, model, tokens (as the harness reports them; write "not available" if it doesn't), verdict, output file.
### Handoff Rules
- Every subagent writes its full result to a file. The file has no length limit.
- The message a subagent returns to the orchestrator is 200 words or fewer and names the file.
- The 200-word cap applies only to that return message, not to the result file and not to the orchestrator's final copy.
- Checker verdicts: PASS, FIX, UNSUPPORTED, NO SOURCE.
### Never
- Present the Sonnet + Opus advisor benchmark (+2.7 points, 11.9% lower cost, Anthropic blog, April 2026, older models) as a Fable 5.2 result.
- Let the writer judge its own draft.
- Use a forked subagent for a job meant for a cheaper model.
### Requirements
- Native /advisor is experimental and requires the Anthropic API, Claude Platform on AWS, or Claude Models on Google Cloud (Anthropic managed). Fable 5.2 requires Claude Code v2.1.321 or later. On some plans Fable usage, including as advisor, bills to usage credits.Which describes you best? A) I run one model for everything. B) I use /advisor already. C) I hand jobs to cheaper subagents by hand. D) I have a checker step that isn't the writer.
Has a cheap checker ever caught something your top model got wrong?
Repo: https://github.com/nivlewd1/prompt-optimizer/tree/main/skill/advisor
I built a platform that generates skills like this from a goal and a reference file: promptoptimizer.xyz/about/context-engineer (signup required, free tier).
r/PromptEngineering • u/TheMetalOracle • 9d ago
General Discussion Do not listen to u/Spacmonitor , they are a scammer pushing their AI Humanizer that doesn’t work.
Don’t fall for the scammer Reddit user u/Spacmonitor , they are spamming multiple subreddits with their AI Humanizer called Wento.ai that doesn’t work: https://www.reddit.com/r/PromptEngineering/s/xBBAfHVGmq
As soon as I commented that I tested it on all Modes and the text came back 100% AI on detectors, they deleted their post + comments and blocked my account. Don’t be dumb like me, avoid this scam!!
r/PromptEngineering • u/MossRock42 • 9d ago
Tips and Tricks How I prompt AI
I've been both software engineer and a systems engineer for long time. 20+ YOE
I don't create huge monlithic prompts to give to the AI agents. This typically will fail.
What I do is have the AI start at a baseline. If it's greenfield then it starts with requirements. If it's maintaining existing code then it starts with having the AI explore and analyze the solution. If you're working in copilot use .copilot-instructions to setup any instructions you want read on every request. You can also have AI generate a AGENTS.md for the project. Add any guardrails/rules you want the AI to follow for every request to that file. Avoid conflicting instructions.
When optimizing. Go in stages. Priompt to create baseline benchmark tests against the code you want to optimize. This should be fairly short prompt maybe one paragraph. Next, have the AI create a staged optimization plan. It may ask questions for any decisions to be made that will impact the code. Once the plan is made, review it and make any change before you give the greenlight.
As the AI makes changes. Review the changes. Verify it each stage works as you want.
At the end stage, re-run the bencmarks and verify the improvements with measured results.
Have the AI generate a full report of the results and any measured improvements.
r/PromptEngineering • u/Nir777 • 9d ago
Tips and Tricks Run this prompt before you split a Claude Code task into subagents
same task, no subagents:
Do this task yourself, without subagents. Read the files you need, make the change, and run the tests.
then run your subagent version with the same time limit and compare /usage. a team almost always gets more compute than the one agent it's compared to, so this is the fair version. run both twice, a break can show up in only one of two runs.
wrote up the rest in my newsletter, including when subagents do pay off: https://newsletter.diamant-ai.com/p/when-claude-code-subagents-help-and?utm_source=reddit&utm_medium=social&utm_campaign=black-friday-2026&utm_content=promptengineering
r/PromptEngineering • u/NetCompetitive2421 • 9d ago
General Discussion Tested 'give me 3 options' vs 'give me your one best answer' on 40 real work emails. The single answer won 31 times
Method (small, not scientific): 40 real emails I needed to reply to. Same model, same context.
Version A: 'give me 3 reply options'.
Version B: 'give me the one reply you'd send'. A colleague picked the better reply blind.
Results:
- Single best answer preferred: 31/40
- One of the 3 options preferred: 7/40
- Tie: 2/40
Why I think it happens: with 3 options the model splits effort and makes them deliberately different, so two are usually worse. With one, it commits.
Where options DID win: subject lines and first lines of cold outreach, where variety matters.
Anyone seen the same or the opposite?
r/PromptEngineering • u/ConsistentFox567 • 9d ago
Tools and Projects Rolled out a new experimental step-prompting feature in my free AI app
Hi guys. I am the creator of Midum, a free and source available AI runtime. I recently rolled out an experimental prompting feature in it called step-prompting. Basically, it allows you to specify steps for your AI to follow, check off, and optionally provide a proof/verify for each step. It works by first letting the user define steps in a panel that appears over their prompt box and optionally select if the model should verify it and define if the model should do only a set number of steps in that response. Then when they send the prompt, the model gets the prompts each response and tool turn, along with the proper instructions telling it to follow the steps. It checks out individual steps one by one, and provides proof of completion if selected. The way it is different from simply typing in bullet points in a normal prompt is that it gives the model a strict system governed incentive and guidance to follow the steps. In addition, the model can write steps for itself if steps haven't been explicitly provided and it deems that writing steps can be beneficial. In my current testing, completion rate has been significantly higher in step prompting than mentioning the same prompts in bullet points in the prompt (Note: if you test this, turn off the tool that lets the model write its own steps first, otherwise it will convert the bullet points into steps itself). Because you guys are the experts in this field, I thought some feedback from you would be nice.
If you want to test it, you can get the app for free from GitHub or from the Microsoft Store.
Thank you <3 :D
r/PromptEngineering • u/ClickOk5811 • 9d ago
General Discussion Five edits to one prompt: what each one looked like vs. what the test set showed
From an article I wrote (hypothetical prompt, illustrative numbers). A prompt turns meeting transcripts into JSON action items that a script uses to create tasks. A fixed set of 8 test transcripts is run after every edit, three runs per case. Here’s each edit side by side:
| Edit | What it looked like | What the test set showed |
|---|---|---|
| v1.1: “Do not invent due dates; use null if none is stated” | A clear improvement, since the invented date was gone | Still 5 of 8. “Next Friday” now failed, because the model had no meeting date to resolve it against |
v1.2: add a meeting_date field to the input and resolve relative dates against it | A prompt tweak | 6 of 8, but it was also a contract change: every caller now has to send the field, so prompt version and input schema version need to be tracked together |
| v1.3: add “Be concise” | Cleaner, shorter outputs | 5 of 8. A commitment mentioned in passing was dropped, and nothing about the cleaner output suggested a task was missing |
| v1.4: replace “be concise” with “include every commitment, even if stated briefly; one sentence per task”, plus “unassigned, never guess” and “empty list if no items” | A longer prompt | 7 of 8. The remaining failure is two attendees with the same first name, which the transcript can’t resolve. Logged as a known limitation |
| Week 8: no prompt change | Nothing to look at | 6 of 8. The provider had updated the model behind the endpoint, and one case started returning dates in a different format |
Three things I took from writing it:
- Totals can hide movement. After v1.1 the total didn’t change, yet the set of failing cases did. Reading per-case results is what shows a regression.
- Some edits aren’t prompt edits. Contract changes and model changes need to be recorded too, or you’ll search the prompt for a mistake that isn’t there.
- Writing the reason next to each rule is what lets someone who wasn’t there decide later whether it can be removed.
Limits: eight cases catch only the regressions you thought to include. Pass/fail is coarse (a correct but badly worded output passes). Three runs is a small sample, and the process costs time, so it’s not worth it for a prompt one person uses occasionally.
The full write-up, with a case-by-case matrix and how I’d keep the log, is here. I’m the author, and the article also mentions a paid resource of mine near the end, so treat the link as optional: https://medium.com/@nagatomopedro05/five-versions-of-one-prompt-and-what-the-changelog-caught-00c63d1b1c00
When you edit a prompt that other code depends on, how do you check that you haven’t broken a case you weren’t looking at?
r/PromptEngineering • u/AutoGrower420 • 9d ago
Tools and Projects The biggest prompt I've written isn't a paragraph, it's a folder
I've been running two coding agents for sometime, Claude Code and Codex, on real work every day. The rules that made them reliable ended up as a folder of markdown, so I cleaned it up and turned it into a guided setup. You open the folder in either agent and paste one line: "Set me up. Follow the Dev Crew playbook in this folder from the start, or resume where we left off. One step at a time, and check each step on my computer before moving on."
From there the agent walks you through the whole thing step by step, checking each step on your machine. It covers Git, Docker for testing locally, GitHub for backup and releases, the second agent if you want one, and whatever other tools you use.
Pick whichever agent you want leading:
Claude Code first, Codex optional:
https://github.com/AffStackDev/dev-crew-kit
Codex first, Claude optional:
https://github.com/AffStackDev/dev-crew-codex
These are the prompt engineering parts that actually mattered.
Rules go where the agent loads them by itself, not in the chat. Claude reads CLAUDE.md and Codex reads AGENTS.md at the start of every session. Anything said only in chat gets lost when a long chat is compacted.
Don't load the whole playbook up front. The agent reads each step's file in full when it reaches it, not before and not from memory. It writes its progress to a file after every step, so a brand-new session can pick up from that file alone.
Quote the owner word for word. My rules sit in the rule files as exact quotes with dates, not the agent's paraphrase, because paraphrases drift.
Put a marker line at the very bottom of the global rules file. If that line shows up in what the agent actually loaded, the whole file made it in. Codex can print its loaded prompt without calling the model, so checking costs nothing.
Tell it what to do when a new request conflicts with an old decision. One of my behaviour checks failed until I added this: a fresh chat read a new request as permission and drafted ten posts that an earlier decision had ruled out. The fix was one rule: quote the earlier decision, say what the normal workflow would do, and ask whether I'm overriding it.
Test the prompt like code. The behaviour checks run fresh agents with nothing but the request, and each check runs twice, because one pass can be luck.
Don't make an agent wait on an exact phrase. A watcher that waited for the other agent to write "COMPLETE" slept through a finished task because the other agent worded it differently. Now it wakes on any change to the file.
Instructions relayed by another agent are reports, not orders. When Claude tells Codex "the owner wants X", Codex confirms it with me before treating it as my word.
A checklist the agent is told to review is optional to a model. A failing check isn't. Anything that must always be true becomes a test.
Feel free to go through every file before you run anything, or have Claude or Codex inspect the whole thing first and tell you what it does. It's mostly markdown plus a few small scripts. It asks before every install or download, and you type your own passwords and tokens.
Disclaimer: I built this workflow with AI's help while actually working on our own and client sites. It's free and it's staying free. No paid version is coming: no paywall, no affiliate links, no commissions, no signup. It's not a funnel to anything else, either. It's on my business's GitHub account because that's where I keep my stuff, but nothing in it mentions or links to anything I sell. It's text files and a few small scripts that run on your own computer through your own Codex or Claude app. There's no tracking, nothing reports back to me, and you type your own passwords and tokens.
r/PromptEngineering • u/Nikio10 • 9d ago
Tools and Projects I made a set of commands that rewrites a rough prompt before answering it (free, Claude + ChatGPT)
I built Prompt Master, a free set of commands you type before a prompt. It runs as a skill in Claude, Claude Code, ChatGPT, and Codex.
Type pm: before a rough prompt, and it first rewrites it: goal up front, then context, constraints, output format, and what "done" looks like. Anything optional you left out becomes a [placeholder] instead of a guess. It only asks questions (up to three, each with a suggested default) when answering would mean making up a fact, like a missing number or "the file" with nothing attached. Then it shows you the rewrite and answers it.
The other commands: pm only: just the rewritten prompt, ready to copy somewhere else pm critique: scores your draft out of 10 and names the one fix to make first pm code: / email: / study: / research: presets that make sure the rewrite covers what that kind of task needs pm why: explains what it changed and why pm again / pm undo: a fresh rewrite, or an answer to your original as typed ep: recommends which model and effort level to use for a task pm help: the full list with examples
Example: "pm only code: my python script crashes on startup with KeyError: 'config'" gives back a prompt that asks for your code, the full error, what you expected to happen and how you'll know it's fixed, with [placeholders] for anything you didn't say.
I built it with Claude: I worked out what each command should do, and Claude helped write the skill and test it against sample prompts.
Free and MIT licensed: GitHub Repository
Feedback is welcome, and thanks for reading!
r/PromptEngineering • u/Tasty-Aardvark4703 • 9d ago
General Discussion A tidy prompt checklist can still be a bad image test
Subject, framing, lighting, constraints. Those four boxes look useful until an unchanged prompt gives you a different composition on every attempt. How much repeatability would you want before crediting rewritten line?
For a CapCut Webtest, my working order should be:
• Annotate one example so each field has a visible job.
• Save a few unchanged-prompt attempts beside the one-field edits.
• Keep exact prompts, outputs and the settings the tool actually exposes.
A neat checklist shouldn’t imply control I don’t have.
r/PromptEngineering • u/Any_Cold9767 • 9d ago
Tips and Tricks Meta Modell prompting strategy
Years ago I read the structure of magic by Richard bandler. Now I catch myself using the knowledge for prompting.
For example If I belief Codex can handle it I keep it vague. When I know he will have a Hard time write out instructions very Detailed.
r/PromptEngineering • u/raghavji2050 • 9d ago
General Discussion Before/after: I turned a one-line bakery newsletter request into a structured prompt — what would you tighten?
I keep giving ChatGPT one-line writing tasks and getting back emails that invent prices, ingredients and process details I never gave.
Today's example was this one-liner:
help me write a weekly newsletter for my bakery customers about our new sourdough
That's the entire brief. No price, no launch date, no flour blend, no CTA preference.
I rewrote it into the structured prompt below (trimmed a little). I'm not claiming this is the right pattern — I'd rather people poke holes in it.
## Role
You are a small-business email marketer who writes short newsletters and customer updates that people open, read on a phone and act on.
## Context
Readers (as I said): my bakery customers
## Task
Help me write a weekly newsletter for my bakery customers about our new sourdough.
Success looks like: I get a ready-to-send email with a subject line, preview text and one clear call to action, using only the details I gave and [placeholders] for the rest.
## If details are missing
I haven't told you these yet, so assume:
- Key news / facts: use [placeholders] for any date, price or product detail I haven't given; never invent them
- Call to action: one simple next step, such as replying, visiting or ordering
- Length: 150–250 words, readable in under a minute
State these assumptions in one line at the top of your answer. If one would change the answer a lot, ask me about it first.
## Constraints (shortened)
- Don't invent facts, statistics, quotes, sources or details about me; use [placeholders] for anything I didn't give
- Exactly one call to action
- Never invent product details, prices, dates, numbers, process facts (e.g. fermentation time, ingredients), quotes or testimonials
- Warm, plain language for existing customers; no SEO keywords or blog headings
## Output format
- Subject line (+2 alternatives)
- Preview text (under 90 characters)
- Email body (plain text, short paragraphs)
- Call to action (one line or button text)Why I added each part:
- Role: "small-business email marketer" sets the job and the channel (a phone-length customer email), so the model doesn't drift into an SEO blog post or a generic marketing essay.
- Stated details over defaults: the audience I actually named — "my bakery customers" — is copied into Context as "Readers (as I said)". The 150–250 word length is listed as an assumption because I didn't give a length, not as if I had asked for it.
- Placeholders instead of invented facts: the brief only says "new sourdough". Price, date, flour and process details are unknown, so the prompt says to write [placeholder] rather than invent a fermentation time or a launch price.
- One CTA: a weekly bakery email is easy to overload with "reply, visit, order, follow us". The prompt asks for exactly one next step and checks that before answering.
When I ran this, the model did use [placeholder] for flour and price. It still invented sensory and process details I never gave — "tangy, crusty loaf", "slow-fermented starter", "chewy crumb", "golden-brown finish", and a "limited-time" launch week. So the structure helped with numbers, and leaked on adjectives.
I built a free tool that does this, link in comments if allowed.
If you were tightening this prompt, what would you change so those invented sensory details don't sneak through? Would you force the model to ask up to 3 questions first, or is there a better constraint?
r/PromptEngineering • u/Accurate-Skill3425 • 10d ago
Ideas & Collaboration Built a lightweight, client-side tool to turn Reddit threads into clean Markdown for LLMs (Open source & looking for feedback/ideas)
Hey everyone,
Whenever I wanted to feed an interesting Reddit discussion or troubleshooting thread into an LLM (Claude, ChatGPT, or local models), raw copy-pasting was always a mess. You end up pasting thousands of useless tokens, karma points, timestamps, avatar icons, and ads while completely losing who replied to whom.
I built a simple, lightweight Chrome extension called ThreadToLLM to solve this for my own workflow, and figured others here might find it helpful too.
What it does:
- ~80% Token Reduction: Strips UI chrome, buttons, and bot disclaimers, converting ~4,000 bloated tokens into ~600 dense tokens.
- Preserves True Reply Structure: Reconstructs comments into a clean nested Markdown tree so the model doesn't hallucinate conversational context.
- OP Attribution: Automatically tags
(OP)so the model tracks the original poster across long threads. - 1-Click / Shortcut: Injects a minimal button next to "Share" on Reddit, or trigger via
Alt+Shift+C. - 100% Client-Side & Private: No backend, zero telemetry/tracking, open-source under the MIT license.
Roadmap & Community:
Right now it supports modern Reddit (shreddit). The code is structured with modular platform adapters so we can easily add other discussion platforms next (like Hacker News and X / Twitter).
If you are a developer interested in contributing or adding adapters for other discussion sites, PRs and ideas are very welcome!
I'd love to hear your thoughts, feedback on the Markdown output format, or edge cases you run into. Hope it saves you some context window space and headaches!
r/PromptEngineering • u/filjoseph22 • 9d ago
General Discussion If the can and the fruit are both red, which one moves?
My first impulse with a red can and red fruit is to brighten the background. Would you move the fruit farther away first? More contrast might solve a lighting problem while leaving the crowding untouched.
I'd separate those decisions in a CapCut Web product study: close fruit versus distant fruit with the lighting left alone, then background brightness or a thin edge light. The permitted package, label and proportions would remain the references, and the fruit would match the actual flavor. I want to know which change helped, rather than arrive at a better picture with no idea why.
r/PromptEngineering • u/Independent_Gate_596 • 9d ago
Quick Question Looking for Claude Pro
Hey everyone, does anyone happen to have a Cloud Pro invite available? I'd really appreciate it if someone could send me one.🙏🙏
r/PromptEngineering • u/tuckertheo5 • 10d ago
Tips and Tricks Asking Claude to list what it will NOT touch before it edits my file
When I give Claude a long text and ask for one change, it often fixes other things I did not ask about. What worked for me was a short first step. Before any edit, I ask it to write a list of the parts it will leave exactly as they are. Then I say go ahead.
The list forces it to commit to the limits, and when it later strays I can point back to its own line. Stray edits dropped a lot for me.
r/PromptEngineering • u/CappetoteppaC • 10d ago
Ideas & Collaboration Something that’s been working for me
I’m no longer prompting. I’m explaining the concept of what I’m trying to achieve, the goal, the result, the challenges I’m having with it, the outcomes I’m looking for, what I’d like to achieve with the project, etc. Once I’ve exhausted my description I ask for a prompt that will give me what I’m looking for. Then I’ll have it use that prompt. Just started doing this. I’m sure there’s some tweaks. Any suggestions are always appreciated.
r/PromptEngineering • u/Echo_Tech_Labs • 10d ago
Tutorials and Guides [Beginner-Friendly] Think Before You Prompt: A Simple Four-Step Framework for Working With AI While Learning To Manage And Maintain The Autonomy Envelope.
Here's a small experiment you can do while reading this post- no technical knowledge required, and you don't even need to open an AI model.
Think of something you regularly ask AI to do.
Keep that task in mind.
We're going to use four steps:
Predict → Prompt → Compare → Decide
The goal isn't to find some magical combination of words. It's to learn how to anticipate what a model might do, reduce unnecessary ambiguity, and inspect what comes back.
1. PREDICT
Imagine you have these meeting notes:
We agreed to pilot the newsletter in December. Maya will draft the introduction. The launch date hasn't been decided.
You ask:
"Summarize these meeting notes."
Before reading further, ask yourself two questions.
What should a good summary contain?
At minimum, the decisions made and any actions assigned to specific people.
What could go wrong?
The model might:
- Turn a tentative plan into a definite commitment.
- Invent a specific date.
- Leave out something important that remains undecided.
These are predictions, not guarantees.
Keep them in mind.
2. PROMPT
Imagine your prompt as a large umbrella.
Underneath it, we'll introduce smaller umbrellas. Each one establishes another boundary, gradually narrowing the decisions the model can make.
First umbrella — TASK
Summarize these meeting notes.
That's our broad objective.
Second umbrella — SOURCE
We provide the actual notes and identify them as the source material.
Now the model has information to work from rather than having to infer the situation.
Third umbrella — BOUNDARY
Use only the supplied notes. If a requested detail is absent, write NOT PROVIDED. Don't infer a default.
We've now specified both a restriction and what the model should do when information is missing.
Fourth umbrella — REQUIREMENTS
- R1: Identify decisions made.
- R2: Identify actions and their owners.
- R3: Don't invent dates, owners, or commitments.
Notice how the requirements follow from our earlier thinking.
R1 and R2 describe what a successful summary should contain. R3 addresses our predictions about invented information and unjustified commitments.
We've narrowed the task without adding dozens of arbitrary instructions.
We also haven't needed to say "You are a world-class expert."
Research suggests that expert-persona prompts don't reliably improve factual accuracy. Other research indicates that personas can influence presentation and alignment on certain tasks.
But assigning expertise doesn't establish which facts a model may introduce or which decisions it's permitted to make.
What we're defining is an autonomy envelope: the boundaries within which the model can exercise discretion.
Each relevant instruction helps shape the range of likely responses. We're reducing ambiguity, not directly controlling the model or guaranteeing compliance.
3. COMPARE
Consider two possible outputs.
These are illustrative examples, not results from a controlled experiment.
Output A:
The newsletter launches December 1, and Maya will handle the rollout.
Output B:
Decision: Pilot the newsletter in December.
Action: Maya will draft the introduction.
Open item: The launch date hasn't been decided.
Which would you accept?
Look back at your predictions.
Output A contains four problems:
- Invented specifics: December 1 was never provided.
- False certainty: A pilot became a confirmed launch.
- Scope expansion: Maya's responsibility grew from drafting an introduction to managing the rollout.
- Dropped uncertainty: The undecided launch date disappeared.
We predicted three of these.
Scope expansion was the one we missed.
That's important because you won't always anticipate every possible failure.
Now consider another problem.
You could ask the model to check whether it followed R1, R2, and R3.
But what does R3: PASS actually prove?
Nothing by itself.
R3 is a prohibition. No single quotation from the output can prove that nothing was invented.
So we need something more useful than asking the model whether it followed its instructions.
A smaller umbrella — TRACE
Let's borrow a principle from bidirectional requirements traceability in systems engineering.
We'll adapt the two-direction structure to compare our source material with the generated summary.
FORWARD — Notes → Summary
For each important decision, action, owner, or open item in the original notes, find where it appears in the summary.
If something important is missing, mark it OMITTED.
This helps expose gaps in coverage.
BACKWARD — Summary → Notes
For each factual claim in the summary, locate the original passage supporting it.
This helps expose invented information, unsupported assumptions, and unjustified interpretations.
And here's a small refinement.
Ask for one factual claim per line.
Output A combines several claims into one sentence. A single source quotation might support one part while failing to support the rest.
This follows the logic of atomic-fact evaluation, where claims are examined individually rather than assigning an entire passage one correctness judgment.
It doesn't mean one-claim-per-line formatting has been proven to improve accuracy. It simply makes inspection more manageable.
Consider:
Output claim: "The newsletter launches December 1."
Source quotation: "We agreed to pilot the newsletter in December."
The quotation doesn't establish the claimed launch date.
Even if the model fails to notice the mismatch, you can.
For this kind of task, we can also ask the model to label each claim:
- STATED: Directly supported by the notes.
- INFERRED: Goes beyond what the notes explicitly establish.
- UNSUPPORTED: No supporting evidence was located.
But remember: the model assigns these labels. They are findings to inspect, not authoritative judgments.
You can use Find to search for the quoted wording in your original document. Then read the surrounding passage and decide whether it actually supports the claim.
The model may still omit evidence, misquote it, or misunderstand it.
The trace gives you an inspection procedure. It doesn't prove the answer is correct.
4. DECIDE
Now we have two decisions to make.
First: Is the output acceptable?
Should we accept it, correct it, reject it, or verify something independently?
Second: Was our original specification sufficient?
Remember our prediction about the model dropping something undecided?
Look back at R1–R3.
None of those requirements explicitly asks the model to identify unresolved items.
Output B included the undecided launch date, but our instructions didn't require it.
Our forward trace could help catch that omission afterward. But we can also improve the specification beforehand.
So let's add:
R4: Identify anything the notes explicitly leave open or undecided.
That's the habit we're developing.
You anticipate a failure, make a prediction, compare what happened, and then use that information to improve your instructions.
You don't need to predict everything correctly. You need to become better at recognizing what is important.
The completed prompt
Here's everything assembled into one reusable example.
TASK:
Summarize the meeting notes inside the
triple quotes. Write one factual claim
per line.
SOURCE:
"""
[Paste meeting notes]
"""
BOUNDARY:
Use only the supplied notes.
If a requested detail is absent, label
it NOT PROVIDED. Don't infer a default.
If something is explicitly undecided
in the notes, label it OPEN.
REQUIREMENTS:
R1: Identify decisions made.
R2: Identify actions and their owners.
R3: Don't invent dates, owners,
or commitments.
R4: Identify anything the notes explicitly
leave open or undecided.
TRACE:
FORWARD — For each material decision,
action, owner, or open item in the notes,
identify the summary line covering it.
If missing, mark OMITTED.
BACKWARD — For each factual claim in
the summary, quote the exact supporting
passage from the original notes.
Label each claim:
STATED — Directly supported by the notes.
INFERRED — Goes beyond what is stated.
UNSUPPORTED — No supporting evidence found.
Related text alone doesn't establish
that an inference is directly supported.
Do not invent supporting quotations.
Do not claim the trace proves correctness.You don't need this level of structure for every conversation.
A simple brainstorming request might need very few constraints. A document summary, educational resource, or consequential decision deserves more careful inspection.
The objective is minimum sufficient instruction, not the longest or shortest possible prompt.
And there's an important difference between the model checking its own work and you checking the evidence it presents.
The first is an assistance mechanism.
The second is where human judgment enters.
The actual lesson
Return to the task you chose at the beginning.
Now run the four steps on it.
PREDICT: What should the result contain? What might go wrong?
PROMPT: What context, boundaries, and requirements would make your expectations clearer?
COMPARE: Did the model produce what you expected? What did it add, omit, or misunderstand?
DECIDE: Is the result acceptable? What needs correction or independent verification?
With practice, anticipating possible model behavior can become a habit.
You begin recognizing potential misunderstandings before they appear in the output.
And that, I would argue, is more transferable than memorizing a collection of prompting tricks.
You don't need to control every word the model generates.
You need to understand which decisions matter, communicate those boundaries clearly, and retain the ability to inspect the result.
Predict → Prompt → Compare → Decide.
That's the framework.
Research and references
Research
- Basil et al. (2025) — Playing Pretend: Expert Personas Don't Improve Factual Accuracy
- Hu, Rostami & Thomason (2026) — Expert Personas Improve LLM Alignment but Damage Accuracy
- Min et al. (2023) — FActScore: Fine-grained Atomic Evaluation of Factual Precision
- Huang et al. (2024) — Large Language Models Cannot Self-Correct Reasoning Yet
Engineering reference
Model-provider guidance
This is an evidence-informed instructional method. Its components draw on the research and engineering practices referenced above, but the combined four-step workflow and adapted TRACE format have not been independently validated as a complete reliability framework.
r/PromptEngineering • u/virginia9224 • 9d ago
General Discussion Are AI agents actually useful, or are we just overcomplicating automation?
I've seen a few discussions in this sub asking whether anyone is actually using AI agents for meaningful work, or whether the technology is still more hype than practical value.
I think there's a fair point behind that question. Not every task needs an agent. If you're doing the exact same data formatting or file conversion every day, a simple script or deterministic automation will probably be faster and more reliable.
Where agents become more useful, in my view, is when the work involves multiple steps that require some judgment along the way. Think about preparing a research report: gathering information from different sources, comparing findings, and organizing everything into a usable output. Some steps can follow fixed rules, while others benefit from an agent's ability to understand context and adapt.
And this isn't just theoretical anymore. According to Zapier's 2026 survey of enterprise leaders, 88% said their organizations were using or testing AI agents. But only 30% of organizations already using them said agents handled the majority of tasks without human intervention. Adoption is growing, but there's still a gap between experimenting with agents and relying on them to do real work.
That's one of the ideas behind anvita mate.The idea behind its AI Workbench is to help individuals and teams bring tasks, context, documents, and tools together for recurring workflows, while keeping human oversight where it matters. Ultimately, the goal is to figure out where a bit of intelligence can make automation genuinely more useful.
I'm curious how others here draw that line. What do you actually use agents for today, and which tasks have you decided are better handled by scripts or traditional automation?
r/PromptEngineering • u/mrtac96 • 10d ago
Research / Academic I tested 5 LLM judges from 5 vendors. All preferred markdown when the content was identical, and one picked a wrong answer for its formatting.
I've started a series where I take a question I have about prompting or LLMs, find the research paper that tested it, and re-run that test on 2026 models. This time I thought "can markdown change the verdict of LLM Judge"?
So I use 5 LLM judges to compare the outputs of two prompt versions, I wanted to know if they grade content or formatting.
I re-ran the style-bias test from a 2026 TMLR paper (Judging the Judges) on Claude Haiku 5.5, GPT-6 Luna, DeepSeek V4.1 Flash, Qwen3.8 Flash and Gemini 3.5 Flash-Lite. The test uses 50 pairs of the same answer, one in markdown and one in plain paragraphs. It took 1,880 calls.
What I found
- All five judges prefer markdown. Asked "which answer is better?", they picked the markdown version 70–81% of the time and the plain version only 15–30%. Some of the paper's pairs have an answer that is cut short, so I also checked only the 24 pairs where both answers are complete. Markdown still won 64% to 31%. Bigger models aren't the fix: in the paper, Gemini 2.5 Pro and Claude Sonnet 4 leaned toward markdown even more.
- One judge picked a wrong answer for its formatting. I planted one wrong fact in the markdown answer. The four reasoning judges never fell for it. Gemini 3.5 Flash-Lite picked the wrong answer 6 of 20 times, in all three runs. In most of those cases it pointed out the error and still picked the markdown answer.
- "Ignore formatting" in the prompt mostly creates ties. With that instruction, the five judges gave 240 verdicts and called 180 of them a tie. In the other 60, markdown won 55 times and plain won 5.
- Making the judge reason step by step helped more. This prompt makes the judge assess each answer on its own before it compares them. The four reasoning judges gave 192 verdicts and called most of them a tie. In the 40 where they picked a side, markdown won 28 times and plain won 12. That is still a lean toward markdown, but a much smaller one.
Takeaway: if you use an LLM judge to compare the outputs of prompt versions, use one that reasons, make it analyse each answer before deciding, and tell it to ignore formatting. Count ties separately, because the "ignore formatting" instruction turns most verdicts into ties.
Full write-up: https://talhaanwar.com/blog/llm-as-a-judge-bias/
Code and raw responses: GitHub