plan-tune
Enhances user interaction by tuning question sensitivity and developer profiles for improved engagement in gstack.
Install this skill
Security score
The plan-tune skill was audited on Jun 10, 2026 and we found 115 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 43 | ```bash |
Template literal with variable interpolation in command context
| 293 | ```bash |
Template literal with variable interpolation in command context
| 428 | ```bash |
Template literal with variable interpolation in command context
| 462 | echo "before relying on \`gbrain search\` for code questions in this worktree." |
Template literal with variable interpolation in command context
| 590 | ```bash |
Template literal with variable interpolation in command context
| 1026 | console.log(\`\${r.count}x \${r.id} (\${r.skill}) followed:\${r.followed} overridden:\${r.overridden}\`); |
Template literal with variable interpolation in command context
| 1027 | console.log(\` \${r.summary}\`); |
Access to hidden dotfiles in home directory
| 44 | _UPD=$(~/.claude/skills/gstack/bin/gstack-update-check 2>/dev/null || .claude/skills/gstack/bin/gstack-update-check 2>/dev/null || true) |
Access to hidden dotfiles in home directory
| 46 | mkdir -p ~/.gstack/sessions |
Access to hidden dotfiles in home directory
| 47 | touch ~/.gstack/sessions/"$PPID" |
Access to hidden dotfiles in home directory
| 48 | _SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ') |
Access to hidden dotfiles in home directory
| 49 | find ~/.gstack/sessions -mmin +120 -type f -exec rm {} + 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 50 | _PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true") |
Access to hidden dotfiles in home directory
| 51 | _PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no") |
Access to hidden dotfiles in home directory
| 54 | _SKILL_PREFIX=$(~/.claude/skills/gstack/bin/gstack-config get skill_prefix 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 58 | source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || true |
Access to hidden dotfiles in home directory
| 61 | _SESSION_KIND=$(~/.claude/skills/gstack/bin/gstack-session-kind 2>/dev/null || echo "interactive") |
Access to hidden dotfiles in home directory
| 64 | _LAKE_SEEN=$([ -f ~/.gstack/.completeness-intro-seen ] && echo "yes" || echo "no") |
Access to hidden dotfiles in home directory
| 66 | _TEL=$(~/.claude/skills/gstack/bin/gstack-config get telemetry 2>/dev/null || true) |
Access to hidden dotfiles in home directory
| 67 | _TEL_PROMPTED=$([ -f ~/.gstack/.telemetry-prompted ] && echo "yes" || echo "no") |
Access to hidden dotfiles in home directory
| 72 | _EXPLAIN_LEVEL=$(~/.claude/skills/gstack/bin/gstack-config get explain_level 2>/dev/null || echo "default") |
Access to hidden dotfiles in home directory
| 75 | _QUESTION_TUNING=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 77 | mkdir -p ~/.gstack/analytics |
Access to hidden dotfiles in home directory
| 79 | echo '{"skill":"plan-tune","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(_repo=$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null | tr -cd 'a-zA-Z0-9._-'); echo "${_repo:-unkno |
Access to hidden dotfiles in home directory
| 81 | for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do |
Access to hidden dotfiles in home directory
| 83 | if [ "$_TEL" != "off" ] && [ -x "~/.claude/skills/gstack/bin/gstack-telemetry-log" ]; then |
Access to hidden dotfiles in home directory
| 84 | ~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 90 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 96 | ~/.claude/skills/gstack/bin/gstack-learnings-search --limit 3 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 101 | ~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"plan-tune","event":"started","branch":"'"$_BRANCH"'","session":"'"$_SESSION_ID"'"}' 2>/dev/null & |
Access to hidden dotfiles in home directory
| 106 | _ROUTING_DECLINED=$(~/.claude/skills/gstack/bin/gstack-config get routing_declined 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 117 | _CHECKPOINT_MODE=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_mode 2>/dev/null || echo "explicit") |
Access to hidden dotfiles in home directory
| 118 | _CHECKPOINT_PUSH=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_push 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 139 | In 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. |
Access to hidden dotfiles in home directory
| 147 | If `SKILL_PREFIX` is `"true"`, suggest/invoke `/gstack-*` names. Disk paths stay `~/.claude/skills/gstack/[skill-name]/SKILL.md`. |
Access to hidden dotfiles in home directory
| 149 | 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 |
Access to hidden dotfiles in home directory
| 154 | - 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 |
Access to hidden dotfiles in home directory
| 155 | - Missing `~/.claude/skills/gstack/.feature-prompted-model-overlay`: inform "Model overlays are active. MODEL_OVERLAY shows the patch." Always touch marker. |
Access to hidden dotfiles in home directory
| 168 | If B: run `~/.claude/skills/gstack/bin/gstack-config set explain_level terse`. |
Access to hidden dotfiles in home directory
| 172 | rm -f ~/.gstack/.writing-style-prompt-pending |
Access to hidden dotfiles in home directory
| 173 | touch ~/.gstack/.writing-style-prompted |
Access to hidden dotfiles in home directory
| 182 | touch ~/.gstack/.completeness-intro-seen |
Access to hidden dotfiles in home directory
| 195 | If A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry community` |
Access to hidden dotfiles in home directory
| 205 | If B→A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry anonymous` |
Access to hidden dotfiles in home directory
| 206 | If B→B: run `~/.claude/skills/gstack/bin/gstack-config set telemetry off` |
Access to hidden dotfiles in home directory
| 210 | touch ~/.gstack/.telemetry-prompted |
Access to hidden dotfiles in home directory
| 223 | If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true` |
Access to hidden dotfiles in home directory
| 224 | If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false` |
Access to hidden dotfiles in home directory
| 228 | touch ~/.gstack/.proactive-prompted |
Access to hidden dotfiles in home directory
| 270 | If 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`. |
Access to hidden dotfiles in home directory
| 274 | If `VENDORED_GSTACK` is `yes`, warn once via AskUserQuestion unless `~/.gstack/.vendoring-warned-$SLUG` exists: |
Access to hidden dotfiles in home directory
| 286 | 3. Run `~/.claude/skills/gstack/bin/gstack-team-init required` (or `optional`) |
Access to hidden dotfiles in home directory
| 288 | 5. Tell the user: "Done. Each developer now runs: `cd ~/.claude/skills/gstack && ./setup --team`" |
Access to hidden dotfiles in home directory
| 294 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 295 | touch ~/.gstack/.vendoring-warned-${SLUG:-unknown} |
Access to hidden dotfiles in home directory
| 437 | _BRAIN_SYNC_BIN="~/.claude/skills/gstack/bin/gstack-brain-sync" |
Access to hidden dotfiles in home directory
| 438 | _BRAIN_CONFIG_BIN="~/.claude/skills/gstack/bin/gstack-config" |
Access to hidden dotfiles in home directory
| 542 | If A/B and `~/.gstack/.git` is missing, ask whether to run `gstack-artifacts-init`. Do not block the skill. |
Access to hidden dotfiles in home directory
| 547 | "~/.claude/skills/gstack/bin/gstack-brain-sync" --discover-new 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 548 | "~/.claude/skills/gstack/bin/gstack-brain-sync" --once 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 591 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" |
Access to hidden dotfiles in home directory
| 608 | ~/.claude/skills/gstack/bin/gstack-decision-search --recent 5 2>/dev/null |
Access to hidden dotfiles in home directory
| 617 | **Cross-session decisions.** If `ACTIVE DECISIONS` are listed, treat them as prior settled calls with their rationale — do not silently re-litigate them; if you're about to reverse one, say so explici |
Access to hidden dotfiles in home directory
| 630 | Curated jargon list lives at `~/.claude/skills/gstack/scripts/jargon-list.json` (80+ terms). On the first jargon term you encounter this session, Read that file once; treat the `terms` array as the ca |
Access to hidden dotfiles in home directory
| 676 | Before 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 |
Access to hidden dotfiles in home directory
| 684 | ~/.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 |
Access to hidden dotfiles in home directory
| 693 | ~/.claude/skills/gstack/bin/gstack-question-preference --write '{"question_id":"<id>","preference":"<pref>","source":"inline-user","free_text":"<optional original words>"}' |
Access to hidden dotfiles in home directory
| 713 | ~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"SKILL_NAME","type":"operational","key":"SHORT_KEY","insight":"DESCRIPTION","confidence":N,"source":"observed"}' |
Access to hidden dotfiles in home directory
| 723 | `~/.gstack/analytics/`, matching preamble analytics writes. |
Access to hidden dotfiles in home directory
| 730 | rm -f ~/.gstack/analytics/.pending-"$_SESSION_ID" 2>/dev/null || true |
Access to hidden dotfiles in home directory
| 732 | ~/.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 |
Access to hidden dotfiles in home directory
| 735 | echo '{"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- |
Access to hidden dotfiles in home directory
| 738 | if [ "$_TEL" != "off" ] && [ -x ~/.claude/skills/gstack/bin/gstack-telemetry-log ]; then |
Access to hidden dotfiles in home directory
| 739 | ~/.claude/skills/gstack/bin/gstack-telemetry-log \ |
Access to hidden dotfiles in home directory
| 776 | `~/.gstack/.question-tuning-prompted` is missing → run `Consent + opt-in` |
Access to hidden dotfiles in home directory
| 779 | `~/.gstack/developer-profile.json`'s `declared` object is empty AND |
Access to hidden dotfiles in home directory
| 780 | `~/.gstack/.declared-setup-prompted` is missing → run `5-Q setup` below. |
Access to hidden dotfiles in home directory
| 783 | `~/.gstack/projects/<slug>/distillation-proposals.json` exists AND has |
Access to hidden dotfiles in home directory
| 801 | 10. **"Turn it off" / "disable"** → `~/.claude/skills/gstack/bin/gstack-config set question_tuning false` |
Access to hidden dotfiles in home directory
| 802 | 11. **"Turn it on" / "enable"** → `~/.claude/skills/gstack/bin/gstack-config set question_tuning true && touch ~/.gstack/.question-tuning-prompted` |
Access to hidden dotfiles in home directory
| 817 | `~/.gstack/.question-tuning-prompted` is missing. The user has never been |
Access to hidden dotfiles in home directory
| 833 | _QT=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 834 | _CONTRIB=$(~/.claude/skills/gstack/bin/gstack-config get gstack_contributor 2>/dev/null || echo "false") |
Access to hidden dotfiles in home directory
| 848 | > Logs stay local (`~/.gstack/projects/<slug>/question-log.jsonl`). |
Access to hidden dotfiles in home directory
| 861 | > `~/.gstack/projects/<slug>/question-log.jsonl` — nothing leaves your |
Access to hidden dotfiles in home directory
| 872 | touch ~/.gstack/.question-tuning-prompted |
Access to hidden dotfiles in home directory
| 877 | ~/.claude/skills/gstack/bin/gstack-config set question_tuning true |
Access to hidden dotfiles in home directory
| 889 | `declared` is empty AND `~/.gstack/.declared-setup-prompted` is missing. |
Access to hidden dotfiles in home directory
| 925 | `~/.gstack/developer-profile.json` under `declared.{dimension}`: |
Access to hidden dotfiles in home directory
| 929 | ~/.claude/skills/gstack/bin/gstack-developer-profile --read >/dev/null |
Access to hidden dotfiles in home directory
| 931 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 951 | touch ~/.gstack/.declared-setup-prompted |
Access to hidden dotfiles in home directory
| 967 | ~/.claude/skills/gstack/bin/gstack-developer-profile --profile |
Access to hidden dotfiles in home directory
| 1006 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" |
Access to hidden dotfiles in home directory
| 1007 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 1066 | ~/.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>"}' |
Access to hidden dotfiles in home directory
| 1101 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 1122 | ~/.claude/skills/gstack/bin/gstack-developer-profile --gap |
Access to hidden dotfiles in home directory
| 1145 | ~/.claude/skills/gstack/bin/gstack-question-preference --stats |
Access to hidden dotfiles in home directory
| 1146 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" |
Access to hidden dotfiles in home directory
| 1147 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 1171 | ~/.claude/skills/gstack/bin/gstack-developer-profile --profile | bun -e " |
Access to hidden dotfiles in home directory
| 1180 | ~/.claude/skills/gstack/bin/gstack-distill-free-text --status |
Access to hidden dotfiles in home directory
| 1198 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" |
Access to hidden dotfiles in home directory
| 1199 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 1230 | eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" |
Access to hidden dotfiles in home directory
| 1231 | eval "$(~/.claude/skills/gstack/bin/gstack-paths)" |
Access to hidden dotfiles in home directory
| 1273 | ~/.claude/skills/gstack/bin/gstack-distill-apply --list |
Access to hidden dotfiles in home directory
| 1291 | ~/.claude/skills/gstack/bin/gstack-distill-apply --proposal N --gbrain-published true|false |
Access to hidden dotfiles in home directory
| 1296 | ~/.claude/skills/gstack/bin/gstack-distill-apply --proposal N |
Access to hidden dotfiles in home directory
| 1303 | ~/.claude/skills/gstack/bin/gstack-distill-apply --proposal N |
Access to hidden dotfiles in home directory
| 1332 | ~/.claude/skills/gstack/bin/gstack-distill-free-text |
Access to hidden dotfiles in home directory
| 1345 | ~/.claude/skills/gstack/bin/gstack-distill-free-text --background |
External URL reference
| 178 | If `LAKE_INTRO` is `no`: say "gstack follows the **Boil the Ocean** principle — do the complete thing when AI makes marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Off |
External URL reference
| 181 | open https://garryslist.org/posts/boil-the-ocean |