Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

markdown-to-docxMarkdown TO DOCX 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,958

周安装

80

GitHub Stars

298

下载量

634
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:markdown-to-docx(Markdown TO DOCX 控制)
来源仓库:https://github.com/vace/markdown-docx
仓库路径:skills/markdown-to-docx
安装命令:
npx skills add https://github.com/vace/markdown-docx --skill markdown-to-docx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vace/markdown-docx --skill markdown-to-docx

简介

markdown-to-docx 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论。
  • 涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Markdown to DOCX Converter

Overview

Convert Markdown files to Microsoft Word DOCX format using the markdown-docx npm package. Supports single file and batch conversions with automatic output file naming.

Quick Start

Single file conversion:

python scripts/convert_md_to_docx.py -i document.md

This creates document.docx in the same directory.

Batch conversion:

python scripts/convert_md_to_docx.py -i file1.md file2.md file3.md

Each file is converted to DOCX in its original location.

Custom output location:

python scripts/convert_md_to_docx.py -i document.md -o output/mydoc.docx

Batch to specific directory:

python scripts/convert_md_to_docx.py -i *.md -o output_docs/

Workflow

When a user requests markdown to DOCX conversion:

  1. Identify input files - Confirm which markdown file(s) to convert
  2. Determine output naming - Use auto-naming unless user specifies custom names
  3. Run conversion - Execute the script with appropriate parameters
  4. Report results - Inform user of success and output file location(s)

Common Use Cases

Convert a single markdown file

User: "Convert README.md to DOCX"

python scripts/convert_md_to_docx.py -i README.md

Convert all markdown files in current directory

User: "Convert all my markdown files to Word documents"

python scripts/convert_md_to_docx.py -i *.md

Convert with custom output name

User: "Convert notes.md to report.docx"

python scripts/convert_md_to_docx.py -i notes.md -o report.docx

Convert documentation set to a folder

User: "Convert all docs to DOCX and put them in the exports folder"

python scripts/convert_md_to_docx.py -i docs/*.md -o exports/

Script Details

Location: scripts/convert_md_to_docx.py

Features:

  • Validates input files exist and are markdown format
  • Auto-generates output filenames (input.md → input.docx)
  • Supports custom output paths for single files
  • Supports output directory for batch conversions
  • Creates output directories if they don't exist
  • Provides clear success/failure feedback
  • Returns proper exit codes for automation

Requirements:

  • Python 3+
  • Node.js and npm (for npx)
  • markdown-docx npm package (automatically fetched via npx)

Error Handling

The script handles common errors:

  • Input file not found - Reports missing file path
  • Invalid file type - Ensures input is.md or.markdown
  • npx not available - Checks for Node.js/npm installation
  • Conversion failure - Captures and reports markdown-docx errors

Tips

  • Auto-naming is preferred - The script automatically names output files, reducing friction
  • Batch operations - When converting multiple files, the script shows a summary of successes and failures
  • Path handling - Both absolute and relative paths work for input and output
  • Glob patterns - Shell glob patterns (*.md) can be used for batch operations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.56%
按下载量换算251

Claude

28.46%
按下载量换算180

Cursor

18.21%
按下载量换算115

Gemini CLI

9.76%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/vace/markdown-docx --skill markdown-to-docx 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills