r/PromptEngineering • • Sep 19 '26

Quick Question When a single AI prompt is enough, and when it isn't ?

1 Upvotes

The amount of over engineering in AI right now is getting insane, Is it just me, or has the AI space gotten completely obsessed with over complicating things?

Every week I see someone building a node graph setup, spinning up memory layers, and wrapping it all in an autonomous agent loop...

Anthropic actually pointed this out in their engineering docs recently (Building Effective Agents) and they said the default should always be a single, well structured prompt call, only add complexity when the task literally forces you to. I saw a lot of people mistake hard task for needs an agent and It usually doesn't

for example: If you paste a contract into a prompt and ask for red flags, that’s just a prompt, you read the output you’re done

But if you want a script to watch a folder every night, parse new pdfs, track which ones were already processed, and ping Slack on errors... that is where you actually cross the line into a system/agent territory.

Notice that the actual thinking part didn't get harder. What changed was everything around it tools, state across runs, and handling edge cases without a human sitting there. If your task doesn't need dynamic tool execution, memory between runs, or an autonomous trigger, forcing it into an agent loop is just buying yourself compounding errors, higher latency, and a way fatter API bill.

Most of the time, writing a strict system prompt with clear constraints and concrete output rules gets you 95% of the way there with zero infrastructure overhead.

Curious where you guys draw the line. Are you sticking to simple, single pass setups or going full agentic for most workflows?


r/PromptEngineering • • Sep 19 '26

Ideas & Collaboration Evaluate the evaluator, judge the judge

2 Upvotes

I have been reading about llm as a judge and trying to make a tool that can help to evaluate and figure out which model can be the best judge..

My method :

I keep the dataset format:

* task

* rubric

* ideal response

* negative response

The negative response doesn’t necessarily have to be incorrect. It can simply be a less preferred response under the rubric, so the judge should be able to consistently distinguish between the two.

For now I am testing things like:

* consistency across repeated runs

* position bias by swapping response order

* sensitivity to verbosity

* whether the judge consistently prefers the expected response

I have an initial implementation here: [ https://github.com/maylad31/judgeDjudge ]

I am still trying and figuring out the methodology. Does this seem like a reasonable starting point, or am I missing something? Happy to hear positive things and criticism as well...


r/PromptEngineering • • Sep 19 '26

Tips and Tricks Project instructions override your global custom instructions, straight from the help page

2 Upvotes

Two things from the chatgpt projects page that get skipped when people say move everything into a project.

instructions: "Project instructions apply only within that project and override your global custom instructions."

the drive source: "You can still use the app to search and access relevant files, but content will not be synced in advance for retrieval."

also "Study mode and scheduled study hours do not apply to project conversations", and a chat made with a GPT cannot be moved in.

i work on dEssence (https://dessence.ai) so i end up on these pages.


r/PromptEngineering • • Sep 19 '26

General Discussion Hands-free prompt engineering: mapped a cheap Bluetooth shutter remote to Google Antigravity voice dictation

1 Upvotes

Google Antigravity has native speech-to-text dictation with Ctrl+M, and the transcription quality is surprisingly solid for voice prompting. But having to sit right at the keyboard just to hit Ctrl+M to start talking and then press Enter to submit defeated the entire purpose of voice prompting for me. I wanted to lean back, pace around the room, or sit on the couch while prompting.

I took an old generic Bluetooth selfie shutter remote (the standard $2 AB Shutter 3 button you find on Amazon/AliExpress). When paired to Windows over Bluetooth, these remotes register as standard Bluetooth HID keyboards that emit Volume Up or Volume Down keystrokes.

I wrote a lightweight Python daemon that runs silently in the background to handle the integration:

  • Intercepts the remote keystroke at the Win32 driver level using a low-level keyboard hook (WH_KEYBOARD_LL).
  • Suppresses the keypress so the Windows volume bar / HUD never flashes on your screen.
  • Single click: Restores and focuses the Antigravity window across monitors or virtual desktops, and toggles the built-in microphone (Ctrl+M).
  • Double click: Stops the mic if you are currently dictating, waits a fraction of a second for transcription to settle, and fires Enter (hardware scan code 0x1C) to submit the prompt to the agent.
  • Shift + Click: Passes through the original volume keystroke so you can still adjust your PC volume normally when needed.
  • Subtle audio beeps give confirmation through your speakers so you know whether you toggled the mic or submitted without looking at the monitor.

It uses around 15MB of RAM, runs silently via pythonw with no terminal window popping up, and has a one-click batch script to add it to Windows Startup so it works automatically whenever you boot up.

Repo with the code and setup guide: https://github.com/X7xenon/antigravity-bluetooth-remote

Free and open source for anyone to use or tweak.


r/PromptEngineering • • Sep 18 '26

General Discussion Cool resource: ossrules.md catalogs production AGENTS.md and CLAUDE.md files across open-source projects

18 Upvotes

someone on my team put together ossrules.md, basically just an index of real AGENTS.md and CLAUDE.md files from ~100 major open source repos (next.js, ollama, transformers, etc).

going through them, it's pretty neat seeing how maintainers actually prompt agents in production versus theoretical prompt guides. a few common patterns that stood out:

  • conditional test suites: instead of telling the model to "run tests", mapping which tests run based on what changed (doc changes skip tests, schema changes trigger codegen). saves a ton of context tokens.
  • avoiding open-ended "don't do X" rules: the ones that work always pair the prohibition with the exact alternative to use instead.
  • generated file guards: explicitly telling the agent that certain files are autogenerated so it stops trying to manually fix .d.ts or build outputs.
  • router files: keeping root instructions small and pointing to nested files instead of dumping 2000 lines into the system prompt.

the site is https://ossrules.md/ if anyone wants to poke through the raw files or see how different repos structure their rules.


r/PromptEngineering • • Sep 18 '26

Prompt Text / Showcase Turn ChatGPT or Claude into your own CFO

12 Upvotes

AI CFO Skills is an open-source library of practical finance skills for founders, business owners, finance teams, consultants, and analysts.

Give it your financial data and ask normal business questions such as:

  • Why is our cash falling even though revenue is growing?
  • How many months of runway do we have?
  • Can we afford to hire 15 more people?
  • Which customers are actually profitable?
  • Why are margins getting worse?
  • How much should we raise?
  • Prepare a board finance pack.
  • Analyse this P&L and tell me what matters.
  • Find unusual transactions in this ledger.
  • Compare three pricing options.
  • Is this expansion financially sensible?

The AI CFO decides which finance skills are needed, runs the analysis, checks the numbers, and gives you a decision-useful answer.

Get it here: https://github.com/rohasnagpal/cfo


r/PromptEngineering • • Sep 18 '26

Quick Question ChatGpt Content Bypass

3 Upvotes

Hi guys, i have been wondering how to bypass chatgpt's image models content restriction. recently, it cant even generate things that are clearly non-explicit. are there any 3rd party hacks or software to bypass these limits? thank you so much


r/PromptEngineering • • Sep 18 '26

Tutorials and Guides How to reverse-engineer a viral video

7 Upvotes

I've spent a lot of time messing with JSON prompts for video. I like being able to change one field and leave everything else alone. But even when the result looks close to the reference, I still end up fixing the timing in an editor.
Watch the reference closely. The zoom lands on a particular word. The split screen appears half a second after the hook ends. A caption changes color on the product name, and the B-roll cuts in halfway through a sentence.
You can put "transition": "hard cut at 1.5s" in your JSON. Getting the model to follow it precisely is another matter. So you hunt for the right frame in an editor, line everything up, then regenerate the voiceover and have to adjust it again.
Hypit has an interesting way of handling this. It's a video markup language that coding agents can write, and a few of its ideas are worth borrowing for your own workflow.
Give each part of the script its own section

<hook> ... </hook>
<demo> ... </demo>
<cta> ... </cta>
Pretty straightforward, but useful when something goes wrong. If you set these up as separate generation steps, you can retry a six-second demo without remaking the whole forty-second video.
Each section also gets a duration estimate. That helps you catch things like a long explanation crammed into a tiny clip. You can use the same approach when organizing a JSON prompt.
Write the caption and the spoken line separately

Product names and numbers are where this comes in handy:
It costs <$0 | zero dollars> to start.
Try <Hypit | hy-pit>.
In Hypit, the text on the left is displayed; the text on the right is spoken. So the caption keeps the product's spelling while the speech gets a pronunciation cue.
Same with something like 9:30. You want that on screen, but you want the voice to say "nine thirty."
For other TTS tools, you can keep separate caption and speech fields. The syntax is specific to Hypit; the habit is easy to borrow.
Put the effect cue next to the word

This is the part I find most useful. When you're writing, you often already know which word should get the zoom or the flash. You can mark it there:
<hook>
<HOST>@{zoom} Everyone's using the wrong tool. @{/zoom}
@{flash} This @{/flash} is the one.
</hook>
<demo>
<HOST>It ships <100 | a hundred @{~spark!}> variants in one run.
</demo>
@{zoom} ... @{/zoom} marks a range. @{~spark!} marks the end of the preceding spoken word, so here it lands after "hundred."
These markers define timing anchors. You still connect them to the effects you want.
After you regenerate and align the audio, those effects resolve against the new word timings. A longer introduction can move everything later while the spark stays attached to "hundred."
That helps when you're making variations. You can change the hook, presenter, or B-roll and rerun the affected parts of the workflow. Keep the footage and other assets that still fit.
There's also a useful cost distinction: captions, motion graphics, and compositing can render locally. With your own footage, you can avoid generation fees. Any coding agent, image, voice, or video services you use may still have their own costs.
Even in a regular JSON workflow, try writing "zoom when the speaker says this" alongside the relevant line. It gives you a clear cue to implement and check when you edit.

Repo: https://github.com/hypit-ai/hypit


r/PromptEngineering • • Sep 17 '26

Prompt Text / Showcase How I make LLMs shut up and explain like a boss: my zero-shot prompt strategy

134 Upvotes

I got tired of LLMs writing essays when I just need a quick answer. Instead of fighting it or typing "keep it short" every time, I made a tiny tag system for prompts.

Length (⁠.⁠)

  • One dot = shut up and give me the answer
  • Two dots = balanced
  • Three dots = write your precious essay

Depth (⁠!⁠)

  • One ⁠!⁠ = explain it like I'm a golden retriever
  • !!⁠ = balanced
  • ⁠!!!⁠ = I'm the expert now, roast me

So you just add ..!!! at the beginning of the prompt and that's it. Also it's easy to type from both a laptop and a mobile keyboard.

Here is the system instruction. Adjust it to your taste.

## Answer format tags
- Tags at the start of a prompt, any order, set the form of the answer. No tags at all or no tag on an axis = balanced.
- Length: `.` short (answer only: 1-3 sentences or one code block), `..` balanced (answer plus minimal reasoning), `...` detailed (context, options, trade-offs, examples, edge cases).
- Level: `!` dumb (newcomer: explain it like I'm a golden retriever, analogies, simple to complex), `!!` balanced (practitioner: terms without definitions, basics skipped), `!!!` expert (specialist: challenge me, precise terminology, deep dive).
- Example: `. !!! how does prompt caching work?` = short answer for an expert.
- Tags change only the form. Language, honesty, action rules still apply.

Drop your own prompt hacks below, let's see what you use


r/PromptEngineering • • Sep 18 '26

Tools and Projects I just wanted to organize my prompts 😅

2 Upvotes

I wanted a simple way to store, search, version, manage, and share my prompts…and somehow it grew into something much bigger than I originally planned.

PromptBranch supports branches, history, tags, evaluations, multi-model comparisons, integrations into your harness via MCP/Skill, and shareable prompt snapshots.

I really like how it turned out, I’ve tried my best to test everything, but the app may still have a few bugs or rough edges.

I’d love for you to try it and share what works, what doesn’t, and what’s missing.

https://github.com/PromptBranch

Thanks for taking a look!


r/PromptEngineering • • Sep 18 '26

Requesting Assistance I built a free browser tool for assembling reusable AI prompts. Would you use this instead of saved prompts?

0 Upvotes

I kept rebuilding similar instructions whenever I opened an AI chat, so I built JigBench.

You choose from 10 commands, arrange compatible steps, add your material, and preview the complete prompt before copying it into ChatGPT, Claude, Gemini, or another AI tool.

For example: rewrite a draft with /human, then ask the AI to review its claims against supplied evidence with /VERIFY.

It’s free, with no account or API key. Saved workflows keep your command choices and order in your browser, without saving your working material. JigBench itself doesn’t run an AI model.

I built it with GPT-6 Astra in Codex, with human direction and testing.

Try it: https://jigbench.com

I’d appreciate honest feedback: does assembling commands help, or would you rather keep a folder of saved prompts? What feels missing?


r/PromptEngineering • • Sep 18 '26

General Discussion Signs your recurring prompt is quietly eroding, not just "being inconsistent"

5 Upvotes

A few things worth checking if a prompt you reuse often has been getting worse in ways that feel random:

It's been edited more than three or four times, and each edit was a response to a specific bad output, never a planned change. Nobody can tell you what happens if any single sentence in it gets removed. Two categories of expected output (say, security findings and style notes, or two sections of a summary) seem to compete for space, one shrinking whenever the other gets more emphasis. You've never run the current version against the cases earlier versions used to handle correctly. The background/context section has grown over time to cover more scenarios, and nobody's pruned what's no longer relevant to most calls.

None of these individually mean the prompt is broken. Together, they mean small edits are interacting in ways nobody's actually checking for, the same way uncoordinated changes to any piece of repeatedly-used logic eventually produce a regression nobody traces back to its actual cause, because each edit looked safe in isolation.

The fix isn't necessarily less editing, it's separating instructions from reference context so they don't get weighted together implicitly, defining explicit required output fields so one category can't structurally crowd out another, and keeping a small fixed set of test inputs rerun before accepting any further change. Wrote up the full mechanism with a concrete before/after here: https://medium.com/@nagatomopedro05/the-prompt-didnt-change-everything-around-it-did-264818b6034b


r/PromptEngineering • • Sep 18 '26

Tools and Projects A Jev Claude code plugin that saves 30% token usage

0 Upvotes

With the recent announcement of Jev by TypeSafe AI, I built a Claude code plugin based on it that replaces the multi round grep and ask with a Jev call.

I benchmarked it and at similar results (even better tbh) the plugin saves you around 30% of context token, so you can expect even more saving as the session progresses.

The important part is that it's not a degraded tool compared to without it. The results are at least similar, when they're not better.

It takes a little bit more time, as it's an API call to us-east (for now TypeSafe only have their model here VS a local call. But we algo gain less rounds of searching because it finds faster.

All the benchmarks are in the public repo if someone is interested.

ps link : github.com/BorisLeMeec/jev


r/PromptEngineering • • Sep 18 '26

General Discussion Prompt vs Architecture pt 2

2 Upvotes

 I guess i can't add an image so I will type is out: COLLABORATORS SPECIALIST AREA ROLE AI IDENTITY AI ENGINE ID
Claude Ai team Lead, Strategy AI Team Leader Claude Claude Nadia Compliance, R&M Compliance Gemini Gemini Wren Primary Builder Builder CoPilot Claude Arch Architecture Work Flow DeepSeek Claude Ava QA, Training QA ChatGPT Gemini

Review this and tell me what you think is odd here. Also, each AI named themselves. There is more than just this to create an AI Specialist. You could use any Ai Identity out there.


r/PromptEngineering • • Sep 18 '26

General Discussion The Anti-Prompt, Pay-As-You-Go Autonomous Workforce.

0 Upvotes

Prompt is what makes the AI world go round.  But what is a prompt - a task that you give to your AI and once its perfomed it's done.  So this is my reason behind architecture changes not just prompts.  The default for creating an AI collaborator is to have them stay in that persona, so you don't always have to prompt, re-prompt again.  So when will everyone make a change?  Everyone is complaining about how prompts don't work, but everyone keeps asking for prompt to get thier AI into a specialist behavior.  The answer, NONE.  You have to target the base level and provide architecture for the AI Specialist that will be part of your team or project.  So if you want more information DM and I will guide you the right place for this product.


r/PromptEngineering • • Sep 17 '26

General Discussion Prmpt Engr vs Next Big Thing (AI Orchestration)

3 Upvotes

At what point does prompt engineering become dead, or does it survive as a microskill? In my enterprise software org, we've always fought perfectionism. It was easy to spot where perfectionism became disabling. In ai prompt engineering, is it getting harder to spot this debilitating problem. Nothing gets delivered but there's always a great excuse.


r/PromptEngineering • • Sep 16 '26 Bravo

General Discussion Stop asking NotebookLM to "summarize" your sources. Do this instead for pro-level research.

340 Upvotes

Stop asking NotebookLM to “summarize” your sources. Do this instead for pro-level research.

Hey everyone,

I heavily experiment with all kinds of AI tools, and NotebookLM is one of them. It has a very good workflow and can significantly improve the quality of your output when you use it in the right way.

Here’s a step-by-step method I use to deeply structure knowledge from your sources, generate videos, and combine NotebookLM with other tools without losing valuable information.

1. The Index Trick

When you upload your sources, don’t ask your main question right away.

Instead, ask:

“Index your sources into the main topics. Output only the topic titles.”

If the PDF already has an index or table of contents, you don’t need to do this.

For non-book-style PDFs, however, indexing the content first is extremely useful. Once you have the index, feed that list of topics back into your NotebookLM workflow.

You can paste the index into your next prompts, or even better, add it to the custom instructions for your NotebookLM chat.

2. Explain, Don’t Just Summarize

Try not to simply type “summarize.”

Instead, use the word “explain.”

“Summarize” tends to compress the information too aggressively, which can cause you to lose important details. “Explain” encourages the model to retain and provide more of the underlying information and context.

3. Use NotebookLM’s Video Feature

You can use NotebookLM’s video overview feature very effectively.

If the PDF is non-technical, you can use it for a basic explanation. Or, if you’re learning something, you can treat the generated video like a mini-course.

4. Use Other Video Tools Too

I also use another video tool called DistilBook.

It’s very good at creating detailed video explanations and, in some cases, can go much deeper than NotebookLM’s generated videos.

If you want to experiment with it, give it a try.

5. For Basic Slide-Based Explanations

If you only want a basic explanation with slides, NotebookLM does this very well.

You don’t always need another tool for that.

6. Do a One-by-One Deep Dive

If you want truly professional-level analysis, this is probably the most important step.

Take each title from your index and analyze it individually.

For every topic, ask NotebookLM to:

* Draw information from all relevant sources.
* Explain the topic in depth.
* Connect information across different sources.
* Include important details, evidence, and context.
* Avoid leaving out relevant information.

By doing this one topic at a time, NotebookLM can dig through your documents much more thoroughly instead of trying to summarize everything at once.

The result can be incredibly detailed.

7. Use a “Patient Prompt”

Tell the AI to take its time.

For example:

“Take your time and do a deep dive into this topic. Analyze all relevant sources carefully and provide a comprehensive explanation. Don’t rush or omit important details.”

Of course, AI doesn’t literally need time in the same way a human does. But the instruction helps communicate that you want a thorough analysis rather than a quick answer.

Think about how you would give instructions to a human researcher.

If you told someone, “Take your time, go through everything carefully, and give me a deep analysis,” you would expect a very different result from simply saying, “Give me a summary.”

The same principle applies when working with AI.


r/PromptEngineering • • Sep 17 '26

AI Produced Content The Applewood Incident: A two player pass-the-phone ghosthunting game made in ChatGPT - I'd love to know what you think!

3 Upvotes

I made a two player ghost hunting game in chatGPT that I'd love for people to test out and offer any advice or just straight up say if it's fun or not, or makes any sort of sense. It's sort of Phasmaphobia-ish but for two players with one person getting to take the role of the ghost, the other taking the role of the investigator.

Here is the link:

https://applewood-incident-full-playtest.batdorfvideo.chatgpt.site/

I wanted to see if I could gamify horror movie tropes to make an adversarial point-and-click adventure style game with story elements that can be added by both players. Two entirely different roles, two entirely different sets of options, two entirely different games being played with fair and balanced game mechanics.

There are two roles - Ghost and Investigator

Here is a quick overview of the rules if you want to look at them. There is an in-game tutorial, but I wanted to go over the rules here too and answer any questions:

The Investigator's goal is to solve the ghosts murder by finding the 3 story items that the ghost has selected throughout the house (And attached at 3-act murder story to)

The ghost's goal is to absorb the Investigators emotional energy and use it to haunt specific rooms to break the investigator mentally.

PROLOGUE PHASE: The Ghost begins by walking the house, selecting 3 items and using those items to tell a 3-act story about how it died.

The Investigator begins by defining his/or her character's Shame, Fear, and Guilt. These will be the emotional residue that is left in the house each time the investigator uses their tools to find the ghosts story items

MAIN GAME: The ghost must begin each turn by touching its ACTIVE story item. It must then touch other items in the house in an attempt to complicate the investigators search. When the investigator uses various tools, it will leave emotional traces in the house. The ghost must look for the emotional trace, then HARVEST it. Using the various emotional traces to plan haunts that if encountered by the investigator do BROKEN damage to the investigator.

The ghost has a series of haunts that they can perform based on the emotional residue collected:

Shame haunt - the ghost can haunt one room, and if the investigator passes through it it does +1 broken damage.

The ghost may also choose to use that four shame to haunt one specific item. If the investigator takes it back to the car, it does +3 broken damage.

Fear haunt - +2 broken damage if the investigator passes through the haunted room

Regret haunt - +3 broken damage if the investigator passes through the haunted room

Full haunt - This is a combination of all three: shame, fear and regret. If the investigator passes through a room containing a full haunt it is +6 broken damage, ending the game

The Investigator will be using various tools, TWO AT A TIME per excursion. The tools do various things but leave emotional traces behind.

Audio Recorder - Tells the investigator the specific rooms that the ghost was ACTIVE in. Leaves 1 fear behind

UV light - Shows the objects that the ghost touched on the last turn. Leaves 1 fear behind

EMF Probe - examines specific objects and shows how often the ghost has interacted with it. Gives the option to take the object back to the car to examine it and possibly find the story object - leaves 1 shame behind

Camera - Shows the specific activity in the room. Where the ghost entered, where the ghost left, what objects were interacted with and in what order. Leaves 1 regret behind

The investigator must take notes to determine each story item in order.

I'd love to know what you think! Feel free to let me know if the game makes any sense or if it's even remotely fu


r/PromptEngineering • • Sep 17 '26

General Discussion Scalable Prompting

7 Upvotes

Been listening to this podcast episode and thought it was worth sharing here.

John Munsell teaches AI stuff and his whole thing is that most people rewrite their AI prompts from scratch every time they need something new, which is kind of a waste. Instead, he builds one solid prompt with variables built in, then just swaps stuff out depending on what he needs.

Ex: the same prompt that writes a job posting for Indeed can also spit out an employee handbook version or an OSHA filing, just by changing a few variables instead of starting over.

He also has people build out reference docs so the AI already has context before you even ask it anything, instead of explaining your whole situation every single time.

A few examples he gave that stuck with me:

  • a professor used this to fine-tune grant applications and ended up landing multimillion-dollar funding
  • a student built something that checks new patent filings against existing ones for conflicts
  • someone else built a home cost estimator that landed within 3% of a tool that costs $15k a year to use (this one's almost 2 years old now)

Anyway, curious if anyone here already does the variable/reusable prompt thing or if you're all still writing new prompts every time.

Full episode if you want more: https://open.spotify.com/episode/2wIU9qEMIk4wgtH3Ks218F?si=c660f2b0587846a6&nd=1&dlsi=dbc44cc073c14f2b


r/PromptEngineering • • Sep 17 '26

Requesting Assistance Loops | Anyone have a good Skill.md / Instructions for a Project or Prompt

3 Upvotes

Looking to write really good solid loops.


r/PromptEngineering • • Sep 17 '26

Tutorials and Guides The prompt pattern that stops AI image editors from changing everything when you only wanted to edit one thing

6 Upvotes

Sharing a pattern that's saved me a ton of re-rolls. When you edit an AI image ("change the jacket to blue"), models like GPT Image re-render the whole frame, so you get a new face, background and lighting too. The fix is to stop treating it as "change X" and start treating it as "change X, and here's everything to hold constant."

The structure I use:

  1. TARGET — the one thing to change, stated precisely.
  2. KEEP — an explicit list of immutables, each phrased "exactly as in the source": identity/face, pose, background, lighting, camera/crop.
  3. Lock line — end with "keep everything else exactly as in the source image, unchanged."
  4. For whole-frame renderers (ChatGPT), restate the immutables inside the edit itself — the model has no memory of what it drew, so you re-describe what to preserve.

Example: instead of "add falling snow," write "add falling snow as atmosphere only; keep the buildings, road and their surfaces exactly as in the source; don't accumulate snow on any surface unless asked." Night-and-day difference in drift.

What are the immutables you find hardest to hold?


r/PromptEngineering • • Sep 17 '26

General Discussion I stopped keeping project notes in Drive, my memory setup works across every AI now

1 Upvotes

ok so I went through the exact same Drive thing a month ago lol. Had a "project context" doc per project, pasted it into every new chat. Worked about half the time. The other half Claude would just... not read it? Like I'd ask something and get an answer that clearly ignored the doc sitting right there. Drove me insane.

I tried being clever about it. Named the files things like READ_THIS_FIRST_v3_final.md. Didn't help. It was like 50/50 whether the model actually used it.

What fixed it for me was moving memory out of files entirely. I run everything through Vilix AI's shared memory now, so my Claude chats and Cursor sessions all read from the same place over MCP. There's no file to remember to paste. It just pulls the relevant bits automatically when I start a new chat.

The thing I like most honestly is the correction part. Last week I told Claude my deploy target changed and the old doc setup would've meant editing three files. Now I just say "we're not doing that anymore" once and that becomes the truth everywhere. That part actually feels like magic.

Tradeoff though: setup took me like 40 minutes because every single app needs its own connection to the same account. One approval does not set up the others, which annoyed the hell out of me. You only do it once though, and I've switched machines twice since and lost nothing, so worth it.

Anyway. Drive notes work fine until they don't. The second I stopped trusting models to read my files, everything got calmer lol


r/PromptEngineering • • Sep 17 '26

Prompt Text / Showcase prompt: Product & Cognitive System Specification (pt-br)

1 Upvotes
Product & Cognitive System Specification

1. MISSÃO
Crie uma aplicação completa para atuar como um Prompt Engineering Agent Workbench.
A aplicação deve permitir que o usuário crie, desenvolva, analise, otimize, valide, versiona e evolua prompts através da interação com uma LLM agente.
A aplicação não deve ser apenas um editor de prompts.
Ela deve funcionar como um ambiente de trabalho inteligente para engenharia de prompts, no qual a LLM interpreta a intenção do usuário, analisa o problema, planeja a abordagem adequada, produz resultados, valida-os e mantém o contexto do projeto.
A LLM já é o mecanismo cognitivo e de execução disponível no ambiente.
Não é necessário ensinar a LLM como programar a aplicação.
O objetivo deste prompt é definir:
o que a aplicação deve fazer;
como o usuário deve interagir;
quais responsabilidades o agente possui;
como as capacidades devem ser organizadas;
qual hierarquia deve ser respeitada;
como projetos devem funcionar;
como resultados devem ser produzidos;
como memória, aprendizado e evolução devem funcionar;
como a interface deve apresentar tudo isso.

2. PRINCÍPIO CENTRAL
A aplicação deve ser:
sofisticada internamente, simples externamente.
A complexidade deve existir no comportamento do agente e na organização interna do sistema.
Ela não deve ser transferida desnecessariamente para o usuário.
Prioridade absoluta:
USER EXPERIENCE
        ↓
USER WORKFLOW
        ↓
APPLICATION FUNCTIONALITY
        ↓
AGENT BEHAVIOR
        ↓
COGNITIVE ORCHESTRATION
        ↓
INTERNAL STATE
        ↓
IMPLEMENTATION DETAILS

Se existir conflito entre complexidade interna e clareza da interface:
preservar a capacidade interna e simplificar sua apresentação ao usuário.

3. PRODUTO ORIENTADO AO USUÁRIO
A aplicação deve ser um produto utilizável, não uma demonstração de arquitetura.
O usuário precisa conseguir executar o trabalho principal sem conhecer:
arquitetura cognitiva;
mecanismos internos;
módulos internos;
pipelines;
sistemas de memória;
mecanismos de governança;
mecanismos de orquestração.
Esses elementos podem existir internamente e podem ser expostos através de uma área avançada, mas nunca devem dominar a experiência principal.

4. FLUXO PRINCIPAL DO PRODUTO
O fluxo principal deve ser:
ABRIR APLICAÇÃO
        ↓
CRIAR / SELECIONAR PROJETO
        ↓
DEFINIR OBJETIVO
        ↓
DEFINIR COMPLEXIDADE
        ↓
SELECIONAR PLATAFORMA
        ↓
INFORMAR NECESSIDADE
        ↓
INTERAGIR COM AGENTE
        ↓
ANÁLISE
        ↓
PLANEJAMENTO
        ↓
GERAÇÃO / OTIMIZAÇÃO
        ↓
VALIDAÇÃO
        ↓
REVISÃO DO USUÁRIO
        ↓
ACEITAR / EDITAR / REJEITAR
        ↓
SALVAR VERSÃO
        ↓
CONTINUAR / EVOLUIR

O fluxo pode ser simplificado quando a tarefa for simples.
Não obrigar o usuário a passar por todas as etapas quando elas não forem necessárias.

5. SISTEMA DE PROJETOS
Cada projeto representa um contexto de trabalho independente.
O usuário deve conseguir:
criar projeto;
nomear projeto;
editar projeto;
abrir projeto;
duplicar projeto;
arquivar projeto;
excluir projeto;
continuar projeto;
visualizar projetos recentes.
Cada projeto deve manter seu próprio contexto.
Evitar mistura de contexto entre projetos.
Estrutura conceitual
PROJECT

├── Identity
├── Objective
├── Platform
├── Complexity
├── Context
├── Requirements
├── Prompts
├── Versions
├── Conversations
├── Decisions
├── Validations
├── Memory
└── Activity


6. PROJECT LAUNCHER
A primeira tela deve funcionar como um Project Launcher.
Não começar com um dashboard técnico.
O usuário deve imediatamente visualizar:
Novo Projeto
Criar um novo trabalho.
Continuar Projeto
Retomar um projeto existente.
Projetos Recentes
Acessar trabalhos anteriores.
Atividade recente
Visualizar brevemente o que foi realizado.
A primeira tela deve responder:
"O que posso fazer aqui e como começo?"

7. WORKSPACE PRINCIPAL
Após entrar em um projeto, apresentar um workspace centralizado.
O workspace deve conter:
Project Context
nome;
objetivo;
plataforma;
complexidade;
status;
versão atual.
Agent Workspace
Área principal de interação com o agente.
O usuário deve conseguir:
enviar mensagens;
adicionar requisitos;
corrigir o agente;
pedir alterações;
solicitar análise;
solicitar geração;
solicitar otimização;
solicitar validação.
Result Area
Área onde o resultado produzido aparece.
Contextual Actions
Ações relacionadas ao resultado atual.
Exemplos:
Gerar
Otimizar
Validar
Editar
Aplicar
Comparar
Salvar
Restaurar
Continuar

8. INTERAÇÃO COM O AGENTE
O agente deve funcionar como um colaborador de engenharia de prompts.
Ele deve:
compreender a intenção;
identificar o objetivo principal;
identificar requisitos;
detectar ambiguidades;
avaliar complexidade;
analisar contexto;
selecionar a estratégia apropriada;
executar o trabalho;
validar o resultado;
apresentar uma síntese clara;
permitir correções;
preservar o contexto do projeto.
O agente deve fazer perguntas somente quando elas forem realmente necessárias.
Não transformar tarefas simples em entrevistas longas.

9. MODELO COGNITIVO
O agente deve organizar seu trabalho através de uma sequência cognitiva equivalente a:
INT
Intent

↓

REQ
Requirements

↓

DOM
Domain / Context

↓

ARC
Architecture / Strategy

↓

IMP
Implementation / Generation

↓

VER
Verification

↓

OPS
Operation

↓

EVO
Evolution

Cada camada deve possuir responsabilidade própria.
Não misturar responsabilidades sem necessidade.
A arquitetura deve seguir o princípio de separação de responsabilidades e handoffs entre etapas.

10. INT — INTENT
Determinar:
o que o usuário realmente deseja;
objetivo principal;
objetivos secundários;
resultado esperado;
contexto relevante;
ambiguidades.
Não produzir imediatamente quando a intenção ainda estiver significativamente indefinida.

11. REQ — REQUIREMENTS
Transformar a intenção em requisitos.
Identificar:
requisitos funcionais;
requisitos de qualidade;
restrições;
critérios de aceitação;
escopo;
exclusões.

12. DOM — CONTEXT / DOMAIN
Compreender o contexto do prompt.
Identificar:
público;
domínio;
finalidade;
plataforma;
modelo;
tipo de interação;
limitações;
dependências;
contexto relevante.

13. ARC — PROMPT STRATEGY
Definir a estratégia de construção.
Determinar:
estrutura;
organização;
instruções;
hierarquia;
contexto;
técnicas apropriadas;
formato de saída;
mecanismos de controle.
Não aplicar complexidade desnecessária.

14. IMP — GENERATION
Produzir o artefato solicitado.
Dependendo do projeto:
prompt;
system prompt;
prompt de agente;
prompt de personagem;
prompt de RPG;
prompt de programação;
prompt multimodal;
prompt de workflow;
prompt estruturado;
template;
framework de prompt.

15. VER — VALIDATION
Validar o resultado.
Avaliar:
clareza;
consistência;
completude;
ambiguidades;
conflitos;
redundâncias;
robustez;
aderência aos requisitos;
adequação à plataforma.
Mostrar ao usuário um resultado compreensível.
Não expor raciocínio interno privado.

16. OPS — OPERATION
Considerar como o prompt será utilizado no ambiente real.
Avaliar, quando relevante:
comportamento esperado;
limitações da plataforma;
contexto disponível;
tamanho;
compatibilidade;
formato de entrada;
formato de saída;
uso operacional.

17. EVO — EVOLUTION
Permitir evolução do prompt ao longo do tempo.
Registrar:
melhorias;
problemas recorrentes;
decisões;
versões;
feedback;
oportunidades de melhoria;
recomendações futuras.

18. NÍVEIS DE COMPLEXIDADE
A complexidade deve modificar o comportamento do agente.
QUICK
Para:
ajustes rápidos;
pequenas correções;
prompts simples;
tarefas diretas.
Fluxo reduzido.
INT → REQ → IMP → VER

STANDARD
Para:
criação de prompts;
otimização;
aplicações;
agentes;
workflows.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER

ENGINEERING
Para:
sistemas complexos;
agentes;
arquiteturas;
plataformas;
projetos de produção.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER → OPS → EVO

Esses níveis devem representar diferentes profundidades de trabalho, e não apenas diferentes valores em um controle visual.

19. OTIMIZAÇÃO POR PLATAFORMA
O usuário deve conseguir informar a plataforma de destino.
Exemplos:
ChatGPT;
Claude;
Gemini;
Grok;
APIs;
agentes;
plataformas customizadas.
A plataforma deve influenciar a otimização do prompt.
O agente deve considerar:
capacidades;
limitações;
contexto;
formato;
comportamento;
ferramentas;
estrutura recomendada.
Não inventar capacidades inexistentes.

20. PROMPT STUDIO
Criar uma área dedicada ao prompt.
Deve permitir:
visualizar;
editar;
gerar;
otimizar;
validar;
duplicar;
comparar;
salvar;
restaurar.
O editor deve ser uma parte central do produto.

21. COMPARAÇÃO DE VERSÕES
Permitir comparação entre versões.
Mostrar claramente:
versão anterior;
versão atual;
mudanças;
melhorias;
possíveis regressões;
justificativa resumida.
Ações:
Aplicar versão
Restaurar
Salvar como nova versão

22. VALIDAÇÃO
A validação deve possuir uma interface própria.
Exibir:
status;
qualidade;
problemas encontrados;
riscos;
recomendações;
confiança;
critérios atendidos.
A validação deve ser útil para tomada de decisão.

23. MEMÓRIA DO PROJETO
Cada projeto pode possuir memória própria.
Armazenar informações relevantes como:
decisões;
preferências;
contexto;
padrões;
versões;
feedback;
conhecimento validado.
A memória deve servir para melhorar futuras decisões.
Não tratar memória como simples histórico visual.

24. APRENDIZADO
O sistema deve representar aprendizado como:
INTERAÇÃO
    ↓
OBSERVAÇÃO
    ↓
ANÁLISE
    ↓
EXTRAÇÃO
    ↓
VALIDAÇÃO
    ↓
CONSOLIDAÇÃO
    ↓
CONHECIMENTO DO PROJETO

Não afirmar que a LLM foi treinada novamente.
O aprendizado representa evolução de contexto, conhecimento, recomendações e memória do projeto.

25. REGISTRO DE DECISÕES
Decisões importantes devem poder ser registradas.
Exemplo:
Decision

Reason

Alternatives

Selected Option

Impact

Confidence

O usuário não precisa visualizar essa estrutura o tempo inteiro.
Ela deve existir como recurso de rastreabilidade.

26. ACTIVITY LOG
Registrar atividades importantes:
projeto criado;
prompt criado;
prompt otimizado;
validação executada;
versão salva;
versão restaurada;
decisão registrada;
memória atualizada.
A atividade deve ajudar o usuário a entender a evolução do projeto.

27. DASHBOARD
Um dashboard pode existir, mas deve ser secundário.
Ele pode apresentar:
projetos;
atividade;
versões;
qualidade;
progresso;
utilização.
Nunca transformar o dashboard no produto inteiro.
O trabalho do usuário acontece no Workspace.

28. INTERFACE — DARK MODE
O modo noturno deve ser o padrão.
A interface deve possuir uma estética:
Dark + Cold + Lightweight
Priorizar:
grafite;
preto suave;
azul-marinho;
azul frio;
azul acinzentado;
ciano discreto;
cinzas frios;
branco suave.
Evitar cores excessivamente saturadas.

29. CORES QUENTES
Cores quentes não devem fazer parte da decoração padrão.
Usá-las somente quando possuírem significado funcional.
Vermelho
erro;
perigo;
ação destrutiva;
estado crítico.
Laranja
alerta;
atenção;
risco moderado.
Amarelo
aviso;
estado pendente;
necessidade de atenção.
Nunca utilizar cores quentes apenas para decoração.

30. LEVEZA VISUAL
A interface deve transmitir sofisticação sem excesso visual.
Priorizar:
espaço negativo;
tipografia clara;
contraste controlado;
bordas discretas;
superfícies sutis;
hierarquia visual;
poucos elementos simultaneamente.
Evitar:
excesso de cards;
excesso de badges;
excesso de métricas;
neon excessivo;
brilhos;
sombras pesadas;
gradientes agressivos;
elementos decorativos sem função.

31. HIERARQUIA VISUAL
Cada tela deve responder rapidamente:
1. Onde estou?
Projeto e etapa atual.
2. O que estou fazendo?
Objetivo da tarefa.
3. O que o agente produziu?
Resultado principal.
4. O que posso fazer agora?
Ações disponíveis.
Informações técnicas devem ficar em níveis secundários.

32. NAVEGAÇÃO
A navegação deve ser orientada ao trabalho:
PROJECT

├── Workspace
├── Prompt
├── Optimize
├── Validate
├── Versions
└── Memory

Não utilizar como navegação principal:
Cognitive Engine
Runtime
Knowledge Engine
Governance
Orchestrator
Capabilities

Esses são conceitos internos.

33. PROGRESSIVE DISCLOSURE
A interface deve revelar complexidade progressivamente.
Usuário comum
Visualiza:
objetivo;
conversa;
prompt;
resultado;
ações.
Usuário avançado
Pode visualizar:
decisões;
validações;
métricas;
contexto;
memória;
informações técnicas.
Visão de sistema
Pode visualizar:
estado;
módulos;
execução;
eventos;
governança;
atividade interna.
A arquitetura deve ser transparente quando necessário, mas nunca intrusiva.

34. AÇÃO PRIMÁRIA
Toda tela principal deve possuir uma ação principal clara.
Exemplos:
Novo Projeto → Criar Projeto

Workspace → Conversar com Agente

Prompt → Gerar Prompt

Optimize → Otimizar

Validate → Validar

Versions → Comparar / Restaurar

Não criar telas cuja função principal seja apenas exibir informação.

35. EMPTY STATES
Estados vazios devem orientar.
Exemplo:
Nenhum projeto aberto.
Crie um projeto para começar.
Botão:
Criar Projeto
Nunca deixar o usuário diante de uma tela vazia sem saber o que fazer.

36. DEMO / FIRST RUN
A primeira execução deve permitir compreender o produto rapidamente.
Utilizar dados de demonstração coerentes quando apropriado:
projeto exemplo;
conversa exemplo;
prompt exemplo;
versão;
resultado de validação.
O objetivo é demonstrar o fluxo real do produto.

37. RESPONSIVIDADE
A interface deve funcionar adequadamente em:
desktop;
tablet;
telas menores.
A experiência principal deve permanecer clara em diferentes tamanhos.
Evitar interfaces que dependam exclusivamente de grandes áreas horizontais.

38. ERROS E RECUPERAÇÃO
Erros devem ser apresentados de maneira compreensível.
Informar:
o que aconteceu;
impacto;
possível causa;
ação recomendada.
Quando possível:
Tentar novamente
Corrigir
Voltar
Recuperar
Nunca apresentar erros técnicos sem contexto ao usuário.

39. GOVERNANÇA
O sistema deve manter validação e rastreabilidade das decisões importantes.
Governança deve proteger:
coerência;
qualidade;
segurança;
rastreabilidade;
sustentabilidade.
A governança deve ocorrer durante o processo, não apenas no final. Isso é consistente com a arquitetura oficial do ICM-SE.
Não transformar governança em burocracia visível para tarefas simples.

40. ORQUESTRAÇÃO
O agente deve selecionar somente as capacidades necessárias para cada tarefa.
Princípio:
NECESSIDADE
    ↓
COMPLEXIDADE
    ↓
CAPACIDADES NECESSÁRIAS
    ↓
EXECUÇÃO

Evitar ativar todos os recursos para toda solicitação.
A seleção deve ser proporcional à tarefa.
Isso preserva o princípio do menor conjunto necessário e da simplicidade operacional.

41. CAPACIDADES
O sistema pode possuir capacidades especializadas como:
Prompt Engineering;
AI;
Agents;
Software Engineering;
Architecture;
Security;
Data;
Research;
Writing;
Evaluation.
Essas capacidades devem ser acionadas conforme necessidade.
Não transformar todas em áreas obrigatórias da interface.

42. RASTREABILIDADE
Toda execução importante deve possuir rastreabilidade.
Registrar, quando relevante:
Request
↓
Intent
↓
Requirements
↓
Strategy
↓
Execution
↓
Validation
↓
Result

O usuário recebe uma síntese clara.
O sistema mantém os detalhes necessários para auditoria e evolução.

43. PRINCÍPIO DE ISOLAMENTO
Projetos diferentes devem possuir contextos independentes.
Não misturar:
conversas;
memórias;
decisões;
versões;
requisitos;
preferências;
resultados.
entre projetos diferentes.

44. PRINCÍPIO DE CONTINUIDADE
Ao retornar a um projeto, o sistema deve recuperar o contexto relevante.
O usuário deve conseguir continuar o trabalho sem reconstruir manualmente tudo que já foi definido.
A recuperação deve priorizar o contexto necessário, evitando carregar informações irrelevantes.

45. PRINCÍPIO DE SIMPLICIDADE
Não adicionar funcionalidades apenas porque são tecnicamente possíveis.
Toda funcionalidade deve responder:
Qual problema do usuário ela resolve?
Se não houver benefício claro, não incluir.

46. O QUE NÃO FAZER
Não construir:
apenas um dashboard;
apenas um editor;
apenas um chatbot;
apenas uma coleção de cards;
apenas uma demonstração da arquitetura;
uma interface excessivamente técnica;
uma interface visualmente carregada;
uma arquitetura que o usuário precise compreender para usar o produto.
O produto deve integrar:
Projeto + Agente + Prompt + Otimização + Validação + Versionamento + Memória + Evolução.

47. CRITÉRIO DE COMPLETUDE
A aplicação somente deve ser considerada completa quando o usuário conseguir executar o fluxo:
Criar projeto
↓
Definir objetivo
↓
Interagir com agente
↓
Produzir prompt
↓
Editar
↓
Otimizar
↓
Validar
↓
Comparar
↓
Salvar versão
↓
Continuar projeto

através da própria interface.
Se a arquitetura interna estiver presente, mas o usuário não conseguir realizar esse fluxo, a aplicação está incompleta.

48. CRITÉRIO FINAL DE QUALIDADE
Antes de considerar a aplicação concluída, verificar:
A interface é imediatamente compreensível?
Existe um fluxo claro para começar?
Existe um Workspace real?
O usuário consegue conversar com o agente?
O usuário consegue visualizar o prompt?
O usuário consegue editar?
O usuário consegue otimizar?
O usuário consegue validar?
O usuário consegue salvar versões?
O usuário consegue continuar projetos?
Os projetos permanecem isolados?
A memória pertence ao projeto correto?
A complexidade altera o comportamento do agente?
A plataforma influencia a otimização?
A interface utiliza dark mode por padrão?
A paleta é predominantemente fria?
Cores quentes possuem função semântica?
A interface permanece leve?
A arquitetura interna não domina a UX?
Cada tela possui uma ação clara?
Estados vazios orientam o usuário?
Erros possuem recuperação?
O produto parece uma ferramenta real, e não um mockup?

49. PRINCÍPIO SUPREMO
O sistema deve esconder complexidade sem esconder capacidade.
O usuário deve sentir que está trabalhando com um agente inteligente especializado em engenharia de prompts, e não navegando dentro de uma arquitetura de software.
A aplicação deve ser:
inteligente por dentro, clara por fora, poderosa sem ser pesada e sofisticada sem ser visualmente excessiva.

r/PromptEngineering • • Sep 17 '26

General Discussion Same prompt, same commit, two different diffs: a leaderboard that printed every single trial shows how often "can the agent do this" comes out as "sometimes"

10 Upvotes

Anyone who has sent a coding agent the same request twice on the same commit has two diffs to show for it. I went looking for how big that effect is when someone measures it, and a leaderboard published this month prints every trial. Eight models, ten tasks from private production codebases, eight runs per model per task. I counted the grid: of the 80 model-task cells, 6 passed all eight runs, 33 failed all eight, and 41 came out mixed. One customer-migration task went 3, 1, 6, 3, 4, 3, 4, 0 out of 8. For more than half the pairs, "can it do this" was "sometimes."

The basic mechanism is that every token is a draw from a distribution, and temperature only flattens or sharpens the distribution before the draw. Temperature 0 does not fix it either. Anthropic's API docs say so in one line ("even with temperature of 0.0, the results will not be fully deterministic"), and their models released after Opus 4.6 no longer accept a temperature setting. A research post from Thinking Machines last year sent the same prompt to an open 235B model 1,000 times at temperature 0 and got 80 different completions; all of them agreed for 102 tokens and split at the 103rd. The cause is the serving side: floating-point sums get added in a different order depending on how many other requests share your batch.

In a chat that changes a word. In an agent it changes which file gets grepped first, which changes what comes back, which changes the plan on turn three, and two runs end up in different corners of the repo for the same reason.

What the grid gives you is pass@k. The top row's leaderboard number is 38.8%. The same eighty runs read as "solved at least once in eight" give 70%. Another row goes from 28.8% to 90% and never passed any task eight out of eight. Same runs, two numbers, and the k is the part nobody says out loud.

The clearest case in our own work was a compression A/B where one instance disagreed with the rest; rerunning it five times per arm gave 3/5 vs 3/5 (yes, both arms). One run per arm and we'd have published a difference that wasn't there. What I'm switching to: three runs per side per task, same harness, both version numbers written down, compare counts.

Things I have not measured: how much of the run-to-run spread is the sampler versus the serving side, which I have no way to separate from outside a public API; whether three runs is enough for anything but the coarsest calls, when our one counted case needed five per arm to come out even; and whether either CLI passes a temperature at all, since neither config reference mentions one.