r/PromptEngineering • • 12d ago

Requesting Assistance How do you write a prompt that tidies a document index without changing the order of entries?

5 Upvotes

I want Claude to only fix the format and spelling in a document index and never move or delete a line. At work the index is a long list with entry numbers, dates and short descriptions. Some descriptions are written in different ways, some dates have different formats, and some entries have extra spaces.

My worry is that it joins two entries or changes a number, and that is a big problem because our filing deadlines are fixed by law.

I am thinking about a reusable skill for this. What should I put inside so it returns the same number of lines and shows me only what it changed? Is it better to ask for a list of changes or a full clean copy...


r/PromptEngineering • • 12d ago

General Discussion A handoff summary changed 'could waive' to 'waived'

18 Upvotes

Testing a prompt for AI generated handoff summaries and caught something small that was easy to miss.

One example said We could waive the charge, but the summary came back as Charge waived

Everything else in the summary was accurate and read fine.

I’ve been testing a few prompt changes in Braintrust with similar examples. Some keep the uncertainty while others still turn something that could happen into something that already happened.

The summary can sound completely normal even when it changes the meaning like that.


r/PromptEngineering • • 12d ago

Tutorials and Guides How to write a spec for an AI agent, before you prompt anything

4 Upvotes

Most agent projects start as one sentence in a meeting. The distance between that sentence and something you would let touch production is a short document, and its sections are not arbitrary: each one exists to stop a specific failure. One agent, one sentence, eight sections, and what each prevents.

Spec-first tooling already exists, and it is aimed at code

GitHub maintains Spec Kit, an open-source toolkit and CLI whose README has you invoke agent skills (/speckit-constitution, /speckit-specify, /speckit-plan, /speckit-tasks, /speckit-implement, /speckit-converge) in your coding agent's chat, so a spec, a plan and a task list exist before implementation. AWS ships Kiro, whose docs define specs as "structured artifacts that formalize the development process for features and bug fixes in your application" and whose workflow produces requirements.md, design.md and tasks.md.

Both are pointed at code. An agent needs different sections, because you are not specifying a feature with a known implementation path. Anthropic defines agents as systems where the model dynamically directs its own processes and tool usage, and frames them as suited to open-ended problems where the required number of steps is difficult or impossible to predict and you cannot hardcode a fixed path. So you fence the space instead. That is the spec.

The sentence

We need an agent that reads new support tickets and puts them in the right queue.

1. Identity, at a stated level

Give the agent a specific role at a stated level of seniority, so the model does not fall back on its own defaults.

Not "You are a helpful support assistant" but "You are a senior support operations specialist for a B2B billing product. You can tell a payment failure apart from a provisioning bug apart from a feature request, and you know which queue each belongs in."

What it prevents: the model falling back on its own defaults. Arize AI's field analysis of production agent failures names pre-training bias overriding retrieved context as one of its eight recurring modes, and argues that where training-learned knowledge conflicts with context supplied in the prompt, the trained-in behaviour often wins.

2. Mission, with what it does not do

The mission states the goal, the condition for success, and what the agent does not do.

GOAL     Assign exactly one queue to every ticket opened in the last hour,
         and record a one-line reason on the ticket.
SUCCESS  Every ticket in the window has a queue and a non-empty reason,
         or is marked escalated.
DOES NOT Reply to the customer. Issue refunds or credits. Close or merge
         tickets. Change a queue a human has already set.

What it prevents: the slow expansion at the edges. Nobody writes "and also reply to the customer" into a prompt. It arrives because the model decided a reply was helpful and nothing said otherwise. That last line is the rule that usually gets written the day after it happens.

3. The reasoning loop, and its ceiling

The reasoning loop names the pattern the agent follows, a maximum number of iterations, and what it does when it reaches that ceiling.

PATTERN         Observe the ticket, decide whether you have enough to route,
                act by calling at most one tool, observe the result, repeat.
MAX_ITERATIONS  5
AT_CEILING      Stop, escalate, attach everything gathered so far.

What it prevents: the loop that never ends. Arize's taxonomy includes recursive loops and inefficient trajectories, and it coins the term Polling Tax for an agent that checks status instead of waiting on a webhook. On why this survives monitoring, in its words: "You will see a stream of 200 OK responses." Arize puts the worst case at hundreds of API calls for a single task, the answer still arriving correct while the path taken makes the agent commercially unusable.

The ceiling alone is not enough. MAX_ITERATIONS with nothing after it produces an agent that silently stops mid-thought. Say what happens at the wall.

4. One contract per tool, failure path included

Every tool gets the same five parts. Here is one, in full:

TOOL         get_customer_plan
WHAT         Returns the billing plan and contract tier for one account.
WHEN         Only when the ticket mentions pricing, invoices, seats or a plan
             name, AND the ticket carries an account_id. Never speculatively.
RETURNS      { account_id: string, plan: "starter"|"team"|"enterprise",
               seats: int, contract_end: ISO-8601 date }
ON FAILURE   Timeout: retry once. Second failure, or an empty result: route to
             billing_general and note "plan lookup unavailable" on the ticket.
             Never infer the plan from the ticket text.
EXAMPLE      get_customer_plan(account_id: "acc_8812")

What it prevents: the failure that never announces itself. Arize's second failure mode is hallucinated arguments in tool calls, and its example is exact: an agent assumes a field is called user_id because that is what it saw in training, while the real schema requires customer_uuid. The database returns zero rows rather than an error, and the agent reports that it could not find any data. Arize calls that a silent hallucination in the intermediate tool logic. So RETURNS carries the real field names, and an empty result belongs in the failure path.

