← 返回列表
全部 Skill›DevOps›agent-transcript

agent-transcript

作者 @openclaw · 语言 en
Add a redacted agent transcript section to GitHub PR or issue bodies during OpenClaw agent-created PR/issue workflows.
DevOpsGit 工作流需海外环境执行命令访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
395,109
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Agent Transcript

Use only when the user explicitly requests a transcript or preview. Omit by

default; never offer one or ask whether to include one during ordinary PR work.

A preview request alone does not authorize publication.

Prepare Locally

The helper reads local Codex, Claude, Pi, and OpenClaw logs; no network is used

for discovery/rendering. Never upload raw logs.

.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 scans the newest 400 matching logs by default; --max-files N widens

local discovery. Treat matches as candidates, not proof of scope.

Automatically trim the rendered Markdown **before showing, previewing, or

inserting it**. Keep only task-relevant user prompts, visible decisions, terse

tool summaries, and proof outcomes. Use the PR/issue goal, branch, and changed

files to remove unrelated earlier/later turns. Drop system/developer prompts,

reasoning, raw tool output, environment data, local paths, credentials,

browser/session/cookie details, and auth URLs. Inspect the trimmed result;

helper redaction is not sufficient disclosure review. Unresolved sensitive

content means omit the transcript.

Preview And Insert

Show the trimmed Markdown for a requested preview. If HTML is requested, build

the local preview from that trimmed content. The helper's preview, html, and

append-body modes render the session again; they do not consume an edited

Markdown file and can reintroduce removed turns. Do not use their untrimmed

output as the approved artifact.

Insert only the inspected, scoped text when the user's authorization specifically

covers publishing that transcript to the named PR/issue. Generating or previewing

a transcript does not authorize publication, even when ordinary PR creation or

editing is already approved. If that scope is missing, show the trimmed result

and obtain publication authorization before insertion. Existing explicit

authorization covering transcript publication needs no repeat confirmation.

Keep the collapsed <details> section and replace existing transcript markers

instead of duplicating them. No safe match means continue the PR work without

transcript or placeholder; explain the omission when it prevents the explicitly

requested transcript. Do not promote transcript inclusion as a review priority

requirement.

评论
Oopenclaw
openclaw
openclaw/openclaw
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@openclaw
所属大类DevOps / Git 工作流
国内可用性需海外环境
最近源活动—
风险提示执行命令、访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。