Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/derek-larson14/delegatenpx agentmods add commands/derek-larson14/delegate/driveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/derek-larson14/delegate/drive)<a href="https://agentmods.dev/commands/derek-larson14/delegate/drive"><img src="https://agentmods.dev/badge/commands/derek-larson14/delegate/drive/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/derek-larson14/delegate/drive"><img src="https://agentmods.dev/badge/commands/derek-larson14/delegate/drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.01638 |
| Opus 5.5 | $0.00004 | $0.00655 |
| Sonnet 5.5 | $0.00002 | $0.00328 |
| Haiku 4.5 | $0.00001 | $0.00164 |
Grade A, and why
drive scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
mkdir -p ./ops/scripts && curl -sL https://raw.githubusercontent.com/derek-larson14/delegate/main/ops/scripts/setup-drive.sh -o ./ops/scripts/setup-drive.sh && chmod +x ./ops/scripts/setup-drive.sh How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Drive Assistant
Access Google Drive via rclone - browse, search, and download files.
Setup (handle automatically, silently if already configured)
First, check if rclone + gdrive are ready:
rclone listremotes 2>/dev/null | grep -q "^gdrive:" && echo "READY"
If output is "READY": Skip all setup messaging. Just proceed directly to what the user asked for. If they just said "/drive" without a specific request, ask: "What do you want to find in your Drive?"
If not ready, then handle setup:
-
Check if rclone is installed:
which rclone- If not found, detect OS first:
uname -s 2>/dev/null || echo "Windows" - macOS/Linux: check if Homebrew exists:
which brew- If brew exists → run
brew install rcloneyourself - If no brew → tell user: "rclone needs Homebrew. In Finder, open your workspace folder and double-click
SETUP.command- it'll install Homebrew and the tools you need. Follow the prompts in the terminal window, then try/driveagain."
- If brew exists → run
- Windows (MINGW/CYGWIN/MSYS/Windows): tell user: "rclone not found. Run
.\SETUP.ps1(right-click → Run with PowerShell) or install manually:winget install Rclone.Rclone"
- If not found, detect OS first:
-
Check if the setup script exists. If not, download it:
mkdir -p ./ops/scripts && curl -sL https://raw.githubusercontent.com/derek-larson14/delegate/main/ops/scripts/setup-drive.sh -o ./ops/scripts/setup-drive.sh && chmod +x ./ops/scripts/setup-drive.sh
-
Tell the user: "Google Drive isn't connected yet. I'll open your browser - just sign in and click Allow."
-
Run:
./ops/scripts/setup-drive.sh -
Once complete, proceed with the user's request.
If connection test fails on an existing config, tell user to run rclone config reconnect gdrive:.
Browse & List
# List top-level folders
rclone lsd gdrive:
# List files in a folder
rclone ls gdrive:path/to/folder
# List with details (size, date)
rclone lsl gdrive:path/to/folder
# Limit depth when exploring
rclone lsd gdrive:Projects --max-depth 2
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 200 lines · 9 tokens per session scan A d37fc7ae3f0c
drive is a command published in the GitHub repository derek-larson14/delegate (39 stars, last pushed 6mo ago), licensed MIT. It adds 9 tokens to every session and 1,638 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
brand-generate
Generate an on-brand document from a saved Brand Profile.
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].
render-figures
Compile all .tex and .typ figure files in a directory.
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
publish-api-docs
Generate interactive API documentation from blueprint specs (Swagger UI, Redoc, AsyncAPI).
write-patent
An automated workflow for creating a complete Chinese patent application from a technical disclosure document, including written sections, patent drawings, and a Word file.