googledocs-automation
Skill này làm gì
Công cụ này giúp bạn quản lý Google Docs. Bạn có thể tạo tài liệu mới, tìm tài liệu có sẵn, cập nhật nội dung, thay thế văn bản cụ thể, xuất ra PDF hoặc tạo bản sao.
Khi nào nên dùng
- ✓Khi bạn cần tạo một tài liệu mới nhanh chóng.
- ✓Khi bạn muốn tìm một tài liệu cũ theo tên hoặc nội dung.
- ✓Khi bạn cần thay thế văn bản trong nhiều tài liệu.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/googledocs-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một tài liệu tên “Báo cáo tháng” với nội dung “Đây là báo cáo doanh số tháng 1.””
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với Google Docs và dùng các lệnh cụ thể để thực hiện thao tác bạn yêu cầu, như tạo, tìm kiếm hoặc chỉnh sửa tài liệu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google Docs Automation via Rube MCP
Create, edit, search, export, and manage Google Docs documents programmatically using Rube MCP (Composio).
Toolkit docs: composio.dev/toolkits/googledocs
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgoogledocs - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgoogledocs - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Create a New Document
Use GOOGLEDOCS_CREATE_DOCUMENT to create a new Google Doc with a title and initial text content.
Tool: GOOGLEDOCS_CREATE_DOCUMENT
Parameters:
- title (required): Document filename/title
- text (required): Initial text content to insert into the document
2. Search for Documents
Use GOOGLEDOCS_SEARCH_DOCUMENTS to find Google Docs by name, content, date, or sharing status.
Tool: GOOGLEDOCS_SEARCH_DOCUMENTS
Parameters:
- query: Search query string
- max_results: Limit number of results
- modified_after / created_after: Filter by date
- shared_with_me: Filter shared documents
- starred_only: Filter starred documents
- include_shared_drives: Search shared drives
- order_by: Sort results
- page_token: Pagination token
3. Update Document Content with Markdown
Use GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWN to replace the entire content of a document with Markdown-formatted text.
Tool: GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWN
Parameters:
- id (required): Document ID
- markdown (required): Markdown content to replace entire document body
4. Find and Replace Text
Use GOOGLEDOCS_REPLACE_ALL_TEXT to replace all occurrences of a string in a document.
Tool: GOOGLEDOCS_REPLACE_ALL_TEXT
Parameters:
- document_id (required): Target document ID
- find_text (required): Text to search for
- replace_text (required): Replacement text
- match_case: Case-sensitive matching (boolean)
- search_by_regex: Use regex for find_text
- tab_ids: Specific tabs to search
5. Export Document as PDF
Use GOOGLEDOCS_EXPORT_DOCUMENT_AS_PDF to export a Google Doc to PDF format.
Tool: GOOGLEDOCS_EXPORT_DOCUMENT_AS_PDF
Parameters:
- file_id (required): Document file ID
- filename: Output PDF filename
6. Copy a Document
Use GOOGLEDOCS_COPY_DOCUMENT to duplicate an existing Google Doc.
Tool: GOOGLEDOCS_COPY_DOCUMENT
Parameters:
- document_id (required): Source document ID to copy
- title: Title for the new copy
- include_shared_drives: Search shared drives for the source
Common Patterns
- Search then edit: Use
GOOGLEDOCS_SEARCH_DOCUMENTSto find a document by name, then use the returned document ID withGOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWNorGOOGLEDOCS_REPLACE_ALL_TEXTto modify it. - Create from template: Use
GOOGLEDOCS_COPY_DOCUMENTto duplicate a template, thenGOOGLEDOCS_REPLACE_ALL_TEXTto fill in placeholder text. - Retrieve then update: Use
GOOGLEDOCS_GET_DOCUMENT_BY_IDto read current content, then apply edits withGOOGLEDOCS_UPDATE_EXISTING_DOCUMENT. - Batch text insertion: Use
GOOGLEDOCS_INSERT_TEXT_ACTIONto insert text at specific positions (by index) or append to the end of a document. - Share documents: Combine with
GOOGLEDRIVE_ADD_FILE_SHARING_PREFERENCE(googledrive toolkit) to share documents after creation.
Known Pitfalls
GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWNreplaces the entire document content -- it does not append. Use it for full rewrites only.GOOGLEDOCS_INSERT_TEXT_ACTIONrequires a preciseinsertion_index(character position). Setappend_to_end: trueto safely add text at the end.GOOGLEDOCS_UPDATE_EXISTING_DOCUMENTrequires constructing aneditDocsrequest body with raw Google Docs API batch update requests -- consult the API documentation for the correct structure.- Document IDs and file IDs are the same value for Google Docs, but parameter names differ across tools (
id,document_id,file_id).
…
Câu hỏi thường gặp
Làm sao kết nối công cụ này với Google Docs của tôi?
Bạn cần thiết lập Rube MCP trong ứng dụng bạn dùng và kết nối bộ công cụ “googledocs” qua RUBE_MANAGE_CONNECTIONS. Hãy làm theo liên kết xác thực nếu được yêu cầu.
Tôi có thể thêm văn bản vào tài liệu có sẵn mà không ghi đè nội dung không?
Có, bạn có thể dùng chức năng để chèn văn bản tại một vị trí cụ thể hoặc thêm vào cuối tài liệu.
Công cụ có thể tìm tài liệu được chia sẻ với tôi không?
Có, bạn có thể dùng tham số “shared_with_me” trong chức năng tìm kiếm để tìm các tài liệu đã được chia sẻ với bạn.
Chi tiết
Mô tả gốc của tác giả
Automate Google Docs tasks via Rube MCP (Composio): create, edit, search, export, copy, and update documents. Always search tools first for current schemas.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #2114
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.