rclone_completion_bash

A command that creates tab completion for rclone, a command-line tool for managing files across storage services.

In plain words
What is it for?
It generates a Bash completion script and writes it to a file or to the terminal.
Why use it?
It reduces typing and helps users discover valid rclone commands and options in Bash.

Command

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.

agentmods
npx agentmods add commands/chaunsin/agent-skills/rclone_completion_bash
Clone the repo
git clone --depth 1 https://github.com/chaunsin/agent-skills
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 399 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found 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 $0.00008 $0.00399
Opus 5 $0.00004 $0.00199
Sonnet 5 $0.00002 $0.00080
Haiku 4.5 $0.00001 $0.00040

Measured yesterday against content hash 18944a201977, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

rclone_completion_bash 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 yesterday.

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.

and so rclone will probably need to be run as root, or with sudo.
skills/rclone-cli/references/commands/rclone_completion_bash.md · 71 lines

What it actually says

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

rclone completion bash

Output bash completion script for rclone.

Synopsis

Generates a bash shell autocompletion script for rclone.

By default, when run without any arguments,

rclone completion bash

the generated script will be written to

/etc/bash_completion.d/rclone

and so rclone will probably need to be run as root, or with sudo.

If you supply a path to a file as the command line argument, then the generated script will be written to that file, in which case you should not need root privileges.

If output_file is "-", then the output will be written to stdout.

If you have installed the script into the default location, you can logout and login again to use the autocompletion script.

Alternatively, you can source the script directly

. /path/to/my_bash_completion_scripts/rclone

and the autocompletion functionality will be added to your current shell.

rclone completion bash [output_file] [flags]

Options

  -h, --help   help for bash

See the global flags page for global options not listed here.

See Also

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. yesterday First seen · 71 lines · 8 tokens per session scan B 18944a201977

Subscribe to this mod's changes

rclone_completion_bash 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 399 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.