Build by Grok VS Code Extension

Full Feature OverviewEverything the extension can do.

Build by Grok turns VS Code into a Grok-powered build workspace. It helps creators, students, educators, indie hackers, junior developers, and hands-on builders create, repair, inspect, test, preview, and ship projects directly from the editor.

Build and repair from plain language.

  • Build full websites from natural language prompts.
  • Edit existing codebases and repair broken files.
  • Inspect project structure and understand the workspace.
  • Run terminal commands inside the selected workspace.
  • Run verify/repair workflows for broken builds, tests, scripts, or installs.

Use voice, screenshots, files, and images.

  • Generate and wire project images/assets using Grok Imagine.
  • Attach screenshots, images, and files for context.
  • Paste clipboard images into the prompt.
  • Use voice dictation to compose prompts.
  • Store generated images in .build-by-grok/images.

Preview, summarize, and keep momentum.

  • Start and stop local development servers.
  • Open a live preview panel inside VS Code.
  • Keep optional local chat memory.
  • Show summaries, diff reports, token usage, and elapsed time.
  • Work in Default Mode or Full Access Mode.

Push projects toward launch.

  • Dedicated agents for Python projects and slide decks.
  • Security-audit style reviews.
  • Git and GitHub helpers.
  • Cloudflare and Vercel workflows.
  • Real files stay visible.

Websites, decks, Python projects, scripts, and deployable apps.

Astro websitesReact/Vite appsStatic HTML/CSS/JSFounder hubsBio sitesLanding pagesDashboardsSlidev decksMarp decksPython scriptsPython science labsCSV/data projectsMatplotlibPlotlyStreamlitEducational projectsHome automationUtility scriptsCloudflare-ready projectsVercel-ready projectsGitHub-ready repos

The editor becomes the workspace.

  • Sidebar chat and optional popout panel.
  • + menu for attachments and tools.
  • xAI API key button.
  • Start/Stop Server button.
  • Rocket send button.
  • Voice/mic mode for dictation.
  • Local preview panel.
  • Workspace selector for multi-root workspaces.
  • Recent chats when memory is enabled.
  • Status footer with token usage, elapsed time, and state.
  • Diff report and concise final summaries.

Choose guardrails or speed.

Default ModeSafer normal editing.

Lower-risk reads, edits, and safe commands with sensitive actions behind approval.

Full AccessAutonomous changes for faster work.

Applies edits and runs non-blocked workspace commands without per-action approval for the current session. Dangerous command patterns remain blocked.

General build, edit, inspect, and repair.

  • Astro sites
  • React/Vite apps
  • HTML/CSS/JS sites
  • Bug fixes
  • Build errors
  • Dependency issues
  • UI changes
  • Repo inspection

/py or /python.

  • Python scripts
  • Data generation
  • CSV files
  • Scientific calculations
  • Plots and charts
  • Lab reports
  • Pandas/Numpy/Scipy projects
  • Streamlit prep
  • Automation scripts

/sd, /slide, or /slide-deck.

  • Slidev decks
  • Marp decks
  • Markdown presentations
  • Image-heavy decks
  • Vercel-ready slide decks
  • Educational presentations
  • Product/investor decks

/ma or /multi-agent.

  • Stubborn bugs
  • Architecture issues
  • Multi-step repo repairs
  • Larger debugging tasks
  • When the first pass is not enough

Explicit workflows for broken projects.

  • Run compile/build/lint/test presets.
  • Detect failed verification commands.
  • Summarize the failure.
  • Hand failure to Grok for repair.
  • Apply fixes and rerun checks.
  • Show last failure and rerun last workflow.

Useful for broken builds, TypeScript errors, missing dependencies, bad imports, broken routes, Python ModuleNotFoundError, slide deck issues, deploy errors, and failed lint/test/compile checks.

Review before publishing.

  • Exposed secrets
  • Unsafe command patterns
  • Risky config files
  • Dependency concerns
  • Auth/session risks
  • Webview/CSP concerns
  • Deployment config issues
  • Dangerous file handling
  • Unsafe scripting patterns
  • Common repo hygiene problems

Not a formal penetration test, but useful before publishing, deploying, or pushing to GitHub.

Use focused commands when you know the workflow.

/helpShows slash commands.
/resetResets state.
/settingsOpens settings.
/workspaceSelects active folder.
/sidebarOpens sidebar.
/panelOpens popout chat.
/terminalOpens terminal.
/scmOpens Source Control.
/historyShows task and terminal history.
/tasksLists task presets.
/task <name>Runs preset.
/run <command>Runs and summarizes command.
/planner on/offControls planner behavior.
/devStarts detected dev server.
/serveAlias for local server.
/previewOpens preview.
/openAlias for preview.
/streamlit <path>Runs Streamlit app.
/st <path>Alias.
/verifyRuns verification presets.
/repairStarts repair workflow.
/rerunReruns last workflow.
/failureShows last failure.
/securitySecurity audit.
/auditAlias.
/py <prompt>Python Coding Agent.
/pythonAlias.
/py deps basicBasic lab deps.
/py deps scienceScientific deps.
/py run <path>Runs Python.
/py check <path>py_compile and fix syntax.

Focus: numpy, pandas, matplotlib, seaborn, scipy, statsmodels, sympy.

/sd <prompt>Slide Deck Agent.
/slideAlias.
/slide-deckAlias.
/sd --slidevForces Slidev.
/sd --marpForces Marp.
/sd --vercelVercel-ready deck.
/ma <prompt>Multi-agent planner.
/multi-agentAlias.
/multiagentAlias.
/ma --4/--8/--12Plan size.
/ma --low/medium/high/xhighReasoning effort.
/muti-agentTypo-tolerant alias.
/git statusStatus.
/git diff [path]Unstaged diff.
/git diff-staged [path]Staged diff.
/git stage / stage-allStage files.
/git unstage / unstage-allUnstage files.
/git login / whoamiGitHub auth.
/git init/start/bootstrapInitialize git flow.
/git branch / checkout / checkout-newBranch workflows.
/git commit / acpCommit and push.
/git remote add/setRemote management.
/git push/pull/syncRemote sync.
/git publish github <repo>Create/publish repo.
/git pr createCreate pull request.
/cf helpHelp.
/cf login/logout/whoamiAuth/account.
/cf updateUpdate Wrangler.
/cf deployDeploy Worker.
/cf pages create/deployPages projects.
/cf worker initWorker project.
/cf db/table/kv/r2D1, SQL, KV, R2 helpers.
/cf wranglerRun Wrangler.

Aliases: /cf, /cloudflare.

/vc helpHelp and project state.
/vc login/logout/whoamiAuth.
/vc linkLink local folder.
/vc deployPreview deploy.
/vc deploy prodProduction deploy.
/vc devLocal dev.
/vc logs/inspect/openInspect deployment.
/vc vercelRun Vercel CLI.

Aliases: /vc, /vercel.

VS Code commands are exposed directly.

Open Chat SidebarOpen Chat PopoutSet xAI API KeyBuild New SiteFactory ResetVerify WorkspaceRepair WorkspaceSecurity AuditStart Dev ServerOpen PreviewOpen TerminalOpen Source Control

Detect and open local previews.

  • Astro dev server
  • Vite/React dev server
  • Slidev preview
  • Static HTML via Python HTTP server
  • npm dev/start/serve/preview
  • Task presets
  • Streamlit runner

Current package version: 4.20.141.

  • Configurable Grok executor model.
  • Configurable image model.
  • xAI API key stored in VS Code Secret Storage.
  • Uses selected workspace folder.
  • Multi-root uses active folder selection.

Configurable, with dangerous commands blocked.

  • Settings include model, base URL, command timeouts, repair iterations, output limits, approval rules, command policy, safe prefixes, blocked patterns, auto-stage, sensitive history, and task presets.
  • Safe defaults include npm/pnpm/yarn build/lint/test/dev, git status/diff/add/rev-parse, ls, cat, pwd, echo, and rg.
  • Blocked patterns include rm -rf /, sudo, mkfs, dd, shutdown, reboot, poweroff, halt, disk erase, and drive formatting.

Get it today

Turn VS Code into a Grok-powered build workspace.

Build by Grok makes real project work more approachable without hiding files, commands, previews, or code changes.

Build by Grok VSCode Extension: 4.20.141