dropbox
ما الذي تفعله
تتيح للمساعد أن يجد ملفاتك ومجلداتك في Dropbox ويعمل بها. وهي لمن يحفظ مستنداته في Dropbox ويريد مساعدة فيها.
متى تستخدمها
- ✓عندما تطلب من المساعد أن يجد ملفاً أو مجلداً في Dropbox.
- ✓عندما تريد أن يقرأ المساعد مستنداً مخزناً في Dropbox أو ينزّله.
- ✓عندما تحتاج إلى رفع ملف من Dropbox أو مشاركته مع شخص ما.
رابط المهارة
https://github.com/yc-software/qm/blob/main/skills-seed/dropbox/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل تستطيع أن تجد آخر عقد في Dropbox الخاص بي وتخبرني بما يقوله؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستخدم المساعد وصول Dropbox المتصل بحسابك لعرض الملفات وبحثها وقراءتها ورفعها أو مشاركتها. ويتصرف فقط بالحساب الذي ربطته.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Dropbox
Use this skill when the user asks about their Dropbox files or folders — listing, searching, reading/downloading, uploading, or sharing.
This is an OAuth connector. The resolved user's Dropbox token already lives on your computer as an environment variable, one per Dropbox API host (the way a logged-in CLI's cached credential would):
$VAULT_TOKEN_API_DROPBOXAPI_COM— forapi.dropboxapi.com(RPC: list, search, share, move, delete)$VAULT_TOKEN_CONTENT_DROPBOXAPI_COM— forcontent.dropboxapi.com(download, upload)
Both carry the same Dropbox token (one OAuth grant spans every host), so if a
host-specific var is empty, $VAULT_TOKEN_API_DROPBOXAPI_COM works as the bearer for any
Dropbox host. Pass it as -H "Authorization: Bearer $VAULT_TOKEN_..." on every call;
nothing on the network path adds it for you. Never ask the user
for a token, log it, or use another principal's credential or a service fallback.
If $VAULT_TOKEN_API_DROPBOXAPI_COM is empty: per-user connector tokens are injected
only in a direct DM with the user (their personal scope) — in a channel or group
they're absent by design, even for a fully-connected user. So don't tell a channel user to
reconnect; ask them to DM you to run this. Only if it's empty inside a DM does it mean they
haven't connected Dropbox — then point them to the Connectors page.
On 400 Invalid authorization value: the header was missing or empty, so Dropbox
never checked the token. Fix your command (echo ${#VAULT_TOKEN_API_DROPBOXAPI_COM} shows
the variable is set) and retry; this says nothing about the user's connection. Before
telling a user Dropbox is broken, confirm with users/get_current_account below.
On 401 (invalid_access_token, expired_access_token): the token was sent and
rejected → have them reconnect — unless the error body's
.tag is missing_scope, in which case the app lacks a permission; name the required_scope
it returns (the connected app grants account_info.read, files.metadata.read,
files.content.read/write, sharing.read/write).
First: pick the right namespace (team vs personal)
This is the step that makes team and shared folders visible. By default the Dropbox
API only lists the user's personal (home) namespace — for a Business member that root
is often nearly empty. The team folders they see in the Dropbox web UI live in the
team namespace, and the API only shows them when you set the Dropbox-API-Path-Root
header.
Resolve the account's namespaces once, then reuse the root_namespace_id for the rest of
the session — it doesn't change. This endpoint takes no arguments: send no request body
and no Content-Type (adding Content-Type: application/json with an empty body returns
a 400):
curl -sS -X POST 'https://api.dropboxapi.com/2/users/get_current_account' \
-H "Authorization: Bearer $VAULT_TOKEN_API_DROPBOXAPI_COM"
Read root_info from the response. If root_info[".tag"] is team, use its
root_namespace_id to see everything (team folders + the member's own files); if it is
user (individual account), the default root is fine and no header is needed.
When you have a root_namespace_id, add this header to every files/sharing call so
your view matches the web UI (substitute the id):
-H 'Dropbox-API-Path-Root: {".tag":"root","root":"ROOT_NAMESPACE_ID"}'
Prefer referencing items by id ("id:...", returned by list/search) over path
strings — ids are stable across namespaces and avoid path-escaping issues.
List a folder
path is "" for the root of the active namespace, or a folder path/id:
curl -sS -X POST 'https://api.dropboxapi.com/2/files/list_folder' \
-H "Authorization: Bearer $VAULT_TOKEN_API_DROPBOXAPI_COM" \
-H 'Dropbox-API-Path-Root: {".tag":"root","root":"ROOT_NAMESPACE_ID"}' \
-H 'Content-Type: application/json' \
--data '{"path":"","recursive":false}'
For an ls -R-style or find-across-a-tree request, set "recursive":true to stream the
whole subtree in one paginated pass instead of walking folder by folder.
If the response has "has_more":true, page with the returned cursor:
curl -sS -X POST 'https://api.dropboxapi.com/2/files/list_folder/continue' \
-H "Authorization: Bearer $VAULT_TOKEN_API_DROPBOXAPI_COM" \
-H 'Content-Type: application/json' \
--data '{"cursor":"CURSOR"}'
Search
curl -sS -X POST 'https://api.dropboxapi.com/2/files/search_v2' \
-H "Author
الأسئلة الشائعة
ماذا لو قال المساعد إن Dropbox غير متصل؟
اربط Dropbox من صفحة الموصلات أولاً، فيستطيع المساعد عندئذ الوصول إلى ملفاتك.
هل يصل إلى مجلدات الفريق أو المجلدات المشتركة؟
نعم، تغطي المهارة مجلدات الفريق والمجلدات المشتركة، ما دام حسابك يملك الوصول إليها.
لماذا قد يطلب مني استخدام رسالة مباشرة؟
وصول Dropbox متاح فقط في رسالة مباشرة مع المساعد، لذلك اطلب ذلك هناك بدلاً من القناة المشتركة.
التفاصيل
الوصف الأصلي من المؤلف
Browse, search, read, upload, and share the user's Dropbox — including team/shared folders — through per-user OAuth.
repo: yc-software/qm
الشعبية
- نجوم GitHub
- 16k
- الترتيب
- #10889
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
deploy-qm
16kينشر حزمة QM على Fly.io أو AWS أو Render، ثم يجهّز مديراً وموصلات، واختيارياً Slack، وفق قائمة نشر كاملة.
onboarding
16kيرشد المستخدم الجديد خلال ربط حساباته ومشاركة طريقة عمله واختيار صوت وإعداد أول مساعدة، في محادثة قصيرة واحدة.
admin
16kيتيح لمدير مؤسسة موثّق أن يفحص الإعدادات على مستوى المؤسسة والنطاقات الأخرى أو يغيّرها من المحادثة، مع تأكيد كل تغيير قبل تنفيذه.
browse
16kيشغّل متصفحاً حقيقياً متخفياً من سطر الأوامر لتنفيذ إجراءات على المواقع، مثل تسجيل الدخول وملء النماذج، مع حفظ تسجيلات الدخول لكل شخص. مخصص للإجراءات لا للقراءة.
مهارات مشابهة
feishu-doc
394kيساعد وكيلك على قراءة مستندات Feishu السحابية وإنشائها وتعديلها، بما فيها النصوص والصور والجداول، باستخدام أداة المستندات.
feishu-drive
394kيتيح لوكيلك تصفح الملفات في مجلد سحابي على Feishu شاركته مع البوت، وتنظيمها، والتعليق عليها.
feishu-perm
394kيساعد وكيلك على معرفة من يستطيع الوصول إلى ملف Feishu وتغيير ذلك، مع اختيار أدنى صلاحية تلبي طلبك.