
Md To Feishu
Converts local Markdown files into Feishu documents with automatic image handling, which is genuinely useful if you're maintaining docs in both formats. The implementation is thorough: it extracts titles from headings, detects your Python environment (uvx preferred, falls back to global install), and most impressively, converts Mermaid diagrams to PNG via the mermaid.ink API before upload since Feishu can't handle them natively. It creates temp files for processing and cleans up after itself. The main catch is you need Python 3.11+ and Feishu API credentials configured first. Solid automation for a specific but real workflow problem.
- skills.sh installs
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add zc277584121/marketing-skills --skill md-to-feishu --agent claude-codeInstalls into .claude/skills of the current project.
Files
Markdown to Feishu Document
Convert a local Markdown file into a Feishu document, with automatic image upload.
User Input
The user only needs to provide a Markdown file path. Title is optional — if not provided, extract it automatically (see below).
Step 1: Determine the Document Title
- Read the Markdown file and look for the first
# heading— use that as the title. - If no
# headingexists, scan the content and generate a concise, descriptive title based on the topic. - If the user explicitly provides a title, use that instead.
Step 2: Check the Runtime Environment
Try each option in order. Use the first one that works.
Option A: uvx (preferred)
which uvx
If uvx is available, the run command is:
uvx feishu-docx create "<TITLE>" -f <MARKDOWN_FILE_PATH>
If uvx runs with Python < 3.11, add --python 3.11:
uvx --python 3.11 feishu-docx create "<TITLE>" -f <MARKDOWN_FILE_PATH>
Option B: feishu-docx already installed
which feishu-docx
If found, check Python version:
python3 --version
If Python >= 3.11, the run command is:
Sponsors
Details
- Repository
- github.com/zc277584121/marketing-skills
- Categories
- Marketing & SEO, CLI & Terminal, Office & Documents
- First seen
- May 16, 2026