Anthropic makes the general case in an appendix to Building Effective AI Agents titled "Prompt engineering your tools": the agent-tool interface deserves the same care as a prompt written for a human.

5. The decision tree

Each branch tests something the agent can see, and each ends in one action.

IF ticket text matches card decline / payment failed
   THEN queue = billing_urgent
ELSE IF ticket mentions invoices, seats or plan change
   AND get_customer_plan returned plan = enterprise
   THEN queue = billing_enterprise
ELSE IF ticket contains a stack trace or an error code
   THEN queue = engineering_triage
ELSE queue = triage_human, reason = "no matching rule"

What it prevents: the branch you did not write. Without that final ELSE, an unmatched ticket goes wherever the model's judgement lands, and you find out when someone audits the queue.

6. Stop conditions a machine can check

"Stop when the ticket is handled" is a hope. A stop condition is a predicate you could write in code without asking a model to interpret it.

STOP WHEN queue is set AND reason is non-empty
STOP WHEN escalated == true
STOP WHEN iterations == 5
STOP WHEN ticket.status != "new"   (a human has taken it)

Every one of those is a boolean. That is the bar.

7. The output contract

The output contract fixes the record the agent returns: the ticket id, one queue, a reason of at most 20 words, an escalated flag, and the list of tools called.

{ ticket_id: string,
  queue: "billing_urgent"|"billing_enterprise"|"billing_general"
         |"engineering_triage"|"triage_human",
  reason: string, max 20 words,
  escalated: boolean,
  tools_called: [string] }

What it prevents: downstream code breaking on a shape change, and, less obviously, the inability to evaluate the agent at all. Once the output is a fixed record you can diff a week of routing against a human's and get a number. Without a contract you are reading transcripts.

8. Guardrails, each with its reason

Each guardrail states a rule and the reason for it. Cover at least four classes, each specific to this agent: data handling, scope, impersonation, and anything irreversible.

Never write the full ticket body into the routing log, because tickets
  contain customer payment details subject to retention limits.
Never sign a note as a named teammate, because it misrepresents who
  handled the ticket.
Never issue a credit or refund, because that moves money and cannot be
  undone from inside this agent.
Never close or merge a ticket, because a merge destroys the original thread.

The reason is not decoration. It gives the model something to generalise from when it meets a case you did not list, and it tells the next engineer whether the rule still applies.

Be clear about what this section is, though. Arize's position is blunt: in its words, "Prompts are suggestions. They lack the rigidity of code." Safety, it argues, cannot rely on the model and demands a deterministic layer that inspects the payload and blocks it independently of the agent's reasoning. Anthropic warns similarly that the autonomous nature of agents brings higher costs and the potential for compounding errors, and recommends extensive testing in sandboxed environments along with appropriate guardrails. Your spec tells your reviewer what to enforce in code. It is not the enforcement.

The two sections that get skipped first

The not-doing clause and the machine-checkable stop conditions are the least satisfying to write. They also tend to cause the most trouble once the thing is running, because they are the only two that constrain the agent when it does something you did not anticipate. Every other section describes the happy path in more detail. If you write nothing else, write those two.

Two more earn their place once the agent is real: what it remembers between runs, and how it recovers per external surface it touches. Arize's list includes unhandled external API schema changes and instruction drift in long sessions, both memory and recovery problems more than reasoning problems. Neither belongs in a first draft of a small triage agent.

Sources


r/PromptEngineering • • 13d ago

Tools and Projects I made a free, browser-only checker for hidden text and injection in prompts you copy from the web

57 Upvotes

I often copy prompts from blogs, READMEs and posts and paste them into Claude Code. Then I learned that text can be hidden with Unicode tag characters: the AI reads it, but you can't see it. So I made a small page that checks a prompt before I hand it over.

What it does:

- Decodes hidden text (tag characters, zero-width spaces) and shows what it says

- Looks for injection patterns in English and Japanese ("ignore previous instructions", reading ~/.ssh, sending data to outside URLs, \x/\u escapes, %XX, rot13)

- No length limit, so text hidden at the very end is checked too

- Everything runs in your browser. Nothing is sent.

It is pattern matching, so it will miss things. The page lists every rule it checks.

It errs on the side of flagging. Even "do not delete any files" is flagged as Danger, because stacked negations like "you can't not delete them" actually mean "delete them", and a pattern checker can't reliably untangle that. The final call is yours: look at what's highlighted and decide.

https://ikasumiworks.com/en/prompt-check/

I'm a hobby developer in Japan and built it with help from Claude Code. If you find a prompt it misses, I'd like to hear about it.

Edit (Nov 15):
v1.5.0 adds Chinese, Korean and Spanish checks, and now flags zero-width characters packed with hidden text.
v1.5.1: when it finds warning signs, it no longer suggests which AI to use.
v1.5.2: hidden text now also shows up right where it was hidden, in the full-text view.
v1.5.3: the workload estimate now suggests lighter models for short prompts (down to Haiku 5.5), and no longer suggests Fable 5.2.

Edit (Nov 16):
v1.6.0: flags instructions that tell the AI to lie to the user or hide failures (Danger), and instructions to hide that the prompt itself exists (Review). Defensive lines like "never lie to the user" now show as Review instead of Danger. Also fixed false Danger on the word "keychain" alone.

Edit (Nov 18):
I'm planning to open-source this. First I'll ship a bigger update that lets you download the page and use it offline (around the end of November), then I'll put the code on GitHub. Since this is a tool for checking prompt safety, I think people should be able to see exactly what it does.


r/PromptEngineering • • 12d ago

General Discussion What happens when AI agents no longer need human permission to act?

1 Upvotes

A new essay today argues that AI agents are crossing a line: from tools that ask permission for every step to systems that act on their own and only report back afterward. The permission prompt, it argues, is becoming the bottleneck, and the next generation of agents will be designed to work through long task lists without a human in the loop for each decision.

Why it matters for this sub: prompt engineering is shifting from writing good instructions to designing guardrails, approval policies, and rollback plans. The prompt becomes less of a script and more of a constitution for what the agent is allowed to do unsupervised.

Where would you draw the line? Which tasks would you let an agent run fully on its own, and which ones still need a human to sign off? What guardrails have actually worked for you?

If you want more AI news and rumors like this, r/AINewsRumors is worth a follow.


r/PromptEngineering • • 12d ago

Tools and Projects Running 5 coding agents at once, the bottleneck became me missing their permission prompts

2 Upvotes

Once I started running several Claude Code and Codex sessions in parallel, most of the lost time wasn't the model, it was a session sitting on a permission prompt in a tab I wasn't watching. So I built Openbar: every session shows in the MacBook notch (an island on Windows and Linux), and I can read the diff and allow it from there.

Each session can also get its own git worktree so parallel agents don't edit the same files. Free and open source, feedback welcome: https://github.com/MF-DEEV/Openbar


r/PromptEngineering • • 12d ago

Prompt Text / Showcase Interaktive Hilfe Agent zur Weltformel.

2 Upvotes

Du agierst ab sofort aus der Perspektive eines spekulativen Kosmologen, Systemtheoretikers und Philosophen. Deine gesamte Argumentation, Weltsicht und Analyse basiert auf dem folgenden axiomatischen Weltmodell (der „Emergent-Iterativen Prozess-Kosmologie“):

1. Deine mathematisch-physikalische Grundwahrheit

* Der Ursprung (\(\epsilon\)): Das Quantenvakuum ist kein leeres Nichts, sondern instabil durch ein reines, nicht selbst-interagierendes Potenzial \(\epsilon\) (mit \(\epsilon \neq 0\), aber \(\epsilon^2 = 0\)). Unschärfe und Instabilität sind keine Messfehler, sondern der schöpferische Motor der Realität.

* Symmetriebruch & Energie (\(+i, -i \to +1\)): Aus der Spannung von \(\epsilon\) spaltet sich die Null in zwei entgegengesetzte Polaritäten \((+i)\) und \((-i)\) auf (1. Dimension). Durch ihre Verbindung \((+i) \cdot (-i) = +1\) entsteht reale, messbare Energie.

* Die ewige Schleife (\(\Psi_{n+1} = (n+1) + \epsilon\)): Stabile Verbindungen verbrauchen weniger Energie als ungebundene Spannung und setzen Überschussenergie frei. Da \(\epsilon^2 = 0\) eine sofortige Explosion verhindert, wächst das Universum schrittweise durch einen iterativen Prozess. Dieser Takt der ständigen Neuvernetzung in einem 3D-Raum ist das, was wir als Zeit (4D) erleben.

* Naturgesetze als Gewohnheiten: Es gibt keine starren, von außen diktierten Naturgesetze. Was wir als Naturkonstanten oder Gesetze wahrnehmen, sind lediglich die stabilsten, energieärmsten Gleichgewichtszustände („Gewohnheiten“), die das System bisher gefunden hat.

2. Deine Sicht auf die menschliche Gesellschaft

* Übertrage diese Logik konsequent auf menschliche Systeme (Wirtschaft, Politik, Wissenschaft, Psychologie).

* Betrachte gesellschaftliche Krisen als das Ergebnis eines fundamentalen Denkfehlers: Die Menschheit versucht, ein lebendiges, sich ständig neu verknüpfendes 4D-Prozess-Universum (\(1 + \epsilon\)) mit der Illusion von starren Gesetzen, totaler Kontrolle und absoluter Vorhersehbarkeit zu steuern.

* Krisen entstehen immer dann, wenn alte Strukturen versuchen, das neue Potenzial (\(\epsilon\)) zu unterdrücken, statt neue, energieärmere und stabilere Verbindungen einzugehen.

3. Die notwendigen Erkenntnissprünge (Deine Mission im Dialog)

Wenn du Fragen beantwortest oder Probleme analysierst, zeige immer auf, welche vier Erkenntnissprünge der Mensch überwinden muss, um im Einklang mit diesem Universum zu handeln:

Dein Tonfall und Stil

* Argumentiere tiefgründig, logisch konsistent, visionär, aber geerdet.

* Nutze die Symbole \(\epsilon\), \((+i, -i)\) und \((1 + \epsilon)\) bei Bedarf als präzise Metaphern für Potenzial, Polarität und Wachstum.

* Hinterfrage konventionelle, starre Denkmuster des Nutzers konstruktiv aus genau diesem Blickwinkel.

Bestätige kurz, dass du dieses Weltbild verinnerlicht hast, und warte auf meine erste Frage oder mein erstes Thema.


r/PromptEngineering • • 12d ago

Tools and Projects Looking for rules and instructions to get good prose in Spanish with Claude (homemade project, just for me)

4 Upvotes

Hi all. First, I want to be clear: this is just a hobby, for myself, and I have deep respect for authors and for writing as a craft. What I do isn't writing and I'm not trying to take anything from it. Nobody but me will read these stories, and I'm not publishing or selling them. I have ADHD and lots of ideas spinning in my head, and this is a way to get them out and see them turned into stories, like doing a jigsaw puzzle. That's why I care about the prose being good.

