Opens Brave browser to Grok AI by xAI (Elon Musk's company). Access the witty, real-time AI with a simple voice command.
Coding
Grok Build
Try itxAI's Grok Build: terminal AI coding agent CLI/TUI - install, build, configure, use
What it does
xAI's Grok Build: terminal AI coding agent CLI/TUI - install, build, configure, use
The skill document
Grok Build (grok)
xAI 的终端 AI 编码 Agent。全屏 TUI,支持交互式编码、文件编辑、Shell 执行、网页搜索、长任务管理。也支持无头模式(脚本/CI)和编辑器嵌入(ACP 协议)。
Rust 编写,Apache 2.0 开源。
仓库信息
- GitHub: https://github.com/xai-org/grok-build
- 官网: https://x.ai/cli
- 文档: https://docs.x.ai/build/overview
- 许可证: Apache 2.0
安装
预编译二进制(推荐)
curl -fsSL https://x.ai/cli/install.sh | bash
irm https://x.ai/cli/install.ps1 | iex
grok --version
源码编译
依赖:Rust 工具链 + DotSlash(cargo install dotslash)+ protoc
cargo run -p xai-grok-pager-bin
cargo build -p xai-grok-pager-bin --release
cargo check -p xai-grok-pager-bin
二进制产物 xai-grok-pager,官方安装为 grok。首次启动浏览器认证。
项目结构
crates/codegen/
xai-grok-pager-bin/ 组合根包
xai-grok-pager/ TUI:滚动、提示、弹窗、渲染
xai-grok-shell/ Agent 运行时 + 入口点
xai-grok-tools/ 工具实现(终端、文件编辑、搜索等)
xai-grok-workspace/ 文件系统、VCS、执行、检查点
crates/common/ 共享基础 crate
bin/ DotSlash 管理工具
third_party/ 上游源码
核心功能
- 全屏 TUI 终端交互
- 代码库理解与文件编辑
- Shell 命令执行 + 网页搜索 + 长任务管理
- 无头模式(脚本/CI)
- 编辑器嵌入(ACP 协议)
- MCP 服务器 + Skills + Plugins + Hooks
- 沙箱 + 主题
注意事项
- 不接受外部贡献
- 与 xAI 内部 monorepo 周期性同步
- 首次使用需浏览器认证
Related skills
Scaffold new Aomi apps and plugins from API docs, OpenAPI/Swagger specs, or SDK references. aomi-build generates production-ready Rust SDK crates (lib.rs, cl...
Use APIDot for Grok Imagine API workflows, including xAI Grok Imagine image generation, image editing, text-to-video, image-to-video, Grok Imagine Video 1.5,...
Build or modernize TypeScript CLIs for AI agents with @renxqoo/agent-cli-sdk. Use when a user wants a new command-line tool, an API or internal service wrapped as a CLI, or an existing agent-cli-sdk app extended with authentication, structured output, typed errors, pagination, pipes, Skill distribut
Use when users ask to sync, restore, apply, back up, push, or roll back local agent instructions, rules, or skills for Codex, Claude Code, OpenCode, Grok Build, CodeBuddy Code, WorkBuddy, or another Agent Skills-compatible platform.
Export Grok conversations from X (x.com) via browser-network capture and convert them into Obsidian-ready Markdown files. Use when a user wants to back up Grok chat history, preserve User vs Grok turns, and generate Markdown notes with YAML frontmatter (URL, created) from captured JSON.