dropbox
What it does
Lets the assistant find and work with your Dropbox files and folders. It is for people who keep documents in Dropbox and want help with them.
When to use it
- βWhen you ask the assistant to find a file or folder in your Dropbox.
- βWhen you want the assistant to read or download a document stored in Dropbox.
- βWhen you need to upload or share a file from your Dropbox with someone.
Skill link
https://github.com/yc-software/qm/blob/main/skills-seed/dropbox/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you find the latest contract in my Dropbox and tell me what it says?β
5 new skills a week. 1 minute to read.
How it works
The assistant uses your connected Dropbox access to list, search, read, upload or share files. It acts only with the account you have linked.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What if the assistant says my Dropbox is not connected?
Connect Dropbox from the Connectors page first. The assistant can then reach your files.
Can it reach team or shared folders?
Yes, the skill covers team and shared folders, as long as your account has access to them.
Why might it ask me to use a direct message?
Dropbox access is only available in a direct message with the assistant, so ask it there instead of in a shared channel.
Details
Original description by the author
Browse, search, read, upload, and share the user's Dropbox β including team/shared folders β through per-user OAuth.
repo: yc-software/qm
Popularity
- GitHub stars
- 16k
- Ranking position
- #10889
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
deploy-qm
16kDeploys the QM package to Fly.io, AWS, or Render, then sets up an administrator, connectors, and optionally Slack, following a full deployment checklist.
onboarding
16kWalks a new user through connecting accounts, sharing how they work, choosing a voice, and setting up first help, in one short conversation.
admin
16kLets a verified organization admin inspect or change org-wide settings and other scopes from chat, confirming each change before it is made.
browse
16kDrives a real stealth browser from your shell to act on websites, such as signing in or filling forms, with sign-ins kept per person. Meant for actions, not reading.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.