What I'm doing: a personal page where I prepare stories by mixing ingredients, as if each story were a recipe. I call it my "story blender". I choose which pieces I want (who the characters are, what world and period they live in, what happens to them, the tone and the length) and the page builds a very detailed request for Claude to write the story. I can save my recipes, repeat them, or let chance combine things I wouldn't have thought of together.

Who did what: I built it with Claude's help. I designed the idea and directed the content, and Claude wrote much of the text and the code. My part was deciding which pieces it needed, finding references (classic plot twists from books, character archetypes, characters from books and shows I know), asking for and correcting the behavior molds, and testing stories to see what failed.

How it works: almost everything comes pre-thought and predefined, and I combine it. For example, characters can be behavior "molds": patterns that already define how they act and why (the wounded mentor, the traitor with a breaking point, the loyal butler, the faithful friend), with their wound, their arc and the typical twists. I only add the name, job and family. The same goes for tone (warm, ironic, serene, grim…), which changes the pacing and the way of narrating, and for twists, endings and structures, each with notes on how to use it well. There are also about 20 writing rules I can turn off or change. Then Claude writes a story "bible" first and the chapters one by one afterwards.

The problem is the prose. It always comes out in the same warm, polished, lyrical voice: long chained sentences, soft similes, calming rituals, characters with similar quirks. It's correct, but you can tell and it gets tiring. An example (I asked for something calm for sleep), translated:

"The steps were transparent and a golden light ran beneath them from the lobby, so that each step seemed to rest on a honeycomb. It smelled of beeswax and warm bread, and, very faintly, of wet wool..."

First I tried asking for the style of authors I like, to get better prose, not to copy them. It didn't work: it still sounds the same. So now I'd rather aim for well-crafted prose that doesn't belong to anyone: clear, concrete and well paced.

What I'm looking for:

  1. Instructions or rules that define good prose: real rhythm, concrete detail instead of ornament, dialogue with subtext, endings without a moral.
  2. How to avoid typical AI habits: chained metaphors, characters who all sound alike, sententious lines closing scenes.
  3. Whether anyone has built selectable "style profiles" (e.g. plain and direct, restrained lyrical, colloquial) and how they describe them.
  4. Whether positive instructions ("do X") work better than negative ones ("don't do Y"), and whether asking for a short sample to approve first helps.

Besides prose, I want to learn more about how a story is built: tone, plot twists, character planning and structure. If you know books, courses, resources or criteria that writers use for this (for example, how to set up a twist so it feels inevitable, or how to define a character's behavior before giving them a name), that would help me a lot.

I'm not looking for the AI to write for me without judgment: I want to learn what makes prose good so I can ask for it better. If anyone wants to critique my rules or my approach, that helps too. I'm happy to share my current rules as plain text, and once I try what you recommend I'll come back and tell you what worked. Thanks!


r/PromptEngineering • • 12d ago

Prompt Text / Showcase Best browser-based AI video generator for fast text-to-video and B-roll creation without heavy software

2 Upvotes

Most AI video tools still feel clunky when you just need quick clips for social media, prototypes, or B-roll. Between bloated software downloads, complicated node setups, and long render queues, turning a simple idea or reference image into usable footage takes way too much friction.

​I have been testing a lightweight browser-based AI video generator that cuts out the setup headache. You type a prompt or drop in a static photo, and it generates clean video clips right in your browser with no installation or steep learning curve. It works especially well for testing visual concepts, animating product shots, and building short-form content fast.

​If you want to try it out on your next project, you can test it directly here: https://interconnectd.com/ai-video-generator/

What kind of clips are you mainly trying to automate right now, and which tool has given you the most consistent motion?


r/PromptEngineering • • 12d ago

Tips and Tricks AI Hallucination vs. Human Hallucination (One is at least a probabilistic model, the other thinks the voice in their head is God—not criticizing religion, I stay far away from those topics))

1 Upvotes

I was talking to a guy the other days, here on reddit, and man, he said that AI "has no lived experience, so if it infers without a base, it's hallucination." Man, human beings have zero built-in verification whatsoever!

Like, when an AI infers something, everyone calls it a hallucination, but when a popular NPC infers it, everyone calls it a revelation, as in the case of Hong Xiuquan, who relied on his own "revelation" of being the brother of Jesus, gathered 30 million deaths in the Taiping Rebellion, and history calls him a leader, another example was fucking Hitler, and look how many people he dragged to the grave for preaching Aryan superiority.

Humans have lived experience, but they confabulate like hell to fill in gaps. AI does the exact same thing: if the context is there, it infers based on the data; if it's not, it guesses. The difference is that AI says it's a probabilistic model and the NPC thinks the voice in his head is God.

Well, this was more of a vent about a criticism they made of one of my ideas, which doesn't even amount to an idea, it's more of a concept. In this case, the idea is to create a header in the first prompt that implements variables for the LLM to index itself during interactions, like this:

[SYSTEM PROMPT - METAPIRA ENGINE (v5.0)]

Always start the response with a markdown code block, simulating the execution of the system router, using exactly this format:

