rclone_lsjson

rclone_lsjson is a command for Claude Code from olorehq/olore. It costs 11 tokens per session (2,213 once invoked), scanned A, original, MIT.

A command that lists remote files and folders as JSON, a structured text format commonly used by programs.

In plain words
What is it for?
Building scripts and integrations that need paths, sizes, timestamps, hashes, IDs, MIME types, or directory information.
Why use it?
It lets applications consume file metadata without parsing formatted human-readable text.

Command for Claude Code

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

Good fit Building scripts and integrations that need paths, sizes, timestamps, hashes, IDs, MIME types, or directory information.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/olorehq/olore/rclone_lsjson"><img src="https://agentmods.dev/badge/commands/olorehq/olore/rclone_lsjson.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,213 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.00011 $0.02213
Opus 5 $0.00005 $0.01107
Sonnet 5 $0.00002 $0.00443
Haiku 4.5 $0.00001 $0.00221

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

Security

Grade A, and why

rclone_lsjson 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 6d 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

Copies of this mod

1 near-identical copy found in the catalogue:

vault/packages/rclone/1.74.3/contents/commands/rclone_lsjson.md · 194 lines

How it starts

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

rclone lsjson

List directories and objects in the path in JSON format.

Synopsis

List directories and objects in the path in JSON format.

The output is an array of Items, where each Item looks like this:

{
  "Hashes" : {
    "SHA-1" : "f572d396fae9206628714fb2ce00f72e94f2258f",
    "MD5" : "b1946ac92492d2347c6235b4d2611184",
    "DropboxHash" : "ecb65bb98f9d905b70458986c39fcbad7715e5f2fcc3b1f07767d7c83e2438cc"
  },
  "ID": "y2djkhiujf83u33",
  "OrigID": "UYOJVTUW00Q1RzTDA",
  "IsBucket" : false,
  "IsDir" : false,
  "MimeType" : "application/octet-stream",
  "ModTime" : "2017-05-31T16:15:57.034468261+01:00",
  "Name" : "file.txt",
  "Encrypted" : "v0qpsdq8anpci8n929v3uu9338",
  "EncryptedPath" : "kja9098349023498/v0qpsdq8anpci8n929v3uu9338",
  "Path" : "full/path/goes/here/file.txt",
  "Size" : 6,
  "Tier" : "hot",
}

The exact set of properties included depends on the backend:

  • The property IsBucket will only be included for bucket-based remotes, and only for directories that are buckets. It will always be omitted when value is not true.
  • Properties Encrypted and EncryptedPath will only be included for encrypted remotes, and (as mentioned below) only if the --encrypted option is set.

Different options may also affect which properties are included:

  • If --hash is not specified, the Hashes property will be omitted. The types of hash can be specified with the --hash-type parameter (which may be repeated). If --hash-type is set then it implies --hash.
  • If --no-modtime is specified then ModTime will be blank. This can speed things up on remotes where reading the ModTime takes an extra request (e.g. s3, swift).
  • If --no-mimetype is specified then MimeType will be blank. This can speed things up on remotes where reading the MimeType takes an extra request (e.g. s3, swift).
  • If --encrypted is not specified the Encrypted and EncryptedPath properties will be omitted - even for encrypted remotes.
  • If --metadata is set then an additional Metadata property will be returned. This will have metadata in rclone standard format as a JSON object.

Read the full file on GitHub · 194 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. 6d ago First seen · 194 lines · 11 tokens per session scan A d46fcd43834e

Subscribe to this mod's changes

rclone_lsjson is a command published in the GitHub repository olorehq/olore (103 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 2,213 once invoked, about $0.0001 per session on Opus 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-09-03.