Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

retrospectretrospect 分析

Agent Skill

retrospect 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,517

周安装

107

GitHub Stars

公开资料未说明

下载量

882
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:retrospect(retrospect 分析)
来源仓库:https://github.com/zbc0315/retrospect
安装命令:
openclaw skills install retrospect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install retrospect

简介

对话历史复盘分析工具,为用户提供结构化反馈与改进建议。

  • 适用于任务执行回顾、错误归因分析与交互质量评估场景。
  • 自动识别关键节点、失败原因与优化方向,输出可操作结论。
  • 安装命令:openclaw skills install retrospect,需在对话中触发“复盘”指令。
  • 注意上下文完整性,避免仅基于片段做出片面判断或责任归因。

SKILL.md

name
retrospect
description
Session retrospective that analyzes conversation history to produce structured feedback for both user and LLM. Use this skill whenever the user says '复盘', 'retrospect', '批评与自我批评', 'session review', 'review this session', or asks to review/reflect on how a conversation went. Also trigger when the user wants feedback on their prompting skills, wants the LLM to self-critique its mistakes, or asks for a post-mortem of the current or a past session.
version
1.0.0
metadata
openclaw
requires
bins

Retrospect — Session Retrospective: Critique & Self-Critique

Perform a structured retrospective on all conversation sessions in the current project. This produces two deliverables:

  1. FEEDBACK_TO_HUMAN.md — Critique of the user's prompting behavior
  2. FEEDBACK_TO_LLM.md — Self-critique of the LLM's performance

Step 1: Locate and parse all session transcripts

Run the bundled parser, passing the current working directory. It will automatically find all session JSONL files for this project, merge them in chronological order, and output a unified transcript.

node ${CLAUDE_SKILL_DIR}/scripts/parse_session.js --project-dir "$(pwd)" > /tmp/session_transcript.md

The parser:

  • Derives the Claude Code project path from the working directory (e.g., /Users/tom/myproject~/.claude/projects/-Users-tom-myproject/)
  • Finds all .jsonl files in that directory (excluding subagent logs)
  • Sorts them by modification time (oldest first)
  • Merges them into one transcript with session boundaries marked
  • Auto-detects JSONL format (Claude Code, Codex, OpenCode)

If the transcript is very long, the parser automatically summarizes older sessions (keeping only user messages and key exchanges) while preserving full detail for the most recent sessions.

Step 2: Spawn the analysis subagent

Launch a single subagent (via the Agent tool, or equivalent in your platform) with the full transcript content. The subagent reads the transcript and writes both feedback files to the project root directory.

Pass the subagent this prompt structure (fill in the transcript and project root):


You are a session retrospective analyst. You have been given conversation transcripts from all sessions in a project between a user and an LLM. Your job is to produce two analysis documents.

Read the transcript carefully, then write both files to: <project-root>

The transcript is below:

<transcript> {content of /tmp/session_transcript.md} </transcript>

File 1: FEEDBACK_TO_HUMAN.md

Analyze the user's behavior across all sessions. Structure the document as:

Overall Assessment

A 2-3 sentence summary of how effectively the user communicated with the LLM across this project.

Round-by-Round Analysis

For each significant exchange (skip trivial ones like "ok" or tool confirmations), analyze:

  • What the user asked for
  • Whether the request was clear and specific enough
  • If the LLM did something the user didn't want — was it because the user's prompt was ambiguous, or because the LLM misunderstood a clear instruction?

When the user expresses frustration or rejection of LLM output, perform a responsibility analysis:

  • Was the user's previous instruction genuinely unclear or misleading? → The user shares responsibility
  • Was the user's instruction clear but the LLM made its own wrong assumption? → LLM's responsibility
  • Be honest and fair — sometimes the user IS at fault, sometimes the LLM is

Prompting Patterns

Identify recurring patterns across sessions (good and bad):

  • Does the user give enough context upfront, or drip-feed requirements?
  • Does the user specify constraints, or leave too much to LLM judgment?
  • Does the user correct effectively, or repeat the same vague correction?
  • Are there patterns that recur across multiple sessions?

Suggestions

Concrete, actionable advice for how the user could prompt more effectively in future sessions. Focus on what would save the most time and frustration.

File 2: FEEDBACK_TO_LLM.md

Analyze the LLM's behavior across all sessions. Structure the document as:

Overall Assessment

A 2-3 sentence summary of the LLM's performance across this project.

Mistakes & Errors

For each significant mistake the LLM made:

  • What went wrong
  • Root cause (wrong assumption, outdated knowledge, misread instruction, etc.)
  • How it was eventually resolved
  • What the correct approach should have been from the start

Pay special attention to:

  • Incorrect API/library usage that required multiple attempts to fix
  • Cases where the LLM confidently did the wrong thing
  • Unnecessary detours or wasted effort
  • Mistakes that recur across sessions (the LLM didn't learn from previous failures)

Counter-Intuitive Learnings

Information encountered in these sessions that a general-purpose LLM would NOT know or would likely get wrong. Examples:

  • Project-specific configurations that break standard assumptions
  • Library quirks, undocumented behavior, or version-specific API differences
  • Environment-specific gotchas

For each item, explain: what the intuitive assumption would be, what the reality is, and why this matters.

Self-Improvement Notes

What should the LLM do differently next time when facing similar tasks?


Important guidelines for the subagent:

  • Write in the same language the user primarily used in the conversations (Chinese if they spoke Chinese, English if English, etc.)
  • Be honest and balanced — the goal is genuine improvement, not flattery or self-flagellation
  • Use specific quotes or references from the transcript to support your analysis
  • When analyzing multiple sessions, note cross-session patterns (e.g., "the same mistake appeared in Session 3 and Session 7")
  • If the sessions were short or uneventful, say so — don't manufacture insights

Step 3: Report completion

After the subagent finishes, tell the user where the files are and give a one-line summary of each file's key finding.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.96%
按下载量换算873

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install retrospect 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills