mirror of https://github.com/garrytan/gstack.git
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) <noreply@anthropic.com>
This commit is contained in:
parent
da624aa554
commit
d5753b16f1
|
|
@ -656,9 +656,15 @@ If the user also needs admin access (JS execution, cookies, storage):
|
||||||
$B pair-agent --admin --client TARGET_HOST
|
$B pair-agent --admin --client TARGET_HOST
|
||||||
```
|
```
|
||||||
|
|
||||||
Show the output to the user:
|
**CRITICAL: You MUST output the full instruction block to the user.** The command
|
||||||
"Copy everything between the ═══ lines and paste it into your other agent's chat.
|
prints everything between ═══ lines. Copy the ENTIRE block verbatim into your
|
||||||
The agent will follow the instructions to connect. The setup key expires in 5 minutes."
|
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:
|
**If ngrok is installed but NOT authed:** Walk the user through authentication:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,9 +143,15 @@ If the user also needs admin access (JS execution, cookies, storage):
|
||||||
$B pair-agent --admin --client TARGET_HOST
|
$B pair-agent --admin --client TARGET_HOST
|
||||||
```
|
```
|
||||||
|
|
||||||
Show the output to the user:
|
**CRITICAL: You MUST output the full instruction block to the user.** The command
|
||||||
"Copy everything between the ═══ lines and paste it into your other agent's chat.
|
prints everything between ═══ lines. Copy the ENTIRE block verbatim into your
|
||||||
The agent will follow the instructions to connect. The setup key expires in 5 minutes."
|
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:
|
**If ngrok is installed but NOT authed:** Walk the user through authentication:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue