Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
TypeScript
feat: remove trigger guard + proactive opt-out prompt (#457)
Garry Tan8500136d157e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 437a7eedd..1b20489b5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,16 @@# Changelog+## [0.11.17.0] - 2026-03-24 — Cleaner Skill Descriptions + Proactive Opt-Out++### Changed++- **Skill descriptions are now clean and readable.** Removed the ugly "MANUAL TRIGGER ONLY" prefix from every skill description that was wasting 58 characters and causing build errors for Codex integration.+- **You can now opt out of proactive skill suggestions.** The first time you run any gstack skill, you'll be asked whether you want gstack to suggest skills during your workflow. If you prefer to invoke skills manually, just say no — it's saved as a global setting. You can change your mind anytime with `gstack-config set proactive true/false`.++### Fixed++- **Telemetry source tagging no longer crashes.** Fixed duration guards and source field validation in the telemetry logger so it handles edge cases cleanly instead of erroring.+## [0.11.16.1] - 2026-03-24 — Installation ID Privacy Fix### Fixeddiff --git a/SKILL.md b/SKILL.mdindex bee0571d9..4817fd0e1 100644--- a/SKILL.md+++ b/SKILL.md@@ -3,19 +3,10 @@ name: gstackpreamble-tier: 1version: 1.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /gstack.Fast headless browser for QA testing and site dogfooding. Navigate pages, interact withelements, verify state, diff before/after, take annotated screenshots, test responsivelayouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open ortest a site, verify a deployment, dogfood a user flow, or file a bug with screenshots.- Also suggest adjacent gstack skills by stage: brainstorm /office-hours; strategy- /plan-ceo-review; architecture /plan-eng-review; design /plan-design-review or- /design-consultation; auto-review /autoplan; debugging /investigate; QA /qa; code review- /review; visual audit /design-review; shipping /ship; docs /document-release; retro- /retro; second opinion /codex; prod safety /careful or /guard; scoped edits /freeze or- /unfreeze; gstack upgrades /gstack-upgrade. If the user opts out of suggestions, stop- and run gstack-config set proactive false; if they opt back in, run gstack-config set- proactive true.allowed-tools:- Bash- Read@@ -36,9 +27,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -56,8 +49,11 @@ echo '{"skill":"gstack","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -106,6 +102,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## Contributor ModeIf `_CONTRIB` is `true`: you are in **contributor mode**. At the end of each major workflow step, rate your gstack experience 0-10. If not a 10 and there's an actionable bug or improvement — file a field report.diff --git a/SKILL.md.tmpl b/SKILL.md.tmplindex c0a39510e..fca8fa605 100644--- a/SKILL.md.tmpl+++ b/SKILL.md.tmpl@@ -7,14 +7,6 @@ description: |elements, verify state, diff before/after, take annotated screenshots, test responsivelayouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open ortest a site, verify a deployment, dogfood a user flow, or file a bug with screenshots.- Also suggest adjacent gstack skills by stage: brainstorm /office-hours; strategy- /plan-ceo-review; architecture /plan-eng-review; design /plan-design-review or- /design-consultation; auto-review /autoplan; debugging /investigate; QA /qa; code review- /review; visual audit /design-review; shipping /ship; docs /document-release; retro- /retro; second opinion /codex; prod safety /careful or /guard; scoped edits /freeze or- /unfreeze; gstack upgrades /gstack-upgrade. If the user opts out of suggestions, stop- and run gstack-config set proactive false; if they opt back in, run gstack-config set- proactive true.allowed-tools:- Bash- Readdiff --git a/VERSION b/VERSIONindex f71aefdff..6a911c499 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.11.16.1+0.11.17.0diff --git a/autoplan/SKILL.md b/autoplan/SKILL.mdindex 036240987..577f7061a 100644--- a/autoplan/SKILL.md+++ b/autoplan/SKILL.md@@ -3,7 +3,6 @@ name: autoplanpreamble-tier: 3version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /autoplan.Auto-review pipeline — reads the full CEO, design, and eng review skills from diskand runs them sequentially with auto-decisions using 6 decision principles. Surfacestaste decisions (close approaches, borderline scope, codex disagreements) at a final@@ -37,9 +36,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -57,8 +58,11 @@ echo '{"skill":"autoplan","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -107,6 +111,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/benchmark/SKILL.md b/benchmark/SKILL.mdindex c6d2f72c4..d6d65ae24 100644--- a/benchmark/SKILL.md+++ b/benchmark/SKILL.md@@ -3,7 +3,6 @@ name: benchmarkpreamble-tier: 1version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /benchmark.Performance regression detection using the browse daemon. Establishesbaselines for page load times, Core Web Vitals, and resource sizes.Compares before/after on every PR. Tracks performance trends over time.@@ -30,9 +29,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -50,8 +51,11 @@ echo '{"skill":"benchmark","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(bafor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -100,6 +104,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## Contributor ModeIf `_CONTRIB` is `true`: you are in **contributor mode**. At the end of each major workflow step, rate your gstack experience 0-10. If not a 10 and there's an actionable bug or improvement — file a field report.diff --git a/bin/gstack-telemetry-log b/bin/gstack-telemetry-logindex 885dfc2b2..5cddc519f 100755--- a/bin/gstack-telemetry-log+++ b/bin/gstack-telemetry-log@@ -32,21 +32,30 @@ OUTCOME="unknown"USED_BROWSE="false"SESSION_ID=""ERROR_CLASS=""+ERROR_MESSAGE=""+FAILED_STEP=""EVENT_TYPE="skill_run"+SOURCE=""while [ $# -gt 0 ]; docase "$1" in- --skill) SKILL="$2"; shift 2 ;;- --duration) DURATION="$2"; shift 2 ;;- --outcome) OUTCOME="$2"; shift 2 ;;- --used-browse) USED_BROWSE="$2"; shift 2 ;;- --session-id) SESSION_ID="$2"; shift 2 ;;- --error-class) ERROR_CLASS="$2"; shift 2 ;;- --event-type) EVENT_TYPE="$2"; shift 2 ;;+ --skill) SKILL="$2"; shift 2 ;;+ --duration) DURATION="$2"; shift 2 ;;+ --outcome) OUTCOME="$2"; shift 2 ;;+ --used-browse) USED_BROWSE="$2"; shift 2 ;;+ --session-id) SESSION_ID="$2"; shift 2 ;;+ --error-class) ERROR_CLASS="$2"; shift 2 ;;+ --error-message) ERROR_MESSAGE="$2"; shift 2 ;;+ --failed-step) FAILED_STEP="$2"; shift 2 ;;+ --event-type) EVENT_TYPE="$2"; shift 2 ;;+ --source) SOURCE="$2"; shift 2 ;;*) shift ;;esacdone+# Source: flag > env > default 'live'+SOURCE="${SOURCE:-${GSTACK_TELEMETRY_SOURCE:-live}}"+# ─── Read telemetry tier ─────────────────────────────────────TIER="$("$CONFIG_CMD" get telemetry 2>/dev/null || true)"TIER="${TIER:-off}"@@ -146,6 +155,20 @@ mkdir -p "$ANALYTICS_DIR"ERR_FIELD="null"[ -n "$ERROR_CLASS" ] && ERR_FIELD="\"$ERROR_CLASS\""+ERR_MSG_FIELD="null"+[ -n "$ERROR_MESSAGE" ] && ERR_MSG_FIELD="\"$(echo "$ERROR_MESSAGE" | head -c 200 | sed 's/"/\\"/g')\""++STEP_FIELD="null"+[ -n "$FAILED_STEP" ] && STEP_FIELD="\"$(echo "$FAILED_STEP" | head -c 30)\""++# Cap unreasonable durations+if [ -n "$DURATION" ] && [ "$DURATION" -gt 86400 ] 2>/dev/null; then+ DURATION="" # null if > 24h+fi+if [ -n "$DURATION" ] && [ "$DURATION" -lt 0 ] 2>/dev/null; then+ DURATION="" # null if negative+fi+DUR_FIELD="null"[ -n "$DURATION" ] && DUR_FIELD="$DURATION"@@ -155,10 +178,11 @@ INSTALL_FIELD="null"BROWSE_BOOL="false"[ "$USED_BROWSE" = "true" ] && BROWSE_BOOL="true"-printf '{"v":1,"ts":"%s","event_type":"%s","skill":"%s","session_id":"%s","gstack_version":"%s","os":"%s","arch":"%s","duration_s":%s,"outcome":"%s","error_class":%s,"used_browse":%s,"sessions":%s,"installation_id":%s,"_repo_slug":"%s","_branch":"%s"}\n' \+printf '{"v":1,"ts":"%s","event_type":"%s","skill":"%s","session_id":"%s","gstack_version":"%s","os":"%s","arch":"%s","duration_s":%s,"outcome":"%s","error_class":%s,"error_message":%s,"failed_step":%s,"used_browse":%s,"sessions":%s,"installation_id":%s,"source":"%s","_repo_slug":"%s","_branch":"%s"}\n' \"$TS" "$EVENT_TYPE" "$SKILL" "$SESSION_ID" "$GSTACK_VERSION" "$OS" "$ARCH" \- "$DUR_FIELD" "$OUTCOME" "$ERR_FIELD" "$BROWSE_BOOL" "${SESSIONS:-1}" \- "$INSTALL_FIELD" "$REPO_SLUG" "$BRANCH" >> "$JSONL_FILE" 2>/dev/null || true+ "$DUR_FIELD" "$OUTCOME" "$ERR_FIELD" "$ERR_MSG_FIELD" "$STEP_FIELD" \+ "$BROWSE_BOOL" "${SESSIONS:-1}" \+ "$INSTALL_FIELD" "$SOURCE" "$REPO_SLUG" "$BRANCH" >> "$JSONL_FILE" 2>/dev/null || true# ─── Trigger sync if tier is not off ─────────────────────────SYNC_CMD="$GSTACK_DIR/bin/gstack-telemetry-sync"diff --git a/browse/SKILL.md b/browse/SKILL.mdindex af3274c32..c52dcaa53 100644--- a/browse/SKILL.md+++ b/browse/SKILL.md@@ -3,7 +3,6 @@ name: browsepreamble-tier: 1version: 1.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /browse.Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact withelements, verify page state, diff before/after actions, take annotated screenshots, checkresponsive layouts, test forms and uploads, handle dialogs, and assert element states.@@ -30,9 +29,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -50,8 +51,11 @@ echo '{"skill":"browse","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -100,6 +104,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## Contributor ModeIf `_CONTRIB` is `true`: you are in **contributor mode**. At the end of each major workflow step, rate your gstack experience 0-10. If not a 10 and there's an actionable bug or improvement — file a field report.diff --git a/canary/SKILL.md b/canary/SKILL.mdindex 26868d55c..af71fb396 100644--- a/canary/SKILL.md+++ b/canary/SKILL.md@@ -3,7 +3,6 @@ name: canarypreamble-tier: 2version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /canary.Post-deploy canary monitoring. Watches the live app for console errors,performance regressions, and page failures using the browse daemon. Takesperiodic screenshots, compares against pre-deploy baselines, and alerts@@ -30,9 +29,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -50,8 +51,11 @@ echo '{"skill":"canary","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -100,6 +104,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/careful/SKILL.md b/careful/SKILL.mdindex 943436534..7513b2937 100644--- a/careful/SKILL.md+++ b/careful/SKILL.md@@ -2,7 +2,6 @@name: carefulversion: 0.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /careful.Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE,force-push, git reset --hard, kubectl delete, and similar destructive operations.User can override each warning. Use when touching prod, debugging live systems,diff --git a/codex/SKILL.md b/codex/SKILL.mdindex 6b3d45c6f..ef6c1a6c5 100644--- a/codex/SKILL.md+++ b/codex/SKILL.md@@ -3,7 +3,6 @@ name: codexpreamble-tier: 3version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /codex.OpenAI Codex CLI wrapper — three modes. Code review: independent diff review viacodex review with pass/fail gate. Challenge: adversarial mode that tries to breakyour code. Consult: ask codex anything with session continuity for follow-ups.@@ -31,9 +30,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -51,8 +52,11 @@ echo '{"skill":"codex","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenafor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -101,6 +105,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/cso/SKILL.md b/cso/SKILL.mdindex 47a7a0432..3f092fd64 100644--- a/cso/SKILL.md+++ b/cso/SKILL.md@@ -3,7 +3,6 @@ name: csopreamble-tier: 2version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /cso.Chief Security Officer mode. Infrastructure-first security audit: secrets archaeology,dependency supply chain, CI/CD pipeline security, LLM/AI security, skill supply chainscanning, plus OWASP Top 10, STRIDE threat modeling, and active verification.@@ -34,9 +33,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -54,8 +55,11 @@ echo '{"skill":"cso","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenamefor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -104,6 +108,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/design-consultation/SKILL.md b/design-consultation/SKILL.mdindex 826f3097b..ce9822681 100644--- a/design-consultation/SKILL.md+++ b/design-consultation/SKILL.md@@ -3,7 +3,6 @@ name: design-consultationpreamble-tier: 3version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /design-consultation.Design consultation: understands your product, researches the landscape, proposes acomplete design system (aesthetic, typography, color, layout, spacing, motion), andgenerates font+color preview pages. Creates DESIGN.md as your project's design source@@ -35,9 +34,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -55,8 +56,11 @@ echo '{"skill":"design-consultation","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","refor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -105,6 +109,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/design-review/SKILL.md b/design-review/SKILL.mdindex 953d9d1a6..132ec819c 100644--- a/design-review/SKILL.md+++ b/design-review/SKILL.md@@ -3,7 +3,6 @@ name: design-reviewpreamble-tier: 4version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /design-review.Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems,AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issuesin source code, committing each fix atomically and re-verifying with before/after@@ -35,9 +34,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -55,8 +56,11 @@ echo '{"skill":"design-review","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -105,6 +109,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/document-release/SKILL.md b/document-release/SKILL.mdindex 9748b2d60..ca787cb5d 100644--- a/document-release/SKILL.md+++ b/document-release/SKILL.md@@ -3,7 +3,6 @@ name: document-releasepreamble-tier: 2version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /document-release.Post-ship documentation update. Reads all project docs, cross-references thediff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped,polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when@@ -32,9 +31,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -52,8 +53,11 @@ echo '{"skill":"document-release","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo"for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -102,6 +106,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/freeze/SKILL.md b/freeze/SKILL.mdindex 6fa53992f..00aaef613 100644--- a/freeze/SKILL.md+++ b/freeze/SKILL.md@@ -2,7 +2,6 @@name: freezeversion: 0.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /freeze.Restrict file edits to a specific directory for the session. Blocks Edit andWrite outside the allowed path. Use when debugging to prevent accidentally"fixing" unrelated code, or when you want to scope changes to one module.diff --git a/gstack-upgrade/SKILL.md b/gstack-upgrade/SKILL.mdindex 7f70a28b5..f97f11fb7 100644--- a/gstack-upgrade/SKILL.md+++ b/gstack-upgrade/SKILL.md@@ -2,7 +2,6 @@name: gstack-upgradeversion: 1.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /gstack-upgrade.Upgrade gstack to the latest version. Detects global vs vendored install,runs the upgrade, and shows what's new. Use when asked to "upgrade gstack","update gstack", or "get latest version".diff --git a/guard/SKILL.md b/guard/SKILL.mdindex 4758ded52..f846d38a1 100644--- a/guard/SKILL.md+++ b/guard/SKILL.md@@ -2,7 +2,6 @@name: guardversion: 0.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /guard.Full safety mode: destructive command warnings + directory-scoped edits.Combines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with/freeze (blocks edits outside a specified directory). Use for maximum safetydiff --git a/investigate/SKILL.md b/investigate/SKILL.mdindex 270c08290..4d1cb933e 100644--- a/investigate/SKILL.md+++ b/investigate/SKILL.md@@ -3,7 +3,6 @@ name: investigatepreamble-tier: 2version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /investigate.Systematic debugging with root cause investigation. Four phases: investigate,analyze, hypothesize, implement. Iron Law: no fixes without root cause.Use when asked to "debug this", "fix this bug", "why is this broken",@@ -46,9 +45,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -66,8 +67,11 @@ echo '{"skill":"investigate","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -116,6 +120,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/land-and-deploy/SKILL.md b/land-and-deploy/SKILL.mdindex 455658fa0..7b3fd8450 100644--- a/land-and-deploy/SKILL.md+++ b/land-and-deploy/SKILL.md@@ -3,7 +3,6 @@ name: land-and-deploypreamble-tier: 4version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /land-and-deploy.Land and deploy workflow. Merges the PR, waits for CI and deploy,verifies production health via canary checks. Takes over after /shipcreates the PR. Use when: "merge", "land", "deploy", "merge and verify",@@ -29,9 +28,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -49,8 +50,11 @@ echo '{"skill":"land-and-deploy","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -99,6 +103,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/office-hours/SKILL.md b/office-hours/SKILL.mdindex 84a973aa8..1ac243453 100644--- a/office-hours/SKILL.md+++ b/office-hours/SKILL.md@@ -3,7 +3,6 @@ name: office-hourspreamble-tier: 3version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /office-hours.YC Office Hours — two modes. Startup mode: six forcing questions that exposedemand reality, status quo, desperate specificity, narrowest wedge, observation,and future-fit. Builder mode: design thinking brainstorming for side projects,@@ -37,9 +36,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -57,8 +58,11 @@ echo '{"skill":"office-hours","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -107,6 +111,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/package.json b/package.jsonindex 0130b3514..70b409094 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "gstack",- "version": "0.11.16.0",+ "version": "0.11.17.0","description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.","license": "MIT","type": "module",diff --git a/plan-ceo-review/SKILL.md b/plan-ceo-review/SKILL.mdindex a274efc08..e03546193 100644--- a/plan-ceo-review/SKILL.md+++ b/plan-ceo-review/SKILL.md@@ -3,7 +3,6 @@ name: plan-ceo-reviewpreamble-tier: 3version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /plan-ceo-review.CEO/founder-mode plan review. Rethink the problem, find the 10-star product,challenge premises, expand scope when it creates a better product. Four modes:SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick@@ -35,9 +34,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -55,8 +56,11 @@ echo '{"skill":"plan-ceo-review","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -105,6 +109,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/plan-design-review/SKILL.md b/plan-design-review/SKILL.mdindex ce5f9e756..83272a1f0 100644--- a/plan-design-review/SKILL.md+++ b/plan-design-review/SKILL.md@@ -3,7 +3,6 @@ name: plan-design-reviewpreamble-tier: 3version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /plan-design-review.Designer's eye plan review — interactive, like CEO and Eng review.Rates each design dimension 0-10, explains what would make it a 10,then fixes the plan to get there. Works in plan mode. For live site@@ -33,9 +32,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -53,8 +54,11 @@ echo '{"skill":"plan-design-review","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -103,6 +107,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/plan-eng-review/SKILL.md b/plan-eng-review/SKILL.mdindex ecf0ae309..dfcc23fd6 100644--- a/plan-eng-review/SKILL.md+++ b/plan-eng-review/SKILL.md@@ -3,7 +3,6 @@ name: plan-eng-reviewpreamble-tier: 3version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /plan-eng-review.Eng manager-mode plan review. Lock in the execution plan — architecture,data flow, diagrams, edge cases, test coverage, performance. Walks throughissues interactively with opinionated recommendations. Use when asked to@@ -34,9 +33,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -54,8 +55,11 @@ echo '{"skill":"plan-eng-review","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -104,6 +108,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/qa-only/SKILL.md b/qa-only/SKILL.mdindex d1dd3ad33..1129d52af 100644--- a/qa-only/SKILL.md+++ b/qa-only/SKILL.md@@ -3,7 +3,6 @@ name: qa-onlypreamble-tier: 4version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /qa-only.Report-only QA testing. Systematically tests a web application and produces astructured report with health score, screenshots, and repro steps — but neverfixes anything. Use when asked to "just report bugs", "qa report only", or@@ -30,9 +29,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -50,8 +51,11 @@ echo '{"skill":"qa-only","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basefor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -100,6 +104,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/qa/SKILL.md b/qa/SKILL.mdindex b63d6fbd0..5df13a70e 100644--- a/qa/SKILL.md+++ b/qa/SKILL.md@@ -3,7 +3,6 @@ name: qapreamble-tier: 4version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /qa.Systematically QA test a web application and fix bugs found. Runs QA testing,then iteratively fixes bugs in source code, committing each fix atomically andre-verifying. Use when asked to "qa", "QA", "test this site", "find bugs",@@ -36,9 +35,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -56,8 +57,11 @@ echo '{"skill":"qa","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenamefor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -106,6 +110,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/retro/SKILL.md b/retro/SKILL.mdindex 141605541..d91324915 100644--- a/retro/SKILL.md+++ b/retro/SKILL.md@@ -3,7 +3,6 @@ name: retropreamble-tier: 2version: 2.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /retro.Weekly engineering retrospective. Analyzes commit history, work patterns,and code quality metrics with persistent history and trend tracking.Team-aware: breaks down per-person contributions with praise and growth areas.@@ -30,9 +29,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -50,8 +51,11 @@ echo '{"skill":"retro","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenafor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -100,6 +104,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/review/SKILL.md b/review/SKILL.mdindex 912e1f3ec..fce8c6ae7 100644--- a/review/SKILL.md+++ b/review/SKILL.md@@ -3,7 +3,6 @@ name: reviewpreamble-tier: 4version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /review.Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trustboundary violations, conditional side effects, and other structural issues. Use whenasked to "review this PR", "code review", "pre-landing review", or "check my diff".@@ -33,9 +32,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -53,8 +54,11 @@ echo '{"skill":"review","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -103,6 +107,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/scripts/gen-skill-docs.ts b/scripts/gen-skill-docs.tsindex 9f1db9bcb..2ab59966f 100644--- a/scripts/gen-skill-docs.ts+++ b/scripts/gen-skill-docs.ts@@ -84,17 +84,6 @@ function processTemplate(tmplPath: string, host: Host = 'claude'): { outputPath:throw new Error(`Unresolved placeholders in ${relTmplPath}: ${remaining.join(', ')}`);}- // Inject auto-trigger guard into skill descriptions.- // Adds explicit trigger criteria so Claude Code doesn't auto-fire skills- // based on semantic similarity. Preserves existing "Use when" and- // "Proactively suggest" text (both are tested in skill-validation.test.ts).- const triggerGuard = ` MANUAL TRIGGER ONLY: invoke only when user types /${skillName}.\n`;- const descMatch = content.match(/^(description:\s*\|?\s*\n)/m);- if (descMatch && descMatch.index !== undefined) {- const insertAt = descMatch.index + descMatch[0].length;- content = content.slice(0, insertAt) + triggerGuard + content.slice(insertAt);- }-// For codex host: transform frontmatter and replace Claude-specific pathsif (host === 'codex') {// Extract hook safety prose BEFORE transforming frontmatter (which strips hooks)diff --git a/scripts/resolvers/preamble.ts b/scripts/resolvers/preamble.tsindex 1fdfed1d8..76573422e 100644--- a/scripts/resolvers/preamble.ts+++ b/scripts/resolvers/preamble.ts@@ -21,9 +21,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(${ctx.paths.binDir}/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(${ctx.paths.binDir}/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(${ctx.paths.binDir}/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=\${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -43,8 +45,11 @@ for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null}function generateUpgradeCheck(ctx: TemplateContext): string {- return `If \`PROACTIVE\` is \`"false"\`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+ return `If \`PROACTIVE\` is \`"false"\`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If output shows \`UPGRADE_AVAILABLE <old> <new>\`: read \`${ctx.paths.skillRoot}/gstack-upgrade/SKILL.md\` and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 options, write snooze state if declined). If \`JUST_UPGRADED <from> <to>\`: tell user "Running gstack v{to} (just updated!)" and continue.`;}@@ -98,6 +103,29 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If \`TEL_PROMPTED\` is \`yes\`, skip this entirely.`;}+function generateProactivePrompt(ctx: TemplateContext): string {+ return `If \`PROACTIVE_PROMPTED\` is \`no\` AND \`TEL_PROMPTED\` is \`yes\`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run \`${ctx.paths.binDir}/gstack-config set proactive true\`+If B: run \`${ctx.paths.binDir}/gstack-config set proactive false\`++Always run:+\`\`\`bash+touch ~/.gstack/.proactive-prompted+\`\`\`++This only happens once. If \`PROACTIVE_PROMPTED\` is \`yes\`, skip this entirely.`;+}+function generateAskUserFormat(_ctx: TemplateContext): string {return `## AskUserQuestion Format@@ -382,6 +410,7 @@ export function generatePreamble(ctx: TemplateContext): string {generateUpgradeCheck(ctx),generateLakeIntro(),generateTelemetryPrompt(ctx),+ generateProactivePrompt(ctx),...(tier >= 2 ? [generateAskUserFormat(ctx), generateCompletenessSection()] : []),...(tier >= 3 ? [generateRepoModeSection(), generateSearchBeforeBuildingSection(ctx)] : []),generateContributorMode(),diff --git a/setup-browser-cookies/SKILL.md b/setup-browser-cookies/SKILL.mdindex 37c944a0d..85815c915 100644--- a/setup-browser-cookies/SKILL.md+++ b/setup-browser-cookies/SKILL.md@@ -3,7 +3,6 @@ name: setup-browser-cookiespreamble-tier: 1version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /setup-browser-cookies.Import cookies from your real Chromium browser into the headless browse session.Opens an interactive picker UI where you select which cookie domains to import.Use before QA testing authenticated pages. Use when asked to "import cookies",@@ -27,9 +26,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -47,8 +48,11 @@ echo '{"skill":"setup-browser-cookies","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -97,6 +101,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## Contributor ModeIf `_CONTRIB` is `true`: you are in **contributor mode**. At the end of each major workflow step, rate your gstack experience 0-10. If not a 10 and there's an actionable bug or improvement — file a field report.diff --git a/setup-deploy/SKILL.md b/setup-deploy/SKILL.mdindex 6d1a35bb7..e5c942787 100644--- a/setup-deploy/SKILL.md+++ b/setup-deploy/SKILL.md@@ -3,7 +3,6 @@ name: setup-deploypreamble-tier: 2version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /setup-deploy.Configure deployment settings for /land-and-deploy. Detects your deployplatform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom),production URL, health check endpoints, and deploy status commands. Writes@@ -33,9 +32,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -53,8 +54,11 @@ echo '{"skill":"setup-deploy","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -103,6 +107,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/ship/SKILL.md b/ship/SKILL.mdindex 16d0e4b37..4d1747ade 100644--- a/ship/SKILL.md+++ b/ship/SKILL.md@@ -3,7 +3,6 @@ name: shippreamble-tier: 4version: 1.0.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /ship.Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. Use when asked to "ship", "deploy", "push to main", "create a PR", or "merge and push".Proactively suggest when the user says code is ready or asks about deploying.allowed-tools:@@ -31,9 +30,11 @@ _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | trfind ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true_CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || true)_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")+_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")echo "BRANCH: $_BRANCH"echo "PROACTIVE: $_PROACTIVE"+echo "PROACTIVE_PROMPTED: $_PROACTIVE_PROMPTED"source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || trueREPO_MODE=${REPO_MODE:-unknown}echo "REPO_MODE: $REPO_MODE"@@ -51,8 +52,11 @@ echo '{"skill":"ship","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basenamfor _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do [ -f "$_PF" ] && ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true; break; done```-If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills — only invoke-them when the user explicitly asks. The user opted out of proactive suggestions.+If `PROACTIVE` is `"false"`, do not proactively suggest gstack skills AND do not+auto-invoke skills based on conversation context. Only run skills the user explicitly+types (e.g., /qa, /ship). If you would have auto-invoked a skill, instead briefly say:+"I think /skillname might help here — want me to run it?" and wait for confirmation.+The user opted out of proactive behavior.If 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 4 options, write snooze state if declined). If `JUST_UPGRADED <from> <to>`: tell user "Running gstack v{to} (just updated!)" and continue.@@ -101,6 +105,27 @@ touch ~/.gstack/.telemetry-promptedThis only happens once. If `TEL_PROMPTED` is `yes`, skip this entirely.+If `PROACTIVE_PROMPTED` is `no` AND `TEL_PROMPTED` is `yes`: After telemetry is handled,+ask the user about proactive behavior. Use AskUserQuestion:++> gstack can proactively figure out when you might need a skill while you work —+> like suggesting /qa when you say "does this work?" or /investigate when you hit+> a bug. We recommend keeping this on — it speeds up every part of your workflow.++Options:+- A) Keep it on (recommended)+- B) Turn it off — I'll type /commands myself++If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`+If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`++Always run:+```bash+touch ~/.gstack/.proactive-prompted+```++This only happens once. If `PROACTIVE_PROMPTED` is `yes`, skip this entirely.+## AskUserQuestion Format**ALWAYS follow this structure for every AskUserQuestion call:**diff --git a/test/helpers/e2e-helpers.ts b/test/helpers/e2e-helpers.tsindex 4615307c2..70564acba 100644--- a/test/helpers/e2e-helpers.ts+++ b/test/helpers/e2e-helpers.ts@@ -207,7 +207,7 @@ export async function finalizeEvalCollector(evalCollector: EvalCollector | null)if (evalsEnabled) {const gstackDir = path.join(os.homedir(), '.gstack');fs.mkdirSync(gstackDir, { recursive: true });- for (const f of ['.completeness-intro-seen', '.telemetry-prompted']) {+ for (const f of ['.completeness-intro-seen', '.telemetry-prompted', '.proactive-prompted']) {const p = path.join(gstackDir, f);if (!fs.existsSync(p)) fs.writeFileSync(p, '');}diff --git a/unfreeze/SKILL.md b/unfreeze/SKILL.mdindex 16eda041e..d4ad37e2d 100644--- a/unfreeze/SKILL.md+++ b/unfreeze/SKILL.md@@ -2,7 +2,6 @@name: unfreezeversion: 0.1.0description: |- MANUAL TRIGGER ONLY: invoke only when user types /unfreeze.Clear the freeze boundary set by /freeze, allowing edits to all directoriesagain. Use when you want to widen edit scope without ending the session.Use when asked to "unfreeze", "unlock edits", "remove freeze", or