{
  "schemaVersion": "1.0",
  "item": {
    "slug": "docx-to-md",
    "name": "docx-to-md",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ooliuhao/docx-to-md",
    "canonicalUrl": "https://clawhub.ai/ooliuhao/docx-to-md",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/docx-to-md",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=docx-to-md",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/docx_to_md.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/docx-to-md"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/docx-to-md",
    "agentPageUrl": "https://openagent3.xyz/skills/docx-to-md/agent",
    "manifestUrl": "https://openagent3.xyz/skills/docx-to-md/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/docx-to-md/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "docx-to-md",
        "body": "将Word文档(.docx)转换为Markdown格式,并提取文档中的图片到指定目录。"
      },
      {
        "title": "使用方法",
        "body": "运行脚本进行转换:\n\nimport sys\nsys.path.insert(0, '<skill目录>/scripts')\nfrom docx_to_md import docx_to_md\n\ndocx_to_md('输入文件.docx', '输出目录')\n\n或在命令行运行(需手动处理参数转义):\n\npython <skill路径>/scripts/docx_to_md.py \"文件.docx\""
      },
      {
        "title": "参数",
        "body": "input_file: Word文档路径(.docx)\noutput_dir: 输出目录(可选,默认创建同名_output文件夹)"
      },
      {
        "title": "输出",
        "body": "*.md: 转换后的Markdown文件\nimage_*.png/jpg/gif: 提取的图片文件"
      },
      {
        "title": "转换规则",
        "body": "Word格式Markdown标题1# 标题标题2## 标题标题3### 标题标题4#### 标题无序列表- 内容有序列表1. 内容表格Markdown表格图片"
      },
      {
        "title": "依赖",
        "body": "Python 3.7+\npython-docx\n\npip install python-docx"
      }
    ],
    "body": "docx-to-md\n\n将Word文档(.docx)转换为Markdown格式,并提取文档中的图片到指定目录。\n\n使用方法\n\n运行脚本进行转换:\n\nimport sys\nsys.path.insert(0, '<skill目录>/scripts')\nfrom docx_to_md import docx_to_md\n\ndocx_to_md('输入文件.docx', '输出目录')\n\n\n或在命令行运行(需手动处理参数转义):\n\npython <skill路径>/scripts/docx_to_md.py \"文件.docx\"\n\n参数\ninput_file: Word文档路径(.docx)\noutput_dir: 输出目录(可选,默认创建同名_output文件夹)\n输出\n*.md: 转换后的Markdown文件\nimage_*.png/jpg/gif: 提取的图片文件\n转换规则\nWord格式\tMarkdown\n标题1\t# 标题\n标题2\t## 标题\n标题3\t### 标题\n标题4\t#### 标题\n无序列表\t- 内容\n有序列表\t1. 内容\n表格\tMarkdown表格\n图片\t\n依赖\nPython 3.7+\npython-docx\npip install python-docx"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ooliuhao/docx-to-md",
    "publisherUrl": "https://clawhub.ai/ooliuhao/docx-to-md",
    "owner": "ooliuhao",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/docx-to-md",
    "downloadUrl": "https://openagent3.xyz/downloads/docx-to-md",
    "agentUrl": "https://openagent3.xyz/skills/docx-to-md/agent",
    "manifestUrl": "https://openagent3.xyz/skills/docx-to-md/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/docx-to-md/agent.md"
  }
}