技能图谱SKILLSGROVE
技能图谱/办公文档/drpedapati/sciclaw/pandoc-docx

pandoc-docx

安装

$npx skills add https://github.com/drpedapati/sciclaw --skill pandoc-docx
$git clone --depth 1 https://github.com/drpedapati/sciclaw.git /tmp/sciclaw && mkdir -p ~/.claude/skills && cp -r /tmp/sciclaw/skills/pandoc-docx ~/.claude/skills/pandoc-docx
请帮我安装这个 Agent Skill:https://github.com/drpedapati/sciclaw/tree/2cc8c2d30f68c51981fdf62bcff8a632a639b885/skills/pandoc-docx ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITCreate clean first-draft Word documents from Markdown using pandoc, with sciClaw auto-applying the bundled NIH reference template unless a custom --reference-doc is provided.
以下 SKILL.md 内容转载自 drpedapati/sciclaw(提交 2cc8c2d),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2025 Sipeed Ltd. and PicoClaw contributors 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Pandoc DOCX

Use this skill when the user asks to create a new Word document from fresh content.

When to use

  • "create a Word document from this outline"
  • "convert this markdown to docx"
  • "generate a clean manuscript draft in .docx"

Default workflow

  1. Draft content in Markdown (.md).
  2. Convert with pandoc:
pandoc manuscript.md -o manuscript.docx
  1. Keep output clean (no tracked changes) unless explicitly requested.

Critical routing rule

  • For NEW clean documents: use pandoc.
  • For tracked review edits/comments on existing docs: use docx-review.

Notes

  • sciClaw injects PANDOC_DEFAULTS at runtime for DOCX commands and resolves a bundled NIH reference template automatically.
  • If user passes --reference-doc, respect that override.
查看许可证全文(MIT)
MIT License

Copyright (c) 2025 Sipeed Ltd. and PicoClaw contributors
Copyright (c) 2026 sciClaw contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

PicoClaw is heavily inspired by and based on [nanobot](https://github.com/HKUDS/nanobot) by HKUDS.