Xpersona
A

All to Markdown

CLAWHUB · Unverified

将任意文件(PDF、Word、Excel、PPT、图片、音频、网页等)转换为 Markdown Skill: All to Markdown Owner: sipingme Summary: 将任意文件(PDF、Word、Excel、PPT、图片、音频、网页等)转换为 Markdown Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-14T03:55:53.517Z | user - Initial release of all-to-markdown. - Convert various file formats (PDF, Word, Excel, PPT, images, audio, web pages, ZIP archives) and URLs to Markdown using Microsoft MarkItDown. - Supports document OCR, audio transcription, YouTube subtitle ex

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17867zbqf69d0mb2yqzym6nmh83hrxm:all-to-markdown
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sipingme-all-to-markdown/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,482 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: all-to-markdown
version: 0.1.0
description: 将任意文件(PDF、Word、Excel、PPT、图片、音频、网页等)转换为 Markdown
author: Ping Si <sipingme@gmail.com>
tags: [markdown, convert, pdf, docx, pptx, xlsx, html, ocr, youtube]
requiredEnvVars: []
---

# All to Markdown

基于 [Microsoft MarkItDown](https://github.com/microsoft/markitdown),将任意格式的文件或 URL 转换为 Markdown,便于 LLM 分析和处理。

## 支持格式

| 类型 | 格式 |
|------|------|
| 文档 | PDF、DOCX、PPTX、XLSX、XLS、EPUB、MSG |
| 数据 | CSV、JSON、XML |
| 图片 | JPG、PNG 等(含 EXIF 元数据,可选 OCR)|
| 音频 | WAV、MP3(含语音转录,需 OpenAI Key)|
| 网页 | HTML、YouTube URL(含字幕提取)|
| 压缩 | ZIP(逐文件转换)|

## 前置要求

安装 markitdown:

```bash
pip install 'markitdown[all]'
```

## 给 AI 的使用说明

当用户需要将文件或 URL 转换为 Markdown 时,使用以下命令:

```bash
scripts/run.sh <文件路径或URL>
```

可选标志:
- `-o <输出文件>` — 保存到文件
- `--use-plugins` — 启用插件(如 markitdown-ocr)

**重要原则**:
- 转换结果直接输出到 stdout,可供 AI 直接读取分析
- 文件路径使用用户提供的实际路径,不要假设
- 转换大型文件时提前告知用户可能需要较长时间

## 使用示例

### 示例 1:转换 PDF

> 用户:帮我把这个 PDF 转成 Markdown,以便我分析内容

AI 执行:
```bash
scripts/run.sh /path/to/document.pdf
```

### 示例 2:转换并保存

> 用户:把这个 Excel 转成 Markdown 文件保存

AI 执行:
```bash
scripts/run.sh /path/to/data.xlsx -o output.md
```

### 示例 3:转换网页

> 用户:把这篇文章转成 Markdown

AI 执行:
```bash
scripts/run.sh https://example.com/article.html
```

### 示例 4:提取 YouTube 字幕

> 用户:把这个 YouTube 视频的内容提取出来

AI 执行:
```bash
scripts/run.sh https://www.youtube.com/watch?v=xxx
```

## 可选 AI 增强功能

设置 `OPENAI_API_KEY` 后,markitdown 可对图片生成 AI 描述:

```bash
OPENAI_API_KEY=sk-xxx scripts/run.sh image.jpg
```

## 安全说明

- 仅在本地执行文件转换,不发送文件内容到远程服务
- 转换 URL 时会访问对应网络地址
- 启用 LLM 功能时,图片内容会发送到 OpenAI API

_meta.json

{
  "ownerId": "kn70nwj71rbkzwyvc7pkqs4p6s8222nc",
  "slug": "all-to-markdown",
  "version": "1.0.0",
  "publishedAt": 1776138953517
}

skill-card.md

## Description:

Converts user-provided files and URLs, including documents, images, audio, web pages, and archives, into Markdown using Microsoft MarkItDown.

This skill is ready for commercial/non-commercial use.

## Publisher:

[sipingme](https://clawhub.ai/user/sipingme)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to convert user-provided local files or URLs into Markdown for downstream LLM analysis and content processing.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill requires approving installation of an unpinned third-party Python package with broad optional dependencies.

Mitigation: Install only after review in a controlled environment, and pin or mirror dependencies where release governance requires reproducibility.

Risk: Converting remote URLs or YouTube links sends network requests to user-provided destinations.

Mitigation: Convert only URLs the user intentionally provides and apply local network egress controls for sensitive environments.

Risk: Optional OpenAI/API or plugin features can send image or other content to external services when enabled.

Mitigation: Enable API-backed and plugin features only for content approved for that processing path, and keep them disabled for local-only conversion.

## Reference(s):

- [All to Markdown on ClawHub](https://clawhub.ai/sipingme/skills/all-to-markdown)
- [sipingme publisher profile](https://clawhub.ai/user/sipingme)
- [Microsoft MarkItDown](https://github.com/microsoft/markitdown)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Files]

**Output Format:** [Markdown emitted to stdout or written to a Markdown file when requested.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires the markitdown CLI; remote URL conversion uses network access, and optional OpenAI/API or plugin features require explicit enablement.]

## Skill Version(s):

1.0.0 (source: server release metadata; artifact frontmatter/config list 0.1.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config.json

{
  "name": "all-to-markdown",
  "version": "0.1.0",
  "requiredEnvVars": [],
  "requires": {
    "runtime": {
      "python": ">=3.10"
    },
    "binaries": ["markitdown"],
    "packages": {
      "pip": ["markitdown[all]"]
    }
  },
  "skill": {
    "name": "all-to-markdown",
    "enabled": true,
    "autoInvoke": false
  },
  "commands": {
    "convert": {
      "script": "./scripts/run.sh",
      "args": [],
      "description": "将文件或 URL 转换为 Markdown"
    },
    "help": {
      "script": "./scripts/run.sh",
      "args": ["--help"],
      "description": "显示使用帮助"
    }
  },
  "environment": {
    "required": [],
    "optional": [
      {
        "name": "OPENAI_API_KEY",
        "description": "用于图片 AI 描述和 OCR 增强功能(可选)"
      }
    ]
  },
  "install": {
    "type": "pip",
    "autoInstall": false,
    "riskLevel": "low",
    "riskReason": "仅安装 markitdown Python 包,在本地执行文件转换,不发送数据到远程服务(除非启用 LLM 功能)。",
    "requiresApproval": true,
    "installCommand": "pip install 'markitdown[all]'"
  },
  "dependencies": {
    "pip": ["markitdown[all]"],
    "binaries": [],
    "note": "Requires markitdown CLI. Install with: pip install 'markitdown[all]'"
  },
  "permissions": {
    "filesystem": {
      "read": ["<input file path provided by user>"],
      "write": ["<output file path if -o flag is used>"]
    },
    "network": {
      "domains": ["<URL provided by user (if converting a URL)>"],
      "note": "Network access only when converting remote URLs or YouTube links"
    }
  },
  "capabilities": {
    "sensitive": []
  }
}

Sponsored

Ads related to All to Markdown and adjacent AI workflows.