rclone_serve_docker

rclone_serve_docker is a command for Claude Code from chaunsin/agent-skills. It costs 10 tokens per session (7,534 once invoked), scanned B, a copy of rclone_serve_dlna, Apache-2.0.

A service that implements Docker’s volume plugin API so Docker can use an rclone remote as storage. Docker is a tool for running applications in isolated containers.

In plain words
What is it for?
It helps Docker create and use rclone-backed volumes through a Unix or TCP socket.
Why use it?
It connects Docker volumes to cloud-storage providers supported by rclone.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit It helps Docker create and use rclone-backed volumes through a Unix or TCP socket.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chaunsin/agent-skills/rclone_serve_docker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/chaunsin/agent-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for rclone_serve_docker

README.md
[![agentmods](https://agentmods.dev/badge/commands/chaunsin/agent-skills/rclone_serve_docker/github.svg)](https://agentmods.dev/commands/chaunsin/agent-skills/rclone_serve_docker)
Your own site
<a href="https://agentmods.dev/commands/chaunsin/agent-skills/rclone_serve_docker"><img src="https://agentmods.dev/badge/commands/chaunsin/agent-skills/rclone_serve_docker/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.

agentmods 80×15 button for rclone_serve_docker

Your own site · 80×15
<a href="https://agentmods.dev/commands/chaunsin/agent-skills/rclone_serve_docker"><img src="https://agentmods.dev/badge/commands/chaunsin/agent-skills/rclone_serve_docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 84% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.07534
Opus 5 $0.00005 $0.03767
Sonnet 5 $0.00002 $0.01507
Haiku 4.5 $0.00001 $0.00753

Measured 5d ago against content hash a5ee2c5bb0ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

rclone_serve_docker scanned grade B 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 5d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo rclone serve docker --base-dir /tmp/rclone-volumes --socket-addr localhost:8787 -vv
Origin

This is a copy

84% identical to rclone_serve_dlna — 103 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/rclone-cli/references/commands/rclone_serve_docker.md · 654 lines

How it starts

The opening of the file, as written. The whole thing — 654 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Official documentation: https://rclone.org/commands/rclone_serve_docker/

rclone serve docker

Serve any remote on docker's volume plugin API.

Synopsis

This command implements the Docker volume plugin API allowing docker to use rclone as a data storage mechanism for various cloud providers. rclone provides docker volume plugin based on it.

To create a docker plugin, one must create a Unix or TCP socket that Docker will look for when you use the plugin and then it listens for commands from docker daemon and runs the corresponding code when necessary. Docker plugins can run as a managed plugin under control of the docker daemon or as an independent native service. For testing, you can just run it directly from the command line, for example:

sudo rclone serve docker --base-dir /tmp/rclone-volumes --socket-addr localhost:8787 -vv

Running rclone serve docker will create the said socket, listening for commands from Docker to create the necessary Volumes. Normally you need not give the --socket-addr flag. The API will listen on the unix domain socket at /run/docker/plugins/rclone.sock. In the example above rclone will create a TCP socket and a small file /etc/docker/plugins/rclone.spec containing the socket address. We use sudo because both paths are writeable only by the root user.

If you later decide to change listening socket, the docker daemon must be restarted to reconnect to /run/docker/plugins/rclone.sock or parse new /etc/docker/plugins/rclone.spec. Until you restart, any volume related docker commands will timeout trying to access the old socket. Running directly is supported on Linux only, not on Windows or MacOS. This is not a problem with managed plugin mode described in details in the full documentation.

The command will create volume mounts under the path given by --base-dir (by default /var/lib/docker-volumes/rclone available only to root) and maintain the JSON formatted file docker-plugin.state in the rclone cache directory with book-keeping records of created and mounted volumes.

Read the full file on GitHub · 654 lines

Changes

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.

  1. 5d ago First seen · 654 lines · 10 tokens per session scan B a5ee2c5bb0ef

Subscribe to this mod's changes

rclone_serve_docker is a command published in the GitHub repository chaunsin/agent-skills (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 7,534 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 84% identical to rclone_serve_dlna, differing in 103 lines, and is treated as a copy.

Related

Other commands, from other repositories

animated-drawing

Animate a SUPPLIED drawing/photo of a character with real motion capture (Meta AnimatedDrawings) → raster GIF/MP4 of that drawing moving. To CREATE a vector doodle from scratch, use /ink-art.

calesthio/OpenMontage · 0 tokens

backlot

Open the Backlot living storyboard — the browser board that shows pipeline stages, script, scene plan, and generated assets live as a production runs.

calesthio/OpenMontage · 29 tokens

deploy-setup

Wire CI + secrets for a fresh storefront. Run once after /init-store before the first push to main.

commerce-atoms/agents · 26 tokens

create-spec

Generate comprehensive feature specifications using a contract-first approach that ensures complete alignment between developer and AI before creating any supporting files. This command eliminates presumptuous file creation by establishing a clear "contract" through structured clarification rounds.

devobsessed/code-captain · 0 tokens

create-adr

Create comprehensive Architecture Decision Records (ADRs) that systematically document architectural decisions with clear rationale, alternatives considered, and consequences through a structured analysis and review process.

devobsessed/code-captain · 0 tokens

execute-task

Execute a specific task and its sub-tasks systematically following a Test-Driven Development (TDD) workflow. This command reads task specifications from .code-captain/specs/ directories and implements features with comprehensive testing, following established code standards and best practices.

devobsessed/code-captain · 0 tokens