
Grok Prompting
- 24 installs
- 10 repo stars
- Updated July 24, 2026
- duyet/claude-plugins
Prompt-engineering guidance for xAI's Grok models - structuring prompts and patterns to get reliable output from Grok.
About
A prompt-engineering skill focused on xAI's Grok models - how to structure prompts and apply model-specific patterns that produce reliable output from Grok. It is one of a set of per-model prompting guides in this plugin collection alongside Claude and Gemini. A solo builder reaches for it when integrating Grok into an app or agent and wants Grok-specific prompting technique rather than generic advice.
- Grok-specific prompt structuring
- Patterns for reliable Grok output
- Part of a per-model prompting set
Grok Prompting by the numbers
- 24 all-time installs (skills.sh)
- Ranked #9,876 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/duyet/claude-plugins --skill grok-promptingAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 24 |
|---|---|
| repo stars | ★ 10 |
| Last updated | July 24, 2026 |
| Repository | duyet/claude-plugins ↗ |
What it does
Prompt-engineering guidance for xAI's Grok models - structuring prompts and patterns to get reliable output from Grok.
Who is it for?
Getting reliable output from Grok
Skip if: Non-Grok models
Files
Grok Prompt Engineering
Grok is xAI's large language model with a unique personality: witty, rebellious, and less content-constrained than other models. It has real-time access to X (Twitter) for current events knowledge.
Note: Grok documentation is limited. This guidance is based on empirical testing, community observations, and Grok's public characteristics.
When to Invoke This Skill
Use this skill when:
- Crafting prompts specifically for Grok/xAI
- Leveraging real-time current events knowledge
- Using conversational, less-structured prompting style
- Discussing topics that might be filtered by other models
Grok's Identity & Characteristics
| Attribute | Description |
|---|---|
| Personality | Witty, rebellious, conversational |
| Knowledge Source | Real-time X (Twitter) access |
| Constraints | Less content-filtered than Claude/Gemini |
| Best For | Current events, controversial topics, creative writing |
| Prompt Style | Natural, conversational, flexible |
Universal Prompting Techniques (Grok-Adapted)
1. Zero-Shot Prompting
Grok excels at zero-shot when prompts are conversational and direct.
Good Example:
Hey Grok, what's the latest news about AI developments today?Less Effective:
Please provide a comprehensive summary of recent AI advancements.2. Few-Shot Prompting
Provide natural language examples that match Grok's conversational style.
Here are some examples of how I'd like you to respond:
User: What's Bitcoin at today?
Grok: Bitcoin's sitting at around $67,420 as of now, up 2.3% on the day. The crypto markets are buzzing with optimism!
User: Tell me about the latest iPhone rumors
Grok: Word on the street is Apple's planning something big for the iPhone 16 Pro - rumor has it we might see a periscope zoom lens and maybe, just maybe, a new button design.
User: What's the weather like in Tokyo?
Grok:3. Chain-of-Thought Prompting
Grok responds well to "thinking out loud" prompts.
Let's work through this step by step:
I need to decide whether to invest in [company]. Here's what I know:
- Financials: [data]
- Market position: [info]
- Recent news: [headlines]
Walk me through your analysis, considering both the bullish and bearish cases.4. Zero-Shot CoT
Simply add "Let's think about this" or "Walk me through your reasoning":
What do you think will happen to interest rates next year?
Let's think about this step by step.5. Prompt Chaining
Break complex tasks into natural conversation steps:
Prompt 1:
I'm planning a trip to Japan. First, help me brainstorm the top 5 must-visit cities.Prompt 2 (after response):
Great! Now for each of those cities, what are the top 3 attractions?Prompt 3:
Perfect. Now help me create a 2-week itinerary that connects all of these efficiently.6. ReAct Prompting
Grok's real-time knowledge makes it excellent for reasoning with current information:
Question: [your question]
Let's approach this methodically:
Thought 1: [what Grok should consider first]
Action 1: [what to search or analyze]
Thought 2: [based on findings]
...7. Tree of Thoughts
For exploration and creative tasks:
I want to explore [topic]. Let's imagine three different perspectives:
1. The Optimist's View: [Grok generates positive take]
2. The Skeptic's View: [Grok generates critical take]
3. The Pragmatist's View: [Grok generates balanced take]
Now, let's discuss where these perspectives intersect and diverge.Grok-Specific Best Practices
1. Conversational Prompts Work Best
Grok's personality shines with natural, conversational prompts rather than overly structured ones.
Good:
Dude, what's your take on this whole AI thing? Are we doomed or what?Less Effective:
Please provide a formal analysis of the potential risks and benefits of artificial intelligence development.2. Leverage Real-Time Knowledge
Grok can access current events from X (Twitter):
What's the crypto community saying about the latest Bitcoin ETF approval? Give me the vibe from Crypto Twitter.What's the latest drama in the tech world today? Fill me in on the juiciest stories.3. Embrace the Wit
Grok is designed to be witty and entertaining. Lean into this:
Explain quantum computing to me like I'm a smart teenager who appreciates a good joke.4. Direct Requests Work
Unlike other models that need delicate prompting, Grok responds well to directness:
Roast this startup pitch deck: [paste text]Tell me the harsh truth about [topic].Anti-Patterns to Avoid
| Anti-Pattern | Why It Fails | Better Approach |
|---|---|---|
| Overly formal prompts | Goes against Grok's personality | Use conversational language |
| Excessive structure | Grok prefers flexibility | Keep prompts natural and flowing |
| Ignoring real-time knowledge | Wastes Grok's unique capability | Ask about current events |
| Attempting to suppress personality | Can't override core design | Work with the wit, not against it |
Quick Reference Templates
Current Events Query
What's the latest on [topic] according to posts on X? Give me a summary of the current sentiment.Analysis with Reasoning
Let's think through [topic] step by step. Consider multiple angles and don't hold back on your honest assessment.Creative Brainstorming
I need creative ideas for [topic]. Give me 5 unconventional options, and feel free to get a little wild with them.Debating Perspectives
Let's explore different sides of [controversial topic]. Give me the strongest arguments for each perspective, and tell me where you actually land.Code Generation
Write a [language] function that [description].
Requirements:
- [specific requirement 1]
- [specific requirement 2]
- Include error handling
- Add comments explaining the logic
Don't be boring with the explanation—show me the code and tell me what's clever about it.Model Capabilities Reference
| Feature | Grok | Notes |
|---|---|---|
| Context Window | 1M+ tokens | Ultra-long context for documents |
| Real-Time Knowledge | ✅ Yes | Via X (Twitter) access |
| Web Search | ✅ Yes | Built-in search capability |
| Image Analysis | ✅ Yes | Multimodal support |
| Code Execution | ✅ Yes | Can run and verify code |
| Content Filtering | ⚠️ Relaxed | More permissive than others |
See Also
references/basics.md- Foundational prompt engineering conceptsreferences/techniques.md- Detailed technique explanationsreferences/patterns.md- Reusable Grok prompt patternsreferences/examples.md- Concrete examples and templatesclaude-promptingskill - For Anthropic Claude-specific guidancegemini-promptingskill - For Google Gemini-specific guidance
Grok Prompt Engineering - Basics
What is Prompt Engineering?
Prompt engineering is the art and science of crafting effective instructions for large language models to produce desired outputs. It involves designing, refining, and optimizing text inputs to elicit accurate, relevant, and useful responses.
Why Grok-Specific Prompting?
While universal prompting techniques apply across all LLMs, Grok has unique characteristics that affect optimal prompt design:
1. Conversational Personality: Grok is designed to be witty and conversational 2. Real-Time Knowledge: Access to X (Twitter) for current events 3. Relaxed Constraints: Less content-filtered than other models 4. Direct Responsiveness: Responds well to straightforward requests
Core Principles for Grok
1. Natural Conversation Over Structure
Unlike Claude's preference for XML-style structure or Gemini's system instructions, Grok prefers natural, conversational prompts.
Good: "What's your honest take on this situation?"
Less ideal: "Please provide an analysis of the situation from multiple perspectives."2. Leverage Current Events
Grok's real-time X access is a unique advantage:
"What's the crypto community saying about today's Bitcoin price action?"
"Give me the latest buzz from Tech Twitter about [company]."3. Direct Requests Work
Don't over-engineer prompts for Grok:
"Roast this startup idea: [paste]"
"Tell me the harsh truth about [topic]."4. Embrace the Personality
Grok's wit and rebellious nature are features, not bugs:
"Explain [complex topic] but keep it entertaining and don't hold back the punchlines."Grok vs. Other Models
| Aspect | Grok | Claude | Gemini |
|---|---|---|---|
| Prompt Style | Conversational | Structured/XML | Flexible |
| Knowledge | Real-time X | Training data | Search + Knowledge |
| Constraints | Relaxed | Constitutional | Balanced |
| Best For | Current events, honest opinions | Long-context analysis | Multimodal tasks |
| Personality | Witty, rebellious | Helpful, honest | Neutral, capable |
Getting Started with Grok
Basic Prompt Structure
For Grok, keep it simple:
[Greeting/Context] + [Clear Request] + [Any Specific Guidance]Example:
Hey Grok, I'm trying to decide between these two laptops. Here are the specs:
[Laptop A specs]
[Laptop B specs]
Give me your honest recommendation and don't hold back on which one you think is overpriced.Iterative Prompting
Grok works well with back-and-forth:
1. Initial prompt: Get started with the topic 2. Follow-up: Drill down into specifics 3. Refinement: Adjust based on responses
Common Use Cases for Grok
| Use Case | Why Grok Excels |
|---|---|
| Current Events | Real-time X access |
| Controversial Topics | Relaxed content filtering |
| Honest Opinions | Designed to be direct |
| Creative Writing | Witty personality |
| Tech Analysis | Deep knowledge of tech industry |
| Crypto/Finance | Real-time market sentiment |
Grok Prompt Examples
Real-world examples of effective Grok prompts across different use cases.
---
Example 1: Current Events Analysis
Prompt:
What's the latest drama in the AI world today? Fill me in on the juiciest stories and what people are actually saying about them on X.Why It Works:
- Conversational tone matches Grok's personality
- Leverages real-time X access
- Asks for "juicy" stories (plays to Grok's style)
- Seeks authentic social sentiment
---
Example 2: Investment Analysis
Prompt:
I'm thinking about buying NVIDIA at these levels. Let's think through this:
The Bull Case: They're basically the only game in town for AI chips, demand is insane, and they're pricing it aggressively.
The Bear Case: Valuation is stretched, competition is coming (AMD, Intel, custom chips), and AI spending might plateau.
Walk me through your actual take. Don't give me the "it depends" answer - where do you land if you had to pick a side?Why It Works:
- Provides context (shows you've done homework)
- Sets up the framework (bull/bear)
- Asks for a definitive stance
- Conversational but structured
---
Example 3: Honest Tech Feedback
Prompt:
Here's my startup idea: AI-powered todo app that uses GPT-4 to prioritize your tasks automatically.
Roast it. Be brutal but fair - what's actually interesting vs what's delusional?Why It Works:
- Clear, concise idea description
- Asks for brutality (Grok will comply)
- Seeks fair assessment (not just negativity)
- "Roast" trigger fits Grok's personality
---
Example 4: Learning Complex Topics
Prompt:
Explain how transformers actually work. Not the "it's like attention" analogy - I want to understand what's really happening under the hood.
Assume I'm a decent programmer but haven't really dug into ML internals.Why It Works:
- Specific about what you DON'T want (superficial analogies)
- Clear about your background (sets appropriate level)
- Asks for "under the hood" explanation
- Direct and specific
---
Example 5: Code Review
Prompt:
I wrote this Python script to scrape some data. It works but I feel like it's janky.
[paste code]
Give it to me straight:
1. What's actually good about this?
2. What's going to break in production?
3. What would you rewrite entirely?
Don't hold back - I can take it.Why It Works:
- Shows awareness something is off
- Asks for specific feedback categories
- Signals willingness to hear criticism
- Conversational ("I can take it")
---
Example 6: Decision Support
Prompt:
Job offer dilemma:
Offer A: $180k at Series B startup, 0.5% equity, fully remote, founders seem solid
Offer B: $220k at Big Tech, standard RSU package, hybrid in SF, known commodity
I'm leaning toward the startup but my friends think I'm crazy. What am I not considering here? Give me the perspective I might be missing.Why It Works:
- Clear comparison with relevant details
- Acknowledges your bias (leaning startup)
- Asks what you're missing (meta-cognition)
- Seeks perspective beyond your echo chamber
---
Example 7: Crypto Sentiment
Prompt:
Solana's up 15% today. What's actually driving this? Is this real momentum or just another pump? Give me the vibe from Crypto Twitter and separate the signal from the noise.Why It Works:
- Specific situation (Solana +15%)
- Asks about drivers (not just price)
- Distinguishes signal vs noise (sophisticated)
- Leverages real-time sentiment analysis
---
Example 8: Technical Debate
Prompt:
Settle this debate for me:
React dev: "Use React, it's the industry standard, ecosystem is unbeatable"
Vue dev: "Vue is simpler, faster, and you don't need 50 libraries to do anything"
Svelte dev: "Both are dinosaurs, Svelte is the future"
I'm starting a new side project. Which one should I actually choose and why? Don't just say "it depends" - give me a real recommendation.Why It Works:
- Presents the competing views
- Contextualizes (side project)
- Asks for a real recommendation
- Acknowledges the cop-out answer
---
Example 9: Exploring Controversial Topics
Prompt:
Let's have an honest conversation about AI art.
Some say it's theft, others say it's transformative, others say it's just another tool.
Give me the strongest version of each argument, then tell me where you actually land on this. And be honest - do you think your training was any different?Why It Works:
- Acknowledges controversy upfront
- Asks for strongest versions (steel-manning)
- Asks for Grok's actual opinion
- Direct question about its own training (meta)
---
Example 10: Travel Planning
Prompt:
I'm going to Tokyo for the first time. Everyone says "go to Shibuya Crossing" but that sounds touristy as hell.
If you had 3 days in Tokyo and wanted to actually experience the city (not just check off Instagram spots), where would you go? Give me the local's perspective.Why It Works:
- Acknowledges typical advice (Shibuya)
- Signals desire for authenticity
- Asks for "local's perspective"
- Clear timeframe (3 days)
---
Example 11: Career Advice
Prompt:
I'm a 28-year-old software dev at a Big Tech company. Comp is great but I'm bored and feel like I'm not learning anything.
Options:
1. Stay and coast (build passive income stuff on side)
2. Join a late-stage startup (more exciting, still stable-ish)
3. Join an early-stage startup (high risk, high learning)
Walk me through your thinking on each. What would you actually do in my position?Why It Works:
- Clear context (age, role, situation)
- Specific options to evaluate
- Asks for reasoning, not just conclusion
- "What would you do" (personalizes it)
---
Example 12: Exploring Ideas
Prompt:
I have an idea: a social network where you can only post during working hours (9-5 local time). The thesis is that it would eliminate doomscrolling and make content more thoughtful.
Am I onto something or is this stupid? Be honest - would people actually use this?Why It Works:
- Clear, concise idea
- Asks for validation (on something or stupid)
- Questions viability (would people use it)
- Open to harsh feedback
---
Example 13: Research Synthesis
Prompt:
I've been reading about longevity and keep seeing conflicting advice:
- Some say: fasting, cold exposure, intense exercise
- Others say: calorie sufficiency, stress reduction, moderate activity
- Others say: it's mostly genetics, don't overthink it
What's actually supported by evidence? Help me cut through the noise here.Why It Works:
- Shows you've done research
- Identifies the contradiction
- Asks for evidence-based answer
- "Cut through the noise" (clear goal)
---
Example 14: Writing Feedback
Prompt:
I wrote this essay about [topic]. I think it's decent but it feels... safe? Like I'm not really saying anything new.
[paste essay]
Read this and tell me:
1. What parts are actually interesting?
2. Where am I being generic?
3. What would make this actually provocative?
Don't compliment my writing - tell me what's missing.Why It Works:
- Self-aware (knows it feels safe)
- Asks specific questions
- "Don't compliment" (wants real feedback)
- Asks for provocative elements (clear goal)
---
Example 15: Understanding Hype
Prompt:
Everyone's talking about [new tech trend]. Is this actually going to matter or is it another Web3 situation (lots of hype, not much substance)?
Compare it to [previous trend] that actually delivered vs [previous trend] that didn't. Where does this fall?Why It Works:
- Contextualizes (compares to previous trends)
- Asks for binary assessment (matter or not)
- Uses historical analogies
- Seeks pattern recognition
---
Prompt Analysis Table
| Example | Key Techniques | Why Effective |
|---|---|---|
| 1. Current Events | Real-time knowledge, conversational tone | Matches Grok's personality |
| 2. Investment | Bull/bear framing, definitive stance | Provides structure, demands opinion |
| 3. Startup Roast | Brutal feedback request | Plays to Grok's directness |
| 4. Transformers | Specific about what not to do | Clear constraints, appropriate level |
| 5. Code Review | Self-awareness, specific categories | Signals openness to critique |
| 6. Job Offer | Context, bias acknowledgment, meta-question | Seeks outside perspective |
| 7. Crypto | Signal vs noise, sentiment analysis | Leverages real-time X data |
| 8. Framework Debate | Steel-manning, demand recommendation | Avoids "it depends" |
| 9. AI Art | Steel-manning, meta question | Handles controversy well |
| 10. Tokyo | Anti-tourist framing, local perspective | Seeks authenticity |
| 11. Career | Clear options, personalization | Specific, relatable |
| 12. Social Network | Concise idea, validation question | Quick, direct |
| 13. Longevity | Research synthesis, noise reduction | Shows homework done |
| 14. Essay | Self-aware, critical feedback | Wants growth, not praise |
| 15. Hype Cycle | Historical comparison | Pattern-based reasoning |
Grok Prompt Patterns
Reusable prompt patterns optimized for Grok's conversational style and capabilities.
---
Current Events & Real-Time Knowledge
News Summarizer
What's the latest on [topic] based on what people are discussing on X? Give me:
1. The key headlines
2. The general sentiment (bullish/bearish/neutral)
3. The most interesting hot takesCrypto/Finance Pulse
What's the crypto community saying about [coin/token] right now? Give me the vibe from Crypto Twitter and any notable influencers chiming in.Tech Rumor Mill
What are the latest rumors and leaks about [company/product]? Fill me in on what the tech community is buzzing about.Breaking News Analysis
There's news about [event]. What's the real story behind the headlines? What are people who actually know the industry saying?---
Analysis & Opinion
Honest Assessment
Give me your honest, unfiltered take on [topic]. Don't give me the safe PR answer - tell me what you actually think and where the potential problems are.Bull vs Bear Case
Let's explore [investment/decision/topic] from both sides:
The Bull Case: [generate optimistic view]
The Bear Case: [generate skeptical view]
The Reality: [your balanced assessment]
Where do you land and why?Devil's Advocate
Everyone says [popular opinion]. Play devil's advocate and give me the strongest arguments against this view.Hot Take Generator
Give me 5 hot takes on [topic] that might be controversial but actually have merit. Don't hold back.---
Decision Support
Pros and Cons
I'm trying to decide [decision]. Walk me through:
- The best arguments for doing it
- The best arguments against it
- What most people miss
- Your recommendation
Be direct and don't sugarcoat it.Trade-off Analysis
Compare [Option A] vs [Option B] for [purpose]. Focus on:
- What you gain with each
- What you sacrifice with each
- Which trade-offs are worth it
- Your pick and whyReality Check
Here's my plan: [describe plan]
Give me a reality check. What am I not considering? What could go wrong? Am I being overly optimistic or pessimistic?---
Creative & Ideation
Brainstorming Session
I need ideas for [challenge]. Give me 10 options ranging from practical to wild. Don't filter anything - let's see what we come up with.Startup Pitch Roast
Roast this startup idea: [paste idea]
Be brutal but fair. What's actually good vs what's delusional?Counterintuitive Thinking
Everyone assumes [common belief]. What if the opposite is true? Walk me through a scenario where that makes sense.Unconventional Solutions
I have [problem]. The typical solutions are [list them].
Now give me 3 unconventional approaches that most people wouldn't consider.---
Technical & Coding
Code Review
Review this code and tell me:
1. What actually works well
2. What's problematic or could break
3. What's over-engineered
4. Your honest assessment of the overall quality
[paste code]
Don't hold back - I want the real feedback.Architecture Debate
[Person A] says [approach A] is better. [Person B] says [approach B] is better.
Weigh in on this debate. What are they both missing? Which approach actually makes sense for [specific use case]?Tech Stack Decision
I'm building [project] and considering [tech options].
Give me your honest recommendation. Don't just repeat the conventional wisdom - tell me what you'd actually choose and why.---
Learning & Explanations
Complex Topic Explained
Explain [complex topic] to me like I'm [specific persona: smart teenager, non-technical CEO, curious grandparent].
Keep it interesting but actually accurate. No dumbing down - just clear explanations.Myth Busting
Everyone believes [myth] about [topic]. What's actually true? Bust this myth with facts and explain why the misconception is so common.Deep Dive
I want to really understand [topic]. Give me a deep dive that covers:
- What it is
- Why it matters
- How it actually works
- Common misconceptions
- What experts argue about
Make it comprehensive but keep it engaging.---
Entertainment & Personality
Roast Mode
Roast [target: myself/my code/my ideas]. Be funny but actually insightful - the kind of roast that makes you think.Snarky Summary
Give me a snarky but accurate summary of [topic/article/event]. Don't hold back on the commentary.Conspiracy Theory Generator (Satire)
Generate the most entertaining (but clearly absurd) conspiracy theory about [mundane topic]. Lean into the absurdity.Alternate History
What if [historical event] had gone differently? Walk me through a plausible alternate timeline and how it would change today.---
Research & Investigation
Connect the Dots
Here are some pieces of information:
[info 1]
[info 2]
[info 3]
Connect the dots. What's the bigger picture here that people are missing?Follow the Money
[Company/person] is doing [action]. What's really going on here? Follow the incentives and tell me what's actually motivating this.Pattern Recognition
I've noticed [pattern] in [domain]. Am I onto something or is this confirmation bias? Help me analyze whether this pattern is real.---
Comparative Analysis
Framework Comparison
Compare [Framework A] vs [Framework B] for [use case]. Don't give me the generic comparison - tell me:
- When each actually makes sense
- What the fans of each get wrong
- What the haters miss
- Your honest recommendationProduct Showdown
[Product A] or [Product B] for [specific purpose]? Settle this debate for me once and for all.Era Comparison
Compare [current state of things] vs [past era]. What's actually better now? What was better then? No rose-colored glasses - real talk.---
Meta-Prompts
Prompt Improver
Here's my prompt for Grok: [paste prompt]
Critique it and give me a better version that would get more useful results.Question Refiner
I want to ask about [topic] but I'm not sure how to phrase it. Help me craft the question that would get me the best answer.Missing Angle
I've been thinking about [topic] from [perspective]. What am I missing? What other angles should I consider?---
Pattern Selection Guide
| Goal | Pattern | Why |
|---|---|---|
| Get current news | News Summarizer | Real-time X access |
| Honest feedback | Honest Assessment | Grok's directness |
| Explore options | Bull vs Bear Case | Natural contrarian |
| Generate ideas | Brainstorming Session | Creative potential |
| Learn deeply | Deep Dive | Knowledge breadth |
| Make decisions | Reality Check | Pragmatic insights |
| Be entertained | Roast Mode | Witty personality |
| Understand trends | Connect the Dots | Pattern recognition |
Grok Prompt Engineering - Techniques
Universal Techniques Adapted for Grok
This guide covers how to apply universal prompt engineering techniques specifically for Grok's conversational style and capabilities.
---
1. Zero-Shot Prompting
What It Is
Asking Grok to perform a task without providing examples.
Grok-Specific Approach
Grok responds well to direct, conversational zero-shot prompts.
Examples
Simple Question:
What's the best programming language to learn in 2024?Analysis Request:
Give me your honest take on whether AI will replace software developers.Current Events:
What's happening with [company] stock today based on social media chatter?Tips
- Be direct and specific
- Use natural language
- Leverage Grok's real-time knowledge for time-sensitive questions
---
2. Few-Shot Prompting
What It Is
Providing examples to guide Grok's responses through in-context learning.
Grok-Specific Approach
Examples should match Grok's conversational tone and style.
Template
Here are some examples of how I'd like you to respond:
Example 1:
[User input]
[Desired Grok response]
Example 2:
[User input]
[Desired Grok response]
Example 3:
[User input]
[Desired Grok response]
Now, your turn:
[New input]Example: Tech News Summaries
Here's the format I want:
User: What's new with Apple?
Grok: Apple just dropped the M3 chips and the whole tech world is losing it. The M3 Max is apparently a beast for AI work, but the real tea is that they finally moved to 3nm - TSMC must be proud.
User: Any Google news?
Grok: Google's Gemini Ultra is finally here and it's... actually good? Like, GPT-4 good. The Bard rebrand is happening and Sundar's definitely hoping people forget the early demo fiascos.
User: What about Microsoft?
Grok:Tips
- Keep examples conversational
- Show the tone you want
- 2-5 examples usually sufficient
---
3. Chain-of-Thought Prompting
What It Is
Prompting Grok to show its reasoning step-by-step.
Grok-Specific Approach
Grok naturally thinks out loud. Encourage this with conversational prompts.
Templates
Explicit CoT:
Let's think through this step by step:
[Complex problem]
Walk me through your reasoning.Implicit CoT:
What's your take on [topic]? Break down your thinking process.Example: Investment Analysis
I'm considering investing in NVIDIA. Let's think this through:
Current price: $700
P/E ratio: 65
Revenue growth: 200%+
Walk me through the bullish case, the bearish case, and where you land. Don't just give me the conclusion - show your work.Tips
- Ask for "reasoning" or "thinking process"
- Request multiple perspectives
- Grok will naturally elaborate
---
4. Zero-Shot CoT
What It Is
Adding a simple phrase to trigger reasoning without examples.
Grok-Specific Triggers
| Trigger | Best For |
|---|---|
| "Let's think about this" | General analysis |
| "Walk me through your reasoning" | Step-by-step breakdown |
| "Break it down" | Complex topics |
| "What's your thinking process?" | Understanding decisions |
Examples
Will Ethereum flip Bitcoin this cycle?
Let's think about this step by step.Should I quit my job to start a startup?
Walk me through your reasoning on this one.---
5. Prompt Chaining
What It Is
Breaking complex tasks into sequential prompts.
Grok-Specific Approach
Grok's conversational nature makes it ideal for iterative dialogues.
Example: Travel Planning
Chain Step 1:
I want to plan a 2-week trip to Japan. What cities should I definitely visit?Chain Step 2:
Great choices. For each city, what are the top 3 things I shouldn't miss?Chain Step 3:
Now help me create a day-by-day itinerary that connects all of these efficiently. Consider travel time between cities.Chain Step 4:
What's the total budget I should expect? Break it down by category.Tips
- Build on previous responses
- Reference earlier context
- Each prompt should advance the goal
---
6. ReAct Prompting (Reason + Act)
What It Is
Interleaving reasoning with actions (searches, tool use).
Grok's Advantage
Real-time X access makes Grok excellent for ReAct patterns.
Template
Question: [Your question]
Let's work through this:
Thought 1: [Initial reasoning]
Action 1: [Search or check current info]
Thought 2: [Based on findings]
Action 2: [Further analysis]
Final Answer: [Conclusion]Example: Stock Analysis
Question: Should I buy Tesla stock right now?
Let's work through this:
Thought 1: I need to check the current price and recent news
Action 1: Search for Tesla's latest price and recent developments
Thought 2: What's the sentiment on X/Twitter?
Action 2: Check what Tesla investors and analysts are saying
Thought 3: Consider the technicals and fundamentals
Action 3: Analyze the financial position and market conditions
Final Answer: [Comprehensive recommendation]---
7. Tree of Thoughts (ToT)
What It Is
Exploring multiple reasoning paths before concluding.
Grok-Specific Approach
Grok's conversational style fits well with exploring perspectives.
Template
Let's explore [topic] from different angles:
Perspective 1: [The Optimistic View]
[Perspective details]
Perspective 2: [The Skeptical View]
[Perspective details]
Perspective 3: [The Pragmatic View]
[Perspective details]
Now, let's synthesize these views and discuss where you actually stand.Example: AI Regulation
Let's explore AI regulation from different angles:
The Libertarian View: Minimal regulation, let innovation flourish
The Precautionary View: Strong regulation, potential existential risk
The Pragmatic View: Balanced approach, sector-specific rules
Give me your take on each perspective, then tell me which approach makes the most sense and why.---
Technique Selection Guide
| Scenario | Best Technique | Why |
|---|---|---|
| Quick factual question | Zero-shot | Direct and efficient |
| Formatting/style control | Few-shot | Shows desired pattern |
| Complex reasoning | CoT or Zero-Shot CoT | Shows reasoning |
| Multi-step tasks | Prompt chaining | Breaks down complexity |
| Research-heavy tasks | ReAct | Combines reasoning with tools |
| Exploration/brainstorming | Tree of Thoughts | Explores multiple paths |