OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Apify
6,000+ web scrapers for your agent, free to start
Try Apify free →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
SetupClaw
Done-for-you OpenClaw for founders and teams
Get it set up for you →
DataForSEO
SEO data APIs for your agent, $1 free credit
Try DataForSEO free →
Your product here
Reach thousands of AI builders a month
Learn more →
Claude Market
Menu
SkillsMCPPluginsSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/zc277584121/marketing-skills/md-to-feishu
md-to-feishu logo

md-to-feishu

zc277584121/marketing-skills
1K installs
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|Remote Code ExecutionExternal DownloadsCommand ExecutionData ExfiltrationPrompt Injection|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/zc277584121/marketing-skills --skill md-to-feishu

Summary

Convert local Markdown files to Feishu (Lark) documents with automatic image uploading. Uses the feishu-docx CLI tool.

SKILL.md

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

  1. Read the Markdown file and look for the first # heading — use that as the title.
  2. If no # heading exists, scan the content and generate a concise, descriptive title based on the topic.
  3. 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:

feishu-docx create "<TITLE>" -f <MARKDOWN_FILE_PATH>

Option C: Nothing available — install guidance

If neither uvx nor feishu-docx is found, tell the user:

feishu-docx requires Python >= 3.11. Install with one of: ``bash # Recommended: install uv, then run directly without global install curl -LsSf https://astral.sh/uv/install.sh | sh uvx feishu-docx create "Title" -f file.md # Or: install globally with pip (Python >= 3.11 required) pip install feishu-docx ` Feishu credentials must be configured first: `bash feishu-docx config set --app-id <APP_ID> --app-secret <APP_SECRET> ``

Then stop and wait for the user to set up the environment.

Step 3: Pre-process Mermaid Blocks

The feishu-docx tool cannot handle Mermaid code blocks. Before uploading, check if the Markdown contains any `mermaid blocks and convert them to images first.

3a: Scan for Mermaid blocks

Read the Markdown file and check if it contains any `mermaid fenced code blocks. If none are found, skip to Step 4.

3b: Create a temporary copy

Copy the original Markdown file to a temp file in the same directory (so relative image paths still work):

<original-name>.feishu-tmp.md

For example: blog_post.md → blog_post.feishu-tmp.md

All subsequent modifications happen on this temp copy. The original file is never modified.

3c: Render Mermaid diagrams to PNG

For each `mermaid ... ` block in the temp file, render it to a PNG image using the mermaid.ink API:

import base64, urllib.request

def render_mermaid(code: str, output_path: str):
    """Render a Mermaid diagram to PNG via mermaid.ink API."""
    encoded = base64.urlsafe_b64encode(code.encode()).decode()
    url = f"https://mermaid.ink/img/{encoded}?bgColor=white"
    req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
    resp = urllib.request.urlopen(req, timeout=30)
    with open(output_path, "wb") as f:
        f.write(resp.read())

Important: The User-Agent header is required — mermaid.ink returns 403 without it.

Save rendered images to the same directory as the Markdown file, using descriptive filenames based on diagram content:

  • GOOD: mermaid-architecture-overview.png, mermaid-data-flow.png
  • BAD: mermaid-1.png, diagram.png

3d: Replace Mermaid blocks with image references

In the temp copy, replace each `mermaid ... ` block with a Markdown image reference:

![Architecture overview](mermaid-architecture-overview.png)

Use relative paths from the temp file to the rendered images.

3e: Use the temp file for upload

From this point, the temp file becomes the <MARKDOWN_FILE_PATH> used in Step 4.

Step 4: Run the Command

  • Run from the directory where the Markdown file lives (or where its relative image paths resolve correctly), so that local image references work.
  • The tool will:
  • Convert Markdown blocks to Feishu format
  • Automatically upload local images referenced in the Markdown
  • Wait ~10s for block consistency before uploading images

Step 5: Clean Up

If a temp file was created in Step 3:

  • Delete the temp Markdown file (*.feishu-tmp.md)
  • Delete all rendered Mermaid PNG files created in Step 3c (they were only needed for the upload)

Step 6: Report Result

Show the user:

  • Number of blocks converted and images uploaded
  • The created document ID
  • Success or failure status

If it fails with authentication errors, remind the user to configure credentials:

feishu-docx config set --app-id <APP_ID> --app-secret <APP_SECRET>

Score

0–100
63/ 100

Grade

C

Popularity15/30

1,240 installs — growing adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Md To Feishu skill score badge previewScore badge

Markdown

[![Md To Feishu skill](https://www.claudemarket.ai/skills/zc277584121/marketing-skills/md-to-feishu/badges/score.svg)](https://www.claudemarket.ai/skills/zc277584121/marketing-skills/md-to-feishu)

HTML

<a href="https://www.claudemarket.ai/skills/zc277584121/marketing-skills/md-to-feishu"><img src="https://www.claudemarket.ai/skills/zc277584121/marketing-skills/md-to-feishu/badges/score.svg" alt="Md To Feishu skill"/></a>

Md To Feishu FAQ

How do I install the Md To Feishu skill?

Run “npx skills add https://github.com/zc277584121/marketing-skills --skill md-to-feishu” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Md To Feishu skill do?

Convert local Markdown files to Feishu (Lark) documents with automatic image uploading. Uses the feishu-docx CLI tool. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Md To Feishu skill free?

Yes. Md To Feishu is a free, open-source skill published from zc277584121/marketing-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Md To Feishu work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Md To Feishu works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.8M installsInstall
grill-me logo

grill-me

mattpocock/skills

758K installsInstall
frontend-design logo

frontend-design

anthropics/skills

743K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

644K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

630K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

619K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Documentation Skills For AI AgentsGuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before Installing

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+20 more

MCP servers by category

AI & MLDeveloper ToolsVector & MemoryFiles & DocsDatabasesFinance & PaymentsBrowser & ScrapingCommunication+8 more

Plugins by category

developmentproductivitycommunicationdesignsecuritydatabaseworkflowcompliance+34 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed