Skip to main content

setup-deploy

Automates deployment configuration for various platforms, ensuring seamless future deployments with health checks and status commands.

Install this skill

or
0/100

Security score

The setup-deploy skill was audited on May 12, 2026 and we found 75 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 30

Template literal with variable interpolation in command context

SourceSKILL.md
30```bash
medium line 263

Template literal with variable interpolation in command context

SourceSKILL.md
263```bash
medium line 359

Template literal with variable interpolation in command context

SourceSKILL.md
359```bash
medium line 393

Template literal with variable interpolation in command context

SourceSKILL.md
393echo "before relying on \`gbrain search\` for code questions in this worktree."
medium line 521

Template literal with variable interpolation in command context

SourceSKILL.md
521```bash
low line 31

Access to hidden dotfiles in home directory

SourceSKILL.md
31_UPD=$(~/.claude/skills/gstack/bin/gstack-update-check 2>/dev/null || .claude/skills/gstack/bin/gstack-update-check 2>/dev/null || true)
low line 33

Access to hidden dotfiles in home directory

SourceSKILL.md
33mkdir -p ~/.gstack/sessions
low line 34

Access to hidden dotfiles in home directory

SourceSKILL.md
34touch ~/.gstack/sessions/"$PPID"
low line 35

Access to hidden dotfiles in home directory

SourceSKILL.md
35_SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ')
low line 36

Access to hidden dotfiles in home directory

SourceSKILL.md
36find ~/.gstack/sessions -mmin +120 -type f -exec rm {} + 2>/dev/null || true
low line 37

Access to hidden dotfiles in home directory

SourceSKILL.md
37_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")
low line 38

Access to hidden dotfiles in home directory

SourceSKILL.md
38_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")
low line 41

Access to hidden dotfiles in home directory

SourceSKILL.md
41_SKILL_PREFIX=$(~/.claude/skills/gstack/bin/gstack-config get skill_prefix 2>/dev/null || echo "false")
low line 45

Access to hidden dotfiles in home directory

SourceSKILL.md
45source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || true
low line 48

Access to hidden dotfiles in home directory

SourceSKILL.md
48_LAKE_SEEN=$([ -f ~/.gstack/.completeness-intro-seen ] && echo "yes" || echo "no")
low line 50

Access to hidden dotfiles in home directory

SourceSKILL.md
50_TEL=$(~/.claude/skills/gstack/bin/gstack-config get telemetry 2>/dev/null || true)
low line 51

Access to hidden dotfiles in home directory

SourceSKILL.md
51_TEL_PROMPTED=$([ -f ~/.gstack/.telemetry-prompted ] && echo "yes" || echo "no")
low line 56

Access to hidden dotfiles in home directory

SourceSKILL.md
56_EXPLAIN_LEVEL=$(~/.claude/skills/gstack/bin/gstack-config get explain_level 2>/dev/null || echo "default")
low line 59

Access to hidden dotfiles in home directory

SourceSKILL.md
59_QUESTION_TUNING=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false")
low line 61

Access to hidden dotfiles in home directory

SourceSKILL.md
61mkdir -p ~/.gstack/analytics
low line 63

Access to hidden dotfiles in home directory

SourceSKILL.md
63echo '{"skill":"setup-deploy","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skil
low line 65

Access to hidden dotfiles in home directory

SourceSKILL.md
65for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do
low line 67

Access to hidden dotfiles in home directory

SourceSKILL.md
67if [ "$_TEL" != "off" ] && [ -x "~/.claude/skills/gstack/bin/gstack-telemetry-log" ]; then
low line 68

Access to hidden dotfiles in home directory

SourceSKILL.md
68~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true
low line 74

Access to hidden dotfiles in home directory

SourceSKILL.md
74eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 80

Access to hidden dotfiles in home directory

SourceSKILL.md
80~/.claude/skills/gstack/bin/gstack-learnings-search --limit 3 2>/dev/null || true
low line 85

Access to hidden dotfiles in home directory

SourceSKILL.md
85~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"setup-deploy","event":"started","branch":"'"$_BRANCH"'","session":"'"$_SESSION_ID"'"}' 2>/dev/null &
low line 90

Access to hidden dotfiles in home directory

SourceSKILL.md
90_ROUTING_DECLINED=$(~/.claude/skills/gstack/bin/gstack-config get routing_declined 2>/dev/null || echo "false")
low line 101

