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 May 12, 2026 and we found 103 security issues across 5 threat categories, including 18 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 27

Template literal with variable interpolation in command context

SourceSKILL.md
27```bash
medium line 260

Template literal with variable interpolation in command context

SourceSKILL.md
260```bash
medium line 356

Template literal with variable interpolation in command context

SourceSKILL.md
356```bash
medium line 390

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

SourceSKILL.md
518```bash
medium line 811

Curl to non-GitHub URL

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

SourceSKILL.md
898First, detect ngrok status:
medium line 901

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

SourceSKILL.md
941ngrok config add-authtoken THEIR_TOKEN
high line 946

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

SourceSKILL.md
9532. Install ngrok:
high line 954

Ngrok tunnel reference

SourceSKILL.md
954- macOS: `brew install ngrok`
high line 955

Ngrok tunnel reference

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

Ngrok tunnel reference

SourceSKILL.md
9563. Auth it: `ngrok config add-authtoken YOUR_TOKEN`
high line 957

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Ngrok tunnel reference

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
30mkdir -p ~/.gstack/sessions
low line 31

Access to hidden dotfiles in home directory

SourceSKILL.md
31touch ~/.gstack/sessions/"$PPID"
low line 32

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
58mkdir -p ~/.gstack/analytics
low line 60

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
65~/.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 71

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
107In 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 115

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
117If 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 122

Access to hidden dotfiles in home directory

SourceSKILL.md
122- 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 123

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
140rm -f ~/.gstack/.writing-style-prompt-pending
low line 141

Access to hidden dotfiles in home directory

SourceSKILL.md
141touch ~/.gstack/.writing-style-prompted
low line 150

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
196touch ~/.gstack/.proactive-prompted
medium line 237

Access to hidden dotfiles in home directory

SourceSKILL.md
237If 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 241

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
674Before 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 678

Access to hidden dotfiles in home directory

SourceSKILL.md
678~/.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 687

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
707jq -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 725

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
735`~/.gstack/analytics/`, matching preamble analytics writes.
low line 742

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
744~/.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 747

Access to hidden dotfiles in home directory

SourceSKILL.md
747echo '{"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 750

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
751~/.claude/skills/gstack/bin/gstack-telemetry-log \
medium line 761

Access to hidden dotfiles in home directory

SourceSKILL.md
761In 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 1009

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
1022`~/.cursor/skills/gstack/browse-remote.json`.
low line 327

Unicode escape sequences

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

External URL reference

SourceSKILL.md
146If `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 149

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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