google-drive-automation
أتمتة سير عمل Google Drive
إدارة ملفات Google Drive يدوياً عبر واجهة الويب بطيئة وعرضة للأخطاء. توفر هذه المهارة توثيقاً شاملاً لأتمتة عمليات الملفات، وتنظيم المجلدات، والمشاركة، والبحث من خلال مجموعة أدوات Rube MCP.
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「google-drive-automation」を使用しています。 Find all PDF files in my Drive that were modified this week
期待される結果:
Found 12 PDF files modified in the last 7 days. Here are the results: Q4-Financial-Report.pdf (modified 2 days ago), Invoice-1042.pdf (modified 3 days ago), Contract-Draft.pdf (modified 5 days ago), etc.
「google-drive-automation」を使用しています。 Upload report.docx to my Projects folder
期待される結果:
Successfully uploaded report.docx to the 'Projects' folder. File ID: 1a2B3c4D5e6F7g8H. Upload completed at 2:34 PM.
「google-drive-automation」を使用しています。 Create a folder structure for the new marketing campaign
期待される結果:
Created folder 'Q2-Marketing-Campaign' in root. Created 3 subfolders inside: 'Assets', 'Copy', and 'Reports'. All folders verified and ready for use.
セキュリティ監査
安全All 163 static analysis findings are false positives from markdown code blocks. This is a documentation-only skill with no executable code. Backtick patterns (152 findings) are markdown code spans for API tool names, not Ruby/shell commands. Crypto algorithm flags (10 findings) are legitimate API parameter names. The single URL is documented configuration for Rube MCP endpoint. No security risks present.
品質スコア
作れるもの
أتمتة سير عمل النسخ الاحتياطي للملفات
رفع الملفات المحلية إلى مجلدات Google Drive تلقائياً، تنظيمها حسب التاريخ أو المشروع، والتحقق من نجاح النقل عبر فحوصات البيانات الوصفية.
البحث وتنظيم محركات الأقراص الكبيرة
العثور على ملفات محددة عبر مجلدات متعددة باستخدام صيغة استعلام Drive، ثم إعادة التنظيم إلى هياكل مجلدات منظمة مع مراجع أبوية صحيحة.
إدارة أذونات الوصول
مشاركة الملفات مع المستخدمين أو المجموعات، تعيين أدوار قارئ/كاتب مناسبة، ومراجعة الأذونات باستخدام عمليات السرد والتحديث.
これらのプロンプトを試す
Upload the file [filename] to my Google Drive in the folder named [folder name]. The file is located at [local path].
Search my Google Drive for all [file type] files modified after [date]. Show me the results with file names and modification dates.
Create a folder named '[project name]' in my Google Drive root, then create subfolders named '[subfolder1]', '[subfolder2]', and '[subfolder3]' inside it.
Share the file named '[filename]' with [email address] giving them [role] access. Verify the permission was set correctly.
ベストプラクティス
- استدعِ RUBE_SEARCH_TOOLS أولاً للحصول على مخططات الأدوات الحالية قبل تنفيذ سير العمل
- استخدم GOOGLEDRIVE_FIND_FILE لحل أسماء المجلدات إلى معرّفات قبل إنشاء مجلدات فرعية أو نقل الملفات
- عيّن معلمة نوع MIME فقط عند تصدير تنسيقات Google Workspace؛ احذفها لتنزيلات الملفات الأصلية
- اتبع nextPageToken في نتائج البحث حتى النفاذ لضمان استرجاع البيانات الكاملة
- تحقق من أن حالة الاتصال تُظهر ACTIVE قبل تشغيل أي عمليات Google Drive
回避
- تمرير أسماء المجلدات مباشرة إلى معلمة parent_id بدلاً من حلها إلى معرّفات المجلدات أولاً
- تعيين معلمة mime_type عند تنزيل الملفات الأصلية (PDF، الصور، مستندات Office) مما يسبب أخطاءً
- إنشاء استعلامات معقدة بأكثر من 5-10 عبارات OR التي تتجاوز حدود تعقيد استعلام Drive
- استخدام أحرف البدل مع النجوم في عمليات البحث بالاسم بدلاً من عامل contains
よくある質問
لماذا يفشل رفع ملفي بخطأ 's3key مطلوب'؟
كيف أجد معرّف المجلد للمجلد المستهدف؟
متى يجب تعيين معلمة mime_type؟
لماذا أحصل على أخطاء 403 PERMISSION_DENIED؟
ما الفرق بين GOOGLEDRIVE_FIND_FILE وGOOGLEDRIVE_LIST_FILES؟
كيف أنقل ملفاً إلى مجلد مختلف؟
開発者の詳細
作成者
sickn33ライセンス
MIT
リポジトリ
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/google-drive-automation参照
main
ファイル構成
📄 SKILL.md