{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gdocs-markdown",
    "name": "Google Docs from Markdown",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/techlaai/gdocs-markdown",
    "canonicalUrl": "https://clawhub.ai/techlaai/gdocs-markdown",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/gdocs-markdown",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gdocs-markdown",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/gdocs-create.sh"
    ],
    "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-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/gdocs-markdown"
    },
    "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/gdocs-markdown",
    "agentPageUrl": "https://openagent3.xyz/skills/gdocs-markdown/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gdocs-markdown/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gdocs-markdown/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": "Google Docs from Markdown",
        "body": "Create Google Docs from Markdown files using the workflow: Markdown → DOCX → Drive Upload → Google Docs."
      },
      {
        "title": "Why This Skill Exists",
        "body": "gog docs CLI does NOT support writing/updating content to Google Docs. It only supports:\n\ncreate - Create empty doc\nexport - Export to file\ncat - Read content\ncopy - Copy existing doc\n\nThis skill provides the missing workflow to create Google Docs WITH content from Markdown."
      },
      {
        "title": "Author",
        "body": "Created by techla"
      },
      {
        "title": "Prerequisites",
        "body": "gog CLI authenticated with Google account\npandoc binary (auto-downloaded on first use if not available)"
      },
      {
        "title": "Installation Note",
        "body": "After installing from ClawHub, fix the script permissions:\n\nchmod +x ~/.openclaw/workspace/skills/gdocs-markdown/scripts/gdocs-create.sh"
      },
      {
        "title": "Quick Create",
        "body": "# Create Google Doc from markdown file\ngdocs-create.sh /path/to/file.md \"Tiêu đề Document\""
      },
      {
        "title": "Manual Workflow",
        "body": "If you need more control, follow these steps:\n\nEnsure pandoc is available:\n# Auto-downloaded to /tmp/pandoc-3.1.11/bin/pandoc on first use\n# Or use system pandoc if available\n\n\n\nConvert Markdown to DOCX:\n/tmp/pandoc-3.1.11/bin/pandoc input.md -o output.docx\n\n\n\nUpload to Drive (auto-converts to Google Docs):\ngog drive upload output.docx\n\n\n\nResult: Google Drive returns a link to the converted Google Doc"
      },
      {
        "title": "Script Reference",
        "body": "See scripts/gdocs-create.sh for the helper script that automates this workflow."
      },
      {
        "title": "Example",
        "body": "# Create a report from markdown\necho \"# Báo Cáo\\n\\nNội dung...\" > /tmp/report.md\ngdocs-create.sh /tmp/report.md \"Báo Cáo Tháng 2\"\n\n# Output: https://docs.google.com/document/d/xxxxx/edit"
      },
      {
        "title": "Notes",
        "body": "Google Drive automatically converts DOCX to Google Docs format on upload\nThe resulting document is fully editable in Google Docs\nOriginal DOCX file remains in Drive but can be deleted if only Google Docs version is needed"
      }
    ],
    "body": "Google Docs from Markdown\n\nCreate Google Docs from Markdown files using the workflow: Markdown → DOCX → Drive Upload → Google Docs.\n\nWhy This Skill Exists\n\ngog docs CLI does NOT support writing/updating content to Google Docs. It only supports:\n\ncreate - Create empty doc\nexport - Export to file\ncat - Read content\ncopy - Copy existing doc\n\nThis skill provides the missing workflow to create Google Docs WITH content from Markdown.\n\nAuthor\n\nCreated by techla\n\nPrerequisites\ngog CLI authenticated with Google account\npandoc binary (auto-downloaded on first use if not available)\nInstallation Note\n\nAfter installing from ClawHub, fix the script permissions:\n\nchmod +x ~/.openclaw/workspace/skills/gdocs-markdown/scripts/gdocs-create.sh\n\nUsage\nQuick Create\n# Create Google Doc from markdown file\ngdocs-create.sh /path/to/file.md \"Tiêu đề Document\"\n\nManual Workflow\n\nIf you need more control, follow these steps:\n\nEnsure pandoc is available:\n\n# Auto-downloaded to /tmp/pandoc-3.1.11/bin/pandoc on first use\n# Or use system pandoc if available\n\n\nConvert Markdown to DOCX:\n\n/tmp/pandoc-3.1.11/bin/pandoc input.md -o output.docx\n\n\nUpload to Drive (auto-converts to Google Docs):\n\ngog drive upload output.docx\n\n\nResult: Google Drive returns a link to the converted Google Doc\n\nScript Reference\n\nSee scripts/gdocs-create.sh for the helper script that automates this workflow.\n\nExample\n# Create a report from markdown\necho \"# Báo Cáo\\n\\nNội dung...\" > /tmp/report.md\ngdocs-create.sh /tmp/report.md \"Báo Cáo Tháng 2\"\n\n# Output: https://docs.google.com/document/d/xxxxx/edit\n\nNotes\nGoogle Drive automatically converts DOCX to Google Docs format on upload\nThe resulting document is fully editable in Google Docs\nOriginal DOCX file remains in Drive but can be deleted if only Google Docs version is needed"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/techlaai/gdocs-markdown",
    "publisherUrl": "https://clawhub.ai/techlaai/gdocs-markdown",
    "owner": "techlaai",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gdocs-markdown",
    "downloadUrl": "https://openagent3.xyz/downloads/gdocs-markdown",
    "agentUrl": "https://openagent3.xyz/skills/gdocs-markdown/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gdocs-markdown/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gdocs-markdown/agent.md"
  }
}