ワンクリックで
jgdcli
Google Drive CLI (Java) for listing, searching, uploading, downloading, and sharing files and folders.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Google Drive CLI (Java) for listing, searching, uploading, downloading, and sharing files and folders.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | jgdcli |
| description | Google Drive CLI (Java) for listing, searching, uploading, downloading, and sharing files and folders. |
Command-line interface for Google Drive operations. Java port of gdcli.
Source: https://github.com/maxandersen/jgdcli
Option 1: Run directly with JBang (no install)
jbang jgdcli@maxandersen/skills --help
Option 2: Install as command
jbang app install jgdcli@maxandersen/skills
jgdcli --help
First check if already configured:
jgdcli accounts list
If no accounts, guide the user through setup:
jgdcli accounts credentials ~/path/to/credentials.jsonjgdcli accounts add <email> (use --manual for browserless OAuth)Credentials in ~/.jgcli/ are shared across jgccli, jgmcli, and jgdcli. Set up once, use with all three.
For separate credentials, use named credentials:
jgdcli accounts credentials ~/work-creds.json --name work
jgdcli accounts add work@company.com --credentials work
Run jgdcli --help for full command reference.
Common operations:
jgdcli ls <email> [folderId] - List files/foldersjgdcli ls <email> --query "<query>" - List with Drive query filterjgdcli search <email> "<text>" - Full-text content searchjgdcli download <email> <fileId> [destPath] - Download a filejgdcli upload <email> <localPath> [--folder <folderId>] - Upload a filejgdcli mkdir <email> <name> - Create a folderjgdcli share <email> <fileId> --anyone - Share publiclyTwo different commands:
search "<text>" - Searches inside file contents (fullText)ls --query "<query>" - Filters by metadata (name, type, date, etc.)Use ls --query for filename searches!
Format: field operator value. Combine with and/or, group with ().
Operators: =, !=, contains, <, >, <=, >=
Examples:
# By filename
jgdcli ls <email> --query "name = 'report.pdf'" # exact match
jgdcli ls <email> --query "name contains 'IMG'" # prefix match
# By type
jgdcli ls <email> --query "mimeType = 'application/pdf'"
jgdcli ls <email> --query "mimeType contains 'image/'"
jgdcli ls <email> --query "mimeType = 'application/vnd.google-apps.folder'" # folders
# By date
jgdcli ls <email> --query "modifiedTime > '2024-01-01'"
# By owner/sharing
jgdcli ls <email> --query "'me' in owners"
jgdcli ls <email> --query "sharedWithMe"
# Exclude trash
jgdcli ls <email> --query "trashed = false"
# Combined
jgdcli ls <email> --query "name contains 'report' and mimeType = 'application/pdf'"
Ref: https://developers.google.com/drive/api/guides/ref-search-terms
~/.jgcli/credentials.json - OAuth client credentials (shared with jgccli, jgmcli)~/.jgcli/accounts-drive.json - Account tokens~/.jgcli/downloads/ - Default download locationUse when debugging, tracing, or mutating state in a running or testable Java application — inject code at method entry/exit, read/write fields, trace calls, throw exceptions, or verify behavior without recompiling
Configure JReleaser to release projects to GitHub — supports Go, Rust, Java, Zig, C#, Deno, Swift, and 20+ languages. Creates jreleaser.yml and GitHub Actions workflows from proven templates.
Google Calendar CLI (Java) for listing calendars, viewing/creating/updating events, and checking availability.
Gmail CLI (Java) for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.
Use when the user wants to create a GitHub fine-grained personal access token with minimal permissions for a specific task — determines minimal permissions and generates a prefill URL for the GitHub web UI
Use when creating git worktrees for Maven projects - prevents SNAPSHOT artifact clashes and corporate plugin resolution failures through isolated local repositories