Pair Agent — Workflow
Overview
How the pair-agent skill works, step by step.
Source Workflow
Claude skill workflow.
Step-by-step Workflow
pair-agent — Workflow
Auto-generated from
SKILL.md. The skill itself is the source of truth; this is a human-readable map of what it does and how it runs.
What it does & when to use
Pair a remote AI agent with your browser. One command generates a setup key and prints instructions the other agent can follow to connect. Works with OpenClaw, Hermes, Codex, Cursor, or any agent that can make HTTP requests. The remote agent gets its own tab with scoped access (read+write by default, admin on request). Use when asked to "pair agent", "connect agent", "share browser", "remote browser", "let another agent use my browser", or "give browser access". (gstack) Voice triggers (speech-to-text aliases): "pair agent", "connect agent", "share my browser", "remote browser access".
Triggers
pair agentconnect agentshare browserremote browserlet another agent use my browsergive browser accessshare my browserremote browser access
How it works
Workflow outline (sections of SKILL.md):
- Preamble (run first)
- Plan Mode Safe Operations
- Skill Invocation During Plan Mode
- Skill routing
- AskUserQuestion Format
- Artifacts Sync (skill start)
- Model-Specific Behavioral Patch (claude)
- Voice
- Context Recovery
- Writing Style (skip entirely if EXPLAIN_LEVEL: terse appears in the preamble echo OR the user's current message explicitly requests terse / no-explanations output)
- Completeness Principle — Boil the Lake
- Confusion Protocol
- Continuous Checkpoint Mode
- Context Health (soft directive)
- Question Tuning (skip entirely if QUESTION_TUNING: false)
- Repo Ownership — See Something, Say Something
- Search Before Building
- Completion Status Protocol
- Operational Self-Improvement
- Telemetry (run last)
- Plan Status Footer
- How it works
- SETUP (run this check BEFORE any browse command)
- Step 1: Check prerequisites
- Step 2: Ask what they want
- Step 3: Local or remote?
- Step 4: Execute pairing
- Step 5: Verify connection
- What the remote agent can do
- Troubleshooting
- Platform-specific notes
- Revoking access
Components
Single-file skill — all instructions live in SKILL.md.
Invoke
- Slash:
/pair-agent - Or a natural-language request matching the triggers above.
Source: SKILL.md in this directory.
Execution Logic
The skill executes when its trigger fires (slash command, natural-language match, or direct invocation). It reads its references, applies its rules, and produces the documented outputs.
Edge Cases
See the source skill's references/ and scripts/ folders for edge-case handling.
Failure Handling
A skill failure surfaces as a tool error or a partial output; never a silent skip. Re-run with --verbose (where applicable) for diagnostics.
Integration Notes
- Claude — invoked via the
Skilltool withskill: "pair-agent". - Codex — referenced from
AGENTS.mdif mirrored. - Antigravity — referenced from the workspace agent rules if mirrored.
- HQ Project — listed on the landing page Skills section + post-login sidebar.
- MD Project (md.sgnk.ai) — file rendered from
Skills/Pair Agent/workflow.md. - Obsidian — file rendered with frontmatter + tags.
Usage Examples
Invoke via slash command or natural language matching the skill description.
Source: ~/.claude/skills/pair-agent/WORKFLOW.md