dropbox
できること
このスキルは、アシスタントがあなたのDropboxのファイルやフォルダーを見つけて扱えるようにします。書類をDropboxに保存していて、その内容について手伝ってほしい人向けです。
使う場面
- ✓Dropboxのファイルやフォルダーを見つけてほしいとき。
- ✓Dropboxに保存された書類を読んだり、ダウンロードしたりしてほしいとき。
- ✓Dropboxのファイルをアップロードまたは共有して、誰かに渡す必要があるとき。
スキルのリンク
https://github.com/yc-software/qm/blob/main/skills-seed/dropbox/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のDropboxで最新の契約書を見つけて、その内容を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
アシスタントは、接続された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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
deploy-qm
16kQMパッケージをFly.io、AWS、Renderのいずれかにデプロイし、完全なデプロイ手順に従って、管理者、コネクタ、必要に応じてSlackを設定します。
onboarding
16k仕事の進め方を伝え、接続したいツールを設定し、話し方を選び、最初の手助けを整えるまでを、ひとつの短い会話で新しいユーザーに案内します。
admin
16k認証された組織の管理者が、チャットから組織全体の設定などを確認または変更できるようにします。各変更は実行前に確認されます。
browse
16kシェルから本物のステルスブラウザを操作し、サインインやフォーム入力などのWeb上の作業を行います。サインインは人ごとに保持されます。読み取りではなく操作のためのものです。
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。