Token导航 LogoToken导航TokenDH.com
开发操作浏览器clawhub未标认证来源可访问clear审计通过

export-reply导出回复

Agent Skill

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

总安装

2,645

周安装

107

GitHub Stars

1

下载量

830
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install export-reply

简介

保存代理回复内容到本地多种格式文件中。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

  • 支持 MD、TXT、HTML、PDF、DOCX 等格式输出。
  • 提供逐字记录与摘要两种导出模式供选择。
  • 需确认目标目录可写且格式转换器已正确安装。
  • export-reply 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
export-reply
description
Save any agent reply or full conversation to a local file. Triggers on: 保存 / 导出 / save / export. Supports MD, TXT, HTML, PDF, DOCX. Two modes: verbatim or condensed bilingual summary. Remembers your last export settings for one-tap repeat.
license
MIT
metadata
{"clawdbot":{"emoji":"💾","requires":{"bins":["python3"]},"os":["linux","darwin","win32"],"pip_optional":["fpdf2","python-docx","markdown","weasyprint","pdfkit"]}}

Export Reply 💾

Save any agent reply or full conversation to a local file. Remembers your last export settings — repeat exports take one confirmation.

Highlights

📄 5 formatsMD · TXT · HTML · PDF · DOCX (or all at once)
✂️ 2 content modesVerbatim · Condensed bilingual summary
🧠 Preference memoryRecalls last scope / mode / format / path
🖨️ PDF with no extra setupUses Chrome headless automatically; falls back to fpdf2
🌐 Bilingual summariesChinese + English section headers and prose
Zero required depsMD / TXT / HTML work with python3 only

Usage

Just say 保存 / 导出 / save / export. The agent asks all options in one message and infers what you already stated. Next time: "Use same settings as last time? [yes / change]"

Install

clawhub install export-reply

Optional — better PDF / DOCX support:

pip3 install fpdf2 python-docx markdown

<!-- Agent instructions below. Not rendered on ClawHub. -->

Interaction Flow (MUST follow exactly)

Step 0 — Check saved preferences

Before asking anything, run:

python3 skills/export-reply/scripts/prefs.py --action get

Branch A — Preferences exist (output is JSON, not null): Show a single message:

上次你用的是:{scope} · {mode} · {format} → {path}({saved_at})
直接沿用这个方式,还是重新选?[好/是 = 沿用 | 改/新 = 重选]
  • User confirms (好/是/沿用/yes/ok or empty reply) → skip to Step 2 with saved prefs
  • User wants to change → show Step 1 prompt

Branch B — No preferences (output is null): Go directly to Step 1.

Step 1 — Ask all options in one message

Combine only the unknowns into one single message:

请确认导出选项:
📄 内容范围:仅当前回答 / 完整对话?
✂️ 内容模式:原文保留 / 精简摘要?
📁 格式:MD · TXT · HTML · PDF · DOCX · 全部?
💾 保存路径:默认 ~/Desktop/ 还是自定义?

Infer from trigger phrase — skip already-known fields:

User saysAlready known
"存成PDF到桌面"format=pdf, path=~/Desktop/
"把这个回答存下来"scope=reply
"导出摘要"mode=summary
"save everything as Word"scope=full, format=docx

Step 2 — Execute export

  1. Write content to temp file, then run:
python3 skills/export-reply/scripts/summarize_conversation.py \
  --input /tmp/export_raw.md \
  --output /tmp/export_staged.md \
  --mode {raw|summary} \
  --title "{TITLE}"

python3 skills/export-reply/scripts/export_reply.py \
  --file /tmp/export_staged.md \
  --format {fmt} \
  --output {path} \
  --title "{TITLE}"
  1. On success, save preferences:
python3 skills/export-reply/scripts/prefs.py --action set \
  --scope {full|reply} --mode {raw|summary} \
  --format {fmt} --path {path}
  1. Reply:
✅ 已保存:{full_path}({size} · {format})

Step 3 — Error handling

ErrorAction
PDF: no Chrome + no pip libsOffer HTML fallback; show pip3 install fpdf2
DOCX: no python-docxShow pip3 install python-docx; offer MD fallback
Permission deniedSuggest ~/Documents/ or ask for new path
Content too largeWarn but proceed; suggest summary mode

Content Modes

Raw (原文保留)

Verbatim, role-labeled:

## 用户
{user message}

## 助手
{agent reply}

Pass --mode raw.

Summary (精简摘要)

Bilingual condensed — every header and prose block must be Chinese + English.

  • Remove: greetings, filler, repeated clarifications, narration
  • Keep: core question, conclusions, code, decisions, action items
  • Headers (exact):

- ## 核心问题 / Core Question - ## 结论 / Conclusions - ## 代码 / Code - ## 行动项 / Action Items - ## 关键决策 / Key Decisions

  • Prose: Chinese first, English below
  • Code: keep as-is, add bilingual caption above

Pass --mode summary.


Format Quick Reference

FormatZero-installNotes
mdBest for Obsidian, Git, developers
txtEmail, plain readers
htmlBrowser, shareable
pdf✅*Chrome headless → weasyprint → pdfkit → fpdf2
docxRequires pip3 install python-docx

Common Triggers → Inferred Defaults

User saysscopemodeformat
"保存这个回答"replyrawmd
"把对话存成PDF"fullrawpdf
"导出摘要到桌面"fullsummarymd
"save everything as Word"fullrawdocx
"export all formats"fullrawall

Preferences Script Reference

python3 skills/export-reply/scripts/prefs.py --action get    # read
python3 skills/export-reply/scripts/prefs.py --action set \
  --scope full --mode summary --format pdf --path ~/Desktop/  # save
python3 skills/export-reply/scripts/prefs.py --action clear  # reset

Stored at ~/.export_reply_prefs.json.


Related Skills

  • self-improving — Persist agent learnings permanently
  • ontology — Store structured knowledge from conversations

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

89.18%
按下载量换算740

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills