From d5753b16f18b5075097171e37f6d6402830e861d Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sun, 5 Apr 2026 00:03:03 -0700 Subject: [PATCH] fix: pair-agent skill must output the instruction block verbatim Added CRITICAL instruction: the agent MUST output the full instruction block so the user can copy it. Previously the agent could summarize over it, leaving the user with nothing to paste. Co-Authored-By: Claude Opus 4.6 (1M context) --- pair-agent/SKILL.md | 12 +++++++++--- pair-agent/SKILL.md.tmpl | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pair-agent/SKILL.md b/pair-agent/SKILL.md index 6f7105b2..c2b67a85 100644 --- a/pair-agent/SKILL.md +++ b/pair-agent/SKILL.md @@ -656,9 +656,15 @@ If the user also needs admin access (JS execution, cookies, storage): $B pair-agent --admin --client TARGET_HOST ``` -Show the output to the user: -"Copy everything between the ═══ lines and paste it into your other agent's chat. -The agent will follow the instructions to connect. The setup key expires in 5 minutes." +**CRITICAL: You MUST output the full instruction block to the user.** The command +prints everything between ═══ lines. Copy the ENTIRE block verbatim into your +response so the user can copy-paste it into their other agent. Do NOT summarize it, +do NOT skip it, do NOT just say "here's the output." The user needs to SEE the block +to copy it. Output it inside a markdown code block so it's easy to select and copy. + +Then tell the user: +"Copy the block above and paste it into your other agent's chat. The setup key +expires in 5 minutes." **If ngrok is installed but NOT authed:** Walk the user through authentication: diff --git a/pair-agent/SKILL.md.tmpl b/pair-agent/SKILL.md.tmpl index a8969fc0..b7a92aa2 100644 --- a/pair-agent/SKILL.md.tmpl +++ b/pair-agent/SKILL.md.tmpl @@ -143,9 +143,15 @@ If the user also needs admin access (JS execution, cookies, storage): $B pair-agent --admin --client TARGET_HOST ``` -Show the output to the user: -"Copy everything between the ═══ lines and paste it into your other agent's chat. -The agent will follow the instructions to connect. The setup key expires in 5 minutes." +**CRITICAL: You MUST output the full instruction block to the user.** The command +prints everything between ═══ lines. Copy the ENTIRE block verbatim into your +response so the user can copy-paste it into their other agent. Do NOT summarize it, +do NOT skip it, do NOT just say "here's the output." The user needs to SEE the block +to copy it. Output it inside a markdown code block so it's easy to select and copy. + +Then tell the user: +"Copy the block above and paste it into your other agent's chat. The setup key +expires in 5 minutes." **If ngrok is installed but NOT authed:** Walk the user through authentication: