[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-398491cd-5944-485b-b7d7-38a742aa9204":3,"$fpfaxttcIUk-OC5E8clvKnZZ5kaD3bcj-hABY-61dhkI":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"398491cd-5944-485b-b7d7-38a742aa9204","google-docs-automation","轻量级Google Docs集成，独立OAuth身份验证。无需MCP服务器。","cat_prod_automation","mod_productivity","sickn33,productivity","---\nname: google-docs-automation\ndescription: \"Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.\"\nlicense: Apache-2.0\nrisk: critical\nsource: community\nmetadata:\n  author: sanjay3290\n  version: \"1.0\"\n---\n\n# Google Docs\n\nLightweight Google Docs integration with standalone OAuth authentication. No MCP server required.\n\n> **⚠️ Requires Google Workspace account.** Personal Gmail accounts are not supported.\n\n## When to Use\n- You need to create, search, read, or edit Google Docs from local automation scripts.\n- The task involves document text extraction, append\u002Finsert operations, or content replacement in Workspace docs.\n- You want direct Docs automation without relying on an MCP server.\n\n## First-Time Setup\n\nAuthenticate with Google (opens browser):\n```bash\npython scripts\u002Fauth.py login\n```\n\nCheck authentication status:\n```bash\npython scripts\u002Fauth.py status\n```\n\nLogout when needed:\n```bash\npython scripts\u002Fauth.py logout\n```\n\n## Commands\n\nAll operations via `scripts\u002Fdocs.py`. Auto-authenticates on first use if not logged in.\n\n```bash\n# Create a new document\npython scripts\u002Fdocs.py create \"Meeting Notes\"\n\n# Create a document with initial content\npython scripts\u002Fdocs.py create \"Project Plan\" --content \"# Overview\\n\\nThis is the project plan.\"\n\n# Find documents by title\npython scripts\u002Fdocs.py find \"meeting\" --limit 10\n\n# Get text content of a document\npython scripts\u002Fdocs.py get-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\n\n# Get text using a full URL\npython scripts\u002Fdocs.py get-text \"https:\u002F\u002Fdocs.google.com\u002Fdocument\u002Fd\u002F1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\u002Fedit\"\n\n# Append text to end of document\npython scripts\u002Fdocs.py append-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms \"New paragraph at the end.\"\n\n# Insert text at beginning of document\npython scripts\u002Fdocs.py insert-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms \"Text at the beginning.\\n\\n\"\n\n# Replace text in document\npython scripts\u002Fdocs.py replace-text 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms \"old text\" \"new text\"\n```\n\n## Document ID Format\n\nGoogle Docs uses document IDs like `1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms`. You can:\n- Use the full URL (the ID will be extracted automatically)\n- Use just the document ID\n- Get document IDs from the `find` command results\n\n## Token Management\n\nTokens stored securely using the system keyring:\n- **macOS**: Keychain\n- **Windows**: Windows Credential Locker\n- **Linux**: Secret Service API (GNOME Keyring, KDE Wallet, etc.)\n\nService name: `google-docs-skill-oauth`\n\nAccess tokens are automatically refreshed when expired using Google's cloud function.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,167,892,"2026-05-16 13:21:07",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"效率工具","productivity","mdi-lightning-bolt-outline","文档处理、数据分析、自动化工作流",4,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"自动化","automation","mdi-robot-outline","工作流自动化、批处理",3,101,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"dea6e203-6b25-420f-9acc-3471f435628d","1.0.0","google-docs-automation.zip",1420,"uploads\u002Fskills\u002F398491cd-5944-485b-b7d7-38a742aa9204\u002Fgoogle-docs-automation.zip","0ce8c81c06697dd6ee1bd62b64b58abcf13cd739d27d097597f28e00a2508302","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2964}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]