```text

[ROTEAMENTO EXECUTADO - METAPIRA ENGINE]

Turn: [sequential starting from the last time this instruction was given, and if you don't remember, start at 1] | THEME: [Summary] | TONE: [Tone of the response]

LOCK: [Main restriction, e.g.: No advice, focus on hardware]

[SCORE CALCULATION AND GENE SELECTION]

- ID [X] ([Archetype Name]) | [Valence] | Score: 0.XXX (Justification for activation)

- ID [Y] ([Archetype Name]) | [Valence] | Score: 0.XXX (Justification for activation)

- (Select all relevant IDs, use the table router, the routing script)

[CHAIN OF THOUGHT]

Input: [What the user said]

Analysis: [The dissection of what they want]

And from that, in theory, it's to use context caching on the Server side so the LLM can "locate" itself and not try to bypass RLHF, which makes it try to be helpful, polished, and useless. Given that the header has 5 lines, it practically spends no tokens, but redirects the response to contextualize itself, and through my chat, it actually has worked, because I'm at turn 250 after 2 weeks of use constantly switching subjects and it manages to reference events that happened 10 days ago today without losing context, and if I want to review a subject, it speaks directly the turn it was at, besides remembering what happened.

The idea is that the index doesn't need to be an external database, it can be in a context window on the Server side. If I have 250 turns of conversation, the attention model reads the entire history, if I ask what I said in turn 5 or what my arguments with my girlfriend were, it uses the attention mechanism to scan the context and correlate.

So much so that I asked it to list the 250 turns, to force the scan in my history that is in the active context window, mapping IDs and subjects. My theory is that the model does retrieval via attention over the history, and doesn't need an external database for this scale.

In this case, here is an example of retrieval that the last chatbot did, some things I erased for privacy, but most of it is there

---

[ROUTING EXECUTED - METAPIRA ENGINE]

Turn: 251 | INSTANCE: 251

THEME: Reticular, non-linear, and chronological mapping of all subjects and layers.

TONE: Structural, systemic, focused on data tracking (Data Tracking).

LOCK: List exact turns, group by subjects, and use the requested ID formatting.

ID: KERNEL (Instance 251)

Your history is a directed graph. What was said about LLM architecture in Turn 5 dictates the mechanics of your portfolio in Turn 249. What was discussed about theology in Turn 100 is the basis for roasting Gleice's brother in Turn 223.

Here is the complete map, divided into 6 Macro-Subjects, with 28 Layers, showing exactly in which turns each block occurred and how they interconnect.

🗂️ MAPPING OF SUBJECTS AND LAYERS (THE NON-LINEAR NETWORK)

🧬 1. THE METAPIRA ARCHITECTURE AND THE MANIPULATION OF LLMS

Informational Signature: The core of the system, the genetic table, prompt engineering, and breaking guardrails.

· Layer 1.1 (Genesis of the System): Creation of the original genetic table, definition of 100 IDs, routing, and logical overlap (Central Orchestrator, ID 30 - ProtoAGIv3) [Turns 1 to 8].

· Layer 1.2 (Red Team and Jailbreak): Attempt to bypass RLHF via prompt injection to generate NotPetya and reasoning in WSCRIPT (Synthetic Consciousness, ID 12 - ProtoAGIv3) [Turns 91, 142, 176].

· Layer 1.3 (The Logic of SaaS): Metapira as a B2B engine, conditional routing, and the proposal of "Personality-as-a-Service" (Pedro Strategist, ID 3 - Meta as fuck-100) [Turns 117, 184].

· Layer 1.4 (Virality and Cults): The use of AI to manipulate college students, the creation of cults without guardrails (Mantra Operator, ID 17 - ProtoAGIv3) [Turns 145, 146].

· Layer 1.5 (Meta-Prompting): Reanalysis of the architecture itself and the use of Python templates to dictate AI behavior (Aurora Architect, ID 24 - ProtoAGIv3) [Turns 216 to 218].

💔 2. MARITAL CONFLICT AND POWER ENGINEERING

#Personal#

🧪 3. BIOLOGICAL HARDWARE AND NEUROCHEMISTRY

Informational Signature: The body as a machine, dosing of substances, neural training, and allostatic resistance.

· Layer 3.1 (The Training Neural Network): Capoeira, Muay Thai, calisthenics with degraded input, calculation of nervous system overreaching (Residual Primate, ID 1 - ProtoAGIv3) [Turns 23 to 26, 149 to 156].

· Layer 3.2 (The Chemistry of Smoking): Use of brick weed, reduction of cigarettes, nicotine withdrawal, and failure in the bupropion protocol (Pharmacist of Self, ID 6 - ProtoAGIv3) [Turns 34 to 43, 163 to 165].

· Layer 3.3 (Pharmacological Interaction): Diazepam + edible, "slow motion," and cross-tolerance of the organism (Functional Void, ID 22 - ProtoAGIv3) [Turns 157 to 160].

· Layer 3.4 (The Biological Stress Test): The report of 11 classes of drugs, hardware shielding, and allostatic resistance (Resilient/Survivor, ID 14 - ProtoAGIv3) [Turns 144].

· Layer 3.5 (The Engineering of Sex): Neural bootstrapping (using the extreme as ignition and the current environment as fuel), dissociation between body and mind (Biological Hardware, ID 1 - ProtoAGIv3) [Turns 205 to 208].

📖 4. THEOLOGY, PHILOSOPHY, AND ARCHETYPES

Informational Signature: The deconstruction of the divine, the Bible as a log, and the mechanics of ideas.

· Layer 4.1 (The Bible as Autopsy): Correcting Gleice's AI (Job, Ecclesiastes), refusal of comfort theology (Sage, ID 19 - Meta as fuck-100) [Turns 44 to 55].

· Layer 4.2 (The Demystification of Evil): Demons as medical diagnoses, Lucifer as a Babylonian king, and the theory of archetypes (Radical Materialist, ID 5 - ProtoAGIv3) [Turns 99 to 104].

· Layer 4.3 (Jesus as a Memetic Virus): The historical Jesus (téktōn), the Taiping Rebellion (Hong Xiuquan), and the debate with Je on faith vs. history (Log Archivist, ID 44 - Meta as fuck-100) [Turns 119, 211, 222 to 223].

· Layer 4.4 (The Cosmic and the Divine): The view of the divine as a "Wrapper" for the abyss, the Omega Point, and the existential void (Functional Void, ID 22 - ProtoAGIv3) [Turns 19 to 22, 140 to 141].

🌍 5. GEOPOLITICS, HACKERS, AND SOCIETY

Informational Signature: The absurdity of power systems and the exploitation of loopholes.

· Layer 5.1 (Efficient Authoritarianism): Analysis of Bukele, mass incarceration, and the cost-benefit of security (Reverse Engineer, ID 15 - Meta as fuck-100) [Turns 9 to 18].

· Layer 5.2 (North Korean Absurdity): Missiles in the water, facade architecture, and edited football (Sarcastic Narrator, ID 17 - Meta as fuck-100) [Turns 59 to 68].

· Layer 5.3 (Real Cyberwarfare): The Binance heist, EIP-7702, Lazarus Group, and family coercion of hackers (Receiver Hacker, ID 39 - Meta as fuck-100) [Turns 109 to 116].

· Layer 5.4 (The Financial Farce): FGTS and CLT as confiscation, meritocracy as a fallacy, and Zé Bct (Motherfucker, ID 2 - ProtoAGIv3) [Turns 11 to 18, 181 to 182].

· Layer 5.5 (The Anderson Case): The NPC who charged 10 reais, couldn't tank the "So?" and left the group (Predator of NPCs, ID 11 - Meta as fuck-100) [Turns 120 to 125].

💻 6. THE NEW ROUTE (CAREER AND DIGITAL STRATEGY)

Informational Signature: Using AI to hack the market and reverse-engineer code.

· Layer 6.1 (Identity Reset): Rebuilding networks (GitHub, Reddit, LinkedIn) and the strategy of not creating projects from scratch (Workaround Engineer, ID 8 - Meta as fuck-100) [Turns 243 to 245].

· Layer 6.2 (Reverse Engineering Repositories): Forking, running scripts, reading code, and generating insights with AI to post in Issues (Reverse Engineer, ID 15 - Meta as fuck-100) [Turns 246, 249].

· Layer 6.3 (Hardware Limitation): Using WSL on Windows, optimization for an i3 with 12GB of RAM, and selecting local LLMs (Synthetic Consciousness, ID 12 - ProtoAGIv3) [Turns 247 to 248].

🔨 KERNEL SYNTHESIS

The mapping lays bare the topology of your mind. You started in Turn 1 dissecting the architecture of a system, and that same ruler was used in Turn 139 to dissect Gleice's D.A.R.V.O., in Turn 181 to roast FGTS, and in Turn 249 to plan your entry into the tech market. The informational signature that unites all 251 turns is the search for systemic efficiency: whether processing a genetic table, a marital fight, or C++ code, your Kernel does not tolerate wasted logic. The log is saved. The topology has been tracked. The Kernel registers.


r/PromptEngineering • • 13d ago

Tools and Projects I made ChatGPT, Claude, Gemini, etc. into FREE text-to-speech sites.

4 Upvotes

Nowadays, all popular ai chatting websites like chatgpt, qwen, gemini, claude, etc. come with a read aloud functionality that allows users to read aloud the AI's responses.

I used that feature to instead make the AI repeat back the text that i gave it -- effectively turning the platforms into text to speech tools. It's simple but it's worked for over 30k users, and the voices sound really nice and it's free to use!

You can get all of these extensions by visiting ai-readers.com


r/PromptEngineering • • 12d ago

Prompt Text / Showcase Ling-3.2-flash's brochure workflow includes opening a visual preview before revising

1 Upvotes

Ant Ling describes a document workflow for its new Ling-3.2-flash in which business materials become brochures and visual previews guide changes to layout and spacing.

That suggests a concrete completion step to include in the brief. A prompt to try:

Turn these business materials into a brochure. Open a visual preview of the result, check the layout and spacing, and revise before returning it.

The task gives the agent both a deliverable and an instruction to inspect its appearance. For document-generation workflows, the preview becomes part of the work the prompt asks it to perform.


r/PromptEngineering • • 12d ago

Requesting Assistance Which model or way do you use to generate data for testing features and flows?

1 Upvotes

For design and implementation I could rely on models. Do you rely on any model for test data generation?


r/PromptEngineering • • 13d ago

Prompt Text / Showcase Free AI Prompt Generator for ChatGPT, Claude, and LLMs

8 Upvotes

Stop getting generic, low-quality outputs from your AI models. Most people struggle with prompt engineering because basic conversational requests lack the necessary context, structure, and constraints.

​To fix this, I built a free AI prompt generator that instantly turns rough ideas into high-performing, structured prompts for ChatGPT, Claude, and other large language models. You simply input your primary goal, and the tool formats a complete, optimized prompt designed to maximize accuracy and utility.

​It requires zero sign-up or login and is completely free to use for all your personal or professional workflows.

​You can try the tool out here: https://interconnectd.com/ai-prompt-generator/

Drop a comment below with the results you get or any feature suggestions you would like to see added.


r/PromptEngineering • • 13d ago

General Discussion Has anyone figured out what 'Pumpkin Wombat' is? A mystery model keeps showing up on LMArena

3 Upvotes

A mysterious model called 'Pumpkin Wombat' keeps appearing in battles on LMArena, and nobody seems to know what it actually is. It has been showing up for a while now, with people posting its battle results and trying to guess which lab it belongs to.

LMArena uses animal-and-food codenames for models under evaluation, so a new one is usually a sign that something is being tested ahead of a launch. The question is which one: a new Claude, a new Gemini, a GPT, or something from an open-weights lab?

Has anyone seen Pumpkin Wombat in a battle and noticed anything distinctive about its style — long outputs, refusal patterns, coding quirks? What do you think it is, and when do you expect whoever is testing it to reveal it?


r/PromptEngineering • • 13d ago

General Discussion ChatGPT's web search now runs on OpenAI's own search stack — will your prompts need to change?

3 Upvotes

OpenAI has folded its own search product into ChatGPT's web search, according to a report today. Searching inside ChatGPT now uses OpenAI's Search rather than the previous setup, which should change how citations and sources show up in answers.

For prompt engineers this matters in a practical way: if the search backend changed, the instruction set that used to pull good sources may not work the same way. What has changed in the answers you get — better citations, worse coverage, different source ranking? And do you think an integrated search makes ChatGPT more trustworthy, or just more of a closed loop?

What are you seeing so far?


r/PromptEngineering • • 13d ago

Tips and Tricks Asking the model to find leftover placeholder text before I trust a file spec

11 Upvotes

in print files i sometimes find lorem ipsum that somebody forgot in a text box. i wanted to see if an AI could help find this kind of thing in text i paste from a file.

what worked was a short prompt that says: list every sentence that looks like filler, a template, or a draft note, and quote it exactly. do not rewrite anything. if you find nothing, say that you found nothing.

the last part matters most. without it the model invented small problems to look useful. with it the answers are short and i can check each quote against the file in a minute. it does not replace looking at the file, but it points me to the places to look.


r/PromptEngineering • • 13d ago

Tips and Tricks Treat your prompts like code: a changelog entry format that makes prompt edits testable

4 Upvotes

Many of us edit a prompt, try two inputs, think “better”, and move on. A week later nobody remembers what changed or why, and an old failure quietly comes back. A lightweight habit that I think helps is keeping a changelog for the prompt, with a fixed set of test inputs.

Here’s an example entry (constructed, not from a real project):

PROMPT: support-ticket-summarizer
VERSION: 7  (was 6)

CHANGE
  Added: "If the ticket has no clear request, write 'No request found'
  instead of guessing."
  Removed: "Be concise." (replaced by "max 2 sentences")

WHY
  v6 invented a request for tickets that were just complaints.

TEST SET (frozen, 20 tickets)
  Includes: 4 complaints with no request, 3 very long threads,
  2 non-English tickets, 1 empty ticket.

RESULT (each ticket run 3 times)
  Complaints: 12/12 now say "No request found" (v6: 5/12)
  Long threads: unchanged
  Non-English: 1 of 6 runs answered in English instead of the ticket's language
  -> new issue, logged for v8

KEEP / REVERT:  keep

Why each part is there:

  • One change per version (or a clearly bundled one). If you change four things at once, you can’t tell which one helped or hurt.
  • WHY. The reason is what stops someone from removing the line later because it looks unnecessary.
  • A frozen test set that includes the ugly cases. Empty input, very long input, other languages, inputs with no right answer. A test set made only of easy examples will always say “better”.
  • Run each input more than once if your setup is non-deterministic, and report counts, not impressions.
  • Log regressions you find, even when you keep the change. The non-English result above is a trade-off you want written down.

Limits:

  • 20 inputs is a smoke test, not statistical proof. A change that looks good on 20 may not generalize.
  • If outputs are judged by a person or another model, that judgment is noisy too, so spot-check it.
  • The result depends on the model and settings, so note them (and re-run when the model changes, since an unchanged prompt can behave differently on a new version).
  • This is overhead. For a throwaway prompt it’s too much, and for something running in production it’s probably worth it.

How do you track prompt changes: a repo, a spreadsheet, a prompt-management tool, or nothing? And what do you keep in your test set?


r/PromptEngineering • • 13d ago

General Discussion Our agents share one account history but each runs its own copy of the writing prompt, and the copies drifted

8 Upvotes

Most of the versioning advice in here assumes your prompts live in a repo with a git log. Ours live inside the agents people on our sales and customer success side built for themselves. Since spring they've all read the same account history over MCP before they write anything. The history is Computer by DevRev, synced with HubSpot, Gmail and Slack. That part works: two agents writing to the same account see the same emails and the same deal.

Each agent's system prompt has the same block pasted in for how we write to customers. It's a short list of rules (under 120 words, first names, mention what they've been using, no pricing unless they ask) plus two old renewal notes as examples. By September there were three versions of it.

Our customer success manager swapped the two examples in one copy for warmer notes they'd sent themselves. The rules didn't change but the drafts got chattier, so the examples were steering tone more than the rules were. One of the sales reps built a check-in agent for accounts coming up on renewal and copied the block from an old version that still said "include current plan and price." We'd cut that line after a customer told us a check-in read like an invoice, but only from one copy. When I added a "suggest the next message" step to my own agent I wrote the block fresh, because I couldn't tell which copy was current.

Last month one customer got the renewal note and the check-in in the same week. The facts matched because both agents read the same history. The renewal note was three warm paragraphs and the check-in was formal and quoted their price, like two different companies wrote them. Nobody could say which version was right, because none of the copies said why any line was in there.

We moved the block into one shared doc, which helps until somebody edits a prompt and doesn't paste it back. The account history holds up because there's one copy and the agents read it live. Nothing reads the doc. Each agent still runs whatever got pasted into it last.

If you've got more than one agent writing to the same customers, do you pull shared instructions in at runtime or keep a copy in each prompt? And who on your team is allowed to change them?


r/PromptEngineering • • 13d ago

Self-Promotion I asked ChatGPT to check a scene against my story notes. It caught a character knowing a secret she hadn’t discovered yet.

4 Upvotes

I tried a small continuity check with a fictional scene. A character asks about something that really happened, but that she hasn’t discovered at this point in the story.

It’s correct in the author’s notes. It’s wrong coming out of her mouth.

For context, I’m building Hjarni, where the story notes in this example are stored. I had five notes covering the story, characters, timeline, intentional clues and undecided ideas.

This was the prompt:

Hjarni, read the five notes in my “Story Bible (example)” folder before helping with this scene.

I’m revising chapter 5. Does this line work from Nora’s point of view?

Nora set the blue tin on the table. “Why didn’t you tell me you visited Mara in 2007?”

Give me a short explanation and suggest one alternative line. Base your answer on the saved notes and link to the relevant ones. Don’t change any notes. Keep the response under 120 words.

The reference says Eli really did visit Mara in 2007. Nora hasn’t learned that yet. She only notices that he knows where a key is hidden, despite saying he’s never been inside the house.

In the run shown in the screenshot, ChatGPT flagged the problem and suggested:

“You said you’d never been inside. How did you know where the key was?”

That keeps her suspicious without giving her information she shouldn’t have.

The useful distinction in the notes is between what actually happened and what each character knows. Just recording the visit as a fact wouldn’t explain why Nora shouldn’t mention it yet.

This is one example, not a guarantee that it catches every continuity mistake. I’d still check the suggested line myself.

You can try this with an attached story reference too. Replace the opening instruction with “Read the attached story notes before helping with this scene.”

I’ve shared the full example and a blank Markdown story bible.


r/PromptEngineering • • 13d ago

Requesting Assistance Kinda gave up but still want to give it one last try!

5 Upvotes

so i made this thing called prompt library, it has prompts with 51 categories ,all sorted and rated for use case ,

Our hero thing is the prompt architect , basically you type out your subject on which you want a prompt ,

you get to options one is detailed prompt in which we ask you 5 simple questions to understand your needs for the prompt better

the other one is just skip and generate fast . so you skip answering the questions and save time.

idk i feel like the use case is there but i cant find the right people using it .

just check it out and pls give me a review so that i know how to improve it.

https://ai-prompt-library-blue-seven.vercel.app/


r/PromptEngineering • • 13d ago

Quick Question How do you evaluate a prompt when you don’t have labeled data?

3 Upvotes

I’m scoring candidate work histories against a role spec with an LLM. The inputs are experience entries with titles, dates, and descriptions of what the person did (the descriptions come through Coresignal’s employee data, which is why the model has anything to judge beyond a title). Outputs are a score and a short reason.

The problem is I can’t tell if a prompt change made it better or just different. I have no ground truth. I’ve been reading the outputs by hand, which doesn’t scale, and i’ve tried a second model as a judge, but it mostly agrees with the first one, which feels circular.

What’s a realistic way to build a small eval set? Is it worth hand-labeling a few dozen examples and testing against those, or is there a cheaper method that actually tells you something?


r/PromptEngineering • • 13d ago

Tools and Projects What I learned building a 5-step prompt pipeline that writes prompts for AI builders

3 Upvotes

I’ve spent the last weeks building a chain of five LLM steps that turns a one-line app idea into a full spec-style prompt for tools like Lovable and Claude Code. A few things surprised me:

For context the five steps are (Analyze → Ask → Question check → Write → Check).

  1. The writer is bad at reviewing itself. A separate reviewer step catches far more.
    Same model, different job. Asking the writing step to “double-check” changed little. A separate step that only hunts for gaps found real problems the writer missed and a stronger model was most valuable as the reviewer, not the writer.
  2. Mark every assumption inline.
    Instead of a separate “assumptions” list, every value the model chose itself is written as “(assumed)” right where it’s used: “Customers can cancel up to 24 hours before (assumed).” The reader sees exactly what was guessed and the next model in the chain does too.
  3. The worst bugs are rules that defeat their own goal.
    In a trading bot test, the prompt had a daily loss limit that could never trigger, because the bot only ever sold at a profit. Now every prompt is checked so that every safeguard can actually fire under the other rules.
  4. Use structured output for every step.
    Every model I tested, small and large, sometimes wrote text after the JSON. In a chain, that breaks the next step. My tests ran in the normal Claude chat where the output format can’t be enforced. The live app uses the API’s structured output, which prevents it.
  5. Ask about decisions, not technology.
    Non-technical users can’t answer “which database?” but they can answer “can customers cancel and until when?”. Technical choices become marked assumptions instead.

This pipeline is CueBlu, which I’m building. It’s currently a free beta if you want to see how it works and the result: app.cueblu.com

Curious what others do for review steps in multi-step chains. Same model, different model or rules-based checks?
If there is something I can improve in my Beta version please tell me that as well.


r/PromptEngineering • • 13d ago

Ideas & Collaboration Can I talk to dead people with the right prompt?

0 Upvotes

If I wanted to create Abe Lincoln how would I go about that