Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

grok-prompting

verified

Prompt engineering guidance for Grok (xAI) model. Use when crafting prompts for Grok to leverage its conversational style, real-time knowledge access, and less-constrained responses.

View on GitHub

Marketplace

duyet-claude-plugins

duyet/claude-plugins

Plugin

prompt-engineering

Repository

duyet/claude-plugins
2stars

prompt-engineering/skills/grok-prompting/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/duyet/claude-plugins/blob/main/prompt-engineering/skills/grok-prompting/SKILL.md -a claude-code --skill grok-prompting

Installation paths:

Claude
.claude/skills/grok-prompting/
Powered by add-skill CLI

Instructions

# 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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6921 chars