agent-transcript
GitHub PR/issue agent transcripts: redact, preview, and insert safely.
Skill by Khang5687
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/khang5687-agent-transcript
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-transcript
What's inside
- Skill name
agent-transcript- Description
- GitHub PR/issue agent transcripts: redact, preview, and insert safely.
- License
- MIT
- Instructions
- 89 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- agent-transcript · scripts/
SKILL.md (first lines)
# 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 ```bash skills/agent-transcript/scripts/agent-transcript --help ``` Find a likely local session: ```bash skills/agent-transcript/scripts/agent-transcript find \ --query "$PR_TITLE $BRANCH_OR_PR_URL" \ --cwd "$PWD" \ --since-days 14 ``` `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. In a downstream repo that syncs shared skills under `.agents/skills`, replace `skills/agent-transcript` with `.agents/skills/agent-transcript`. Render a PR/issue body section: ```bash skills/agent-transcript/scripts/agent-transcript render \ --session "$SESSION_JSONL" \ --out /tmp/agent-transcript.md ``` Preview one candidate session locally: ```bash skills/agent-transcript/scripts/agent-transcript preview \ --session "$SESSION_JSONL" \ --out /tmp/agent-transcript-preview.html open /tmp/agent-transcript-preview.html ``` Append/update a body file before `gh pr create --body-file` or connector PR creation: ```bash skills/agent-transcript/scripts/agent-transcript append-body \ --body /tmp/pr-body.md \ --session "$SESSION_JSONL" \ --out /tmp/pr-body.with-transcript.md ``` ## PR/Issue Workflow 1. Draft the normal PR/issue body first. 2. Run `find` with title, branch, PR URL/number if known, and cwd. 3. If a high-confidence session is found, ask: `Include a redacted agent transcript? It helps reviewers and can make the PR easier to prioritize. I can open a local preview first.` 4. If the user wants preview, run `preview`, open the HTML with `open`, and wait for confirmation. 5. Render or append to a temp body, then automatically trim the `## Agent Transcript` section before showing it to the user or inserting it publicly. Keep only turns that explain this PR/issue's goal, implementation choices, files, tests, proof, blockers, and final outcome. 6. Inspect the trimmed transcript text. If it still includes unrelated earlier/later work, trim again before proceeding. 7. If the user approves, use the enriched trimmed body file for creation/update. 8. If no safe session is found, say nothing and continue without transcript. If the user declines, continue without transcript and do not add any transcript placeholder section. ## Review Artifacts For manual audits across many PR/session candidates, create a local HTML preview from a local JSON file. This is for maintainers only and is not part of the PR/issue workflow: ```bash skills/agent-transcript/scripts/agent-transcript html \ --prs /tmp/recent-prs.json \ --out /tmp/agent-transcript-preview.html ```
From Khang5687/agent-scripts, MIT.
More from Khang5687/agent-scripts
- 0.570score
delegate-to-other-agents
Khang5687
Route implementation work to flat-rate executors (Codex CLI, Grok CLI) or Claude subagents; Claude specs, reviews, verifies.
SkillAFreshness: AClaude Code +9 - 0.567score
clone-website
Khang5687
Rebuild existing web pages as working local code, matching their real content, assets, responsive layout, and interactions.
SkillAFreshness: AClaude Code +9 - 0.567score
agent-broker
Khang5687
Use for Netlify, Vercel, Supabase or Apify work (deploys, logs, SQL, migrations, actors), API tokens or .env secrets, Docker Compose secrets on a Linux…
SkillAFreshness: AClaude Code +9 - 0.520score
bible-history-verifier-sift
Khang5687
Activate automatically for queries about historical context, biblical events, claim verification, SIFT analysis or bible history.
SkillBFreshness: BClaude Code +9 - 0.469score
delegation-status
Khang5687
Show who's been doing the delegated work: executor/subagent/kept-in-Claude breakdown, accounts, outcomes, recent tasks.
SkillCFreshness: CClaude Code +9 - 0.469score
browser-use
Khang5687
Existing Chrome automation: Chrome plugin first, mcporter fallback.
SkillCFreshness: CClaude Code +9 - 0.469score
github-cache-hygiene
Khang5687
GitHub quota/cache hygiene: gh, ghx, xcache, gitcrawl, mirrors, limits.
SkillCFreshness: CClaude Code +9 - 0.469score
codex-first
Khang5687
Route implementation work to Codex CLI; Claude specs, reviews, verifies.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 14, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Khang5687/agent-scripts
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Khang5687
- 0.570score
delegate-to-other-agents
Khang5687
Route implementation work to flat-rate executors (Codex CLI, Grok CLI) or Claude subagents; Claude specs, reviews, verifies.
SkillAFreshness: AClaude Code +9 - 0.567score
clone-website
Khang5687
Rebuild existing web pages as working local code, matching their real content, assets, responsive layout, and interactions.
SkillAFreshness: AClaude Code +9 - 0.567score
agent-broker
Khang5687
Use for Netlify, Vercel, Supabase or Apify work (deploys, logs, SQL, migrations, actors), API tokens or .env secrets, Docker Compose secrets on a Linux…
SkillAFreshness: AClaude Code +9 - 0.520score
bible-history-verifier-sift
Khang5687
Activate automatically for queries about historical context, biblical events, claim verification, SIFT analysis or bible history.
SkillBFreshness: BClaude Code +9 - 0.469score
delegation-status
Khang5687
Show who's been doing the delegated work: executor/subagent/kept-in-Claude breakdown, accounts, outcomes, recent tasks.
SkillCFreshness: CClaude Code +9 - 0.469score
browser-use
Khang5687
Existing Chrome automation: Chrome plugin first, mcporter fallback.
SkillCFreshness: CClaude Code +9
Cite this page
agent-transcript skill. Agent Mart. https://agentmart.dev/skills/khang5687-agent-transcript (last updated 2026-10-24)