Agent Skills › openclaw/openclaw › agent-transcript

agent-transcript

GitHub

本地处理 Agent 会话日志,进行脱敏、裁剪和预览,用于 GitHub PR 或 Issue 的安全插入。

.agents/skills/agent-transcript/SKILL.md openclaw/openclaw

Trigger Scenarios

用户明确要求生成或预览 Agent 会话记录 需要安全地将审查后的对话内容插入到 PR 或 Issue 中

Install

npx skills add openclaw/openclaw --skill agent-transcript -g -y
More Options

Non-standard path

npx skills add https://github.com/openclaw/openclaw/tree/main/.agents/skills/agent-transcript -g -y

Use without installing

npx skills use openclaw/openclaw@agent-transcript

指定 Agent (Claude Code)

npx skills add openclaw/openclaw --skill agent-transcript -a claude-code -g -y

安装 repo 全部 skill

npx skills add openclaw/openclaw --all -g -y

预览 repo 内 skill

npx skills add openclaw/openclaw --list

SKILL.md

Frontmatter
{
    "name": "agent-transcript",
    "description": "Requested GitHub PR\/issue agent transcripts: redact, trim, preview, and insert safely."
}

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.

Version History

  • 8e18591 Current 2026-09-23 04:20

    简化维护者技能配置并同步共享工具链,移除发布工作流中的技能断言语义检查。

  • 3374458 2026-08-20 13:28

Same Skill Collection

.agents/skills/auto-qa/SKILL.md
.agents/skills/autoreview/SKILL.md
.agents/skills/channel-message-flows/SKILL.md
.agents/skills/claw-score/SKILL.md
.agents/skills/clawdtributor/SKILL.md
.agents/skills/clawsweeper/SKILL.md
.agents/skills/control-ui-e2e/SKILL.md
.agents/skills/crabbox/SKILL.md
.agents/skills/deslop/SKILL.md
.agents/skills/discord-clawd/SKILL.md
.agents/skills/discord-e2e/SKILL.md
.agents/skills/discord-user-post/SKILL.md
.agents/skills/discrawl/SKILL.md
.agents/skills/gitcrawl/SKILL.md
.agents/skills/graincrawl/SKILL.md
.agents/skills/notcrawl/SKILL.md
.agents/skills/openclaw-changelog-update/SKILL.md
.agents/skills/openclaw-ci-limits/SKILL.md
.agents/skills/openclaw-debugging/SKILL.md
.agents/skills/openclaw-docker-e2e-authoring/SKILL.md
.agents/skills/openclaw-ghsa-maintainer/SKILL.md
.agents/skills/openclaw-live-updater/SKILL.md
.agents/skills/openclaw-parallels-smoke/SKILL.md
.agents/skills/openclaw-pr-maintainer/SKILL.md
.agents/skills/openclaw-qa-testing/SKILL.md
.agents/skills/openclaw-refactor-docs/SKILL.md
.agents/skills/openclaw-release-validation/SKILL.md
.agents/skills/openclaw-repair-sweep/SKILL.md
.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md
.agents/skills/openclaw-test-heap-leaks/SKILL.md
.agents/skills/openclaw-test-performance/SKILL.md
.agents/skills/openclaw-testing/SKILL.md
.agents/skills/openclaw-update/SKILL.md
.agents/skills/parallels-discord-roundtrip/SKILL.md
.agents/skills/proof-video/SKILL.md
.agents/skills/prototype-openclaw-tui/SKILL.md
.agents/skills/release-openclaw-announcement/SKILL.md
.agents/skills/release-openclaw-ci/SKILL.md
.agents/skills/release-openclaw-mac/SKILL.md
.agents/skills/release-openclaw-maintainer/SKILL.md
.agents/skills/release-openclaw-nightly/SKILL.md
.agents/skills/release-openclaw-plugin-testing/SKILL.md
.agents/skills/security-triage/SKILL.md
.agents/skills/slack-e2e/SKILL.md
.agents/skills/slacrawl/SKILL.md
.agents/skills/tag-duplicate-prs-issues/SKILL.md
.agents/skills/technical-documentation/SKILL.md
.agents/skills/telegram-crabbox-e2e-proof/SKILL.md
.agents/skills/telegram-e2e-userbot/SKILL.md

Metadata

Files
0
Version
8e18591
Hash
eb367e81
Indexed
2026-08-20 13:28

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-25 15:33
浙ICP备14020137号-1