agent-transcript
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
OpenClaw session relay: prompts/posts via local/remote acpx over SSH.
$ npx -y skills add steipete/agent-scripts --skill openclaw-relay --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/openclaw-relayContext preview
The summary Claude sees to decide when to auto-load this skill.
OpenClaw session relay: prompts/posts via local/remote acpx over SSH.
name: openclaw-relay description: "OpenClaw session relay: prompts/posts via local/remote acpx over SSH."
Use this when the job is:
One skill. Two transports:
1. `local` 2. `ssh`
Default to `local` for direct telephone-game work from the current OpenClaw checkout. Use `ssh` when the target agent/session lives on another machine.
For Peter's setup, Molty normally lives on the Mac Studio gateway, reached as `steipete@steipete-macstudio.local`; avoid the `mac-studio` SSH alias for one-shot relay work because that alias auto-attaches tmux.
Script path: `scripts/openclaw_relay.py`
Target aliases file: `config/session_aliases.json`
Choose `local` when:
Choose `ssh` when:
The script avoids baked-in personal paths. Override with env or flags when needed.
Useful env vars:
Health check:
python3 scripts/openclaw_relay.py doctor
List known target aliases:
python3 scripts/openclaw_relay.py targets
Resolve a target alias:
python3 scripts/openclaw_relay.py resolve --target maintainers
Ask a target session a question privately:
python3 scripts/openclaw_relay.py ask \ --target maintainers \ --message "Summarize the current vibe in this channel."
Force-send text to the resolved target:
python3 scripts/openclaw_relay.py force-send \ --target maintainers \ --text "Deploy is done."
For multiline posts, use `--text-file <path>` or `--text-file -` instead of shell-quoting the message.
Force-send media when the user explicitly wants a channel post:
python3 scripts/openclaw_relay.py force-send \ --transport ssh \ --host steipete@steipete-macstudio.local \ --target maintainers \ --text "Demo video." \ --media /tmp/demo.mp4
Use the persistent control session:
python3 scripts/openclaw_relay.py ensure python3 scripts/openclaw_relay.py send --message "Reply with exactly OK." python3 scripts/openclaw_relay.py show
Remote host example:
python3 scripts/openclaw_relay.py doctor --transport ssh --host steipete@steipete-macstudio.local python3 scripts/openclaw_relay.py send \ --transport ssh \ --host steipete@steipete-macstudio.local \ --message "Reply with exactly OK."
Queue work and poll the same control session:
python3 scripts/openclaw_relay.py start --message "Work on X and reply when done." python3 scripts/openclaw_relay.py wait --after-seq <last-seq> python3 scripts/openclaw_relay.py show
`config/session_aliases.json` ships with placeholders. Replace them with real values for your setup.
Example shape:
{
"main": "agent:<agentId>:main",
"maintainers": "agent:<agentId>:discord:channel:<channelId>"
}Use these rules when choosing a command:
If relay work fails:
1. Run `doctor`. 2. Run `status`. 3. Run `show`. 4. If the control session is wedged, run `cancel`, then `ensure`, then retry.
If route discovery is uncertain:
1. Resolve the target first. 2. Prefer alias or exact session key. 3. Use a tiny probe ask before sending the real payload.
Return the actual assistant text or delivery result, not shell noise.
For relay tasks, report:
Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.
Repo: steipete/agent-scripts
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
Control the user's existing signed-in Chrome: callable Codex Chrome plugin first, then…
ClawSweeper status: URLs, workflow health, active workers, ops snapshot.
ClickClack ops: chat app, Cloudflare Workers deploy, DNS/docs/app, container rollout.
Cloudflare Registrar: domain availability, prices, registration via mcporter.