360 Secure SkillHub
360 安全技能中心

agentscope-conversation-export

该技能通过本地 Python 脚本读取 AgentScope 对话或会话日志,规范化后导出为 JSON、Markdown、CSV 或 HTML,保留时间戳、角色和工具调用信息;脚本在本地解析输入并输出文件,声明不进行外部网络调用。

trend0522
trend0522
热度 7.63
最近更新 2026-10-03 10:16:28
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agentscope-conversation-export
Metadata
name
agentscope-conversation-export
description
Export AgentScope conversation histories to JSON, Markdown, CSV, or HTML. Use this when the user wants to share, review, archive, or analyze multi-turn agent dialogues outside the runtime.
version
0.1.0
metadata
{"openclaw":{"requires":{"env":[],"bins":["python3"]},"primaryEnv":"","envVars":[],"emoji":"📤","homepage":"https://github.com/agentscope-ai/agentscope"}}

AgentScope Conversation Export

This skill converts AgentScope conversation logs into shareable formats. It supports:

  • JSON export for programmatic reuse
  • Markdown export for human review
  • CSV export for analysis
  • HTML export for browser review

What this skill does

  • Reads AgentScope dialog/session logs
  • Normalizes turns and metadata
  • Exports to multiple formats
  • Preserves timestamps, roles, and tool calls

How to use

Run the exporter script from this skill folder:

python3 scripts/export_conversation.py --input /path/to/dialog.json --format markdown --output /tmp/conversation.md

Supported formats:

  • json
  • markdown
  • csv
  • html

Security notes

  • Exported files may contain conversation content; review before sharing
  • No external network calls are made
  • Input paths are resolved locally

Troubleshooting

  • If the input file is missing, verify the AgentScope dialog path
  • For large histories, export to JSON first, then convert