{
  "markdown": "# Google Docs & Drive Skill\n\nA skill for AI coding assistants (Claude Code, gemini-cli, OpenCode, Codex, Cursor) to manage Google Docs and Google Drive with comprehensive document and file operations.\n\n## Attribution\n\nOriginally created by [Rob Taylor](https://github.com/robtaylor) — [original repo](https://github.com/robtaylor/google-docs-skill).\nMaintained and extended by [Daniel Kwapien](https://github.com/danielkwapien).\n\n## What's New in v1.3.0\n\n- Large document insertion (`insert_markdown_to_doc.rb`) with rate limiting and batching\n- Real Google Docs tables with bold headers from Markdown\n- Code blocks and inline code in Consolas font\n- Local image upload to Drive + inline insertion\n- Template document support (preserve cover page)\n- Expanded troubleshooting guide (Ruby version, token format, Drive API)\n\n## Features\n\n### Google Docs Operations\n- Read document content and structure\n- Create new documents (plain text or Markdown)\n- Insert and append text with Markdown formatting\n- Find and replace text\n- Text formatting (bold, italic, underline)\n- Insert page breaks, images, and tables\n- Delete content ranges\n- Large document insertion with rate limiting\n\n### Google Drive Operations\n- Upload and download files\n- Search across Drive\n- Create and list folders\n- Share files and folders\n- Move and organize files\n- Export files to different formats (PDF, PNG, etc.)\n\n## Installation\n\n### Claude Code / OpenCode\n\n```bash\ngit clone https://github.com/danielkwapien/google-docs-skill.git ~/.claude/skills/google-docs\n```\n\n### gemini-cli (as skill)\n\n```bash\ngemini skills install https://github.com/danielkwapien/google-docs-skill.git\n```\n\n### gemini-cli (as extension)\n\n```bash\ngemini extensions install https://github.com/danielkwapien/google-docs-skill.git\n```\n\n### Cross-tool standard path\n\n```bash\ngit clone https://github.com/danielkwapien/google-docs-skill.git ~/.agents/skills/google-docs\n```\n\n## Setup\n\n1. Create a Google Cloud Project and enable the Docs and Drive APIs\n2. Create OAuth 2.0 credentials (Desktop application type)\n3. Download credentials and save as `~/.claude/.google/client_secret.json`\n4. Run any command — the script will prompt for authorization\n\nThe OAuth token is shared with other Google skills (Sheets, Calendar, Gmail, etc.).\n\n## Usage\n\nSee [SKILL.md](SKILL.md) for complete documentation and examples.\n\n### Quick Examples\n\n```bash\n# Read a document\nscripts/docs_manager.rb read <document_id>\n\n# Create a document from Markdown\necho '{\"title\": \"My Doc\", \"markdown\": \"# Heading\\n\\nParagraph with **bold**.\"}' | scripts/docs_manager.rb create-from-markdown\n\n# Insert large markdown into existing doc\nscripts/insert_markdown_to_doc.rb --clear-after 1234 <document_id> ./content.md\n\n# Upload a file to Drive\nscripts/drive_manager.rb upload --file ./myfile.pdf --name \"My PDF\"\n\n# Search Drive\nscripts/drive_manager.rb search --query \"name contains 'Report'\"\n```\n\n## Requirements\n\n- Ruby 3.0+ (Homebrew recommended on macOS: `/opt/homebrew/opt/ruby/bin/ruby`)\n- Gems: `google-apis-docs_v1`, `google-apis-drive_v3`, `googleauth`\n\n## License\n\nMIT License — see [LICENSE](LICENSE) for details.\n",
  "bytes": 3137,
  "sha": "a3fb7592878b687004b233390d523397e57e411dc032203b6c61cecb8ef0e09a",
  "repo_slug": "danielkwapien/google-docs-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_danielkwapien_google_docs_skill_8ea6ee8e/readme"
}