Access to hidden dotfiles in home directory

SourceSKILL.md
101_CHECKPOINT_MODE=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_mode 2>/dev/null || echo "explicit")
low line 102

Access to hidden dotfiles in home directory

SourceSKILL.md
102_CHECKPOINT_PUSH=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_push 2>/dev/null || echo "false")
medium line 110

Access to hidden dotfiles in home directory

SourceSKILL.md
110In plan mode, allowed because they inform the plan: `$B`, `$D`, `codex exec`/`codex review`, writes to `~/.gstack/`, writes to the plan file, and `open` for generated artifacts.
medium line 118

Access to hidden dotfiles in home directory

SourceSKILL.md
118If `SKILL_PREFIX` is `"true"`, suggest/invoke `/gstack-*` names. Disk paths stay `~/.claude/skills/gstack/[skill-name]/SKILL.md`.
medium line 120

Access to hidden dotfiles in home directory

SourceSKILL.md
120If output shows `UPGRADE_AVAILABLE <old> <new>`: read `~/.claude/skills/gstack/gstack-upgrade/SKILL.md` and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with
medium line 125

Access to hidden dotfiles in home directory

SourceSKILL.md
125- Missing `~/.claude/skills/gstack/.feature-prompted-continuous-checkpoint`: AskUserQuestion for Continuous checkpoint auto-commits. If accepted, run `~/.claude/skills/gstack/bin/gstack-config set che
medium line 126

Access to hidden dotfiles in home directory

SourceSKILL.md
126- Missing `~/.claude/skills/gstack/.feature-prompted-model-overlay`: inform "Model overlays are active. MODEL_OVERLAY shows the patch." Always touch marker.
medium line 139

Access to hidden dotfiles in home directory

SourceSKILL.md
139If B: run `~/.claude/skills/gstack/bin/gstack-config set explain_level terse`.
low line 143

Access to hidden dotfiles in home directory

SourceSKILL.md
143rm -f ~/.gstack/.writing-style-prompt-pending
low line 144

Access to hidden dotfiles in home directory

SourceSKILL.md
144touch ~/.gstack/.writing-style-prompted
low line 153

Access to hidden dotfiles in home directory

SourceSKILL.md
153touch ~/.gstack/.completeness-intro-seen
medium line 166

Access to hidden dotfiles in home directory

SourceSKILL.md
166If A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry community`
medium line 176

Access to hidden dotfiles in home directory

SourceSKILL.md
176If B→A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry anonymous`
medium line 177

Access to hidden dotfiles in home directory

SourceSKILL.md
177If B→B: run `~/.claude/skills/gstack/bin/gstack-config set telemetry off`
low line 181

Access to hidden dotfiles in home directory

SourceSKILL.md
181touch ~/.gstack/.telemetry-prompted
medium line 194

Access to hidden dotfiles in home directory

SourceSKILL.md
194If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`
medium line 195

Access to hidden dotfiles in home directory

SourceSKILL.md
195If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`
low line 199

Access to hidden dotfiles in home directory

SourceSKILL.md
199touch ~/.gstack/.proactive-prompted
medium line 240

Access to hidden dotfiles in home directory

SourceSKILL.md
240If B: run `~/.claude/skills/gstack/bin/gstack-config set routing_declined true` and say they can re-enable with `gstack-config set routing_declined false`.
medium line 244

Access to hidden dotfiles in home directory

SourceSKILL.md
244If `VENDORED_GSTACK` is `yes`, warn once via AskUserQuestion unless `~/.gstack/.vendoring-warned-$SLUG` exists:
medium line 256

Access to hidden dotfiles in home directory

SourceSKILL.md
2563. Run `~/.claude/skills/gstack/bin/gstack-team-init required` (or `optional`)
medium line 258

Access to hidden dotfiles in home directory

SourceSKILL.md
2585. Tell the user: "Done. Each developer now runs: `cd ~/.claude/skills/gstack && ./setup --team`"
low line 264

Access to hidden dotfiles in home directory

SourceSKILL.md
264eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 265

Access to hidden dotfiles in home directory

SourceSKILL.md
265touch ~/.gstack/.vendoring-warned-${SLUG:-unknown}
low line 368

Access to hidden dotfiles in home directory

SourceSKILL.md
368_BRAIN_SYNC_BIN="~/.claude/skills/gstack/bin/gstack-brain-sync"
low line 369

Access to hidden dotfiles in home directory

SourceSKILL.md
369_BRAIN_CONFIG_BIN="~/.claude/skills/gstack/bin/gstack-config"
medium line 473

Access to hidden dotfiles in home directory

SourceSKILL.md
473If A/B and `~/.gstack/.git` is missing, ask whether to run `gstack-artifacts-init`. Do not block the skill.
low line 478

Access to hidden dotfiles in home directory

SourceSKILL.md
478"~/.claude/skills/gstack/bin/gstack-brain-sync" --discover-new 2>/dev/null || true
low line 479

Access to hidden dotfiles in home directory

SourceSKILL.md
479"~/.claude/skills/gstack/bin/gstack-brain-sync" --once 2>/dev/null || true
low line 522

Access to hidden dotfiles in home directory

SourceSKILL.md
522eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
medium line 677

Access to hidden dotfiles in home directory

SourceSKILL.md
677Before each AskUserQuestion, choose `question_id` from `scripts/question-registry.ts` or `{skill}-{slug}`, then run `~/.claude/skills/gstack/bin/gstack-question-preference --check "<id>"`. `AUTO_DECID
low line 681

