Sandbox
@DominikTobureto/awesome-grok-build

Grok Build skills, templates, hooks, and workflows

This repo gathers reusable Grok Build assets for planning, editing, testing, reviewing, and shipping from a terminal. It combines a curated awesome list with copyable project files so you can set up agent instructions, skills, hooks, and ignore rules in a real repo.

61 starsโ€ข14 forksโ€ขPowerShellโ€ขUpdated 24d ago
Who it's for

Builders who want Grok Build-ready project files, reusable skills, and practical workflow examples.

What it delivers

You can set up Grok Build in a project with reusable instructions, skills, and guardrails instead of starting from scratch.

What it does

Reusable skills

Provides `.grok/skills/` entries like repo health checks, code review, refactoring, testing, security, and Git flow.

AGENTS.md templates

Includes templates for fullstack, library, docs, and security-focused repos.

Hook examples

Shows hook patterns for linting, testing, guardrails, and other lifecycle checks.

Starter ignore files

Offers `.grokignore` templates for safe defaults, Node, and Python projects.

Setup and install scripts

Includes `install.sh` and `install.ps1` for copying skills into a target repo.

Guides and examples

Documents workflow setup, prompt examples, comparisons, and best practices.

How to get it

  1. 1Install Grok Build
    # macOS / Linux / WSL
    curl -fsSL https://x.ai/cli/install.sh | bash
    
    # Windows PowerShell
    irm https://x.ai/cli/install.ps1 | iex
  2. 2Use this starter kit in a project
    git clone https://github.com/DominikTobureto/awesome-grok-build.git
    cd awesome-grok-build
    
    # Inspect what Grok discovers: instructions, skills, plugins, hooks, MCPs.
    grok inspect
    
    # Start the TUI.
    grok
  3. 3Copy the parts you need
    # Skills
    cp -R .grok/skills /path/to/your-project/.grok/
    
    # Agent instructions
    cp templates/AGENTS.fullstack.md /path/to/your-project/AGENTS.md
    
    # Ignore file
    cp templates/grokignore.default /path/to/your-project/.grokignore
  4. 4Then open Grok and try
    /skills
    /plan
    Use the repo-health-check skill and tell me the smallest safe PR we should ship first.
  5. 5Install all skills into any repo in one command
    # macOS / Linux / WSL
    curl -fsSL https://raw.githubusercontent.com/DominikTobureto/awesome-grok-build/main/install.sh | bash
    
    # Windows PowerShell
    irm https://raw.githubusercontent.com/DominikTobureto/awesome-grok-build/main/install.ps1 | iex
  6. 6Or install into a specific directory
    bash install.sh /path/to/your-project

README

Awesome Grok Build ๐Ÿš€

Awesome License: MIT PRs Welcome Skills Validated Made with Grok Build

A practical awesome list, starter kit, and skill library for xAI's Grok Build CLI.

One repo to learn, configure, extend, and ship with Grok Build.

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, reviewing, and shipping software from your repo. This repository curates official docs, useful community projects, reusable .grok/skills, AGENTS.md templates, .grokignore patterns, hook ideas, and practical workflows.

Independent community project. Not affiliated with, endorsed by, or sponsored by xAI Corp. Grok and xAI are trademarks of their respective owners.

Quick Start

Install Grok Build:

# macOS / Linux / WSL
curl -fsSL https://x.ai/cli/install.sh | bash

# Windows PowerShell
irm https://x.ai/cli/install.ps1 | iex

Use this starter kit in a project:

git clone https://github.com/DominikTobureto/awesome-grok-build.git
cd awesome-grok-build

# Inspect what Grok discovers: instructions, skills, plugins, hooks, MCPs.
grok inspect

# Start the TUI.
grok

Copy the parts you need:

# Skills
cp -R .grok/skills /path/to/your-project/.grok/

# Agent instructions
cp templates/AGENTS.fullstack.md /path/to/your-project/AGENTS.md

# Ignore file
cp templates/grokignore.default /path/to/your-project/.grokignore

Then open Grok and try:

/skills
/plan
Use the repo-health-check skill and tell me the smallest safe PR we should ship first.

Install all skills into any repo in one command:

