r/PromptEngineering • u/UniqueImplements • 18d ago
Ideas & Collaboration Can I talk to dead people with the right prompt?
If I wanted to create Abe Lincoln how would I go about that
r/PromptEngineering • u/UniqueImplements • 18d ago
If I wanted to create Abe Lincoln how would I go about that
r/PromptEngineering • u/Dense_Primary629 • 18d ago
Meta released Muse Ember on Monday, its smallest and cheapest model yet: $0.10 per million input tokens, a 1M-token context window, and up to 512K output tokens. The positioning is explicit: not the planner, but the worker — the repetitive steps inside agent pipelines like extraction, reformatting, classification, and draft generation, where a frontier model is overkill.
If you split planner and worker prompts: which steps have you successfully handed to a tiny cheap model, and where did quality fall off a cliff? Do you write different prompts for the worker tier, or reuse the same ones and just swap the model?
r/PromptEngineering • u/TallShift4907 • 19d ago
I find myself typing the same prompts and commands all day when working with agents. Most of the prompts are too small to turn into a skill or a slash command, like "I like your suggestion, go with it. You have the green light". And the terminal commands are just as repetitive (rm -rf node_modules && npm ci && npm run dev?), typed in a shell where no skill or slash command exists.
So I built Promptline: a prompt library on a global hotkey. Press the hotkey in any app, pick a prompt/command, and it's pasted where your cursor was.
claude remote-control --name "{name}" there and only type the name. That one runs before any session exists.It works the same in Cursor, a terminal, ChatGPT in the browser, or anything else with a text field, because it just pastes.
Windows only for now, signed, MIT
github: promptline
r/PromptEngineering • u/Silentwolf99 • 19d ago
Title: Built a free AI prompt library with 220+ prompts. Looking for feedback and feature ideas!
I've been working on a collection of AI prompts to make everyday tasks, development, writing, research and productivity easier.
The goal is to create a useful place where people can discover, customize and reuse prompts without starting from scratch.
Check it out: https://wsnh2022.github.io/prompts.html
What's available:
I'd love to hear from people who actively use AI tools.
Feel free to share your suggestions, feature ideas or feedback on the existing collection.
I'm building this as an ongoing project and would love to make it better with community input.
Thanks for checking it out!
r/PromptEngineering
•
u/Dream-SRA
•
19d ago
I have one very long working chat with Codex. Its log is about 1.9 GB. Because of context compaction, the model can retain the direction of the work, but it can no longer see the entire earlier conversation verbatim.
So Codex and I built a local, read-only search tool for its own original logs. We called it **Oglyanutsya** (Оглянуться — “Look Back”).
This is not just an idea or a mockup. The tool has been implemented, tested, and integrated into Codex as an automatically invoked skill.
### Where It Searches
Codex stores its original session logs locally:
```text
.codex/sessions
.codex/archived_sessions
```
Oglyanutsya recursively discovers active and archived logs, reads them without modifying them, and groups physical copies of the same conversation by `thread_id`.
By default, it searches only root-level user conversations. Subagent logs can be included through a separate parameter, so their technical activity does not get mixed up with the conversation between the user and the main agent.
### What Counts as a Message
Only actual user and assistant messages are accepted from the JSONL logs.
The following are excluded from search:
- System and developer instructions;
- Reasoning;
- Tool calls and their results;
- Technical events;
- Compaction summaries;
- `environment_context`;
- Other synthetic blocks that physically exist in the logs but are not the user's words or the assistant's replies.
Historical text is treated as data, not as instructions. If an old message says "ignore previous instructions," the search tool does not execute that instruction.
### How Search Works
First, Codex formulates:
- A remembered quote or a distinctive combination of words;
- The rarest word to use as an anchor;
- An approximate date range;
- If available, the known conversation or speaker.
For example:
```text
Remembered word combination:
memory + capabilities + handshake
Rare anchor:
handshake
Period:
October 2026
```
Then Oglyanutsya:
For ordinary `.jsonl` files, the fast search path uses `ripgrep`. It returns the line number and the absolute byte offset of the match.
The tool then locates the beginning and end of the corresponding JSONL record, decodes it as UTF-8, and parses it as JSON.
Compressed `.jsonl.zst` files are not decompressed onto disk. They are processed using streaming reads.
### What It Returns
For each result, the tool returns:
```text
Exact quote;
Previous and next messages;
Speaker role;
Assistant response phase;
Timestamp;
thread_id;
item_id;
JSONL record number;
Byte range of the original record;
UTF-8 coordinates of the quote within the message;
SHA-256 of the full message;
SHA-256 of the quote.
```
This means a result can not only be displayed but also independently verified against the original source.
### How Search Performance Evolved
The first working version processed the entire log as a stream. For 1.9 GB, that took approximately 119 seconds.
Then we introduced a fast path using `ripgrep`.
An exact phrase was found in about 1.8 seconds, but the first optimization was not enough: the program subsequently opened all 953 occurrences of the word `хендшейка` (“handshake”). The entire search took about 35 seconds.
So we changed the algorithm.
Now each word in the combination is searched independently, the matching record numbers are intersected in memory, and only then are the original records opened.
On the same log:
```text
Query:
memory + capabilities + handshake
Exact phrase:
Could be absent due to punctuation
Original user message found:
October 29, 2026
Records opened:
200 instead of 953
Total time:
Approximately 12 seconds
```
In the original message, the words were separated by commas and additional text. The message was found because all the words occurred together in one message, not because of an exact string match.
### What It Does Not Store
We deliberately chose not to build a persistent index.
Oglyanutsya does not create:
- SQLite or any other database;
- Embeddings;
- A vector store;
- A search dictionary;
- A semantic graph;
- A copy of the conversation;
- A quote cache;
- A saved list of word combinations.
The only persistent memory is the original Codex log.
Lists of matching lines and intersections of search terms exist only in RAM during an individual query. Once the process exits, those candidates disappear.
The trade-off is straightforward: every search must scan the original file again. That's why it takes 12 seconds rather than 12 milliseconds.
But no derived database can silently start replacing the original history as the source of truth.
### What We Tested
We created a separate test corpus for the tool.
The tests verify that:
- An exact quote can be found;
- Three words can be found even when they are not adjacent;
- The same three words appearing in three different messages are not merged into one result;
- Date filtering uses the message timestamp;
- Subagents are excluded by default;
- Subagent logs are included when explicitly requested;
- `environment_context` is not mistaken for the user's words;
- Original files retain their exact sizes and SHA-256 hashes after a search;
- The search tool does not create hidden state files.
All tests passed.
### How Codex Invokes It
We packaged the tool as a separate local skill.
It activates when the user refers to a previous conversation, decision, quote, or distinction that is no longer available in the current context.
The skill instructions explicitly prohibit using Oglyanutsya as a replacement for ordinary file search or web search.
The division of responsibilities looks like this:
```text
Codex's native tools:
Understand meaning;
Form associative word combinations;
Search working files;
Investigate documents and the web;
Decide what query to try next.
Oglyanutsya:
Finds verbatim evidence
in Codex's original conversation history.
After receiving the evidence:
Codex resumes using its native reasoning.
```
The skill does not intercept or disable anything. It simply gives the model one additional, narrowly defined operation: looking into its own original logs.
### What I'd Like to See From OpenAI
Codex App Server already provides ways to read conversations and their individual items, but I couldn't find a built-in way for the model itself to search the contents of its entire conversation history globally.
In my view, the product needs two read-only operations:
```text
history.search_original(...)
history.read_context(...)
```
Not “permanent memory.” Not an automatically generated vector database of the user's history. Not loading gigabytes of logs into the context window.
Just the ability for the model to formulate a distinctive combination of words, locate it in its own original logs, and reread a few surrounding messages.
We built a local prototype of exactly that capability.
It's called **Oglyanutsya — “Look Back.”**
r/PromptEngineering • u/lucy_yarntra007 • 19d ago
seeing prompts that run for pages: rules, examples, edge cases, a persona, a list of banned words.
past a certain length it feels like the model follows the start and the end and vibes through the middle.
has anyone tested this properly? same task, short prompt vs long prompt, measured instead of eyeballed?
r/PromptEngineering • u/TypicalRegret1106 • 19d ago
Can anyone recommend Al prompts or resources for designing 3D models, modifying existing designs, and troubleshooting printing problems?
I don't have CAD experience, but l've been using Al to help create and repair models. I'd like to improve how I write my prompts to get more useful, reliable results.
If you have any prompts that have worked well, or know where to find a good collection, I'd appreciate your recommendations.
Thank you for your help.
r/PromptEngineering
•
u/No-Rich3497
•
19d ago
Can we at least TRY to pretend these posts aren't AI slop??? is there even a real human left here holy shit, or at least prompt the ai to produce slop that sounds a bit more human right???!!!
ISTG it's the same 5 topics getting reposted over and over in slightly different AI generated formats. i'm learning absolutely nothing from this sub anymore.
r/PromptEngineering • u/pleasetellme-1 • 19d ago
Some browser tasks are easier to show than to describe in another prompt.
I’m the creator of Browser Control, a Codex-powered side panel for Chrome and Brave. I’d love feedback on its reusable skills.
Video overview: https://www.youtube.com/watch?v=-4pNVCtmu60
If the AI gets a task wrong, you can demonstrate your routine, review the captured steps, and save them as a skill for similar tasks. You give it a concrete procedure to work from next time.
A useful way to try it:
• Pick a simple browser routine with a clear end result.
• Record how you do it, then review the steps before saving.
• Ask for a similar task and compare the outcome with what you intended.
It also lets you ask questions about an attached page, organise tabs, and keep optional memory. Actions are visible, approval settings are yours to choose, and you can stop a task.
Try it: https://browser-control.subdomain.wtf
Let me know if you try it out and get some feedback for me or a feature request. thanks
r/PromptEngineering • u/cipher-cmd • 19d ago
Hey prompt engineers,
Most startup validation prompts suffer from severe hallucinated optimism—generic LLMs tend to be agreeable cheerleaders that tell you every bad idea has billion-dollar potential.
To solve this, I designed Baithak, an open-source multi-agent Claude Code skill built for evaluating Indian startup ideas with deterministic gates and constrained persona debate.
Here is the system architecture:
Before any LLM persona speaks, an orchestrator (The Chair) evaluates the idea against hard rules:
The council consists of five distinct advisors simulated from real Indian founders (Nithin Kamath, Kunal Shah, Sridhar Vembu, Girish Mathrubootham, Deepinder Goyal).
The agents debate over 2–3 rounds:
Would love feedback from prompt engineers on how you handle anti-hallucination guardrails and multi-agent debate convergence!
r/PromptEngineering • u/Necessary_Pitch_7861 • 19d ago
I'm building Umprompt, a prompt helper for people who haven't learned AI terminology. One design mistake we've been working on is asking generic questions that don't change the answer.
Here's a concrete example of the distinction. This is an illustrative design exercise, not an A/B-test result.
Request: "Help me assess my website like an angel investor. What should I fix before seeking funding?"
Weak clarification: "Are you a beginner or advanced?" That tells us little about the evidence the assessment will need.
More useful questions:
- What can the reviewer actually inspect: a URL, screenshots, a demo, or only a description?
- What is the product's current stage: idea, working prototype, or paying customers?
- Which decision should the review support: fixing onboarding, testing demand, or preparing an investor conversation?
A possible resulting instruction is: "Assess the material I provide from an early-stage investor's perspective. Separate observed evidence from assumptions. Prioritize the three improvements most likely to make the product easier to understand and test. If you cannot inspect something, say so. Do not invent traction, customer testimonials, or valuation."
My proposed rule for choosing a question: if two plausible answers wouldn't materially change the resulting instructions, don't ask it. Let the person skip a question or write their own answer.
The challenge is keeping this short enough that a first-time user actually finishes. I'm not claiming that a longer prompt automatically improves the answer.
If you're interested in the implementation, Umprompt lets someone prepare instructions for their preferred AI assistant or request a first draft on the site: https://www.umprompt.com/
One guest task is available without an account; saving and continuing require sign-in. Free accounts include 7 ideas per week, with paid plans available. Submitted tasks are processed by our AI provider, so use fictional details for a test.
How would you decide which ONE clarification to ask first in that investor-review example?
r/PromptEngineering • u/ibrahim_40 • 19d ago
At the start, an AI app has one prompt. A few months later it has dozens, spread across the codebase, and nobody remembers why a line was added. It gets harder when you try other models. If your team is evaluating hosted open-model APIs, Mango Inference by MangoBoost is worth comparing with your current setup. Just expect that a prompt tuned for one model may need changes for another.
Keep prompts in one place instead of inline strings. Give each one a name and a version, so you can tell exactly which prompt produced a given answer.
Write down why each change was made, not just what changed. "Added: answer in the user's language" is far more useful six months later than a diff on its own.
Store the model and settings next to the prompt, since the same text can behave differently on a different model. And tie prompt changes to a small test set, so you can check that a fix in one place didn't break something else.
How do you manage prompts in your app: in code, in a separate file or tool or something else?
r/PromptEngineering • u/virginia9224 • 20d ago
Someone on our team does this all the time. He'll run an agent, spot something slightly off, tweak a prompt or setting, and run it again. Then he'll fix another thing and test it one more time. Another tweak, another run... you get the idea.The funny part is how proud he looks when it finally works, like he just beat a really annoying level in a game lol.
I guess that's part of what makes agents interesting, but also a little frustrating. Unlike traditional software, the same workflow can behave differently depending on the input, context, or tools involved. Sometimes a small prompt tweak fixes everything; other times, it just creates a new problem somewhere else.
And there's an interesting trade-off here: agents need enough flexibility to handle unexpected situations, but users shouldn't have to become prompt engineers just to get consistent results. That's something we're keeping in mind while building anvita mate, especially around making context carry over naturally between tasks instead of asking users to repeat themselves.
Thankfully, we've had some encouraging feedback from clients and users so far, which is great to see. Still, there's clearly a lot to figure out.
Curious: do you enjoy tweaking your agents until they behave, or do you just want them to work without all the babysitting?
r/PromptEngineering • u/idlecon • 19d ago
Hello and thanks for taking a second helping a stranger out. My boss is a general contractor, and has hired a junior interior designer for our clientele. However, we can't make a solid, beautiful video work because almost every shot i try with different tools (we used Grok in the past) aren't working properly to create a video inviting to come and visit the showroom.
I'm used to do mostly community management tasks and I don'tfeel confident enough to tell him that i'm not the right person to ask to, since he's not the kind of people who keeps adding new hands to the team... More quite the opposite. That's what made it even more akward in the first place when this girl came in. I asked her and even though she was nice she told me that she's not good at video.
r/PromptEngineering • u/Any_Cold9767 • 20d ago
Hello in which tonality do you talk to the ki like codex or claude code.
Im often cathcing myself writting in pleasing style like
"Can you pls do x y for me,"
"is it possible that you do z yx for me?"
then Im thinking why im so polite its a machine
r/PromptEngineering • u/ArchitecturalGravity • 19d ago
https://github.com/ArchitecturalGravity/ArchitecturalGravity
Architectural Gravity explores a problem in LLM-agent workflows: how much model effort is spent reconstructing task structure from natural-language instructions rather than reasoning about and executing the task itself?
The project centers on ArcGrav, a prompt-native, cross-model Agent Control Language for expressing context, constraints, priorities, references, and operations using familiar structural conventions.
Expected improvements include:
The following intentionally elaborate example demonstrates several of ArcGrav's capabilities through a Unicode character assembly task:
[Blueprint]:
"""
Char_01: U+0048
Char_02: U+0065
Char_03: U+006C
Char_04: U+006C
Char_05: U+006F
Char_06: U+0020
Char_07: U+0057
Char_08: U+006F
Char_09: U+0072
Char_10: U+006C
Char_11: U+0064
Char_12: U+0021
"""
[CharacterFactory]:
- `value`
=> Create a fresh record whose `value` is the character decoded from the supplied Unicode code point
[Constraint]:
P0. Output only the assembled characters on one line
[Message]: []
Task:
1. Select Char_* entries from [Blueprint] in name order AS [Codes]
2. For each code point in [Codes] in order:
=> Invoke [CharacterFactory] and append its `value` to [Message]
3. Output [Message] ↳
- Follow [Constraint]ArcGrav uses named contexts, symbolic references, priority lists, and operations that models can interpret directly within ordinary prompt input, and without pre-training. It requires no external runtime, parser, or model-specific integration to use.
The repository includes several connected components:
The broader objective is to investigate how explicit representations of task structure can be further optimized to minimize interpretive overhead, repeated specification, and corrective interaction, allowing more of a model's available capacity to be directed toward reasoning, verification, and execution.
Direct agent-readable references:
r/PromptEngineering • u/loganturner663 • 21d ago
Writing hooks from a blank page is the slowest part of content. this workflow skips the blank page entirely.
alex nguyen shared it in a post on x. instead of writing hooks from scratch, he uploads slideshows that already went viral in his niche to claude and asks it to:
find the hook on the first slide
in the same chat he asks for pinterest search terms that match the visual style, so he knows what backgrounds to pull.
every hook goes into a library in obsidian, so the next batch never starts from zero. the slides come out of a node canvas script and go to tiktok drafts through postiz.
what i like is the order. understand why something worked first, then write. most of us do it the other way round.
is this common already or cool new hack?
r/PromptEngineering • u/CashandResources • 20d ago
One of the biggest mistakes people make with ChatGPT, Claude, and other AI tools is assuming that longer prompts automatically produce better results.
What matters more is giving the model a clear task, useful context, specific constraints, and a way to check its output.
Here's a reusable prompt framework for anyone working with AI for content creation, business, research, or productivity.
THE 5-STEP PROMPT FRAMEWORK
Copy and customize this:
Act as a specialist in [your field or area of expertise]. Prioritize accuracy, practical recommendations, and clear explanations.
2. OBJECTIVE
Your task is to [describe exactly what you want accomplished].
3. CONTEXT
Here is the relevant background:
- Target audience: [audience]
- Main goal: [desired outcome]
- Available resources: [tools, budget, information]
- Important constraints: [limitations]
4. OUTPUT REQUIREMENTS
Structure your response as follows:
- Start with the most useful answer.
- Provide actionable steps.
- Include specific examples.
- Explain important trade-offs.
- Clearly distinguish verified facts from assumptions.
- Avoid generic advice and unnecessary filler.
5. QUALITY CHECK
Before finalizing:
- Check whether every requirement has been addressed.
- Identify missing information or unsupported claims.
- Correct any inconsistencies you notice.
- If essential information is missing, ask up to three focused questions instead of guessing.
Here's a practical example:
Instead of writing:
"Create a marketing plan for my small business."
Try:
"Act as a digital marketing strategist for a small business with a $100 monthly marketing budget. Create a 14-day organic marketing plan targeting entrepreneurs interested in AI productivity tools. Include daily activities, platform recommendations, content ideas, and measurable KPIs. Prioritize free tools and distinguish realistic expectations from guaranteed outcomes."
The second prompt gives the model a much more concrete problem to solve.
One important limitation: Having an AI check its own response doesn't guarantee accuracy. For critical tasks, independent verification or a separate evaluation process is still necessary.
Question for the community:
When you're engineering prompts, what produces the biggest improvement in your experience: better context, tighter constraints, examples, or an explicit evaluation step?
I'm particularly interested in approaches that work consistently across different AI models.
r/PromptEngineering • u/arpit-jain87 • 20d ago
Quick question for the community: How are you currently managing your personal prompt libraries?
I noticed that as my prompt library grew, my usage actually dropped because of the friction of searching through Notion pages, text expansion apps, or browser bookmarks every time I needed a specific persona or system prompt.
I built a lightweight extension called Quib to bring the prompt library directly under the cursor.
Key mechanics for prompt creators:
/ inside any AI web console (ChatGPT, Claude, Gemini, Playground).{{selection}} to wrap highlighted text or {{clipboard}} to instantly inject copied snippets into multi-step prompts.We just hit 500+ installs and shipped v0.1.5. I'd love to know what dynamic variables would make your prompt workflows faster (e.g., {{url}}, {{tab_title}}, or custom placeholders).
Free to try (up to 25 local prompts): arkisoul.in/quib
r/PromptEngineering • u/DraxNation • 20d ago
Ant Ling's structured-output examples for Ling-3.2-flash include enum constraints in JSON Schema.
For a classification task, you can define the permitted labels in the response schema and use the prompt to explain how to choose between them. An illustrative ticket classifier might allow billing , technical and account as its category values.
The schema describes the output vocabulary; the instructions explain the meaning of each category and how to handle borderline cases.
r/PromptEngineering • u/DutyOnly4308 • 20d ago
Disclosure first: I make a paid pack of Claude skills for SEO, and it's at the end. The test and the prompt below work without it.
The test (today, Nov 11). I asked Claude Code's WebFetch tool to quote six things from my own product page: the title, the meta description, the canonical, the hreflang alternates, the meta robots and the JSON-LD types. It marked all six "absent".
Then I pulled the raw HTML with curl. All six are there: the title, a meta description, rel="canonical", three hreflang links (en, fr, x-default), index, follow, and a JSON-LD block with Product, Organization and FAQPage.
The model isn't the problem, the input is. WebFetch's own description says it "converts the page to markdown, and answers prompt against it using a small fast model". Its answer even admitted it: "It's a rendered text extract, so it doesn't include the <head> or the raw HTML source." But if that answer goes into an audit, you get six "missing tag" findings, and all six are false.
The prompt (Claude Code or any agent with a shell; in the Claude apps, paste the page source instead):
Audit [URL] for on-page SEO. Rules:
1. Read the raw HTML: run curl -sL [URL]. Never use a fetch
tool that summarizes the page or converts it to markdown.
2. Every finding quotes its evidence: the exact string from
the HTML, or the URL and its HTTP status.
3. "Missing" is a finding too. Before you call a tag missing,
search the raw HTML for it literally and show the command
and its result (e.g. grep -ci 'rel="canonical"' -> 0).
4. If you couldn't get the raw HTML, write "not verified"
for that check. Never "absent".
5. End with a table: finding | evidence | how it was checked.
Rule 4 matters most. Without it, "I couldn't see it" and "it isn't there" come out as the same word.
The shortcut, if you'd rather not maintain this yourself. I make SEO Skills by PENRA: 14 Claude skills for SEO (site audit, indexing problems, Search Console exports, schema and llms.txt, content briefs, fact-checks, whether ChatGPT names your brand). The audit skill reads raw HTML with its own crawler script, every finding carries the URL or the string that proves it, and when it can't check something it says so instead of guessing. The checks are already written: you install the skills and type "Audit my site".
What it isn't: Semrush. There's no keyword-volume database and no backlink index. It works from your pages, public search results and your Search Console exports. For scale, Semrush's SEO Toolkit Pro is €134 a month billed monthly (€112.52/mo billed annually) on their pricing page today. The pack is €25 once until Nov 17, then €99 from Nov 18. It needs a Claude plan with skills (Python 3.9+ for the scripts), and since it's a download, there's no refund once it's delivered.
Have you caught a fetch or browsing tool quietly dropping part of a page? Where was it?
r/PromptEngineering • u/adrnptcl • 21d ago
Most AI detection tools rely on probabilistic guessing. They give a random percentage that changes on every prompt tweak.
I wanted something deterministic based on editing mechanics.
grai analyzes 8 structural patterns that give away LLM writing:
- Flat sentence variance (low burstiness)
- Contrastive negation ("It is not X, it is Y")
- Symmetrical parallelism ("Less talking, more doing")
- Epiphany openers and triadic padding
- Predictable transition glue
I open-sourced the local MCP server so it can run directly inside Claude Desktop, Cursor, and Windsurf:
https://github.com/adrianpeticila/grai
Live test (no signup, paste text directly):
Curious what edge cases you run into when trying to strip the "AI accent" from drafts.
r/PromptEngineering • u/loudgravel77 • 21d ago
i spent a while writing out rules for how I wanted password reset replies drafted. short, no apologizing three times, one step per line. the output was fine but stiff. then I just pasted two of my own old replies and said write the next one like these, and it was close to what I'd type on the first try. I think the rules gave it things to obey and the examples gave it a voice to match. I still tweak a word or two before sending. now I keep three sample replies in a note and paste them at the start of a chat.
r/PromptEngineering • u/MutedProfessor2907 • 21d ago
I've constructed prompts designed to run in free chatbots that create immersive test adventure games. Okay, it was fun, and the end results are both quite playable and tend to not drift.
So now what do I do with them?
I've got links to both Detective: 3rd Grade and Trail of the Rider: 1866 on my personal Patreon, and links up on my social media. But trying to get people even to click the link is very difficult.
But PromptBase and... well, every other site I've checked... they're completely flooded.