Access to hidden dotfiles in home directory

SourceSKILL.md
681~/.claude/skills/gstack/bin/gstack-question-log '{"skill":"setup-deploy","question_id":"<id>","question_summary":"<short>","category":"<approval|clarification|routing|cherry-pick|feedback-loop>","door
low line 690

Access to hidden dotfiles in home directory

SourceSKILL.md
690~/.claude/skills/gstack/bin/gstack-question-preference --write '{"question_id":"<id>","preference":"<pref>","source":"inline-user","free_text":"<optional original words>"}'
low line 710

Access to hidden dotfiles in home directory

SourceSKILL.md
710~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"SKILL_NAME","type":"operational","key":"SHORT_KEY","insight":"DESCRIPTION","confidence":N,"source":"observed"}'
medium line 720

Access to hidden dotfiles in home directory

SourceSKILL.md
720`~/.gstack/analytics/`, matching preamble analytics writes.
low line 727

Access to hidden dotfiles in home directory

SourceSKILL.md
727rm -f ~/.gstack/analytics/.pending-"$_SESSION_ID" 2>/dev/null || true
low line 729

Access to hidden dotfiles in home directory

SourceSKILL.md
729~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"SKILL_NAME","event":"completed","branch":"'$(git branch --show-current 2>/dev/null || echo unknown)'","outcome":"OUTCOME","duration_s":"'"$_T
low line 732

Access to hidden dotfiles in home directory

SourceSKILL.md
732echo '{"skill":"SKILL_NAME","duration_s":"'"$_TEL_DUR"'","outcome":"OUTCOME","browse":"USED_BROWSE","session":"'"$_SESSION_ID"'","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' >> ~/.gstack/analytics/skill-
low line 735

Access to hidden dotfiles in home directory

SourceSKILL.md
735if [ "$_TEL" != "off" ] && [ -x ~/.claude/skills/gstack/bin/gstack-telemetry-log ]; then
low line 736

Access to hidden dotfiles in home directory

SourceSKILL.md
736~/.claude/skills/gstack/bin/gstack-telemetry-log \
medium line 746

Access to hidden dotfiles in home directory

SourceSKILL.md
746In plan mode before ExitPlanMode: if the plan file lacks `## GSTACK REVIEW REPORT`, run `~/.claude/skills/gstack/bin/gstack-review-read` and append the standard runs/status/findings table. With `NO_RE
low line 330

Unicode escape sequences

SourceSKILL.md
330writes `\u3103` thinking it is 管 U+7BA1, but `\u3103` is
low line 149

External URL reference

SourceSKILL.md
149If `LAKE_INTRO` is `no`: say "gstack follows the **Boil the Lake** principle — do the complete thing when AI makes marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Offe
low line 152

External URL reference

SourceSKILL.md
152open https://garryslist.org/posts/boil-the-ocean
low line 813

External URL reference

SourceSKILL.md
8134. Infer URL: `https://{app}.fly.dev`
low line 815

External URL reference

SourceSKILL.md
8156. Set health check: `https://{app}.fly.dev` (or `/health` if the app has one)
low line 825

External URL reference

SourceSKILL.md
8253. Infer URL: `https://{service-name}.onrender.com`
Scanned on May 12, 2026
View Security Dashboard
Installation guide →