# macOS / Linux / WSL
curl -fsSL https://raw.githubusercontent.com/DominikTobureto/awesome-grok-build/main/install.sh | bash

# Windows PowerShell
irm https://raw.githubusercontent.com/DominikTobureto/awesome-grok-build/main/install.ps1 | iex

Or install into a specific directory:

bash install.sh /path/to/your-project

Manual install (clone + copy):

rm -rf /tmp/awesome-grok-build && git clone --depth 1 https://github.com/DominikTobureto/awesome-grok-build.git /tmp/awesome-grok-build && mkdir -p .grok && cp -R /tmp/awesome-grok-build/.grok/skills .grok/

Windows PowerShell:

Remove-Item -Recurse -Force "$env:TEMP\awesome-grok-build" -ErrorAction SilentlyContinue; git clone --depth 1 https://github.com/DominikTobureto/awesome-grok-build.git "$env:TEMP\awesome-grok-build"; New-Item -ItemType Directory -Force .grok; Copy-Item -Recurse -Force "$env:TEMP\awesome-grok-build\.grok\skills" ".grok\"

Contents

Why This Repo Exists

Grok Build launched into a category already crowded with Claude Code, Cursor, Codex, Aider, Cline, OpenCode, Windsurf, and Devin.

The obvious "awesome list" is useful, but not enough. Builders need:

  • official links that stay current;
  • copy-pasteable AGENTS.md files;
  • small, high-leverage skills;
  • .grokignore patterns that keep agents away from secrets and junk;
  • hook patterns for formatting, testing, and guardrails;
  • practical prompts that produce clean diffs instead of chaos.

This repo is a reference set for configuring and extending Grok Build in real projects.

Official Resources

ResourceWhy it matters
Introducing Grok BuildLaunch post, availability, install command, Plan Mode, subagents, workflow positioning.
Grok Build product pageFeature overview: skills, plugins, Q&A, subagents, headless mode, code review, git integration.
Getting StartedInstall, auth, grok, headless -p, custom models, grok inspect, API model usage.
Skills, Plugins & MarketplacesDiscovery paths for .grok/skills, .grok/plugins, hooks, marketplace sources, AGENTS.md compatibility.
Modes and CommandsPlan Mode, permission mode, core slash commands, skills as commands.
Headless & Scriptinggrok -p, JSON/streaming JSON output, grok agent stdio, ACP integrations.
Enterprise DeploymentsNetwork requirements, managed config, policy controls, proxy support.

What Grok Build Does

Based on official xAI docs and launch pages, Grok Build is built around:

  • Terminal-native TUI for mouse-interactive coding sessions.
  • Plan Mode where write tools are blocked until a plan is approved.
  • Subagents for parallel investigation, testing, and implementation.
  • Skills discovered from .grok/skills/, ~/.grok/skills/, plugins, and configured paths.
  • Plugins and marketplaces that bundle skills, hooks, MCP servers, agents, and LSP servers.
  • Hooks that run scripts on tool/session lifecycle events after trust is granted.
  • AGENTS.md compatibility for repo-scoped instructions.
  • Claude Code compatibility for existing Claude instruction, skill, plugin, MCP, and hook setups.
  • Headless mode via grok -p for scripts, CI, bots, and automations.
  • ACP support via grok agent stdio for IDEs and custom agent orchestration.

Setup Guide

For a practical walkthrough, see docs/grok-build-workflow-setup.md.

It covers:

  • installing reusable .grok/skills;
  • choosing an AGENTS.md template;
  • adding a safe .grokignore;
  • checking what Grok Build discovers with grok inspect;
  • using Plan Mode before risky edits;
  • keeping hooks explicit and reviewable.

Ready-to-Use Skills 12+

These are portable Grok Build skills you can copy into any project under .grok/skills/. Each skill includes YAML frontmatter (name, description, version, author), Plan Mode guidance, subagent/Arena-style workflows, human approval checkpoints, lint/test verification, and git hygiene.

