rclone_rcat

rclone_rcat is a command for Claude Code from chaunsin/agent-skills. It costs 8 tokens per session (613 once invoked), scanned A, a copy of rclone_rcat, Apache-2.0.

A command that reads data from standard input—the output of another command—and uploads it as one file to remote storage. If a file with that path already exists, it is overwritten.

In plain words
What is it for?
Use it for commands such as echo or ffmpeg that produce data to upload to an rclone remote file.
Why use it?
It lets command-line pipelines send data directly to cloud storage without first creating a local file. It can handle streamed input and can use a supplied size for preallocation.

Command for Claude Code

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

Good fit Use it for commands such as echo or ffmpeg that produce data to upload to an rclone remote file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chaunsin/agent-skills/rclone_rcat
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_rcat

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/chaunsin/agent-skills/rclone_rcat"><img src="https://agentmods.dev/badge/commands/chaunsin/agent-skills/rclone_rcat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% 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.00008 $0.00613
Opus 5 $0.00004 $0.00307
Sonnet 5 $0.00002 $0.00123
Haiku 4.5 $0.00001 $0.00061

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

Security

Grade A, and why

rclone_rcat scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to rclone_rcat — 2 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_rcat.md · 80 lines

How it starts

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

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

rclone rcat

Copies standard input to file on remote.

Synopsis

Reads from standard input (stdin) and copies it to a single remote file.

echo "hello world" | rclone rcat remote:path/to/file
ffmpeg - | rclone rcat remote:path/to/file

If the remote file already exists, it will be overwritten.

rcat will try to upload small files in a single request, which is usually more efficient than the streaming/chunked upload endpoints, which use multiple requests. Exact behaviour depends on the remote. What is considered a small file may be set through --streaming-upload-cutoff. Uploading only starts after the cutoff is reached or if the file ends before that. The data must fit into RAM. The cutoff needs to be small enough to adhere the limits of your remote, please see there. Generally speaking, setting this cutoff too high will decrease your performance.

Use the --size flag to preallocate the file in advance at the remote end and actually stream it, even if remote backend doesn't support streaming.

--size should be the exact size of the input stream in bytes. If the size of the stream is different in length to the --size passed in then the transfer will likely fail.

Note that the upload cannot be retried because the data is not stored. If the backend supports multipart uploading then individual chunks can be retried. If you need to transfer a lot of data, you may be better off caching it locally and then rclone move it to the destination which can use retries.

rclone rcat remote:path [flags]

Options

  -h, --help       help for rcat
      --size int   File size hint to preallocate (default -1)

Options shared with other commands are described next. See the global flags page for global options not listed here.

Important Options

Important flags useful for most commands

  -n, --dry-run         Do a trial run with no permanent changes
  -i, --interactive     Enable interactive mode
  -v, --verbose count   Print lots more stuff (repeat for more)

Read the full file on GitHub · 80 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 · 80 lines · 8 tokens per session scan A 0948bbde3b49

Subscribe to this mod's changes

rclone_rcat is a command published in the GitHub repository chaunsin/agent-skills (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 8 tokens to every session and 613 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to rclone_rcat, differing in 2 lines, and is treated as a copy.