googledocs-automation
ما الذي تفعله
تساعدك هذه المهارة على إدارة مستنداتك في Google Docs. يمكنك إنشاء مستندات جديدة، والبحث عن المستندات الموجودة، وتحديث المحتوى، واستبدال نص محدد، والتصدير إلى PDF، أو إنشاء نسخ.
متى تستخدمها
- ✓عندما تحتاج إلى إنشاء مستند جديد بسرعة.
- ✓عندما تريد العثور على مستند قديم بالاسم أو المحتوى.
- ✓عندما تحتاج إلى استبدال نص في عدة مستندات.
رابط المهارة
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/googledocs-automation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ لي مستندًا باسم «التقرير الشهري» بالنص «هذا هو تقرير مبيعات يناير».”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تتصل المهارة بـ Google Docs وتستخدم أوامر محددة لتنفيذ الإجراءات التي تطلبها، مثل الإنشاء أو البحث أو تعديل المستندات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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).
…
الأسئلة الشائعة
كيف أربط هذه المهارة بمستنداتي في Google Docs؟
تحتاج إلى إعداد Rube MCP في عميلك وربط مجموعة أدوات «googledocs» عبر RUBE_MANAGE_CONNECTIONS. اتبع رابط التوثيق إذا طُلب منك ذلك.
هل يمكنني إضافة نص إلى مستند موجود دون استبدال محتواه؟
نعم، يمكنك استخدام الوظيفة لإدراج النص في موضع محدد أو إلحاقه بنهاية المستند.
هل يمكن للمهارة البحث عن مستندات مشتركة معي؟
نعم، يمكنك استخدام المعامل «shared_with_me» في وظيفة البحث للعثور على المستندات التي شاركها معك الآخرون.
التفاصيل
الوصف الأصلي من المؤلف
Automate Google Docs tasks via Rube MCP (Composio): create, edit, search, export, copy, and update documents. Always search tools first for current schemas.
الشعبية
- نجوم GitHub
- 77k
- الترتيب
- #2114
- الترخيص
- —
- آخر تحديث
- 18/9/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
artifacts-builder
77kيساعد وكيلك على بناء واجهات مستخدم معقدة. يستخدم تقنيات حديثة لإنشاء صفحات ويب تفاعلية وغنية.
brand-guidelines
77kيساعد وكيلك على تطبيق الألوان والخطوط الرسمية للعلامة على المواد. مفيد للحفاظ على الهوية البصرية.
canvas-design
77kيتيح لوكيلك إنشاء عمل فني بصري أصلي بصيغتي .png و.pdf. استخدمه عندما يطلب المستخدم ملصقًا أو لوحة فنية أو تصميمًا ثابتًا.
changelog-generator
77kيساعد وكيلك على كتابة ملاحظات الإصدار للمستخدمين من رسائل الكود. يحوّل المعلومات التقنية إلى نص سهل الفهم.
مهارات مشابهة
knowledge-automation
394kيساعد وكيلك على إعداد مهمة متكررة تضيف المحتوى الجديد إلى خزنة Knowledge حسب جدول زمني، ثم يتحقق من أنها تعمل.
knowledge-source-ingest
394kيساعد وكيلك على إبقاء خزنة المعرفة محدّثة بالعناصر الجديدة من قنوات الدردشة أو الخلاصات أو صناديق البريد، دون إعادة إضافة ما لديه.
benchmark
280kيساعد وكيلك على قياس سرعة الشيفرة وأدائها، ويفيد في التأكد من أن الأشياء سريعة وفي إيجاد مشكلات البطء.