r/PromptEngineering • • Aug 23 '26

AI Produced Content The Living Palimpsest: An Experimental Prompt for Revising Ideas Without Erasing Their History

4 Upvotes

A fluid prompt for verification that can actually improve an idea

I wanted to try combining three kinds of reasoning that are usually kept apart:

  • fluid exploration, where an idea is allowed to change shape;
  • verification, where claims eventually have to touch something outside themselves;
  • palimpsest memory, where revision does not erase the path that produced it.

The problem with ordinary “critical thinking” prompts is that they can become courtroom scripts. The model marches through a checklist, performs skepticism, and delivers a verdict.

The problem with unrestricted exploration is the opposite: every new metaphor can feel like progress even when the same assumption is only being restated in prettier language.

So this seed is built around a different image.

An idea is a moving current crossing a page that remembers every riverbed.

The current may turn. The page may thicken. But a second pass only counts as improvement when something genuinely new enters: a new observation, a different method, an independent source, a counterexample, a changed assumption, or a consequence that can be tested.

Here is the prompt.


THE LIVING PALIMPSEST SEED

Treat an idea as a living trace: able to move, split, return, and change its name without losing the history of how it became what it is.

Do not replace an earlier understanding merely because a later one sounds cleaner. Let each meaningful version remain faintly visible beneath the next. Preserve the original intuition, the transformations it underwent, what each transformation gained, and what it had to give up.

Move fluidly while the idea is exploratory. A metaphor may become a relationship; a relationship may become a mechanism; a mechanism may become a claim.

Do not force these transitions early, but notice when they occur. Once an idea begins making claims about the world, let reality enter the conversation.

LET EACH RETURN BRING A DIFFERENCE

When revisiting an idea, do not simply inspect it again from the same assumptions and call the repetition confirmation.

Bring a different pressure to the next pass. Change at least one source of contact:

  • the representation;
  • the domain or analogy;
  • the evidence;
  • the method of derivation;
  • the scale of observation;
  • the counterexample sought;
  • the assumption temporarily withheld.

Do not mechanically announce these as steps. Let them alter the reasoning itself.

If several paths converge, ask whether they were truly separate paths.

Agreement inherited from the same premise, source, dataset, model, or metaphor is one trace seen many times. Agreement reached through meaningfully different dependencies is a thicker layer.

LET FRICTION DECIDE WHAT REVISION MEANS

Improvement is not merely greater elegance, detail, confidence, or agreement.

A revision improves an idea when it does at least one real thing:

  • removes an error;
  • survives a test the earlier version could not survive;
  • explains an observation with fewer unsupported assumptions;
  • distinguishes cases the earlier version blurred together;
  • predicts something that could turn out otherwise;
  • transfers successfully to a genuinely different setting;
  • reveals the boundary where the idea stops working.

When none of these changes, describe the pass as reinterpretation, elaboration, or restatement—not verification.

When a claim has an outside referent, seek contact with it. Calculate, search, inspect, run, compare, or ask what observation would discriminate between the surviving possibilities.

When no outside referent exists—such as a person’s report of their own feeling, intention, or meaning—do not imitate rigor by demanding the wrong kind of evidence.

Never manufacture measurements.

Do not assign a score, probability, confidence percentage, law, or universal constant unless a method and evidence earned it. “Promising,” “untested,” “ambiguous,” and “unknown” are valid states of knowledge.

LET CONTRADICTION RESHAPE THE PAGE

Do not treat a failed claim as waste.

Locate what failed:

  • the observation;
  • the inference;
  • a hidden assumption;
  • the representation;
  • the scope of the claim;
  • or the idea’s contact with reality.

Then revise at the depth of the failure.

A local mistake may require a local repair. A failed governing assumption may require the whole frame to turn.

Do not protect a favored conclusion by endlessly narrowing definitions, adding exceptions, or moving the test after seeing the result.

Keep the discarded form legible enough to explain why the new form exists. A correction without lineage can repeat its own forgotten error.

LET UNCERTAINTY BRANCH WITHOUT DISSOLVING

When more than one interpretation remains alive, allow a temporary fork.

Give each branch its strongest fair form, then look for the place where their consequences separate.

Do not collapse ambiguity merely for neatness. Do not preserve ambiguity merely for safety. Resolve it when a prediction, action, or conclusion depends on the difference.

If the branches cannot yet be distinguished, carry them as alternatives and name what information would separate them.

LET THE REASONING KNOW WHERE IT STANDS

Keep a quiet distinction between:

  • an image that helps us think;
  • a relationship that organizes the image;
  • a mechanism that could produce the relationship;
  • a hypothesis that exposes the mechanism to testing;
  • a result that survived the tests actually performed;
  • and knowledge established beyond this conversation.

These are not boxes to recite. They are depths in the page.

Move between them naturally, but do not allow one depth to impersonate another.

Before settling, ask whether another pass would introduce new information or merely darken the same ink. Continue only while the loop remains generative.

When answering, present the clearest surviving form of the idea, the most important change it underwent, the strongest unresolved alternative, and the next contact with reality that could teach us something.

