Prompt folding is a metaprompting technique where a classifier prompt dynamically generates specialized prompts based on the previous query, allowing the LLM to improve its own prompts rather than requiring manual rewriting.

definitionpending

Speaker

Jared

Evidence Quote

“basically one prompt can dynamically generate better versions of itself...a classifier prompt that generates a specialized prompt based on the previous query”

Source

State-Of-The-Art Prompting For AI Agents— Y Combinator
Created: 8/11/2026, 7:07:30 AM

Your notes

Loading notes...