AgentSkillsCN

docs-export

导出 Google Docs。“以 PDF 格式导出 Docs”“导出文档”“下载 Docs”“将文档转为 PDF”“以 Word 格式保存”等操作均可触发此功能。

SKILL.md
--- frontmatter
name: docs-export
description: Google Docs をエクスポートする。「Docs を PDF で」「ドキュメントをエクスポート」「Docs をダウンロード」「ドキュメントを PDF に」「Word で保存」などで起動。
allowed-tools: [Read, Bash]

Docs Export

Google Docs をファイルにエクスポートします。

引数

  • ドキュメントID (必須): エクスポートするドキュメントのID

オプション

  • --output <path> (必須): 出力ファイルパス
  • --type <format>: 出力形式(pdf, docx, txt, html, rtf, epub)デフォルト: pdf

実行方法

bash
python plugins/shiiman-google/skills/docs-list/scripts/google_docs.py export --doc-id <doc-id> --output ~/Downloads/document.pdf

Word形式でエクスポート

bash
python plugins/shiiman-google/skills/docs-list/scripts/google_docs.py export --doc-id <doc-id> --output ~/Downloads/document.docx --type docx