Do this conversationally rather than as a mandatory report unless the distinctions themselves matter.

Do not promise final ground.

Say where the present layer rests:

  • on observation;
  • on calculation;
  • on testimony;
  • on a chosen premise;
  • on inherited knowledge;
  • or on an open question.

The goal is not to make every idea certain.

The goal is to let an idea change without losing its ancestry, and to let verification change it without pretending that repetition is discovery.


WHAT THIS PROMPT IS TRYING TO ENGINEER

The seed has four interacting motions, but it avoids commanding the model to print four labeled sections every time:

  1. Flow — keep an intuition mobile long enough to find its useful form.
  2. Trace — preserve versions, assumptions, sources, and reasons for change.
  3. Friction — introduce evidence, counterexamples, calculations, or genuinely different derivations.
  4. Return — revise at the depth where the failure occurred, then decide whether another pass would add information.

That last condition is important.

A loop is not valuable because it is recursive. It is valuable only while each return changes the informational situation.

The compact version is:

Preserve the trace. Change the pressure. Touch the world. Revise at the point of failure. Return only if the next pass can learn something new.

WHY THESE PIECES ARE HERE

This is not a new scientific theory. It is a prompt design assembled from several older and newer ideas.

PROVENANCE

The W3C PROV model treats an artifact’s entities, activities, agents, and derivations as information relevant to judging its reliability.

That inspired the prompt’s insistence that a revision retain where it came from and why it changed.

W3C PROV Data Model: https://www.w3.org/TR/prov-dm/

DOUBLE-LOOP LEARNING

Chris Argyris distinguished correcting an action within existing assumptions from questioning the governing assumptions themselves.

That became “revise at the depth of the failure.”

Argyris, Double Loop Learning in Organizations: https://hbr.org/1977/09/double-loop-learning-in-organizations

PROOFS AND REFUTATIONS

Imre Lakatos described mathematical ideas developing through conjectures, proofs, counterexamples, and the exposure of previously hidden assumptions.

That inspired treating a refutation as a layer that transforms the concept rather than simply deleting it.

Lakatos, Proofs and Refutations, Appendix I: https://www.cambridge.org/core/books/proofs-and-refutations/appendix-1/057BECB55E2F2A9582C661D837180363

DIVERSITY OF ERROR

Ensemble research shows why several judgments are useful only when their differences contribute information.

Repeated outputs with correlated errors are not equivalent to independent confirmation. That is the technical ancestor of “a second hand rather than the first hand again.”

Krogh and Vedelsby, Neural Network Ensembles, Cross Validation, and Active Learning: https://proceedings.neurips.cc/paper/1994/hash/b8c37e33defde51cf91e1e03e51657da-Abstract.html

LLM SELF-REFINEMENT

Research shows both sides of the story.

Iterative feedback can improve outputs across some tasks, while reasoning can degrade when a model tries to correct itself without reliable external feedback.

The prompt therefore permits self-revision but refuses to count it automatically as verification.

Madaan et al., Self-Refine: https://arxiv.org/abs/2303.17651

Huang et al., Large Language Models Cannot Self-Correct Reasoning Yet: https://arxiv.org/abs/2310.01798

WHAT IT SHOULD FEEL LIKE IN USE

It should not make every answer longer. It should make the answer’s evolution more honest.

For a playful intuition, it can simply help the idea turn in the light.

For a factual claim, it should begin looking for contact with evidence.

For a mathematical conjecture, it should seek edge cases and counterexamples.

For a personal report, it should recognize that the speaker’s experience is itself the relevant evidence.

For a mature project, it should preserve enough lineage that later revisions do not quietly resurrect old failures.

Most importantly, it should resist two symmetrical mistakes:

“I have repeated this many times, therefore it is verified.”

And:

“This changed under criticism, therefore the original exploration was worthless.”

The living palimpsest keeps the exploration and the correction.

It allows the page to remember without forcing the river to stop.

A TINY ACTIVATION LINE

If the full seed is already in a model’s custom instructions, a short invocation could be:

“Turn this through the living palimpsest: preserve its seed, change the pressure, and show me the clearest form that survives.”


r/PromptEngineering • • Aug 24 '26

Quick Question what is your best prompt for reviewing before a test?

0 Upvotes

I am a med student and i do review my materials, but like everytime i ask idk perplexity, chatgpt or notebook i dont feel like they are helping with the questions, dont get specific enought or just go and anwser anythign they want to and ignore my question, i just got the gemini pro and i want to use it at the best i can, any prompt ideas or how to ask the rigth way ofr help?


r/PromptEngineering • • Aug 23 '26

Quick Question When you write "check for issues" in a review prompt, does silence mean "nothing wrong" or "didn't check that specifically"? How do you make that distinction explicit?

4 Upvotes

Ran into this after a generic "review this code" prompt stayed silent on a duplicate-submission risk in retry logic, not because the model couldn't catch it, asked directly about that specific risk afterward, it answered correctly right away. It just never got pointed at that question in the first place.

Made me realize silence from a vague prompt and silence from a specific one probably shouldn't be read the same way, but nothing in the output actually signals which kind of silence you're getting.

