r/PromptEngineering • • Mar 24 '23 Bravo

Tutorials and Guides Useful links for getting started with Prompt Engineering

761 Upvotes

You should add a wiki with some basic links for getting started with prompt engineering. For example, for ChatGPT:

PROMPTS COLLECTIONS (FREE):

Awesome ChatGPT Prompts

PromptHub

ShowGPT.co

Best Data Science ChatGPT Prompts

ChatGPT prompts uploaded by the FlowGPT community

Ignacio Velásquez 500+ ChatGPT Prompt Templates

PromptPal

Hero GPT - AI Prompt Library

Reddit's ChatGPT Prompts

Snack Prompt

ShareGPT - Share your prompts and your entire conversations

Prompt Search - a search engine for AI Prompts

PROMPTS COLLECTIONS (PAID)

PromptBase - The largest prompts marketplace on the web

PROMPTS GENERATORS

BossGPT (the best, but PAID)

Promptify - Automatically Improve your Prompt!

Fusion - Elevate your output with Fusion's smart prompts

Bumble-Prompts

ChatGPT Prompt Generator

Prompts Templates Builder

PromptPerfect

Hero GPT - AI Prompt Generator

LMQL - A query language for programming large language models

OpenPromptStudio (you need to select OpenAI GPT from the bottom right menu)

PROMPT CHAINING

Voiceflow - Professional collaborative visual prompt-chaining tool (the best, but PAID)

LANGChain Github Repository

Conju.ai - A visual prompt chaining app

PROMPT APPIFICATION

Pliny - Turn your prompt into a shareable app (PAID)

ChatBase - a ChatBot that answers questions about your site content

COURSES AND TUTORIALS ABOUT PROMPTS and ChatGPT

Learn Prompting - A Free, Open Source Course on Communicating with AI

PromptingGuide.AI

Reddit's r/aipromptprogramming Tutorials Collection

Reddit's r/ChatGPT FAQ

BOOKS ABOUT PROMPTS:

The ChatGPT Prompt Book

ChatGPT PLAYGROUNDS AND ALTERNATIVE UIs

Official OpenAI Playground

Nat.Dev - Multiple Chat AI Playground & Comparer (Warning: if you login with the same google account for OpenAI the site will use your API Key to pay tokens!)

Poe.com - All in one playground: GPT4, Sage, Claude+, Dragonfly, and more...

Ora.sh GPT-4 Chatbots

Better ChatGPT - A web app with a better UI for exploring OpenAI's ChatGPT API

LMQL.AI - A programming language and platform for language models

Vercel Ai Playground - One prompt, multiple Models (including GPT-4)

ChatGPT Discord Servers

ChatGPT Prompt Engineering Discord Server

ChatGPT Community Discord Server

OpenAI Discord Server

Reddit's ChatGPT Discord Server

ChatGPT BOTS for Discord Servers

ChatGPT Bot - The best bot to interact with ChatGPT. (Not an official bot)

Py-ChatGPT Discord Bot

AI LINKS DIRECTORIES

FuturePedia - The Largest AI Tools Directory Updated Daily

Theresanaiforthat - The biggest AI aggregator. Used by over 800,000 humans.

Awesome-Prompt-Engineering

AiTreasureBox

EwingYangs Awesome-open-gpt

KennethanCeyer Awesome-llmops

KennethanCeyer awesome-llm

tensorchord Awesome-LLMOps

ChatGPT API libraries:

OpenAI OpenAPI

OpenAI Cookbook

OpenAI Python Library

LLAMA Index - a library of LOADERS for sending documents to ChatGPT:

LLAMA-Hub.ai

LLAMA-Hub Website GitHub repository

LLAMA Index Github repository

LANGChain Github Repository

LLAMA-Index DOCS

AUTO-GPT Related

Auto-GPT Official Repo

Auto-GPT God Mode

Openaimaster Guide to Auto-GPT

AgentGPT - An in-browser implementation of Auto-GPT

ChatGPT Plug-ins

Plug-ins - OpenAI Official Page

Plug-in example code in Python

Surfer Plug-in source code

Security - Create, deploy, monitor and secure LLM Plugins (PAID)

PROMPT ENGINEERING JOBS OFFERS

Prompt-Talent - Find your dream prompt engineering job!


UPDATE: You can download a PDF version of this list, updated and expanded with a glossary, here: ChatGPT Beginners Vademecum

Bye


r/PromptEngineering • • 17h ago

Research / Academic I always started prompts with "You are an expert…". I tested it on 7 models from 2026 with 63,000 calls. It didn't help.

90 Upvotes

I've started a series where I take a question I have about prompting or LLMs, find the research paper that tested it, and re-run that test on 2026 models. Questions like: does writing "You are an expert" actually help? Does an LLM judge prefer whichever answer comes first? Does a judge prefer a markdown answer over the same answer in plain text? Papers answered these on 2023–2024 models, and I wanted to know if the answers still hold.

