This commit is contained in:
Matt Van Horn 2026-07-14 19:17:08 -07:00 committed by GitHub
commit ec90ecf61f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 6 deletions

View File

@ -332,6 +332,8 @@ This handles skills, symlinks, global state (`~/.gstack/`), project-local state,
If you don't have the repo cloned (e.g. you installed via a Claude Code paste and later deleted the clone):
Mirrors `gstack-uninstall --keep-state` (preserves `~/.gstack/` data):
```bash
# 1. Stop browse daemons
pkill -f "gstack.*browse" 2>/dev/null || true
@ -353,23 +355,28 @@ done
# 3. Remove gstack
rm -rf ~/.claude/skills/gstack
# 4. Remove global state
rm -rf ~/.gstack
# 5. Remove integrations (skip any you never installed)
# 4. Remove integrations (skip any you never installed)
rm -rf ~/.codex/skills/gstack* 2>/dev/null
rm -rf ~/.factory/skills/gstack* 2>/dev/null
rm -rf ~/.kiro/skills/gstack* 2>/dev/null
rm -rf ~/.openclaw/skills/gstack* 2>/dev/null
# 6. Remove temp files
# 5. Remove temp files
rm -f /tmp/gstack-* 2>/dev/null
# 7. Per-project cleanup (run from each project root)
# 6. Per-project cleanup (run from each project root)
rm -rf .gstack .gstack-worktrees .claude/skills/gstack 2>/dev/null
rm -rf .agents/skills/gstack* .factory/skills/gstack* 2>/dev/null
```
#### Also purge gstack data (optional)
`~/.gstack/` holds config, analytics, sessions, project history, and the installation-id. Run this only if you want a clean slate (equivalent to `gstack-uninstall` without `--keep-state`):
```bash
rm -rf ~/.gstack
```
### Clean up CLAUDE.md
The uninstall script does not edit CLAUDE.md. In each project where gstack was added, remove the `## gstack` and `## Skill routing` sections.