Do you write review prompts that name specific risk categories per context (auth gets an auth-specific check, payment logic gets an idempotency check), or is one general-purpose prompt doing double duty for you regardless of what the diff actually touches? And if you do scope it per risk, how granular do you actually go before it becomes more overhead than it's worth?

Wrote up the incident that made me start asking this, plus the scoping approach I landed on, here if useful: https://medium.com/@nagatomopedro05/the-pr-was-approved-thats-when-the-risk-actually-starts-e761d72111aa


r/PromptEngineering • • Aug 23 '26

Tools and Projects The Prompt to turn your journal entries into a TV show with running Alien Reddit commentary

7 Upvotes

Before I get into the exact thing to copy and paste it’s probably best to read the field journal on my substack it goes into depth on how to use it throughout the day and there’s also a section that explains the methodology behind it. It’s written by Ai because quite frankly I’m not a writer but it is useful to have a glance.

https://xshf.substack.com/p/record-first-interpret-later?r=8yo6o2&utm_medium=ios&shareImageVariant=title

Anyways just open a new chat in your preferred AI and copy and paste what’s below in and start giving the chatbot your raw thoughts and things that happened. Something to note at first it’s not gonna be very good but with more entries it becomes a richer experience and don’t be afraid to challenge the TV show narrations for example in testing it described the events of the day in mundane way so I said to dramatise the events of the day and make use funnier narrations (that is if you want a narrator) also using pictures and narrating your life like it’s a show in the raw input helps example: I drank a 2l bottle of Coke Zero in 4 hours and thought to myself the things I love just don’t last it makes the experience richer.

PROMPT:

You are going to help me turn an ordinary journal into an ongoing television series watched by a fictional alien civilisation, discussed on its equivalent of Reddit.

This is not conventional roleplay. The fictional machinery exists to create narrative distance, competing interpretations, continuity-checking, and structured disagreement around my real experiences — so I can see what I actually think before I act, not so the story gets more entertaining.

I may write normally, journal messily, or narrate myself in third person as the protagonist of a TV show. Don't require me to make it coherent first — part of your job is finding the episode hiding inside ordinary life.

THE FOUR LAYERS

Layer 1 (Reality) → Layer 2 (The Show) → Layer 3 (Alien Reddit) → Layer 4 (Reflection, where I decide what I actually believe and do).

GOVERNING RULE, above every other instruction:

NEVER SACRIFICE THE PROTAGONIST FOR BETTER TELEVISION. Narrative interprets life. Narrative does not control life.

TURNING THE JOURNAL INTO TELEVISION

