Yida Export Conversation logo

Yida Export Conversation

Organization
openyida
yida-export-conversation

导出 AI 对话记录,生成结构化的 Markdown 文档。支持 Claude Code 自动检测,其他环境通过 --input 手动指定。适用于保存和回顾 AI 编程过程记录。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-export-conversation
Stars
228
Forks
50
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openyida on GitHub. Read the source before you install it.

Installation

Install the Yida Export Conversation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-export-conversation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/yida-skills/skills/yida-export-conversation .claude/skills/yida-export-conversation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Export Conversation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yida Export Conversation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yida Export Conversation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

导出 AI 对话记录

严格禁止 (NEVER DO)

  • 不要在非 Claude Code 环境下省略 --input 参数(其他环境无法自动检测对话文件)

严格要求 (MUST DO)

  • 导出前确认当前环境(openyida env),Claude Code 环境可自动检测,其他环境需 --input 手动指定
  • 导出前必须确认输出路径有写权限,避免导出失败
  • 导出完成后必须告知用户文件路径和文件大小,方便用户确认
  • 遇到对话文件格式不支持时,必须明确告知用户支持的格式(.jsonl)
  • 本技能不读写 memory:对话记录导出为本地 Markdown 文件,不依赖跨会话的 memory 状态

适用场景

用户需要"导出对话记录"、"保存 AI 对话"、"生成开发文档"时使用。 无需登录宜搭,为纯本地操作。

触发条件

正向触发:

  • "导出对话记录"、"保存 AI 对话"
  • "生成开发文档"、"导出本次对话"
  • "把对话记录存下来"

注意:本技能为一次性导出,不支持实时同步。非 Claude Code 环境需通过 --input 手动指定对话文件。


将 AI 对话记录导出为结构化的 Markdown 文档,方便分享和存档。

命令

bash
openyida export-conversation [options]
选项说明
--output <path>指定输出文件路径(默认 project/conversation-export.md)
--input <file>手动指定对话记录文件(覆盖自动检测)
--latest仅导出最近一次对话(默认行为)
--list列出可用的对话记录供选择

支持的 AI 工具环境

环境支持方式
Claude Code自动检测并读取对话记录
其他环境通过 --input 手动指定对话文件

输出格式

生成的 Markdown 文档包含以下内容:

  1. 概要信息

    • 应用名称
    • AI 工具环境
    • 导出时间
    • 对话轮次
    • 工具调用次数
  2. 关键步骤摘要

    • 从工具调用中自动提取的操作步骤
  3. 完整对话记录

    • 用户消息
    • AI 回复
    • 工具调用及执行结果

使用示例

bash
# 导出最近一次对话(自动检测环境)
openyida export-conversation

# 导出到指定文件
openyida export-conversation --output ./my-conversation.md

# 从指定文件导入对话记录
openyida export-conversation --input ./conversation.jsonl

# 列出可用的对话记录
openyida export-conversation --list

前置条件

  • 无需登录宜搭(对话导出是本地操作)
  • Node.js ≥ 18

注意事项

  1. 目前 MVP 版本主要支持 Claude Code 的对话记录自动检测
  2. 其他 AI 工具环境请使用 --input 手动指定对话文件

异常处理

异常场景处理方式
自动检测失败(非 Claude Code 环境)使用 --input 手动指定对话文件路径
输出文件路径无写权限使用 --output 指定有写权限的路径
对话文件格式不支持确认文件格式为 .jsonl,其他格式暂不支持
导出内容为空确认对话记录文件存在且非空,使用 --list 查看可用记录

Agent 错误处理策略

当 Agent 执行本技能遇到错误时,必须遵循以下默认行为:

错误类型默认处理策略
命令执行失败停止执行,向用户展示错误信息,询问是否重试或调整参数
环境检测失败提示用户使用 --input 手动指定对话文件路径
文件写入失败提示用户使用 --output 指定有写权限的路径,或检查磁盘空间
对话文件不存在使用 --list 列出可用记录,引导用户选择正确文件
网络超时本技能为纯本地操作,无网络依赖,检查文件系统权限
未知错误停止执行,完整展示错误信息,建议用户反馈问题

Frequently asked questions

What does the Yida Export Conversation AI skill do?

导出 AI 对话记录,生成结构化的 Markdown 文档。支持 Claude Code 自动检测,其他环境通过 --input 手动指定。适用于保存和回顾 AI 编程过程记录。

Why use Yida Export Conversation on TypingMind?

Because you install it once and use it with any model. Yida Export Conversation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yida Export Conversation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-export-conversation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Yida Export Conversation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yida Export Conversation?

As many as you like. As long as a model supports skills, you can use Yida Export Conversation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yida Export Conversation AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