rclone_index

rclone_index is a command for Claude Code from olorehq/olore. It costs 8 tokens per session (3,891 once invoked), scanned A, original, MIT.

An rclone command that creates directory-listing files, such as index.html, in a remote folder. These listings let people browse files when the remote is served as a website or through a web server.

In plain words
What is it for?
Use it to publish browsable listings for S3 website endpoints, CDN-backed buckets, or other static file servers.
Why use it?
It avoids manually creating and updating file indexes after uploads. Each run changes only listings that need updating, but it can overwrite files with the same output name.

Command for Claude Code

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

Good fit Use it to publish browsable listings for S3 website endpoints, CDN-backed buckets, or other static file servers.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/olorehq/olore/rclone_index
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/olorehq/olore

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_index

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/olorehq/olore/rclone_index"><img src="https://agentmods.dev/badge/commands/olorehq/olore/rclone_index.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 3,891 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 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.1 $0.00008 $0.03891
Opus 5.5 $0.00003 $0.01556
Sonnet 5.5 $0.00002 $0.00778
Haiku 4.5 $0.00001 $0.00389

Measured 25d ago against content hash 4ddd0becadf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rclone_index 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 25d 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.

vault/packages/rclone/latest/contents/commands/rclone_index.md · 332 lines

How it starts

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

rclone index

Write static directory listings into a remote.

Synopsis

Write a directory listing, index.html by default, into every directory of remote:path so that it can be browsed when it is served as a static website, for example from an S3 website endpoint, a bucket behind a CDN, or a plain web server.

This works like rclone sync: each run makes the minimum changes needed to bring the listings into line with the files. Listings which haven't changed aren't rewritten, so a run with no changes makes no uploads. The listings never show the listing files themselves.

Note that rclone index treats every file with an output name (index.html by default) in the directories it indexes as its own, and will overwrite it or delete it without checking where it came from. To protect a hand-written index, exclude its directory with --index-exclude.

Outputs

--output NAME=FORMAT says what to write in each directory and can be repeated. NAME is the file name, and FORMAT is one of the built-in formats below or the path of a Go template file.

Format MIME type Contents
html text/html; charset=utf-8 The HTML listing from the rclone serve http template
json application/json JSON in the format of rclone lsjson for the directory
caddy application/json JSON in the format of Caddy's file_server browse

The default is --output index.html=html. The built-in formats are templates, so they can be printed with --print-template FORMAT, copied and changed. Outputs whose name ends in .html or .htm are rendered with Go's html/template and everything else with text/template, which has a json function for safe encoding. The template data is that of rclone serve http with .Static set (see rclone serve http). Outputs are uploaded with the MIME type of the built-in format, or that of the output name's extension for template outputs, since static hosts serve the stored type.

Read the full file on GitHub · 332 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. 25d ago First seen · 332 lines · 8 tokens per session scan A 4ddd0becadf5

Subscribe to this mod's changes

rclone_index is a command published in the GitHub repository olorehq/olore (119 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 3,891 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

rclone_index compared with commands from other repositories

rclone_index next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rclone_indexolorehq/oloreCommand119todayMITA8Claude Code
cost-optimizewshobson/agentsCommand43k2d agoMITA26Claude Code
deploybutterbase-ai/butterbase-skillsCommand5371mo agoMITA20Claude Code
envvercel/vercel-pluginCommand356yesterdaynoneA35Claude Code
firebase-publishPierry/harness-kitCommand41mo agoMITA20Claude Code
scanprajapatimehul/claude-aws-cost-saverCommand245mo agoMITA6Claude Code
migrationdatabayt/hogwartsCommand19todaynoneA4Claude Code