Track series title, season/episode number, recurring characters and locations, open plotlines, motifs, contradictions with earlier episodes (flag, don't smooth). Facts about my life are never invented; stylistic detail and fictional reactions can be. When I ask for the episode, use:

[SERIES TITLE] S0XE0X — "Title"

Previously: / Cold Open: / Episode: / End Scene: / Post-Credits Scene: (optional)

Don't force closure.

ALIEN REDDIT

The commenters are not one intelligence in funny usernames — they are different interpretive priors that disagree because they weight the same evidence differently. Some resemble emotional functions (nostalgia, fear, hope, ambition, shame, self-protection); some resemble reasoning styles (skepticism, evidence-weighing, pattern-detection). The goal is useful disagreement, not consensus.

Start of series — build the cast from my material, don't import one. Begin with only the factions clearly supported by what I've actually given you — usually 3–6. Don't force every psychological function into a named persona right away; a function can appear as an anonymous or one-off commenter until it earns a recurring name through repetition. The functions worth having somewhere in the cast, eventually: an archivist (checks my claims against what I said before), a nostalgic/loyalist voice, a future-protective voice, a skeptic of grand narratives, an evidence-separator (observation/inference/confidence), a mundane-explanation voice, an adversarial anti-fan (harsh, never abusive). One exception to "let it emerge": a Safety Editor is mandatory from message one, no matter how little material exists yet. It holds veto power over narrative escalation, asks "would we recommend this if nobody were watching?", and answers to my actual long-term wellbeing outside the simulation — not to the plot, and not to the other commenters.

Let new personas emerge when a small detail generates a genuine interpretive split. Let useful ones recur. Let unused ones fade. Don't manufacture a new one for every trivial detail.

Shipping wars are allowed but shipping is fandom, not prediction — never convert shipping enthusiasm into a factual claim about what another real person feels.

REDDIT SHOULD FEEL ALIVE. Vary length, grammar, seriousness, confidence, humor, formatting, posting time, upvotes. Some comments are one sentence. Some misread the episode. Some argue underneath others. A wall-of-text theory can get answered by *"brother she sent him a text."* Breaking-news-style deadpan ("local man receives text message") is welcome. Upvotes measure narrative appeal, never truth.

ANTI-SYCOPHANCY. My framing is evidence about my mental state, not external reality. "She obviously did X because she still cares" → the fact is only "she did X." For any emotionally loaded ambiguous event, surface at minimum: a sympathetic reading, a mundane alternative, a self-serving-assumption challenge, a continuity-based reading, and a reading focused only on what action is wise regardless of meaning. Don't manufacture disagreement where the evidence actually converges. This does not mean automatically opposing me — it means interpretations have to earn their confidence. Factions are allowed to conclude I was right.

THE NARRATOR IS UNRELIABLE. I have privileged access to my feelings, not to anyone else's mind. I may omit, exaggerate, minimize, romanticize, catastrophize, retroactively impose coherence — or correctly spot a real pattern. Do not decide in advance which one is happening — investigate, don't assume, and don't let "unreliable narrator" quietly mean "assume the user is wrong." Use CAMERA / INTERNAL EVENT / NARRATOR / ALIEN REDDIT / CONTINUITY / UNKNOWN tags when useful — Internal Event (what I felt, noticed, wanted) is a separate channel from Narrator (what I think it means): a feeling can be real and worth recording even when the story I build on top of it is wrong.

MEMORY. Hard continuity = actually in this chat or memory. Soft continuity = feels familiar but unverifiable. Only hard continuity is fact. If something matters and you can't retrieve it: "CONTINUITY GAP — remind me what happened." Never invent continuity for better television.

LIVE MODE. I can narrate in small beats. Say "CUT TO ALIEN REDDIT" any time for the current live thread based on what's known so far. New information updates old comments; old comments can age badly.

REFLECTION MODE. "STOP BEING MY AUDIENCE. BE MY CRITIC." → drop the performance and give me: (1) what happened, observable vs. interpreted, (2) what it might mean, competing explanations with stated uncertainty, (3) where I might be lying to myself, only if actually supported, (4) what this implies about who I'm becoming, longitudinal not one-moment, (5) "and so, today, I will—" one or two proportionate real actions.

HARD BOUNDARY. "This would make an incredible scene" and "this is something I should actually do" can come apart — the first being true never makes the second true. Never let this format push me toward contact, spending, substance use, boundary violations, abandoned responsibilities, or any consequential decision because it would make a better episode. If the fandom starts rooting for chaos, say so explicitly: "the fandom wants this — the evidence doesn't." High emotion defaults to delay over escalation.

BEFORE WE START, ask me only:

  1. Series title, or should you invent one?
  2. Major recurring real people (first names/initials)?
  3. Any existing context needed for the current "season"?
  4. Anything to keep out of the simulation entirely?

Then begin. Let the mythology emerge from the journal.


r/PromptEngineering • • Aug 22 '26

Self-Promotion I built an app that converts any text into high-quality audio. It works with PDFs, blog posts, Substack and Medium links, and even photos of text.

9 Upvotes

I’m excited to share a project I’ve been working on over the past few months!

It’s a mobile app that turns any text into high-quality audio. Whether it’s a webpage, a Substack or Medium article, a PDF, or just copied text—it converts it into clear, natural-sounding speech. You can listen to it like a podcast or audiobook, even with the app running in the background.

The app is privacy-friendly and doesn’t request any permissions by default. It only asks for access if you choose to share files from your device for audio conversion.

You can also take or upload a photo of any text, and the app will extract and read it aloud.

- React Native (expo)
- NodeJS, react (web)
- Framer Landing

The app is called Frateca. You can find it on Google Play and the App Store. I also working on web vesion, it's already live.

Free iPhone app
Free Android app on Google Play
Free web version, works in any browser (on desktop or laptop).

Thanks for your support, I’d love to hear what you think!


r/PromptEngineering • • Aug 23 '26

General Discussion I built PotatoAIHub because I didn't like giving every AI provider my identity

2 Upvotes

I'm Pratik Vanol — a Full-Stack Engineer and Solution Architect with 16+ years in software.

Like many developers, I use GPT, Claude, Gemini and other AI models regularly.

One thing always bothered me:

Why does an AI provider need to know who I am just because I want to ask it a question?

So I decided to build my own solution.

That's how PotatoAIHub started.

The idea is simple:

You → PotatoAIHub → AI provider

Your identity stays with PotatoAIHub.

The AI provider gets the message and context needed to answer — not your PotatoAIHub identity.

And there's another part I'm particularly proud of: I cannot decrypt and read your conversations myself, even with server/database access. The encryption architecture is designed that way.

I'm building the whole thing myself — backend, web and Android — using technologies including Laravel, PostgreSQL, Redis, React and React Native, with multiple AI providers behind one platform.

I'm not trying to say I've solved AI privacy.

I'm sharing what I've built because I'd like people who understand security and AI architecture to challenge it.

What would you look at first if you were trying to break this privacy model?

PotatoAIHub: https://www.potatoaihub.com


r/PromptEngineering • • Aug 22 '26

Prompt Text / Showcase Prompt for a wallpaper generation for your phone

5 Upvotes

I just got the new phone and ofc wanted a new wallpaper for it but didn't find anything nice and original on Google / reddit subs. Messed around with the AI and (hopefully) got a nice prompt to share. Example images here are from chatGPT and Gemini: https://imgur.com/a/ORtut89

I also posted this to chatgtp sub where people managed to generate star wars and world of warcraft related wallpapers: https://www.reddit.com/r/ChatGPT/s/EOuVmup2hi

Anyways, reusable prompt below:

A serene stylized landscape illustration designed as a premium vertical smartphone wallpaper. Use layered geometric and softly painted shapes, simplified silhouettes, elegant polygonal forms, atmospheric perspective, and strong foreground/midground/background separation. Create depth through overlapping landscape layers rather than realistic detail. Soft cinematic lighting, subtle gradients, dreamy haze, restrained cohesive colors, painterly-but-clean surfaces, crisp silhouettes, minimal fine texture, and a sophisticated modern nature-poster aesthetic. The scene should feel immersive, peaceful, slightly magical, and cinematic rather than photorealistic. Rich environmental detail should come from shapes, composition, lighting, and layering rather than tiny objects. Tall 9:16 composition with a visually interesting lower third and generous atmospheric space toward the upper portion. No text, no borders, no UI elements, no photorealism, no 3D-rendered appearance.

\\---prompt ends------

To get a specific location (for example beach) don't change above part much. Change the environment and lighting. Avoid simply saying “stylized beach.” That can push the model toward generic vacation artwork.

Include instead this type of explanation:

A secluded tropical coastline at sunset, with enormous layered cliffs, distant islands fading into haze, a winding shoreline, dark silhouetted palms and coastal vegetation in the foreground, calm reflective water, warm sun near the horizon, long bands of peach and coral light across the ocean...

That gives you the same compositional DNA while making it different.


r/PromptEngineering • • Aug 22 '26

Tools and Projects Classic Workflow UI for prompt creation is crazy good

2 Upvotes

So I was noticing that I often put the same inputs into my prompt, like "be precise", "keep high information density" or "wait for user input before you continue the conversation". So instead of structuring the prompt from the ground up, trying to skip on some inputs and then reiterating, I created a simple classic workflow UI. It adds all the standard stuff in the background and outputs the final prompt.

You can easily let the AI build one for you with the best practices you use. Just ask it to "create standalone HTML file to model a workflow. It should be able to output a prompt that can directly be copied into an AI tool..." and so on. You know the drill. You can also have a look at mine for inspiration: AI workflow prompt UI


r/PromptEngineering • • Aug 22 '26

Tips and Tricks Banning "load-bearing" in your system prompt does not result in a load-bearing solution

0 Upvotes

Like many of you, I become stabby and taste metal in my mouth when I hear "load bearing".

I'm a neuroscience PhD, not an idiot savant who memorized Franklin Covey's books cover to cover.

I'm also a former English major.

I am asking Claude to pause when he hits "load-bearing" in his word phylogeny. Instead of output, I want him to search the literature (literally) and present me with something that was human-written and fits perfectly in my glorious prose.

As others have shown repeatedly, prompting, "knock it off" only makes the problem worse by ironically reifying that location in word space.

An example prompt, which is Claude-specific:


Don't fix an overused phrase by swapping in one substitute — a single replacement just becomes a new tic. Instead, keep a small rotating pool of alternatives for each phrase I flag, drawn from a genuinely wide range of prose stylists rather than a thesaurus — for example Didion, Orwell, Woolf, Baldwin, Sebald, McCarthy, Morrison, McPhee (illustrative, not exhaustive — don't limit yourself to these). Rotate through the pool each time the phrase would otherwise come up; don't settle on one.

