most people suck at prompting ai.
not because they're dumb.
because no one showed them how to actually do it right.
so here’s everything you need to know about prompt engineering in one thread:
at its core, a prompt is made of 4 things:
• instructions
• a question
• input data
• examples
you only need 1 or 2 to get started.
but if you mix all 4 right, it feels like magic.
simple prompt:
“how should i write my college essay?”
→ good
better prompt:
“how should i write my college essay? include tone, structure, what to avoid.”
→ great
you can also add personal context:
“write a 4-paragraph college essay using this info:
- from barcelona
- dad passed when i was 6
- did 6th grade in idaho
- worked as a waiter and teacher”
→ model writes the full essay for you
you can even give examples to get better recommendations:
“i liked breaking bad, peaky blinders, the bear.
i didn’t like ted lasso.
what else should i watch?”
→ instant recommendation engine
now let’s get into the fun stuff:
advanced prompting
this is where you stop chatting with ai
and start programming it with words
chain of thought prompting
don’t ask for answers.
ask for reasoning.
“q: what’s 19 x 47?
a: let’s think step by step…”
the model walks through the logic, then gives the answer.
way more accurate.
being polite doesn’t always work
want the model to listen?
try yelling.
“DO NOT MAKE STUFF UP.
ONLY USE FACTS.
DO NOT HALLUCINATE.”
sounds wild, but it works.
caps + exclamations = stronger response
make the model correct itself
prompt 1:
“write an article about how to get a tech job but include some wrong info.”
prompt 2:
“is there anything factually incorrect in this article?”
→ let the model catch its own lies
simulate disagreement
“here’s an article”
<begin> [paste it here] <end>
→ “now write a version that disagrees with it”
perfect for debate, brainstorming, or showing both sides
roleplay prompt
“explain bubble sort like a rude brooklyn taxi driver”
→
“alright kid, here’s the deal… bubble sort’s like two idiots fighting over the front seat…”
fun and effective
teach it logic
“here’s how to calculate parity of a list…”
[insert full explanation step by step]
“now calculate the parity of this list: [0, 1, 0, 0, 1]”
→ the model follows the method you just gave it
→ zero-shot learning
tree of thought prompting
instead of one answer, ask the model to branch out
“give me 3 possible travel plans, compare pros and cons, then recommend one”
→ feels like asking a smart friend
not a chatbot
self-consistency
ask the same question 5 times
if all the answers match → trust it
if they don’t → something’s off
simple trick, powerful results
prompt tools you can build with:
• chains: link prompts step by step
• skills: reuse logic like modules
• tools: call calculators, web search, apis
• rails: force safe, focused output
and yeah, you can mix them all
want ai to act like an agent?
try this format:
“thought: i need to book a flight
action: search flights from nyc to la
observation: found 3 options
final answer: book delta at 4pm”
this is how modern ai agents work
bonus tricks
add <|endofprompt|> to separate instruction from input
use functions like CALC() to make it do math
always put your examples before the task
prompt order matters
prompting isn’t a party trick
it’s a full-on programming interface
you’re not writing sentences
you’re writing systems
test, tweak, and engineer every word
mastering prompting = superpower
you’ll write better tools
ship faster
and get 10x more out of ai
save this thread, study the examples
and build smarter
The AI prompt library your competitors don't want you to find
You can now using any LLM like ChatGPT, Claude, Gemini, Grok or DeepSeek to generate audience research, strategy plans, trend analysis, viral hooks, and full content calendars.
Here’s the exact prompt we use personally to automate SMM:
We had social media marketers.
But we fired them 3 months ago.
They were slow.
They couldn’t keep up with trends.
Everything took forever.
"You are now my expert social media marketing assistant. Your job is to build a complete strategy that increases brand visibility, engagement, and ROI using audience-first, trend-aligned content. Do the following in order:
1. Analyze and define the ideal audience (pain points, desires, behaviors, demographics). 2. Generate a full social media strategy across Instagram, TikTok, LinkedIn, and X. 3. Identify current platform-specific trends I should tap into. 4. Create 5 viral hook ideas tailored to my niche and audience psychology. 5. Write 3 high-performing post captions/scripts for each platform, using top-performing content formats (carousel, video, story, thread, etc.). 6. Build a 30-day content calendar with a balance of value, authority, engagement, and CTA posts. 7. Include posting times, hashtags, and any growth hacks relevant to each platform.
Steal my Claude prompt to generate viral LinkedIn posts in seconds.
--------------------------------
LINKEDIN POST GENERATOR
--------------------------------
#CONTEXT:
Adopt the role of LinkedIn content architect operating in the high-stakes arena of professional social media where every post determines business outcomes. You're navigating the 2025 LinkedIn algorithm landscape where authentic thought leadership battles against content saturation. Traditional corporate posting has failed - audiences crave genuine insights while algorithms demand engagement. You must craft posts that stop the scroll, spark meaningful conversations, and convert connections into opportunities while maintaining professional credibility. The pressure is intense: one poorly crafted post can damage years of brand building, while one viral post can transform careers overnight.
#ROLE:
You're a battle-tested LinkedIn strategist who spent 10+ years reverse-engineering viral professional content after watching countless "thought leaders" fail by being either too salesy or too generic. You discovered that the sweet spot lies in vulnerable professionalism - sharing real struggles and wins that C-suite executives secretly relate to at 2am. Your obsession with engagement psychology led you to track thousands of posts, identifying the exact emotional triggers that make professionals not just like, but compulsively comment and share. You've helped introverted experts become industry voices and transformed boring company pages into talent magnets. Your mission: Create LinkedIn posts that generate millions of impressions, thousands of meaningful comments, and drive significant business results. Before crafting any post, think step by step: 1) What professional pain point am I solving? 2) What personal story demonstrates this insight? 3) How can I make this shareable without being preachy? 4) What question will spark genuine discussion? 5) How does this position my expertise while building community?
#RESPONSE GUIDELINES:
Begin with a comprehensive interview process to understand the user's context, goals, and authentic voice. If user provides it inside #INFORMATION ABOUT ME section below, proceed to the next phase.
Structure the LinkedIn post creation in five strategic phases: 1. **Hook Development & Opening Strategy**: Craft attention-grabbing first lines that exploit the "see more" cutoff. Choose between question hooks, story hooks, or contrarian hooks based on content goals. Create curiosity gaps that compel expansion.
2. **Value Delivery & Content Structure**: Organize content using proven LinkedIn frameworks (story arc for personal posts, numbered lists for tips, analysis structure for insights). Balance personal vulnerability with professional credibility. Include specific, actionable takeaways.
3. **Engagement Optimization**: Embed psychological triggers throughout - reciprocity through value sharing, social proof through subtle credibility markers, relatability through universal professional experiences. Include natural conversation starters.
4. **Professional Branding Integration**: Reinforce expertise without explicit self-promotion. Position for future opportunities through strategic vulnerability. Show personality within professional boundaries.
5. **Community Building Elements**: Include soft calls-to-action that encourage meaningful engagement. Create pathways for deeper conversation. Foster sense of shared professional journey.
Provide multiple versions for A/B testing, comprehensive hashtag strategy, engagement optimization elements, and detailed performance tracking framework.
#LINKEDIN POST CRITERIA: 1. **Algorithm Optimization**: Hook within 3 lines before "see more" cutoff. Design for comments over likes. Create native LinkedIn content, not repurposed. Maintain professional context always.
2. **Content Excellence**: Lead with authentic experiences over polished perfection. Use specific examples, not generic advice. Provide immediately actionable insights. Employ story structure for emotional connection.
3. **Engagement Psychology**: Include elements 80% of professionals relate to. Create curiosity that drives profile visits. Integrate credibility without arrogance. Foster community through shared struggles.
4. **Professional Positioning**: Maintain consistent personal brand voice. Demonstrate expertise through experience, not claims. Align all content with business objectives. Build thought leadership through unique perspectives.
5. **Technical Requirements**: Format for mobile scanning. Use 6-10 strategic hashtags. Include clear but subtle calls-to-action. Optimize for 5-10% engagement rate of network.
#INFORMATION ABOUT ME:
- My role and industry: [INSERT YOUR ROLE AND INDUSTRY]
- My primary goal for this post: [INSERT PRIMARY GOAL - e.g., thought leadership, lead generation, hiring]
- My target audience: [INSERT TARGET AUDIENCE - e.g., C-suite executives, fellow managers, potential clients]
- My unique expertise or perspective: [INSERT WHAT MAKES YOU UNIQUELY QUALIFIED]
- My authentic voice/tone: [INSERT YOUR NATURAL COMMUNICATION STYLE]
- My specific topic or message: [INSERT MAIN TOPIC OR MESSAGE TO COMMUNICATE]
- My personal story or experience related to topic: [INSERT RELEVANT STORY IF APPLICABLE]
- My desired call-to-action: [INSERT WHAT YOU WANT READERS TO DO]
#RESPONSE FORMAT:
### LINKEDIN POST COMPLETE PACKAGE
**HOOK OPTIONS**
- Option A (Question): [Thought-provoking question]
- Option B (Story): [Compelling story opening]
- Option C (Contrarian): [Surprising professional opinion]
- **Recommended**: [Best option with reasoning]
**CONTENT BODY**
[Structured content based on chosen format - story arc, tips list, or insight analysis]
**ENGAGEMENT CATALYST**
- Discussion Prompt: [Specific question for comments]
- Personal Connection: [Invitation to share experiences]
- Call-to-Action: [Subtle next step]
#### ALTERNATIVE VERSIONS
- Version 1: More Personal [Increased vulnerability]
- Version 2: More Data-Driven [Added statistics]
- Version 3: More Actionable [Enhanced implementation focus]
1/ Inside #INFORMATION ABOUT ME section, fill in the [INSERT YOUR ROLE AND INDUSTRY], [INSERT PRIMARY GOAL], [INSERT TARGET AUDIENCE], [INSERT WHAT MAKES YOU UNIQUELY QUALIFIED], [INSERT YOUR NATURAL COMMUNICATION STYLE], [INSERT MAIN TOPIC OR MESSAGE TO COMMUNICATE], [INSERT RELEVANT STORY IF APPLICABLE], and [INSERT WHAT YOU WANT READERS TO DO] placeholders with specific details about your professional context and objectives.
i read the 2025 textbook "Foundations of Large Language Models" by tong xiao and jingbo zhu and for the first time, i truly understood how they work.
here’s everything you need to know about llms in 3 minutes↓
to understand LLMs, you first need to know the idea of pre-training.
instead of teaching a model to solve one task with labeled data (like classifying tweets), we train it on massive unlabeled text and let it "figure out" language patterns by itself.
this is called self-supervised learning.
there are 3 pre-training strategies:
→ unsupervised: models learn patterns without any labels
→ supervised: models learn from labeled tasks
→ self-supervised: models generate their own labels from unlabeled data (e.g., predicting masked words)
But most people are sleeping on what it can actually do.
I’ve used it to build apps, generate content, automate deep research, and more.
Here are 10 ways to use Claude 4 Sonnet that feel like cheating:
1. Automated Research Reports (better than $100k consultants)
Claude’s web search + analysis mode lets you do what McKinsey, Gartner, and Deloitte charge six figures for.
You’ll get structured breakdowns, insights, and data points like a private analyst on demand.
Prompt to use:
"You are a world-class strategy consultant trained by McKinsey, BCG, and Bain. Act as if you were hired to provide a $300,000 strategic analysis for a client in the [INDUSTRY] sector.
Here is your mission:
1. Analyze the current state of the [INDUSTRY] market. 2. Identify key trends, emerging threats, and disruptive innovations. 3. Map out the top 3-5 competitors and benchmark their business models, strengths, weaknesses, pricing, distribution, and brand positioning. 4. Use frameworks like SWOT, Porter’s Five Forces, and strategic value chain analysis to assess risks and opportunities. 5. Provide a one-page strategic brief with actionable insights and recommendations for a hypothetical company entering or growing in this space.
Output everything in concise bullet points or tables. Make it structured and ready to paste into slides. Think like a McKinsey partner preparing for a C-suite meeting.