agent-transcript

Extract and redact sensitive information from agent session logs for GitHub PR/issue bodies.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/Khang5687/agent-scripts --skill agent-transcript-khang5687
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-transcript
Source: https://github.com/Khang5687/agent-scripts/tree/main/skills/agent-transcript
Command: npx skills add https://github.com/Khang5687/agent-scripts --skill agent-transcript-khang5687

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the safe insertion of redacted agent transcripts into GitHub PR/issue bodies, streamlining the review process and ensuring confidentiality.

Core Features & Use Cases

  • Redacted Transcripts: Automatically redacts sensitive information from session logs.
  • Preview & Insert: Offers a local HTML preview before insertion.
  • Workflow Integration: Designed for use in agent-created GitHub PR or issue workflows.
  • Use Case: When preparing a PR/issue body, use this Skill to find relevant logs, preview, and insert a sanitized transcript directly into the body.

Quick Start

To insert a transcript from the current session into a PR body, run: skills/agent-transcript/scripts/agent-transcript append-body --body /tmp/pr-body.md --session "$SESSION_JSONL" --out /tmp/pr-body.with-transcript.md

Frequently Asked Questions about agent-transcript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I redact sensitive information from GitHub PR session logs?

You can preview redacted session logs locally by running the script with your session JSONL file, which generates an HTML preview to review before inserting the sanitized transcript into a GitHub PR or issue body.

How do I insert an agent transcript into a GitHub PR body?

Run the append-body script by passing your PR body markdown file and the session JSONL path, which outputs a new markdown file with the sanitized agent transcript appended for GitHub.

Can I use agent session logs directly in GitHub issue creation workflows?

Yes, you can use agent session logs in GitHub issue creation workflows by processing the session JSONL file through the script, which redacts sensitive data and formats the log for insertion into the issue body.

Does the transcript redaction script work with local JSONL session files?

Yes, the transcript redaction script processes local JSONL session files, automatically extracting and sanitizing the agent logs to ensure confidential information is removed before GitHub PR or issue insertion.

What is the best way to sanitize agent transcripts for GitHub PR review?

The best way to sanitize agent transcripts for GitHub PR review is to use a script that automatically redacts sensitive session log data and provides a local HTML preview before finalizing the PR body insertion.