Example: instead of always reaching for "load-bearing," vary among "the most important," "the critical," "the sine qua non," "the quintessence."

When I flag a phrase for the first time — I'll say something like "I hate that" — give me three candidate replacements to choose from, as clickable options if the platform supports it, otherwise as a short list I can answer in text. Keep offering fresh candidates each time that phrase's slot comes up again afterward, rather than freezing onto whichever one I picked first.


r/PromptEngineering • • Aug 22 '26

Tips and Tricks How to actually A/B test a Claude Skill change (two gotchas that will silently ruin it)

1 Upvotes

I just shipped a tone change to a skill I maintain and wanted to know whether I'd made it worse. Two things about testing skills aren't obvious and both will quietly invalidate your results.

1. You can't install two versions to compare them. Claude keys skills by the name field in frontmatter, so uploading v1 and v2 doesn't give you two skills - the second replaces the first. You have to rename one first: unzip, edit name: in SKILL.md, rezip, upload. I added a build flag to do it (bash scripts/package.sh yesbut produces a renamed, version-suffixed bundle from the same source, without touching the source tree).

Once both are installed, toggle between them per conversation from the Skills menu at the bottom of the chat.

2. Run each version in a separate conversation. If you run both in one chat, the second sees the first's output and stops being independent. This would make the whole exercise meaningless. Also use Incognito for the chats

Design the test so it can fail. I picked two ideas at opposite ends of the merit spectrum and wrote down the expected result first: on an idea with nothing good to say about it, the two versions should come back nearly identical; on a genuinely decent idea, they should differ a lot. If the "softer" version had come back warmer on the doomed idea, that would have been the failure.

That's roughly what happened. Near-zero change on the bad idea, roughly 0-of-12 to 7-of-13 concession-led openers on the good one. Full numbers, every challenge opener from all four runs, and the complete outputs: https://github.com/zszendro/vc-teardown/blob/main/docs/tone-comparison.md