This one re-tests a 2024 EMNLP paper (Zheng et al., "When 'A Helpful Assistant' Is Not Really Helpful") on 7 models from 2026, with reasoning on and off. That's 63,000 calls on MMLU questions, and it cost $10.11. I expected newer models to make better use of a role than the 2024 ones. They don't: the role still made no difference.

What I found:

  • A matching expert role ("You are a lawyer." on a law question) changed accuracy by −1.0 to +1.0 points. Asking the same questions twice with no role at all changed it by about as much.

  • "You are a helpful assistant." never raised accuracy by more than 0.3 points. On Claude Haiku 5.5 with reasoning off, it lowered accuracy by 1.9 points compared with no role.

  • A silly role ("You are a 4-year-old toddler…") mostly broke the answer format, not the model's knowledge. With reasoning on, it barely mattered.

  • Takeaway: use a role for tone and style. Don't expect it to make answers more accurate.

Full write-up: https://talhaanwar.com/blog/role-prompting/

Code and data: https://github.com/talhaanwarch/article-experiments/tree/main/role-prompting

Next up: the needle-in-a-haystack test at 32K tokens. If there's a prompting question you've always wondered about, tell me and I'll look for a paper to re-test.


r/PromptEngineering • • 9h ago

Tips and Tricks I spent the last few months logging 45 hidden LLM biases and architectural blind spots that break complex prompts. Here are the 3 that trip people up the most and how to fix them

14 Upvotes

Over the past few months of testing complex workflows across Gemini, ChatGPT, and Claude, I started keeping a log of every time a model took a lazy shortcut, ignored a rule buried in a prompt, or fabricated data just to finish a table.

It turned into a full list of 45 distinct cognitive biases and architectural failure modes across 9 categories. Because the full breakdown is nearly an hour long, I wanted to write out the 3 traps that cause the biggest day-to-day headaches right here in text so you can use the fixes straight away.

The first big one is what happens when you upload a 4,000-word document in Turn 1 and ask the model to read it, run live web searches to verify facts, and format an executive summary table in a single go. Three separate failure modes trigger at once here. Because of Stanford's Lost in the Middle U-curve, the attention heads heavily weight the top 20 percent and bottom 20 percent of your prompt while quietly dropping up to half of the middle paragraphs. At the same time, overloaded by the long input, the search router often skips firing live search queries 2 through 5 to beat the single-turn timeout clock and guesses from training memory instead. Finally, forcing a model to construct rigid Markdown or JSON table borders while simultaneously reasoning and searching acts like a 15 to 25 percent tax on reasoning accuracy. The fix is a strict Two-Turn Split. Never combine heavy extraction and live search with formatting in Turn 1. Use Turn 1 strictly to extract raw facts and run web verification. Once those facts are sitting cleanly in the chat history, paste your scoring or summary table instructions fresh in Turn 2.

The second trap is the same flawed image regeneration loop. When an AI generates an image or video clip with a mistake, like the wrong side of a car or an extra person in the background, and you reply inside the same chat asking it to fix that detail, it often spits out the exact same image again. This happens because Path of Least Resistance and Token Optimization push the backend router toward the cheapest compute path, while Context Anchoring locks onto the existing visual seed sitting in your chat history. The fix is to stop arguing with a flawed render in the same thread. Open a brand-new chat window to wipe the visual seed from the context window, describe the final corrected scene positively from scratch without mentioning the earlier mistake, and explicitly ban cached renders.

The third trap is premature summarization and the "etc. / N/A" escape hatch. When you ask a model to audit 15 items in a row, items 1 to 5 get deep analysis, items 6 to 10 get one-liners, and items 11 to 15 get grouped into "etc." or marked "N/A". Output tokens cost roughly 3 to 4 times more server compute than input tokens, so RLHF length penalties and tail-item neglect kick in hard as the response grows. To stop it, explicitly ban the strings "N/A", "etc.", "and so on", and "similarly", set a minimum word or data-point floor for every single item from 1 to 15, or batch the run into chunks of 5.

I put all 45 biases, including multimodal OCR row-slip, multi-agent persona collapse, BPE tokenization traps, and a 3-slide 18-point cheat-sheet, into a full 55-slide narrated walkthrough. I will drop the link in the comments below for anyone who wants the whole deck.

Which model shortcut or habit has been burning your workflows the most lately?


r/PromptEngineering • • 34m ago

Ideas & Collaboration We need AI catgirls from Hydaelyn

2 Upvotes

https://rakshazi.me/blog/we-need-ai-catgirls-from-hydaelin/

Opinion on AI response style should be dependent on task and context, and the default / generic response style may not be the best one


r/PromptEngineering • • 4h ago

Prompt Text / Showcase Best AI Music Generator for Custom Tracks

0 Upvotes

Finding royalty-free background music or custom instrumentals for videos and podcasts takes too much time. I recently tested several text-to-audio tools to streamline production without learning complex studio software.

​If you want a platform that handles full song composition and specific genre styling, check out the AI music generator at https://interconnectd.com/ai-music-generator/

for a practical breakdown. It shows how to structure text prompts, select optimal tempos, and handle commercial licensing for digital content.

​Whether you produce YouTube videos, indie games, or podcasts, learning how to use neural audio models saves hours of manual editing. Take a look if you want to generate original audio tracks on demand without dealing with copyright claims or expensive licensing fees.


r/PromptEngineering • • 9h ago

General Discussion Why One LLM Personality Can’t Fit Every Job

0 Upvotes

Right now, almost every frontier LLM is being optimized for the same thing: software engineering. Coding is where the clearest economic return is today, so reinforcement learning rewards precision, determinism, and following strict specs.

But it doesn't make sense for the exact same "personality" to be optimal for a software engineer, a creative writer, a founder, and a salesperson.

At some point, we’re going to see real trade-offs in LLM training—specifically at the RL stage—producing distinct model personalities tailored to different roles:

  • Higher creativity at the expense of strict factual precision.

  • More initiative and persuasion for sales or marketing, instead of passive neutrality.

  • Divergent thinking for entrepreneurs and strategists, rather than converging on the safest average answer.

The "one-size-fits-all" assistant is a temporary phase. Eventually, hiring an AI for a role will look a lot more like hiring a person—choosing the right temperament and trade-offs for the job.


r/PromptEngineering • • 16h ago

General Discussion Not all AI sounds human

3 Upvotes

In September, a new kind of AI showed up that doesn't write at all. TypeSafe's Jev reads a situation once and puts a probability on every answer you allow. Output tokens are free, because it doesn't produce any. Within a month, OpenAI and Microsoft shipped their own versions.

Then Mark Russinovich, the CTO of Microsoft Azure, put one on his personal GitHub. Venn's decision-making core is 3.15 MB, it runs on an ordinary laptop processor, and it learns from your company's own records.

https://blog.galratner.com/p/not-all-ai-sounds-human


r/PromptEngineering • • 10h ago

General Discussion Universal Code Intelligence & SDLC RAG Service for AI Agents

1 Upvotes

We built ContextCore-MCP to give coding agents surgical, semantic memory over complex codebases without context pollution.
It operates as an open-source Model Context Protocol (MCP) server backed by Qdrant for vector retrieval and Tree-sitterfor AST parsing.

Full blog: Stop Stuffing Whole Repos into Context Windows: How We Built ContextCore-MCP https://medium.com/@venkatramanpandey89/stop-stuffing-whole-repos-into-context-windows-how-we-built-contextcore-mcp-74008477ef52

GitHub: https://github.com/Venkatpandey/ContextCore-MCP

Thanks 🙏


r/PromptEngineering • • 12h ago

General Discussion I built a prompt management tool to solve my own pain points — and it might be exactly what you’re looking for.

1 Upvotes

I built a floating prompt manager to solve my own pain points. It might help you too — at the very least, I use it every day, and it has saved me from tons of tedious work.

Here’s how it started: I work with many AI models and keep multiple platforms running on my computer all the time: CC, Codex, Antigravity, WorkBuddy. I also run CC CLI and PI inside a Linux virtual machine. A huge chunk of my day is spent getting these separate AI systems to share knowledge. I end up manually copying prompts and moving skills back and forth, which is incredibly cumbersome. Sometimes I don’t bring my work laptop home, which means any valuable skills or prompts I created during the day become unavailable at home. I have to wait until the next day to copy them over.

I also wanted something lightweight, that stays out of my way and feels nearly invisible during daily use. I looked around online, but couldn’t find a tool that fit what I needed.

That’s how this little tool came to life. I named it JianHe (笺盒).

In Chinese, jian refers to fine, small slips of paper. Here it stands for skills and prompts. JianHe keeps them organized and managed in one place.

JianHe offers a local-first workflow for managing your skill assets.

If this sounds like something you could use, check out my website: https://jianhe.neodaas.com/

I’d also love your feedback to help me keep improving it. With a bit of luck, it might even cover some of my daily expenses.

Thanks for taking the time to read this.


r/PromptEngineering • • 1d 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 • • 1d ago

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

4 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 • • 22h ago

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

2 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 • • 1d ago

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

3 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 • • 1d ago

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

47 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.


r/PromptEngineering • • 1d 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 • • 1d 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 • • 1d ago

Prompt Text / Showcase Interaktive Hilfe Agent zur Weltformel.

1 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d ago

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

6 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 • • 1d 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?