1coos-markdown-converter

Convert files to beautifully formatted Markdown. TRIGGER when user asks to convert a file to Markdown, extract text from PDF/DOCX/PPTX/XLSX, or format a document as Markdown.

3,891 stars

Best use case

1coos-markdown-converter is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Convert files to beautifully formatted Markdown. TRIGGER when user asks to convert a file to Markdown, extract text from PDF/DOCX/PPTX/XLSX, or format a document as Markdown.

Teams using 1coos-markdown-converter should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/1coos-markdown-converter/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/1coos/1coos-markdown-converter/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1coos-markdown-converter/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How 1coos-markdown-converter Compares

Feature / Agent1coos-markdown-converterStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Convert files to beautifully formatted Markdown. TRIGGER when user asks to convert a file to Markdown, extract text from PDF/DOCX/PPTX/XLSX, or format a document as Markdown.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Markdown Converter

Convert files to beautifully formatted Markdown in two steps: **convert** with `uvx markitdown[all]`, then **beautify** with configurable style formatting.

## Usage

```
/1coos-markdown-converter <file-path> [--style github|commonmark|clean|obsidian] [--output-dir path] [--convert-only]
```

## Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `<file-path>` | Yes | Path to the file to convert |
| `--style` | No | Formatting style: `github` (default), `commonmark`, `clean`, `obsidian` |
| `--output-dir` | No | Output directory (default: `skills/1coos-markdown-converter/output`) |
| `--convert-only` | No | Only convert, skip formatting step |
| `--config` | No | Path to config.json (default: skill directory config.json) |

## Supported Formats

- **Documents**: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls)
- **Web/Data**: HTML, CSV, JSON, XML
- **Media**: Images (EXIF + OCR), Audio (EXIF + transcription)
- **Other**: ZIP (iterates contents), YouTube URLs, EPub

## Formatting Styles

### github (default)
GitHub Flavored Markdown — table column alignment, fenced code blocks, task lists.

### commonmark
Strict CommonMark — enforces sequential heading levels (no skipping h1 to h3).

### clean
Minimal style — removes excessive formatting, simplifies redundant links.

### obsidian
Obsidian Flavored Markdown — converts internal links to `[[wikilinks]]`, normalizes callout syntax (`> [!type]`), formats properties/frontmatter, normalizes `==highlight==` syntax, and aligns tables. Ideal for notes destined for Obsidian vaults.

## Configuration

Core parameters are configurable via `config.json` in the skill directory:

```json
{
  "style": "github",
  "outputDir": null,
  "convertOnly": false,
  "formatting": {
    "maxWidth": 80,
    "listMarker": "-",
    "emphasisMarker": "*",
    "strongMarker": "**",
    "codeBlockStyle": "fenced"
  },
  "converter": {
    "timeout": 60000,
    "charset": "UTF-8"
  }
}
```

CLI arguments always override config.json values.

## Execution Instructions

When the user invokes this skill:

1. **Check prerequisites**: Verify `uvx` is available. If not, instruct the user to install uv: `curl -LsSf https://astral.sh/uv/install.sh | sh`
2. **Run conversion**: Execute the script:
   ```bash
   bun run ${CLAUDE_SKILL_DIR}/scripts/main.ts $ARGUMENTS
   ```
3. **Report results**: Show the output file path and a brief summary of the conversion.
4. **Handle errors**:
   - Exit code 2: argument error — show the specific error message
   - Exit code 3: missing dependency — guide user to install uv
   - Exit code 4: conversion failure — suggest checking file format support

## Examples

```bash
# Convert a PDF with default github style
/1coos-markdown-converter report.pdf

# Convert Word document with clean style
/1coos-markdown-converter document.docx --style clean

# Convert Excel to markdown without formatting
/1coos-markdown-converter data.xlsx --convert-only

# Specify output directory
/1coos-markdown-converter slides.pptx --output-dir ~/notes
```

## Notes

- First run caches `markitdown[all]` dependencies; subsequent runs are faster
- Uses `markitdown[all]` to ensure full format support (PDF, OCR, audio transcription)
- Output preserves document structure: headings, tables, lists, links
- For complex PDFs with poor extraction, consider using Azure Document Intelligence

Related Skills

1coos-calendar-cn

3891
from openclaw/skills

查询中国传统日历/黄历信息。TRIGGER when user asks about Chinese calendar, lunar date, 农历, 黄历, 万年历, 节气, 五行, 宜忌, 干支,佛历,道历等。

1coos-quickie

3891
from openclaw/skills

Quickly save web content as formatted Markdown. TRIGGER when user pastes a URL and wants to save/clip it, read-later, or extract content from YouTube, Twitter/X, WeChat, Bilibili, Telegram, RSS, or any web page.

upset-plot-converter

3891
from openclaw/skills

Convert complex Venn diagrams with more than 4 sets to clearer Upset.

Bank Statement Converter Skill

3891
from openclaw/skills

Convert PDF bank statements to CSV/JSON.

markdown-extract Skill

3891
from openclaw/skills

Extract clean markdown from any URL using the markdown.new API.

markdown-sync-pro

3891
from openclaw/skills

Markdown 一键同步到 Notion、GitHub Wiki、Medium 等平台

saved-markdown

3891
from openclaw/skills

Publish Markdown, HTML, and Slides pages, reports, and documents anonymously to https://saved.md. **TRIGGER THIS SKILL when ANY of the following are true:** 1. User asks to CREATE content that is naturally document-like (reports, summaries, guides, docs, pages, tables, analysis) 2. User mentions markdown, publishing, sharing, or making something public 3. The response you're about to generate is structured text with headers, tables, or formatted sections 4. User asks for anything that could be a "page" or "document" output 5. User asks for slides, a slide deck, a presentation, or a "deck" output **When in doubt: TRIGGER.** (User can always choose local-only) **ALWAYS offer four options:** (1) one-shot publish, (2) interactive edit-before-publish, (3) local-only, (4) enhance.

markdown-to-pdf

3891
from openclaw/skills

Convert Markdown files to beautiful PDF documents. Supports custom styling, code highlighting, and multiple output options. Use when users need to convert MD to PDF for documentation, notes, reports, or sharing.

File to Markdown — Skill

3891
from openclaw/skills

## Overview

medical-unit-converter

3891
from openclaw/skills

Convert medical laboratory values between units (mg/dL to mmol/L, etc.) with formula transparency and clinical reference ranges. Supports glucose, cholesterol, creatinine, and hemoglobin conversions.

chemical-structure-converter

3891
from openclaw/skills

Convert between IUPAC names, SMILES strings, and molecular formulas for chemical compounds. Supports structure validation, identifier interconversion, and cheminformatics data preparation for drug discovery and chemical research workflows.

Converter

3891
from openclaw/skills

A local-first conversion router and format strategist. Identifies the safest local path for document, image, audio, video, archive, and data transformations. Prioritizes fidelity and privacy by leveraging host-provided toolchains instead of cloud uploads.