Token导航 LogoToken导航TokenDH.com
研究检索权限需确认clawhub未标认证来源可访问clear审计提醒

export-conversation-summary导出对话摘要

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

11,096

周安装

467

GitHub Stars

公开资料未说明

下载量

3,885
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install export-conversation-summary

简介

将当前的 Claude Code 对话导出到具有完整对话上下文和模型操作的 Markdown 文档

SKILL.md

name
export-conversation
description
Export current Claude Code conversation to markdown document with full dialogue context and model operations

Export Conversation to Markdown

Extract the current Claude Code conversation from internal JSONL storage and format it as a readable markdown document showing:

  • All user questions
  • All model responses with associated operations (files read/edited, searches, commands, documentation lookups)
  • Timeline of the conversation flow

When to Use

Use this skill when the user asks to:

  • "Export this conversation" / "Save our chat"
  • "把对话保存成文档" / "保存对话记录"
  • Document a problem-solving session
  • Create a record of what was discussed and changed
  • Generate a conversation transcript

Process

Step 1: Locate Current Conversation File

The conversation is stored in ~/.claude/projects/-Users-{user}-{project_path}/ as a JSONL file.

# Find the most recent conversation file
PROJECT_DIR=$(pwd | sed 's|/||g' | sed 's| |-|g')
CONV_DIR="$HOME/.claude/projects/-Users-$(whoami)-$PROJECT_DIR"
LATEST_CONV=$(ls -t "$CONV_DIR"/*.jsonl 2>/dev/null | head -1)

Step 2: Use Task Agent to Parse and Extract

Launch a general-purpose agent to:

  1. Read the JSONL conversation file
  2. Parse each line as JSON
  3. Extract user messages and assistant messages
  4. For assistant messages, identify tool calls and operations
  5. Format as markdown with clear structure

Task prompt template:

Read and parse the JSONL conversation file at `{CONVERSATION_FILE_PATH}`.

This is a Claude Code conversation log. Each line is a JSON object representing a message.

Extract ALL user messages and assistant messages in chronological order.

For each assistant message, identify:
- Files read (Read tool)
- Files edited/written (Edit/Write tools)
- Searches performed (Grep/Glob tools)
- Commands executed (Bash tool)
- Documentation lookups (Context7, web searches)
- Skills invoked (Skill tool)
- Agents dispatched (Task tool)
- Token usage for this turn (from JSONL metadata)
- Text responses to the user

Write the extracted conversation to `{OUTPUT_PATH}` in this format:

{Conversation Title}

日期: {YYYY-MM-DD}


用户 #{N}

[user message text]

模型 #{N}

操作:

  • 浏览文件: [list of files read]
  • 编辑文件: [list of files edited]
  • 搜索: [searches performed]
  • 执行命令: [bash commands]
  • 查阅资料: [documentation lookups]

回复: [assistant text response]

Token 消耗: [tokens used in this turn]



After all conversation turns, add:

## 对话统计

- **总轮次:** [total user-assistant exchanges]
- **总时长:** [duration from first to last message, e.g., "2小时15分"]
- **Token 消耗总计:** [total tokens across all turns]

## 对话评价

### 用户 Prompt 质量评分: X/10

**评分维度:**
- **问题清晰度** (3分): 问题表述是否明确、无歧义
- **技术细节精准度** (4分): 技术术语使用是否准确、错误描述是否完整
- **上下文提供** (3分): 是否提供足够背景信息(截图、报错、代码片段等)

**优点:**
- [列出用户提问做得好的地方]

**待改进:**
- [列出可以提升的地方,附具体建议]

**典型案例:**
- 好的提问示例: [引用对话中的好例子]
- 可改进示例: [引用对话中可以更精确的例子,并说明如何改进]

---

### 模型表现评分: Y/10

**评分维度:**
- **操作正确性** (2分): 读取/编辑文件、搜索、命令执行是否准确
- **上下文理解** (3分): 是否正确理解用户意图和项目状态
- **解决方案质量** (3分): 提供的方法/代码是否正确、高效、符合最佳实践
- **效率** (2分): 是否走弯路、是否及时查资料、是否避免重复操作

**优点:**
- [列出模型做得好的地方]

**问题:**
- [列出模型的失误,分析根本原因]

**典型案例:**
- 正确操作示例: [引用做得好的回合]
- 失误案例: [引用走弯路的回合,分析为什么]

---

### 改进建议

**给用户:**
1. [具体建议1]
2. [具体建议2]

**给模型:**
1. [具体建议1]
2. [具体建议2]

Important:

  • Skip internal/system messages
  • Preserve original language (Chinese/English)
  • Summarize tool operations (don't dump raw JSON)
  • Include ALL rounds of conversation
  • Create output directory if needed

### Step 3: Confirm Output Location

After the agent completes:
1. Read the first 50 lines of the output file to verify format
2. Report the file path to the user
3. Provide line count and file size

## Example Usage

**User says:** "把这轮对话保存成文档"

**Agent does:**
1. Find conversation file: `~/.claude/projects/-Users-yz-dev3-demo3/ca50434c-b83d-4f88-ac4c-6b4c722cb460.jsonl`
2. Launch agent to parse and extract to `docs/2025-02-27-conversation.md`
3. Report: "对话已保存到 `docs/2025-02-27-conversation.md` (536 行)"

## Output Format

The markdown document should include:

### Header
- Title (derived from conversation topic)
- Date
- Project name/path

### Body
- Numbered dialogue turns
- User questions (verbatim)
- Model responses with:
  - **操作** section listing all tool operations
  - **回复** section with text response to user
- Preserve code blocks, images, formatting

### Footer
- Summary of files involved
- Key technical points discussed
- Total conversation turns
- **Conversation metadata:**
  - Total duration (start to end timestamp)
  - Token usage per turn (if available in JSONL)
  - Total tokens consumed
- **Conversation evaluation:**
  - User prompt quality score (1-10)
    - Clarity and specificity of questions
    - Technical detail accuracy
    - Problem description completeness
  - Model performance score (1-10)
    - Operation correctness (file reads/edits/searches)
    - Context understanding accuracy
    - Solution quality and code correctness
    - Efficiency (avoiding unnecessary detours)
  - Key strengths and weaknesses for both sides
  - Suggestions for improvement

## Tips

- Use `general-purpose` agent type (has access to all tools needed)
- Default output to `docs/{YYYY-MM-DD}-conversation.md`
- Ask user for output path if they specify one
- Handle large JSONL files (read in chunks if needed)
- Preserve markdown formatting in original messages
- Don't include this skill's own invocation in the exported conversation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

89.25%
按下载量换算3,467

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills