Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

dropbox-integrationDropbox 集成

Agent Skill

dropbox-integration 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

44,147

周安装

1,877

GitHub Stars

2

下载量

15,466
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dropbox-integration(Dropbox 集成)
来源仓库:https://github.com/tirandagan/dropbox-integration
安装命令:
openclaw skills install dropbox-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install dropbox-integration

简介

只读 Dropbox 集成,用于从 Dropbox 帐户浏览、搜索和下载文件。包括自动 OAuth 令牌刷新、安全凭证存储和全面的设置指南。非常适合从 OpenClaw 访问 Dropbox 文件,而无需授予写入权限。

SKILL.md

name
dropbox-integration
description
Read-only Dropbox integration for browsing, searching, and downloading files from your Dropbox account. Includes automatic OAuth token refresh, secure credential storage, and comprehensive setup guide. Perfect for accessing your Dropbox files from OpenClaw without giving write access.

Dropbox Integration

Overview

This skill provides read-only access to your Dropbox account, allowing you to browse folders, search files, and download content from OpenClaw. It uses OAuth 2.0 authentication with automatic token refresh for seamless long-term access.

Perfect for: Safely accessing your Dropbox files without worrying about accidental modifications or deletions.

Capabilities

Browse Files & Folders

  • List contents of any folder in your Dropbox
  • View file sizes and modification dates
  • Navigate folder hierarchies

Search Files

  • Full-text search across file names
  • Find files anywhere in your Dropbox
  • Get file metadata and locations

Download Files

  • Download any file from your Dropbox
  • Save to local filesystem
  • Batch download support

Automatic Token Management

  • OAuth 2.0 authentication with refresh tokens
  • Automatic token refresh (no manual re-authentication)
  • Secure credential storage
  • Token expiration handling with 5-minute buffer

Security & Permissions

This skill is configured for read-only access with the following Dropbox scopes:

  • files.metadata.read - Read file/folder metadata
  • files.content.read - Read file content
  • account_info.read - Read account information

NOT included:

  • files.content.write - Cannot upload or modify files
  • files.metadata.write - Cannot rename or move files
  • files.permanent_delete - Cannot delete files

This ensures your Dropbox content remains safe from accidental modifications.

Prerequisites

Before using this skill, you need:

  1. A Dropbox account (free or paid)
  2. A Dropbox App registration (takes 5 minutes)
  3. App key and App secret from your Dropbox App
  4. Node.js with dropbox package (auto-installed)

Setup time: ~10 minutes

See Setup Guide for step-by-step instructions.

Quick Start

1. Create Dropbox App

Visit https://www.dropbox.com/developers/apps/create and create a new app:

  • API: Scoped access
  • Access type: Full Dropbox (or App folder for restricted access)
  • App name: Something unique like "OpenClaw-YourName"

2. Configure OAuth

In your app's settings:

  1. Add redirect URI: http://localhost:3000/callback
  2. Copy your App key and App secret
  3. Under Permissions tab, enable:

- files.metadata.read - files.content.read - account_info.read

3. Save Credentials

Create credentials.json in the skill directory:

{
  "app_key": "your_dropbox_app_key_here",
  "app_secret": "your_dropbox_app_secret_here"
}

Important: This file is gitignored and will never be committed.

4. Run OAuth Setup

node setup-oauth.js

This will:

  1. Open your browser for Dropbox authorization
  2. Start a local server to capture the authorization code
  3. Exchange the code for access + refresh tokens
  4. Save tokens securely to token.json

5. Test Connection

node test-connection.js

If successful, you'll see your Dropbox account information!

Usage Examples

Browse a Folder

# List root folder
node browse.js

# List specific folder
node browse.js "/Documents"
node browse.js "/Photos/2024"

Output:

📁 Listing: /Documents

📄 report.pdf (2.3 MB) - 2024-02-01
📄 presentation.pptx (5.1 MB) - 2024-01-28
📁 Projects
📁 Archive

Total: 4 items

Search Files

node search-files.js "budget 2024"
node search-files.js "contract"

Output:

🔍 Searching for: "budget 2024"

✅ Found 3 matches:

📄 /Finance/budget-2024-q1.xlsx
   Size: 156.3 KB
   Modified: 2024-01-15T10:30:00Z

📄 /Reports/budget-2024-summary.pdf
   Size: 2.1 MB
   Modified: 2024-02-01T14:22:00Z

Download Files

# Download to local file
node download.js "/Documents/report.pdf" "./downloads/report.pdf"

# Download to current directory
node download.js "/Photos/vacation.jpg" "./vacation.jpg"

Output:

📥 Downloading: /Documents/report.pdf
✅ Saved to: ./downloads/report.pdf (2.3 MB)

Integration with OpenClaw

From OpenClaw, you can use the exec tool to run these scripts:

Browse files:

Run: node /path/to/dropbox-integration/browse.js "/Documents"

Search for files:

Run: node /path/to/dropbox-integration/search-files.js "contract"

Download a file:

Run: node /path/to/dropbox-integration/download.js "/path/in/dropbox" "./local/path"

Or create custom automation workflows that use the dropbox-helper.js module directly.

How It Works

Authentication Flow

  1. Initial Setup: User authorizes the app via OAuth 2.0
  2. Token Storage: Access token + refresh token saved to token.json
  3. Auto-Refresh: Before each API call, checks if token needs refresh
  4. Seamless Access: Automatically refreshes tokens 5 minutes before expiration

Token Lifecycle

  • Access Token: Short-lived (typically 4 hours)
  • Refresh Token: Long-lived (doesn't expire unless revoked)
  • Auto-refresh: Happens transparently in dropbox-helper.js
  • Refresh Buffer: 5 minutes before expiration to prevent edge cases

File Structure

dropbox-integration/
├── SKILL.md                 # This file
├── dropbox-helper.js        # Auto-refresh Dropbox client
├── setup-oauth.js           # OAuth setup script
├── browse.js                # Browse folders
├── search-files.js          # Search files
├── download.js              # Download files
├── test-connection.js       # Test authentication
├── credentials.json.example # Template for credentials
├── .gitignore               # Excludes credentials.json and token.json
└── references/
    └── setup-guide.md       # Detailed setup instructions

Troubleshooting

"credentials.json not found"

Create credentials.json with your Dropbox app key and secret (see Quick Start step 3).

"Token refresh failed"

Your refresh token may have been revoked. Re-run node setup-oauth.js to re-authenticate.

"Permission denied" errors

Check that you enabled the required permissions in your Dropbox App settings under the Permissions tab.

"redirect_uri_mismatch"

Make sure you added http://localhost:3000/callback to your app's redirect URIs in Dropbox App Console.

OAuth setup gets stuck

If the local server doesn't catch the redirect, manually copy the full URL from your browser after authorization and look for the code= parameter.

Limitations

  • Read-only: Cannot upload, modify, or delete files (by design)
  • File size: Practical limit ~150MB per download (Dropbox API constraint)
  • Rate limits: Dropbox API has rate limits (typically not an issue for personal use)
  • Shared folders: Access depends on your Dropbox account permissions

Security Best Practices

  1. Never commit credentials: credentials.json and token.json are gitignored
  2. File permissions: Tokens are saved with mode 0600 (user read/write only)
  3. App-specific tokens: Each app has its own tokens (easily revokable)
  4. Scope limitation: Only request permissions you actually need
  5. Token rotation: Refresh tokens are rotated automatically

Resources

References

Dropbox Developer Resources

Advanced Usage

Using the Helper Module

For custom integrations, import the helper directly:

const { getDropboxClient } = require('./dropbox-helper');

async function myCustomFunction() {
  const dbx = await getDropboxClient(); // Auto-refreshing client
  
  // Use any Dropbox SDK method
  const response = await dbx.filesListFolder({ path: '/Photos' });
  console.log(response.result.entries);
}

The helper automatically handles token refresh, so you never need to worry about expiration.

Batch Operations

Download multiple files in sequence:

const { getDropboxClient } = require('./dropbox-helper');
const fs = require('fs').promises;

async function downloadMultiple(files) {
  const dbx = await getDropboxClient();
  
  for (const file of files) {
    const response = await dbx.filesDownload({ path: file.dropboxPath });
    await fs.writeFile(file.localPath, response.result.fileBinary);
    console.log(`Downloaded: ${file.dropboxPath}`);
  }
}

Dependencies

This skill requires the dropbox npm package:

npm install dropbox

The package is automatically installed when you install this skill via ClawHub.

License

MIT - Free to use, modify, and distribute.

Support

For issues or questions:


Note: This skill is designed for personal use. For production applications with multiple users, consider implementing proper OAuth flow with state management and error handling for concurrent users.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.78%
按下载量换算15,123

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills