Yida Document Markdown logo

Yida Document Markdown

Organization
openyida
yida-document-markdown

获取钉钉文档、钉钉在线文档或知识库文档的完整 Markdown 内容。用户提供文档链接并要求读取、提取、总结或继续处理文档内容时使用。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-document-markdown
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 Document Markdown 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-document-markdown
  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-document-markdown .claude/skills/yida-document-markdown
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Document Markdown 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 Document Markdown 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 Document Markdown 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.

获取钉钉文档 Markdown

严格要求 (MUST DO)

  • 使用 openyida read-dingtalk-doc "<docUrl>" 读取文档内容
  • 将用户提供的钉钉文档 URL 原样传给 docUrl 参数
  • 仅基于命令返回的 Markdown 执行总结、转 PRD 或其他下游任务

命令

bash
openyida read-dingtalk-doc "<docUrl>"
openyida read-dingtalk-doc "<docUrl>" --json
openyida read-dingtalk-doc "<docUrl>" --output ./document.md
参数必填说明
docUrl是可访问的钉钉文档 HTTP(S) 链接
--json否输出包含原始链接和 Markdown 的 JSON
--output, -o否将 Markdown 写入指定文件;若文件已存在则覆盖

执行流程

  1. 确认用户已提供文档链接。
  2. 默认运行 openyida read-dingtalk-doc "<docUrl>" 获取纯 Markdown;需要结构化结果时使用 --json。
  3. 仅在用户要求保存文件或后续任务需要文件输入时使用 --output,并明确告知写入路径。
  4. 检查命令成功结果,再按用户要求处理 Markdown。

异常处理

宜搭网页关联的本地 Agent(托管任务)

当 OPENYIDA_MANAGED_RUN=1 时,使用任务上下文所选的 ding_doc/docUrl 原值执行 openyida read-dingtalk-doc "<docUrl>" --json。只允许读取本轮选中的文档;续聊需要重新读取时,应请用户重新添加该文档。不要使用 --output,需要派生工作文件时在任务工作目录通过本地工具保存返回内容。

托管读取使用注入的 Task Grant;失败时不得执行 login、普通 RefreshToken 或个人登录态兜底。报告权限、链接或任务授权问题,由用户在网页重新选择/提交。下表登录指引仅适用于用户直接在本地使用 OpenYida 的非托管场景。

场景处理方式
未登录或登录失效运行 openyida auth status,必要时执行 openyida login
400检查 docUrl 是否为空或格式错误
文档无权限或不存在请用户确认当前钉钉账号权限与链接有效性
请求超时稍后重试;文档转换最长可能等待 300 秒

完成标准

命令成功返回非推测的 Markdown 内容,或成功写入用户指定文件。

Frequently asked questions

What does the Yida Document Markdown AI skill do?

获取钉钉文档、钉钉在线文档或知识库文档的完整 Markdown 内容。用户提供文档链接并要求读取、提取、总结或继续处理文档内容时使用。

Why use Yida Document Markdown on TypingMind?

Because you install it once and use it with any model. Yida Document Markdown 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 Document Markdown in TypingMind?

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

Which AI models can use Yida Document Markdown?

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 Document Markdown?

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

Is the Yida Document Markdown 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 👇