跳到正文
cccskills
OpenClaw 官方免费在 GitHub 公开

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(4)

  • SKILL.md4.1 KB
  • package.json23 B
  • scripts/agent-transcript33.4 KB
  • scripts/agent-transcript.test.mjs17.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

For a session hosted at *.openclaw.ai, use native session sharing when sharing is requested; export a separate transcript only when the user explicitly asks for that copy. Identify hosting from the current session URL, not a repository URL or deployment/test target. Do not offer separate exports.

Prepare Locally

Default file discovery/rendering reads local Codex, Claude, Pi, and OpenClaw logs without network calls. Never upload raw logs.

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

In downstream repositories that sync under .agents/skills, replace skills/agent-transcript with .agents/skills/agent-transcript.

find scans the newest 400 matching logs by default; --max-files N widens local discovery. Treat matches as candidates, not proof of scope. find and html count up to 20,000 JSONL files across all roots, including old files, and fail when another exceeds the cap. --max-discovery-files N accepts a positive integer override; prefer narrowing roots before raising it.

File rendering reads at most 8 MiB per session from its head and tail and parses at most 12,000 lines. --max-read-bytes N changes the byte limit. Preserve the visible partial-transcript notice and sourceTruncated stats through trimming, preview, and insertion; omitted source must never be described as complete. These are file-read limits, not limits on the separate app-server rendering mode. Short filesystem reads are retried. Unexpected EOF stops rendering or discovery instead of treating incomplete input as a complete session.

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.

Validate Helper Changes

node --test skills/agent-transcript/scripts/agent-transcript.test.mjs

For a downstream .agents/skills copy, run that test command from .agents/ so the test's relative helper path resolves. Use synthetic logs and isolated discovery roots; never discover real user logs just to validate this skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

autoreview

OpenClaw 官方免费

Structured code review when explicitly requested, preferring OpenAI/Codex before Claude.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

beam

OpenClaw 官方免费

Publish a redacted local coding session to an authenticated read-only Beam catalog.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

behavior-validator

OpenClaw 官方免费

Source-blind user behavior validation against a prewritten contract for apps, CLIs, APIs, and generated artifacts.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

crabbox

OpenClaw 官方免费

Crabbox/Testbox remote proof: portable provider routing, untrusted isolation, Linux/macOS/Windows/WSL2, live E2E, diagnostics, cleanup.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

handoff

OpenClaw 官方免费

Clipboard-ready handoff prompt for another agent to investigate or continue a task.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

readme-standard

OpenClaw 官方免费

House README standard: structure, badge row, tone, per-archetype templates, and verification gates for steipete/openclaw repos.

中文简介正在准备中。当前显示原文说明。

openclaw/agent-skills11082026年10月21日 更新

查看 openclaw 的全部技能

报告此技能的问题