Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

google-doc-formatGoogle DOC format 控制

Agent Skill

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

总安装

2,376

周安装

98

GitHub Stars

公开资料未说明

下载量

776
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:google-doc-format(Google DOC format 控制)
来源仓库:https://github.com/brandrainmakerai/google-doc-format
安装命令:
openclaw skills install google-doc-format
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install google-doc-format

简介

使用 gog docs create --file 将 Markdown 文件转换为格式干净的 Google 文档,其中包含本机表格、标题、粗体、列表和可点击链接。

SKILL.md

name
google-doc-format
description
Create professionally formatted Google Docs from markdown using gog docs create. Produces clean documents with proper heading hierarchy, real Google Docs tables (not tab-separated text), bold text, bullet lists, numbered lists, and clickable hyperlinks. Use when creating or recreating Google Docs that need proper formatting, especially documents with data tables, link indexes, or structured reports. Triggers on: format google doc, create formatted doc, fix google doc tables, google doc formatting, format doc for client, create master index, create deliverable doc, format audit report.

Google Doc Format Skill

Create professionally formatted Google Docs from markdown using gog docs create --file. The key insight: markdown tables and formatting render properly as native Google Docs elements when passed through the --file flag.

Core Method

Always use gog docs create with --file to import markdown. Never use gog docs write or gog docs insert for full documents — those don't parse markdown tables.

gog docs create "Doc Title" --file source.md --parent "FOLDER_ID" --pageless --force --no-input

Flags:

  • --file — Import markdown file (required for proper table rendering)
  • --parent — Google Drive folder ID
  • --pageless — Use pageless layout (recommended for reports/audits)
  • --force — Skip confirmations

Markdown → Google Docs Mapping

MarkdownGoogle Docs Element
# Heading 1HEADING_1
## Heading 2HEADING_2
### Heading 3HEADING_3
**bold text**Bold text
*italic text*Italic text
- item or * itemBullet list
1. itemNumbered list
`\col1 \col2 \`Native TABLE element
[link text](url)Clickable hyperlink
---Horizontal rule
> blockquoteIndented text

Table Formatting Rules

Markdown pipe tables render as native Google Docs tables — this is the main value of this skill. Tables are the element most likely to break when creating docs any other way.

Correct format:

| # | Document | Link |
|---|----------|------|
| 01 | Technical SEO Audit | [Open doc](https://docs.google.com/document/d/DOC_ID/edit) |
| 02 | On-Page SEO Audit | [Open doc](https://docs.google.com/document/d/DOC_ID/edit) |

What NOT to do:

  • ❌ Tab-separated values (no \ between columns)
  • ❌ Plain text pretending to be a table
  • ❌ Using gog docs write with raw text (doesn't parse markdown)
  • ❌ Putting tables inside code blocks (won't render as tables)

Document Templates

Master Index / Link Index Doc

# Project Name — Deliverables Master Index

*Last updated: DATE*

---

## 📋 Section Name

### Subsection

| # | Document | Link |
|---|----------|------|
| 01 | Document Name | [Open doc](https://docs.google.com/document/d/DOC_ID/edit) |
| 02 | Document Name | [Open doc](https://docs.google.com/document/d/DOC_ID/edit) |

---

## 🎨 Another Section

### Subsection

| # | Document | Link |
|---|----------|------|
| 01 | Document Name | [Open doc](https://docs.google.com/document/d/DOC_ID/edit) |

---

## 📂 Folder Structure

- **Root:** Folder Name
  - **Subfolder**
    - Document 1
    - Document 2

Audit/Report Doc

# Report Title: Descriptive Subtitle

**URL:** /page-slug/
**Target Keywords:** keyword1, keyword2, keyword3
**Meta Title:** SEO Title (60 chars)
**Meta Description:** Meta description (155 chars)

---

## Section Heading

Body paragraph with **bold key terms** and normal text.

### Subsection

| Metric | 2024 | 2023 | Change |
|--------|------|------|--------|
| Value 1 | 232 | 274 | -15% |

**Key takeaway:** Summary sentence after the table.

### Another Subsection

- **Bold label** — Description text
- **Bold label** — Description text

Workflow

  1. Write markdown to temp filecat > /tmp/doc_name.md << 'EOF'
  2. Create docgog docs create "Title" --file /tmp/doc_name.md --parent FOLDER_ID --pageless --force --no-input
  3. Verify structuregog docs structure DOC_ID --no-input | grep -i table
  4. Verify contentgog docs cat DOC_ID --no-input | head -20

Verification Checklist

After creating, verify:

  • [ ] gog docs structure shows TABLE elements (not just NORMAL_TEXT with pipe characters)
  • [ ] Table row counts match expected dimensions (e.g., [table 6x3])
  • [ ] Links are clickable: [Open doc](url) renders as hyperlinks
  • [ ] Heading hierarchy is correct (H1 > H2 > H3)
  • [ ] Bold text renders (check structure output for inline formatting)

Replacing an Existing Doc

To replace a badly formatted doc:

  1. Create new doc with --file flag
  2. Verify formatting on the new doc
  3. Rename new doc to match old name: gog drive rename NEW_ID "Original Name" --force --no-input
  4. Delete old doc: gog drive delete OLD_ID --force --no-input
  5. Move new doc to correct folder if needed: gog drive move NEW_ID --parent FOLDER_ID --force --no-input

Common Issues

ProblemCauseFix
Tables show as pipe-separated textUsed gog docs write instead of --fileRecreate with gog docs create --file
Links not clickableUsed plain URLs, not markdown link syntaxUse [text](url) format
No headingsUsed underline-style headingsUse # prefix headings
Missing boldUsed HTML <b> tagsUse **text** markdown
Rate limit (429)Too many API calls in short timeAdd sleep 3 between operations

Rate Limiting

Google Docs API has per-minute write quotas. When creating multiple docs:

  • Add sleep 3 between create operations
  • If you get 429 errors, wait 60 seconds and retry
  • For large batches (5+ docs), add sleep 5 between each

Getting Doc IDs for Link Tables

To build a link index:

  1. List folder contents: gog drive ls --parent FOLDER_ID --json --no-input
  2. Extract IDs and names with: python3 -c "import json,sys; data=json.load(sys.stdin); [print(f'{f[\"name\"]} | {f[\"id\"]}') for f in data.get('files',[])]"
  3. Build Google Doc URLs: https://docs.google.com/document/d/DOC_ID/edit

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

94.5%
按下载量换算733

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills