grok

Delegate coding tasks and code reviews to the xAI Grok Build CLI.

1|Updated Jul 31, 2026
One-click install
npx skills add https://github.com/icyzh/hermes-web --skill grok-icyzh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grok
Source: https://github.com/icyzh/hermes-web/tree/main/optional-skills/autonomous-ai-agents/grok
Command: npx skills add https://github.com/icyzh/hermes-web --skill grok-icyzh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @xai-official/grok.

What problem does it solve?

This skill addresses the friction of manual coding and code review by delegating complex development tasks to the xAI Grok Build CLI, allowing for autonomous feature implementation and PR analysis.

Core Features & Use Cases

  • Autonomous Coding: Execute one-shot coding tasks, refactoring, or bug fixes using Grok's headless mode.
  • PR Review: Automate the analysis of git diffs to identify security vulnerabilities, style issues, and bugs.
  • Use Case: When working on a large repository, use this skill to automatically generate a comprehensive review of a feature branch's diff against the main branch to ensure code quality before merging.

Quick Start

Use the grok skill to run a headless task that adds a dark mode toggle to the current project settings.

Frequently Asked Questions about grok

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review for git diffs before merging?

Automating code review for git diffs is handled by delegating PR analysis to the xAI Grok Build CLI. It automatically identifies security vulnerabilities, style issues, and bugs within feature branch diffs to ensure code quality before merging.

Can I use an autonomous coding agent for one-shot feature implementation?

Yes, autonomous coding agents can execute one-shot feature implementation using Grok's headless execution mode. This allows you to delegate complex coding tasks, refactoring, and bug fixes directly to the xAI Grok Build CLI.

Do I need a SuperGrok subscription to use the Grok coding agent?

Yes, you need a valid SuperGrok or X Premium+ subscription for authentication. Additionally, the skill requires the @xai-official/grok CLI package installed in your environment to execute coding and code review tasks.

How does headless execution differ from interactive PTY sessions for coding tasks?

Headless execution runs one-shot coding tasks autonomously without user input, while interactive PTY sessions support complex multi-turn development workflows. Both modes delegate processing logic to the xAI Grok Build CLI based on your specific coding needs.

What is the best way to refactor code autonomously across a large repository?

Refactoring code autonomously across a large repository is best handled by delegating tasks to the Grok Build CLI. The skill supports both headless one-shot execution and interactive PTY sessions for complex multi-turn development workflows.