Langsung ke konten
Skillpedia
PDF, Word & slide16k Β· #10889

dropbox

Fungsinya

Memungkinkan asisten menemukan dan bekerja dengan berkas dan folder Dropbox Anda. Cocok untuk orang yang menyimpan dokumen di Dropbox dan ingin dibantu mengerjakannya.

Kapan dipakai

  • βœ“Saat Anda meminta asisten menemukan berkas atau folder di Dropbox Anda.
  • βœ“Saat Anda ingin asisten membaca atau mengunduh dokumen yang tersimpan di Dropbox.
  • βœ“Saat Anda perlu mengunggah atau membagikan berkas dari Dropbox kepada seseorang.

Link skill

https://github.com/yc-software/qm/blob/main/skills-seed/dropbox/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/yc-software/qm/blob/main/skills-seed/dropbox/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda menemukan kontrak terbaru di Dropbox saya dan memberi tahu apa isinya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Asisten memakai akses Dropbox yang terhubung untuk menampilkan, mencari, membaca, mengunggah, atau membagikan berkas. Ia hanya bertindak dengan akun yang Anda tautkan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 β€” for api.dropboxapi.com (RPC: list, search, share, move, delete)
  • $VAULT_TOKEN_CONTENT_DROPBOXAPI_COM β€” for content.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
Pertanyaan umum

Bagaimana jika asisten mengatakan Dropbox saya tidak terhubung?

Hubungkan Dropbox dari halaman Connectors terlebih dahulu. Setelah itu asisten bisa menjangkau berkas Anda.

Apakah ia bisa mengakses folder tim atau folder bersama?

Bisa. Skill ini mencakup folder tim dan folder bersama, selama akun Anda memiliki aksesnya.

Mengapa ia mungkin meminta saya memakai pesan langsung?

Akses Dropbox hanya tersedia dalam pesan langsung dengan asisten, jadi tanyakan di sana, bukan di kanal bersama.

Detail

Deskripsi asli dari pembuat

Browse, search, read, upload, and share the user's Dropbox β€” including team/shared folders β€” through per-user OAuth.

repo: yc-software/qm

Popularitas

Bintang GitHub
16k
Peringkat
#10889
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa