Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Fork it. Improve it. Make it yours. And if you want to hate on free open source

### Step 1: Install on your machine

**Windows — double-click:**

Download this repo and run `install.bat`. It clones gstack, finds Git Bash automatically, runs setup, and installs everything. To remove, run `uninstall.bat`.

**Any platform — via Claude Code:**

Open Claude Code and paste this. Claude does the rest.

> Install gstack: run **`git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup`** then add a "gstack" section to CLAUDE.md that says to use the /browse skill from gstack for all web browsing, never use mcp\_\_claude-in-chrome\_\_\* tools, and lists the available skills: /office-hours, /plan-ceo-review, /plan-eng-review, /plan-design-review, /design-consultation, /design-shotgun, /review, /ship, /land-and-deploy, /canary, /benchmark, /browse, /connect-chrome, /qa, /qa-only, /design-review, /setup-browser-cookies, /setup-deploy, /retro, /investigate, /document-release, /codex, /cso, /autoplan, /careful, /freeze, /guard, /unfreeze, /gstack-upgrade. Then ask the user if they also want to add gstack to the current project so teammates get it.
Expand Down
38 changes: 38 additions & 0 deletions install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@echo off
setlocal

set TARGET=%USERPROFILE%\.claude\skills\gstack

echo Installing gstack to %TARGET% ...

if exist "%TARGET%" (
echo Existing installation found. Removing...
rmdir /s /q "%TARGET%"
)

xcopy /e /i /q "%~dp0" "%TARGET%"

cd /d "%TARGET%"

:: Find Git Bash and run setup
set "GITBASH="
if exist "%ProgramFiles%\Git\bin\bash.exe" set "GITBASH=%ProgramFiles%\Git\bin\bash.exe"
if "%GITBASH%"=="" if exist "%ProgramFiles(x86)%\Git\bin\bash.exe" set "GITBASH=%ProgramFiles(x86)%\Git\bin\bash.exe"
if "%GITBASH%"=="" for /f "delims=" %%i in ('where bash 2^>nul') do set "GITBASH=%%i"

if "%GITBASH%"=="" (
echo.
echo WARNING: Git Bash not found. Skipping setup.
echo Install Git for Windows, then re-run install.bat, or run ./setup from Git Bash manually.
echo.
) else (
echo Running setup via Git Bash...
"%GITBASH%" -c "cd '%TARGET%' && ./setup"
)

echo.
echo gstack installed globally. Available in all Claude Code sessions.
echo Skills: all gstack skills are now available.
echo.
echo To uninstall, run uninstall.bat
pause
17 changes: 17 additions & 0 deletions uninstall.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off
setlocal

set TARGET=%USERPROFILE%\.claude\skills\gstack

if not exist "%TARGET%" (
echo gstack is not installed at %TARGET%
pause
exit /b 0
)

echo Uninstalling gstack from %TARGET% ...
rmdir /s /q "%TARGET%"

echo.
echo gstack uninstalled.
pause