SkillWhat it doesBest first prompt
repo-health-checkAudits an unfamiliar repo and finds the smallest safe first PR.Use repo-health-check. Propose the smallest safe PR. Do not edit yet.
agentic-code-reviewReviews diffs for correctness, security, tests, perf, and regression risk.Use agentic-code-review on the current diff. Findings first.
python-expertPython, FastAPI, Django, Flask, pytest, typing, async, packaging.Use python-expert. Add a failing pytest first, then fix.
refactor-masterBehavior-preserving refactors with characterization tests and small diffs.Use refactor-master. Plan before editing.
git-github-flowClean commits, PR descriptions, review response, merge readiness.Use git-github-flow. Prepare commit and PR text. Do not push.
research-agentCurrent web/X research, source-backed docs, ecosystem scanning.Use research-agent. Verify current facts and cite sources.
tdd-test-engineerTest-first implementation, regression tests, flaky test debugging.Use tdd-test-engineer. Write the failing test first.
architecture-reviewClean/hexagonal/modular architecture, ADRs, data flow, boundaries.Use architecture-review. Compare options and recommend the smallest reversible plan.
security-auditAuth, permissions, injection, secrets, dependencies, hook safety.Use security-audit. Review this diff for exploitable paths.
performance-optimizerp95/p99 latency, DB queries, frontend performance, profiling, caching.Use performance-optimizer. Measure first, then propose fixes.
frontend-ux-engineerProduct UI, accessibility, responsive layout, states, visual QA.Use frontend-ux-engineer. Build the actual workflow, not a landing page.
nextjs-fullstackNext.js App Router, RSC, server actions, auth, caching, full-stack features.Use nextjs-fullstack. Plan server/client boundaries before edits.
hooksmithSafe hooks for lint, tests, notifications, command guards, trust review.Use hooksmith. Design a read-only post-edit lint hook.

The skills are written to be copied into other projects and adapted to local conventions.

Skills & Hooks

Skills in this repo are designed around Grok Build's strengths:

  • Plan Mode for ambiguous or risky work.
  • Subagents for parallel read-only investigation.
  • Arena-style comparison when multiple implementation/review strategies are plausible.
  • X search and web search for current information when enabled.
  • Human-in-the-loop diff approval before risky edits.
  • Lint/test gates discovered from the repo, not invented.
  • Git discipline: small diffs, staged intentionally, no secret or generated junk.

Skill best practices:

  • Keep SKILL.md small and task-specific.
  • Put long examples under references/ or examples/ instead of bloating the skill entrypoint.
  • Give the skill a narrow trigger description so Grok invokes it only when useful.
  • Prefer deterministic scripts for repeatable checks.
  • Never hide destructive behavior inside a skill.

Hook best practices:

  • Treat hooks like CI jobs, not prompt text.
  • Start with read-only or formatting hooks.
  • Require trust for project hooks and document every command they run.
  • Keep secrets out of hook logs.
  • Use hooks to surface test/lint output back to the agent, not to silently mutate unrelated files.

See docs/best-practices.md and examples/hooks.md.

AGENTS.md Templates

TemplateBest for
AGENTS.fullstack.mdSaaS apps, dashboards, product builds, full-stack repos.
AGENTS.library.mdOpen-source packages and SDKs.
AGENTS.docs.mdDocs-heavy repos, awesome lists, knowledge bases.
AGENTS.security.mdSecurity-sensitive codebases and audit workflows.

Rule of thumb:

  • Put stable project rules in AGENTS.md.
  • Put reusable workflows in .grok/skills/<name>/SKILL.md.
  • Put generated or private junk in .grokignore.
  • Put deterministic checks in hooks.

Project Templates

FilePurpose
templates/grokignore.defaultSafe default ignore patterns for AI coding agents.
templates/grokignore.nodeNode/TypeScript-heavy projects.
templates/grokignore.pythonPython projects, virtualenvs, notebooks, cache folders.
templates/python-fullstackPython full-stack starter pack with AGENTS.md and .grokignore.
templates/fastapiFastAPI service pack with API, DB, testing, and security rules.
templates/nextjsNext.js App Router pack with server/client and UI rules.
examples/one-prompt-saas.mdA production-minded one-prompt SaaS scaffold request.
examples/prompts.mdHigh-signal prompts for planning, review, migration, tests, and docs.

Community Projects

Early ecosystem links worth watching:

