用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oimiragieo/agent-studio --skill markitdown-converter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Agent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
Context management — pre-compact persistence, threshold alignment, microcompact/circuit breaker detection
Hook enhancements — updatedInput for bash safety prefixes, suppressOutput for verbose blocks, denial-based routing feedback
正在显示 SKILL.md
| name | markitdown-converter |
| version | 1.0.0 |
| description | Convert files to Markdown using Microsoft's MarkItDown library |
| category | utilities |
| tags | ["file-conversion","markdown","pdf","docx","xlsx","images","audio"] |
| tools | ["Bash","Read","Write"] |
| created_by | skill-creator |
| compliance_status | created-via-research-synthesis |
| research_synthesis | true |
| verified | true |
| source | builtin |
| trust_score | 100 |
| provenance_sha | 16e3fa3301dfb5c6 |
Convert files (PDF, DOCX, XLSX, PPTX, HTML, CSV, images, audio) to Markdown using Microsoft's MarkItDown library.
Skill({ skill: 'markitdown-converter' });
// Then call the converter via Bash:
// bash: python .claude/tools/cli/markitdown-convert.py <input_file> [output_file]
| Format | Extensions |
|---|---|
| Documents | .pdf, .docx, .pptx, .xlsx |
| Web | .html, .htm |
| Data | .csv, .json, .xml |
| Images | .jpg, .jpeg, .png, .gif, .webp |
| Audio | .mp3, .wav, .m4a |
| Archives | .zip (extracts and converts contents) |
| Video platforms | YouTube URLs |
pip install 'markitdown[all]'
The CLI wrapper is at .claude/tools/cli/markitdown-convert.py.
python .claude/tools/cli/markitdown-convert.py /path/to/file.pdf
python .claude/tools/cli/markitdown-convert.py /path/to/file.pdf /path/to/output.md
python .claude/tools/cli/markitdown-convert.py /path/to/file --ext .pdf
| Code | Meaning |
|---|---|
| 0 | Success — JSON with text_content |
| 1 | Conversion error |
| 2 | File not found |
| 3 | markitdown not installed |
{
"success"
When a user sends a file in Telegram:
// 1. Download the file to tmp
const tmpPath = `.claude/context/tmp/telegram-upload-${userId}-${Date.now()}.${ext}`;
// 2. Run markitdown converter
const result = JSON.parse(
execSync(`python .claude/tools/cli/markitdown-convert.py "${tmpPath}"`).toString()
);
// 3. Store as agent memory
if (result.success) {
MemoryRecord({ type: 'discovery', text: result.text_content.slice(0, 2000), area: 'user-files' });
}
// Check if markitdown is installed
const { status } = spawnSync('python', ['.claude/tools/cli/markitdown-convert.py', '--help']);
if (status === 3) {
// Not installed — guide user
sendMessage(chatId, 'File conversion requires: pip install markitdown[all]');
}