Google Docs Writer — Google Docs 作家
v1.0.0通过Docs API在Google Docs中读取、写入、追加、清除和查找替换内容。当gog CLI(仅支持只读文档操作)不足时使用。
0· 21·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install google-docs-writer
镜像加速npx clawhub@latest install google-docs-writer --registry https://cn.longxiaskill.com镜像同步中
本土化适配说明
Google Docs Writer — Google Docs 作家 安装说明: 安装命令:["openclaw skills install google-docs-writer"]
技能文档
Google Docs Writer 扩展 gog 以支持对 Google Docs 的写操作。使用 gog 存储在 GNOME keyring 中的相同 OAuth 凭证。 预条件: gog auth add 已完成(OAuth 令牌在 keyring 中) secretstorage Python 包(大多数 Linux 桌面环境中预安装) 文档必须由已验证的帐户拥有或共享为编辑器 命令: 脚本:scripts/gdocs.py # 以纯文本读取文档内容 python3 scripts/gdocs.py read # 用文件内容替换整个文档 python3 scripts/gdocs.py write # 将文件内容追加到文档末尾 python3 scripts/gdocs.py append # 清除所有文档内容 python3 scripts/gdocs.py clear # 查找和替换文本 python3 scripts/gdocs.py replace "find this" "replace with" 格式: 写入命令自动将 markdown 标题转换为 Google Docs 标题: # 标题 → 标题 1