ProjectNotes
superagent-ai/grok-cliPopular community-built Grok API coding agent. Not official xAI Grok Build, but useful for ecosystem patterns around TUI, subagents, web/X search, media generation, and schedules.
AppleLamps/grok-build-webLocal browser UI that bridges to grok agent stdio through ACP. Very early, but exactly the kind of wrapper category that will grow fast.
grokbuildweb.comProject site for the browser UI wrapper.
parallelagents.liveUnofficial "arena" style demo around parallel agents. Treat as inspiration, not documentation.

Submit more via PR. Include a one-line description, license, and whether it is official, community, experimental, or commercial.

Community Skills

To add a skill, open a PR with:

  • .grok/skills/<skill-name>/SKILL.md;
  • frontmatter: name, description, version, author;
  • a narrow trigger description;
  • examples of when to use it;
  • safety notes if it runs tools, scripts, hooks, network calls, or shell commands.

Good community skill categories:

  • database migration reviewer;
  • Playwright QA;
  • React Native;
  • Rust systems programming;
  • data science notebooks;
  • deployment readiness;
  • docs drift detection;
  • issue triage;
  • release automation;
  • incident postmortems.

Tips & Tricks

Use Plan Mode first for ambiguous work:

Start in Plan Mode. Inspect the repo, identify the risky files, propose the smallest shippable plan, and wait for approval before edits.

Use subagents for independent questions:

Split this investigation into parallel tracks: backend errors, database queries, frontend regressions, and deployment changes. Summarize evidence before proposing a fix.

Use headless mode for repeatable checks:

grok -p "Review this diff for regressions and missing tests" --output-format json

Use grok inspect after changing config:

grok inspect

Use AGENTS.md as the repo contract:

Read AGENTS.md first. Follow the test commands exactly. Do not introduce new frameworks unless the plan explains why.

Comparison

ToolSweet spotStrengthsTradeoffs
Grok BuildTerminal-first agent orchestrationPlan approval, subagents, skills/plugins/hooks, AGENTS.md compatibility, headless mode, ACP, xAI ecosystem.Early beta, access gated by subscription, smaller ecosystem, docs and hook/plugin conventions still maturing.
Claude CodeMature terminal agent for deep codebase workStrong coding model, established skills/hooks/plugins/MCP ecosystem, widely adopted workflows.Usage limits/cost can bite, vendor-specific conventions, parallel workflows depend on setup.
CursorIDE-native agentic editingGreat editor UX, codebase index, background agents, rules, model choice, strong adoption.Less terminal-native, remote background agents may affect data policies, can be noisy in large repos without rules.
AiderOpen-source git-native pair programmingOSS, model-flexible, repo map, excellent git workflow, lint/test loop, scriptable.Less "agent platform" out of the box, no native marketplace/subagent TUI experience like newer tools.

The short version:

  • Choose Grok Build when you want terminal-native multi-agent workflows and reusable agent capabilities.
  • Choose Claude Code when you want the most battle-tested terminal coding agent ecosystem.
  • Choose Cursor when you want the agent inside your editor all day.
  • Choose Aider when you want open-source, git-first, BYO-model coding assistance.

Contributing

PRs are welcome. High-signal contributions:

  • official xAI links;
  • working .grok/skills;
  • AGENTS.md patterns that improved real projects;
  • hook examples with clear safety notes;
  • early community repos with working code;
  • screenshots, demos, and measured comparisons.

Before opening a PR:

  1. Read CONTRIBUTING.md.
  2. Verify links.
  3. Mark sources as official or community.
  4. Keep claims accurate.

Files in the repo

Repository payloadโ€ข17 top-level entries
  • .github
  • .grok
  • docs
  • examples
  • templates
  • .gitattributes
  • .gitignore
  • .grokignore
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • install.ps1
  • install.sh
  • LICENSE
  • package.json
  • README.md
  • ROADMAP.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More collections

The awesome collection of OpenClaw skills. 5,400+ skills filtered and categorized from the official OpenClaw Skills Registry.๐Ÿฆž

52k

A curated collection of 1000+ agent skills from official dev teams and the community, compatible with Claude Code, Codex, Gemini CLI, Cursor, and more.

34k