Community编程与开发github.com

Agent Transcript (代理会话记录)

根据用户请求,安全地查找、编辑、预览和插入GitHub PR/issue的AI代理会话记录。

Agent Transcript (代理会话记录) 是什么?

Agent Transcript 技能专为在 Claude Code、Cursor、Codex 等 AI 编程代理环境中使用而设计,其主要功能是安全地处理与 GitHub PR 或 Issue 相关的 AI 代理对话记录。该技能的核心价值在于:它不会自动或主动提供会话记录,仅在用户明确请求时才会介入。它通过读取本地日志文件(支持 Codex、Claude、Pi 和 OpenClaw),在不使用网络的情况下发现和渲染会话记录。一个关键的安全特性是,在展示给用户之前,该技能会自动对渲染后的 Markdown 进行修剪,移除敏感信息(如系统提示、凭据、本地路径、浏览器数据等),只保留任务相关的用户提示和决策。技能还提供了预览和插入功能,但严格遵循权限控制:生成或预览记录不等于授权发布,只有在用户明确授权将记录发布到指定的 PR/Issue 时,才会执行插入操作。这确保了在处理代理交互记录时的最高安全性和用户控制权。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/agent-transcript

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Agent Transcript (代理会话记录) 是做什么的?

仅当用户明确请求时使用。默认情况下不要提供,也不要在普通的 PR 工作中询问是否要包含。仅预览请求本身并不授权发布。

本地准备

该辅助工具读取本地的 Codex、Claude、Pi 和 OpenClaw 日志;发现和渲染过程不使用网络。切勿上传原始日志。

.agents/skills/agent-transcript/scripts/agent-transcript find \
  --query "$PR_TITLE $BRANCH_OR_PR_URL" --cwd "$PWD" --since-days 14
.agents/skills/agent-transcript/scripts/agent-transcript render \
  --session "$SESSION_JSONL" --out /tmp/agent-transcript.md

find 默认扫描最新的 400 条匹配日志;--max-files N 可扩大本地搜索范围。将匹配结果视为候选对象,而非范围证明。

在展示、预览或插入之前,自动修剪渲染后的 Markdown。仅保留与任务相关的用户提示、可见决策、简洁的工具摘要以及结果证明。根据 PR/Issue 目标、分支和更改的文件,移除不相关的前/后轮次。丢弃系统/开发者提示、推理过程、原始工具输出、环境数据、本地路径、凭据、浏览器/会话/Cookie 详情以及认证 URL。检查修剪后的结果;辅助工具的红利不足以构成充分的披露审查。若存在未解决的敏感内容,则忽略该记录。

预览和插入

展示修剪后的 Markdown 以供请求的预览。如果请求的是 HTML,则根据该修剪内容构建本地预览。辅助工具的 preview、html 和 append-body 模式会再次渲染会话;它们不会使用编辑过的 Markdown 文件,并且可能会重新引入已移除的轮次。请勿将其未修剪的输出用作已批准的工件。

仅当用户的授权明确涵盖将该记录发布到指定的 PR/Issue 时,才插入经过检查的、范围合适的文本。生成或预览记录并不授权发布,即使普通的 PR 创建或编辑已获批准。如果缺少该范围,则展示修剪后的结果,并在插入前获得发布授权。已存在的明确授权(涵盖记录发布)无需重复确认。保留折叠的 <details> 部分,并替换现有记录标记,而非重复它们。若无安全匹配,则继续进行 PR 工作,不包含记录或占位符;当这阻碍了明确请求的记录时,解释省略的原因。不要将包含记录视为审查优先级要求。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

claw-score

Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or committed inventory reports.

相关技能