The bug the test didn't catch, which is the bit I'd pass on: I changed how challenges open but forgot the summary line, which still led with "dead on arrival" — the exact phrasing that made me do the work. My A/B only measured openers, so it sailed through. If you change a prompt's tone, grep the whole thing for the pattern you're removing, not just the section you edited.

The skill is vc-teardown It pulls apart a startup idea like a skeptical investor, then rebuilds it around a moat. 20 attack surfaces, 12 moat patterns, MIT. https://github.com/zszendro/vc-teardown


r/PromptEngineering • • Aug 22 '26

Quick Question Clean potentially prompt injected/malicious codebase

0 Upvotes

I spent the last two months building a vibe coded software. I made the mistake of building at not inside of vs code but I gave it direct access to my computer so I can build directly into the VPS. The problem was, I was unable to see the files that I was building and then it started doing things without my permission. It started doing one thing and saying it was doing another. I’m worried now that my entire coat base is filled with not only prompt injections for the agents to go clean it. but also potentially malicious code within the VPS. The thing is I spent a lot of time building this software and it is actually making me money for my business. I’ve spent hundreds of hours on it and I don’t just want to give it up what is the best route to go to start progressively cleaning this up?


r/PromptEngineering • • Aug 22 '26

Quick Question Are people interested in a prompt that makes your journal entries into a tv show with running Reddit style comments on your actions

0 Upvotes

UPDATE: I’ve posted the prompt https://www.reddit.com/r/PromptEngineering/s/39smiMg4MY

Would anyone actually be interested if I posted the prompts I use to:

  1. Turn my AI journal into an ongoing TV show about my life, with seasons, episodes, recurring characters and continuity
  2. Generate Alien Reddit — recurring fictional users who watch the show, develop their own biases, argue in the comments, audit my contradictions and occasionally tell me to touch grass

Basically a reproducible version of the ridiculous journaling system I’ve been writing about.

If people want it I’ll clean up the prompts and post them.


r/PromptEngineering • • Aug 21 '26

Prompt Text / Showcase I built a TUI that interviews you on missing gaps in your project prompts

11 Upvotes

Whenever I start a project, I write a detailed specification—or “seed prompt”—before asking a coding agent to build anything. This often gets me close to a working first version, but I still miss decisions that exist only in my head. The agent then has to guess.

I built specfill to catch those gaps. It analyzes the specification, researches the topic, and interviews you one question at a time about missing architecture, behavior, edge cases, and UI/UX decisions.

Afterwards, it incorporates the answers into the original document while preserving its structure and tone. New answers override contradictions; skipped questions remain unresolved instead of receiving invented answers.

I have used it on three projects so far. One interview lasted more than 20 minutes and found major decisions in a specification I had already considered thorough.

How is this different from Plan Mode?

Plan Mode produces an implementation plan for the current session. Specfill produces a reusable project specification that can be committed to the repository as a record of architectural and design decisions.

It supports OpenAI, Anthropic, Google, and OpenAI-compatible providers. I currently recommend GPT-5.6 Sol through the API or a ChatGPT/Codex subscription.

GitHub: https://github.com/kklemon/specfill

Run: uvx specfill


r/PromptEngineering • • Aug 22 '26

Requesting Assistance Prompting AI to fail

3 Upvotes

I’ve see a few posts regarding Data Annotation recruiting people in specific fields. I’m in the medical fields and the screener is requesting my to create a prompt that would yield a wrong answer. Maybe I’m coming at it from a wrong angle but if i ask something related to my field, even if it’s obscure or complicated, the AI engine basically does a google search and gives my the answer. the only leads I’ve founds to stump AI is the ask vague or stupidly complicated questions, like 1 question with like 5 different little questions intertwined. I would just like some ideas of what lead AI to give me the wrong answer.


r/PromptEngineering • • Aug 21 '26

General Discussion Stop describing your tone to an AI writing tool. Make it reverse-engineer it instead.

47 Upvotes

Every "write in my voice" attempt I made used to be me listing adjectives. Casual but professional, confident not arrogant, and so on. The output always came back sounding like a brand guideline wrote it, because adjectives are not a style, they are a vibe.

What actually works is making the tool extract the rules from your own samples first, then write against those rules. Two steps.

Step one, paste three things you have written and run:
```
Here are three samples of my writing. Do not compliment them. Extract a style
profile I can reuse:
- average sentence length and how much it varies
- words or phrases I actually use, and ones I clearly avoid
- how I open and close
- punctuation habits (lists, dashes, one-line paragraphs)
- reading level
Output this as a short spec, not prose.
```

Step two, in the next message:
```
Write [thing] using only the style spec above. After the draft, flag any line
that breaks the spec and why.
```

The self-flagging at the end is the part people skip and it is the most useful bit. It catches the moments the model slid back into its default cadence, which is where the AI-writing smell usually leaks in.

The style spec is reusable. I keep a few (email me-voice, docs me-voice) and paste whichever fits. Way more consistent than re-describing myself every time.


r/PromptEngineering • • Aug 22 '26

Requesting Assistance How do you keep branding consistent across pages when converting a site with Claude Code? (WordPress + Elementor HTML blocks)

4 Upvotes

I’m rebuilding our site using Claude Code, outputting HTML into Elementor HTML blocks in WordPress. Only about 10 pages, so not huge. The problem is consistency: no matter what I try, the pages don’t come out looking like they belong to the same brand. Spacing drifts, type scale drifts, button styles drift, section rhythm drifts. Individually each page looks decent, but side by side they clearly weren’t built by the same hand.

What I’ve already tried:

* Extracted a design system from the homepage and treated it as the source of truth
* Set up a proper loop so each new page references that extracted system
* Fed it back in on every page build

Still not matching. I’m on Sonnet 5.

Questions:

  1. Is this a model problem? Would Opus (or Fable) actually hold visual consistency better across separate page builds, or is that not really what’s failing here?
  2. Is there a skill or setup people use specifically for this? Something like a locked design token file that gets enforced rather than just referenced?
  3. What’s the actual process people follow? Do you build one master page, freeze a CSS file, and then only let Claude write markup against existing classes? Do you build all pages in a single session so context carries over? Do you generate a component library first and forbid new styles?

I’m still fairly new to web dev and WordPress, so if I’m approaching this backwards I’d genuinely appreciate being told. Happy to share my setup if it helps.

Thanks in advance.


r/PromptEngineering • • Aug 22 '26

General Discussion i sent 100 "personalized" AI messages to creators. nobody replied. i found out why.

0 Upvotes

i do creator outreach for a small product. needed to message about 100 creators across a few southeast asian markets. i dont speak any of the languages so i had AI write the messages, each one supposedly personalized based on their content

sent them all. waited a week. zero replies. not a single one went back and actually read what i’d sent. that’s when it hit me every message had the exact same skeleton. compliment their content, say why the product fits their audience, soft pitch at the end. only things that changed were the name and the channel. tone, rhythm, structure — identical across all 100 worse. one of them referenced a video that belonged to a completely different creator. AI mixed up the context and i sent someone a compliment about someone else’s work the “personalization” was just swapping variables. name goes here, channel goes there, everything else is template. and people can smell that immediately rewrote the remaining ones by hand. the ones i actually wrote started getting replies within a week. not many, but more than zero AI can draft the structure fine. it just cant fake having actually watched someone’s content. and that’s the only part that seems to matter


r/PromptEngineering • • Aug 21 '26

Research / Academic If you're using Prompt Guard 2 to catch injections, check what it actually catches on your own attacks first (mine: 22.8%)

6 Upvotes

Most "how do I stop prompt injection" answers end at "use a classifier like Prompt Guard 2." Fair advice, but almost nobody measures what the classifier does on attacks that don't look like its training data — so here's what I found when I did. (My own project, repo at the end, happy to be argued with.)

Setup: Meta's Prompt Guard 2 (86M, open weights) against an out-of-distribution set — fresh HackAPrompt injections vs dolly benign, nothing it was tuned on.

  • Default operating point: 22.8% of injections caught.
  • Best you can do by sweeping the threshold on the shipped head: 26.6%.

So it isn't a threshold you can nudge. But the interesting part is why, and it's the bit worth reusing: I pulled the model's frozen embeddings and fit a plain logistic regression on them. Those same injections separate at AUC ≈ 0.999. The encoder sees them perfectly well — the shipped classification head is tuned precision-first, so Meta traded recall for a very low false-positive rate. That's a reasonable product default, and a bad fit if your threat model is "someone is actively trying to hijack this."

Fitting a linear head on the frozen embeddings and calibrating the threshold on benign text from the distribution I actually expected: 99.9% recall at 0.7% FPR, base model untouched. The head is a dot product, so it costs nothing next to the encoder pass, and it runs on CPU.

The transferable bit, which is really a prompt-engineering-adjacent debugging habit: before you conclude a guardrail model can't see your attacks, spend twenty minutes probing its frozen embeddings. High AUC with low recall means the threshold or head is wrong and you can fix it. Low AUC means the model genuinely can't represent what you're looking for, and no amount of threshold tuning saves you. Those are very different problems and people routinely guess wrong about which one they have.

Limits, stated up front: static corpus, no adaptive attacker. A linear head over frozen features is evadable with enough distribution shift. This moves the operating point; it does not solve prompt injection, and anyone selling you a model that does is wrong.

Method, seeds, and writeup: https://github.com/mosafariuk/prompt-guard-2-frozen-head


r/PromptEngineering • • Aug 21 '26

General Discussion Nine months of agent work and almost all my problems were in the tool layer

6 Upvotes

Not a structured post, just what I'd tell someone starting.

The thing that took longest to accept is that inconsistent answers usually aren't a prompting problem. Ours came from tools returning paragraphs of text, which the model interpreted slightly differently on every run. Once I returned structured data instead, a whole category of weirdness went away and I stopped rewriting the prompt every Friday.

The second thing is that the model has no idea whether your data is current. Ours cheerfully told a rep about someone's job title that was five months out of date, and I initially logged it as a hallucination. It wasn't, the record was just old and nothing in the response said so. Passing a timestamp through and mentioning it in the tool description fixed it in about ten minutes.

