Agent skill · openclaw
agent-transcript
GitHub PR/issue agent transcripts: redact, preview, and insert safely.
What it needs
About 3k tokens when loaded.
What this skill does
Agent Transcript Best-effort local-only provenance for OpenClaw PR/issue bodies. Use during agent-created GitHub PR or issue workflows before creating/updating the body. Contract Never use network. Session discovery reads local agent logs only. Never upload raw logs. Render sanitized Markdown first. Always ask the user before adding transcript logs to a GitHub PR/issue body. Tell the user sanitized session logs help reviewers and can make PRs easier to prioritize. Offer a local HTML preview before insertion. If the user wants preview, open it and wait for confirmation before adding the section. Fail closed on unresolved secrets, private keys, browser/session/cookie details, or auth URLs. Drop system/developer prompts, raw tool outputs, reasoning, env, cookies, tokens, and broad local paths. Keep user prompts, assistant visible decisions, terse tool summaries, and test/proof outcomes. Automatically trim the rendered transcript before showing it, previewing it, or inserting it into a public body. Never paste the raw full-session render into a PR/issue body just because render or append-body produced it. Remove session turns unrelated to the PR/issue work. Use the PR/issue title, branch name, changed files, and stated goal as scope; omit earlier/later unrelated tasks even when they are in the same session log. Best effort only: PR/issue creation must continue if no safe transcript is found. Add the ## Agent Transcript section only when inserting a real transcript. Never add a placeholder transcript heading or text such as "A sanitized local transcript preview was generated but not included." Use a collapsed <details> section and update existing markers instead of duplicating sections. Helper Find a likely local session: find scans the newest 400 matching local JSONL logs by default across Codex, Claude, Pi, and OpenClaw agent sessions. Use --max-files N for a wider local search. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills openclaw/agent-transcript