Skip to main content

pair-agent

Facilitates remote AI agent pairing with browsers, enabling scoped access and seamless collaboration through HTTP requests.

Install this skill

or
0/100

Security score

The pair-agent skill was audited on Jun 10, 2026 and we found 105 security issues across 4 threat categories, including 18 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 32

Template literal with variable interpolation in command context

SourceSKILL.md
32```bash
medium line 282

Template literal with variable interpolation in command context

SourceSKILL.md
282```bash
medium line 417

Template literal with variable interpolation in command context

SourceSKILL.md
417```bash
medium line 451

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

SourceSKILL.md
579```bash
medium line 804

Curl to non-GitHub URL

SourceSKILL.md
804curl -fsSL "https://bun.sh/install" -o "$tmpfile"
high line 778

Ngrok tunnel reference

SourceSKILL.md
778**Remote:** If the other agent is on a different machine, you need an ngrok tunnel.
high line 861

Ngrok tunnel reference

SourceSKILL.md
861> **Different machine** generates a setup key and instruction block. If ngrok is
high line 891

Ngrok tunnel reference

SourceSKILL.md
891First, detect ngrok status:
medium line 894

Ngrok tunnel reference

SourceSKILL.md
894which ngrok 2>/dev/null && echo "NGROK_INSTALLED" || echo "NGROK_NOT_INSTALLED"
medium line 895

Ngrok tunnel reference

SourceSKILL.md
895ngrok config check 2>/dev/null && echo "NGROK_AUTHED" || echo "NGROK_NOT_AUTHED"
high line 898

Ngrok tunnel reference

SourceSKILL.md
898**If ngrok is installed and authed:** Just run the command. The CLI will auto-detect
high line 899

Ngrok tunnel reference

SourceSKILL.md
899ngrok, start the tunnel, and print the instruction block with the tunnel URL:
high line 921

Ngrok tunnel reference

SourceSKILL.md
921**If ngrok is installed but NOT authed:** Walk the user through authentication:
high line 924

Ngrok tunnel reference

SourceSKILL.md
924"ngrok is installed but not logged in. Let's fix that:
high line 926

Ngrok tunnel reference

SourceSKILL.md
9261. Go to https://dashboard.ngrok.com/get-started/your-authtoken
medium line 934

Ngrok tunnel reference

SourceSKILL.md
934ngrok config add-authtoken THEIR_TOKEN
high line 939

Ngrok tunnel reference

SourceSKILL.md
939**If ngrok is NOT installed:** Walk the user through installation:
high line 942

Ngrok tunnel reference

SourceSKILL.md
942"To connect a remote agent, we need ngrok (a tunnel that exposes your local
high line 945

Ngrok tunnel reference

SourceSKILL.md
9451. Go to https://ngrok.com and sign up (free tier works)
high line 946

Ngrok tunnel reference

SourceSKILL.md
9462. Install ngrok:
high line 947

Ngrok tunnel reference

SourceSKILL.md
947- macOS: `brew install ngrok`
high line 948

Ngrok tunnel reference

SourceSKILL.md
948- Linux: `snap install ngrok` or download from ngrok.com/download
high line 949

Ngrok tunnel reference

SourceSKILL.md
9493. Auth it: `ngrok config add-authtoken YOUR_TOKEN`
high line 950

Ngrok tunnel reference

SourceSKILL.md
950(get your token from https://dashboard.ngrok.com/get-started/your-authtoken)
high line 953

Ngrok tunnel reference

SourceSKILL.md
953STOP here. Wait for the user to install ngrok and re-invoke.
high line 993

Ngrok tunnel reference

SourceSKILL.md
993**Agent can't reach the server** — If remote, check the ngrok tunnel is running
low line 33

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
35mkdir -p ~/.gstack/sessions
low line 36

Access to hidden dotfiles in home directory

SourceSKILL.md
36touch ~/.gstack/sessions/"$PPID"
low line 37

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
50_SESSION_KIND=$(~/.claude/skills/gstack/bin/gstack-session-kind 2>/dev/null || echo "interactive")
low line 53

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
66mkdir -p ~/.gstack/analytics
low line 68

Access to hidden dotfiles in home directory

SourceSKILL.md
68echo '{"skill":"pair-agent","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:-unkn
low line 70

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
73~/.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 79

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
128In 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 136

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
138If 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 143

Access to hidden dotfiles in home directory

SourceSKILL.md
143- 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 144

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
161rm -f ~/.gstack/.writing-style-prompt-pending
low line 162

Access to hidden dotfiles in home directory

SourceSKILL.md
162touch ~/.gstack/.writing-style-prompted
low line 171

Access to hidden dotfiles in home directory

SourceSKILL.md
171touch ~/.gstack/.completeness-intro-seen
medium line 184

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
199touch ~/.gstack/.telemetry-prompted
medium line 212

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
217touch ~/.gstack/.proactive-prompted
medium line 259

Access to hidden dotfiles in home directory

SourceSKILL.md
259If 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 263

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
597~/.claude/skills/gstack/bin/gstack-decision-search --recent 5 2>/dev/null
medium line 606

Access to hidden dotfiles in home directory

SourceSKILL.md
606**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
medium line 619

Access to hidden dotfiles in home directory

SourceSKILL.md
619Curated 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
medium line 665

Access to hidden dotfiles in home directory

SourceSKILL.md
665Before 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 673

Access to hidden dotfiles in home directory

SourceSKILL.md
673~/.claude/skills/gstack/bin/gstack-question-log '{"skill":"pair-agent","question_id":"<id>","question_summary":"<short>","category":"<approval|clarification|routing|cherry-pick|feedback-loop>","door_t
low line 682

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
697Before building anything unfamiliar, **search first.** See `~/.claude/skills/gstack/ETHOS.md`.
low line 702

Access to hidden dotfiles in home directory

SourceSKILL.md
702jq -n --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" --arg skill "SKILL_NAME" --arg branch "$(git branch --show-current 2>/dev/null)" --arg insight "ONE_LINE_SUMMARY" '{ts:$ts,skill:$skill,branch:$branch,i
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 1002

Access to hidden dotfiles in home directory

SourceSKILL.md
1002credentials are written to `~/.openclaw/skills/gstack/browse-remote.json`.
medium line 1009

Access to hidden dotfiles in home directory

SourceSKILL.md
1009to `~/.codex/skills/gstack/browse-remote.json`.
medium line 1015

Access to hidden dotfiles in home directory

SourceSKILL.md
1015`~/.cursor/skills/gstack/browse-remote.json`.
low line 167

External URL reference

SourceSKILL.md
167If `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
low line 170

External URL reference

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

External URL reference

SourceSKILL.md
804curl -fsSL "https://bun.sh/install" -o "$tmpfile"
low line 926

External URL reference

SourceSKILL.md
9261. Go to https://dashboard.ngrok.com/get-started/your-authtoken
low line 945

External URL reference

SourceSKILL.md
9451. Go to https://ngrok.com and sign up (free tier works)
low line 950

External URL reference

SourceSKILL.md
950(get your token from https://dashboard.ngrok.com/get-started/your-authtoken)
Scanned on Jun 10, 2026
View Security Dashboard
Installation guide →