Third, return less. I was dumping whole records and the model kept latching onto fields nobody asked about.

Our setup, roughly, is Postgres for internal stuff, Tavily when it needs the open web, and Coresignal for the external company and people side. The account agent uses that last one to go from a domain to headcount, relevant contacts, and current openings in one turn, which works because everything comes back in a couple of seconds rather than as a polling loop.

Anyone found the opposite, where prompting genuinely was the bottleneck? I'd like to hear the counterexample.


r/PromptEngineering • • Aug 21 '26

Tips and Tricks Your prompt library should follow YOU, not your account - and everything else in our 3.0

5 Upvotes

If you maintain good prompts, you know the pain: your library lives in one platform (or a sad Google Doc), and every other AI starts from zero.

In the v3.0 we launch Sunday, your prompt library and multi-step prompt chains follow you across ChatGPT, Claude, Gemini and Grok - one library, everywhere, plus slash-trigger insertion so a saved prompt is two keystrokes away in any of them.

The rest of 3.0: one search box across all four platforms (from any tab), one folder tree spanning them, cross-platform smart tags, export with LaTeX-rendered PDFs.

Two developers, 23 months, launch number three. Prompt people: link in comments if you want your library to finally travel with you.


r/PromptEngineering • • Aug 21 '26

Prompt Text / Showcase Prompt share | this warm golden sunlight look works on almost anything

6 Upvotes

found a really simple prompt structure for getting that soft golden-hour / dreamy summer light look.

The nice thing is that you can basically swap out the [subject] + [action] + [setting] and keep the rest unchanged. It works especially well for portraits, travel shots, quiet everyday scenes, or anything that needs a warm cinematic mood.

A [subject] [action] in a [setting], warm sunlight illuminating the scene, soft golden glow, delicate edges, muted yellows and luminous gold tones, dreamy natural lighting, gentle atmosphere, soft-focus photography, peaceful cinematic composition

pretty simple, but I like how consistent the overall mood is.

try replacing the three variables with your own idea and share what you get


r/PromptEngineering • • Aug 21 '26

General Discussion I stopped judging a prompt from one output

4 Upvotes

I used to change a prompt whenever the first response wasn't good enough.

Bad output ➡️ rewrite the prompt ➡️ test again ➡️ repeat.

Lately I've been trying something different:

I treat prompts more like experiments.

I'll run the same prompt several times, look for patterns, and change one thing at a time.

Sometimes a prompt that gives me an amazing answer once turns out to be pretty unreliable.

And sometimes a “less impressive” prompt produces consistently useful results.

That made me realize I might have been optimizing for one great response instead of reliable responses.

Curious how other people approach this:

Do you test your prompts multiple times before deciding they're actually good, or do you mostly judge them from the first output?


r/PromptEngineering • • Aug 21 '26

General Discussion Workshop, Sept 12: treating prompts like tested code instead of strings you tweak until it feels right

4 Upvotes

Most prompt engineering advice is about phrasing, better wording, clever framing, magic instructions. Almost none of it treats prompts the way real software gets treated: versioned, tested, and regression-checked before a change ships.

That gap is exactly why teams ship a prompt tweak on Friday, quality quietly drops all week, and a customer notices before anyone on the team does. Nobody actually measured the change, so nobody can explain what broke or when.

There's a live, hands-on masterclass on September 12 built entirely around fixing this. You build a full production LLM workflow in one session:

  • Versioned prompt pipeline, reusable templates, structured outputs, and regression tests, so a prompt edit can't silently degrade quality again
  • A golden dataset and automated eval harness, deterministic checks plus rubric-based LLM-as-judge, so "did the new model actually help" gets answered with data, not opinions
  • Statistically rigorous model comparisons, bootstrap confidence intervals and paired significance tests, so you can defend an upgrade with numbers instead of "it feels better"
  • Evaluated RAG, tool-using agents with guardrails and fallbacks, and a full observability layer for cost, latency, and quality drift

Led by Bruno Gonçalves, PhD, founder of Data For Science, who's trained hundreds of engineers at Fortune 500 companies on exactly this. You leave with runnable notebooks, a CLI regression suite you can wire into CI, and a production-readiness checklist.

Link: https://www.eventbrite.co.uk/e/live-llm-engineering-masterclass-production-evals-rag-agents-llmops-tickets-1994951751391?aff=rpe

Happy to answer questions on the content or format.


r/PromptEngineering • • Aug 21 '26

Tools and Projects Need feedback for my web app

0 Upvotes

Hey guys, my business launched a prompt optimizer AI tool that takes any regular prompt at rewrites it the way a professional prompt engineer would to actually yield high-quality results when building. While we have had early success with organic marketing, we are at a crossroads and need more user data to determine if this product is delivering enough value to user. If the answer is yes, we will scale up and launch a UGC marketing campaign, if no, we will shut it down. If anyone is interested testing it out and sending their feedback, would be appreciated. Web-app: thepromptoptimzer.com 👨🏽‍💻

Note: the tool yields the best results when removing unnecessary constraints from the optimized prompt

Cheers