Skip to main content

plan-tune

Enhances user interaction by tuning question sensitivity and developer profiles for improved engagement in gstack.

Install this skill

or
0/100

Security score

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

Categories Tested

Security Issues

medium line 40

Template literal with variable interpolation in command context

SourceSKILL.md
40```bash
medium line 273

Template literal with variable interpolation in command context

SourceSKILL.md
273```bash
medium line 369

Template literal with variable interpolation in command context

SourceSKILL.md
369```bash
medium line 403

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

SourceSKILL.md
531```bash
medium line 950

Template literal with variable interpolation in command context

SourceSKILL.md
950console.log(\`\${r.count}x \${r.id} (\${r.skill}) followed:\${r.followed} overridden:\${r.overridden}\`);
medium line 951

Template literal with variable interpolation in command context

SourceSKILL.md
951console.log(\` \${r.summary}\`);
low line 41

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
43mkdir -p ~/.gstack/sessions
low line 44

Access to hidden dotfiles in home directory

SourceSKILL.md
44touch ~/.gstack/sessions/"$PPID"
low line 45

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
71mkdir -p ~/.gstack/analytics
low line 73

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
153rm -f ~/.gstack/.writing-style-prompt-pending
low line 154

Access to hidden dotfiles in home directory

SourceSKILL.md
154touch ~/.gstack/.writing-style-prompted
low line 163

Access to hidden dotfiles in home directory

SourceSKILL.md
163touch ~/.gstack/.completeness-intro-seen
medium line 176

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
191touch ~/.gstack/.telemetry-prompted
medium line 204

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
209touch ~/.gstack/.proactive-prompted
medium line 250

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
691~/.claude/skills/gstack/bin/gstack-question-log '{"skill":"plan-tune","question_id":"<id>","question_summary":"<short>","category":"<approval|clarification|routing|cherry-pick|feedback-loop>","door_ty
low line 700

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
730`~/.gstack/analytics/`, matching preamble analytics writes.
low line 737

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
7907. **"Turn it off" / "disable"** → `~/.claude/skills/gstack/bin/gstack-config set question_tuning false`
medium line 791

Access to hidden dotfiles in home directory

SourceSKILL.md
7918. **"Turn it on" / "enable"** → `~/.claude/skills/gstack/bin/gstack-config set question_tuning true`
low line 810

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
830~/.claude/skills/gstack/bin/gstack-config set question_tuning true
medium line 863

Access to hidden dotfiles in home directory

SourceSKILL.md
863`~/.gstack/developer-profile.json` under `declared.{dimension}`:
low line 867

Access to hidden dotfiles in home directory

SourceSKILL.md
867~/.claude/skills/gstack/bin/gstack-developer-profile --read >/dev/null
low line 869

Access to hidden dotfiles in home directory

SourceSKILL.md
869eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
low line 897

Access to hidden dotfiles in home directory

SourceSKILL.md
897~/.claude/skills/gstack/bin/gstack-developer-profile --profile
low line 930

Access to hidden dotfiles in home directory

SourceSKILL.md
930eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
low line 931

Access to hidden dotfiles in home directory

SourceSKILL.md
931eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
low line 990

Access to hidden dotfiles in home directory

SourceSKILL.md
990~/.claude/skills/gstack/bin/gstack-question-preference --write '{"question_id":"<id>","preference":"<never-ask|always-ask|ask-only-for-one-way>","source":"plan-tune","free_text":"<original phrase>"}'
low line 1025

Access to hidden dotfiles in home directory

SourceSKILL.md
1025eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
low line 1046

Access to hidden dotfiles in home directory

SourceSKILL.md
1046~/.claude/skills/gstack/bin/gstack-developer-profile --gap
low line 1065

Access to hidden dotfiles in home directory

SourceSKILL.md
1065~/.claude/skills/gstack/bin/gstack-question-preference --stats
low line 1066

Access to hidden dotfiles in home directory

SourceSKILL.md
1066eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
low line 1067

Access to hidden dotfiles in home directory

SourceSKILL.md
1067eval "$(~/.claude/skills/gstack/bin/gstack-paths)"
low line 1070

Access to hidden dotfiles in home directory

SourceSKILL.md
1070~/.claude/skills/gstack/bin/gstack-developer-profile --profile | bun -e "
low line 340

Unicode escape sequences

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

External URL reference

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

External URL reference

SourceSKILL.md
162open https://garryslist.org/posts/boil-the-ocean
Scanned on May 12, 2026
View Security Dashboard
Installation guide →