โ† Browse

@dominiktobureto/awesome-grok-build-3

A

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

instructionscodex

Install

agr install @dominiktobureto/awesome-grok-build-3 --target codex

Writes 1 file into AGENTS.md, pinned to git-4f1b0210.

  • AGENTS.md

Document

AGENTS.md

Project Type

Next.js App Router application. Optimize for correct server/client boundaries, accessible UI, secure data mutations, caching behavior, and clean deploys.

Required Agent Behavior

  • Use Plan Mode for new routes, auth, data mutations, caching, database work, or design-system changes.
  • Use nextjs-fullstack, frontend-ux-engineer, tdd-test-engineer, security-audit, and performance-optimizer.
  • Use subagents for routes, data, client UI, tests, and security.
  • Ask before adding UI libraries, auth libraries, database packages, or analytics.

Next.js Rules

  • Keep secrets server-only. Never expose non-public values through NEXT_PUBLIC_*.
  • Prefer Server Components unless interactivity requires Client Components.
  • Validate server actions and API routes.
  • Include loading, error, empty, and success states.
  • Respect existing cache/revalidation patterns.

Verification

Discover commands first. Common checks:

npm run lint
npm run typecheck
npm run test
npm run build

Safety

  • Do not mutate production data.
  • Do not weaken auth checks.
  • Do not commit generated .next/, logs, or local env files.

Repository README

Describes DominikTobureto/awesome-grok-build as a whole, which may contain artifacts other than this one. Where this artifact had no useful description of its own, its summary was taken from here.

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.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged โ€” not that the artifact is safe.

Versions

  • git-4f1b02101a322026-08-04