rclone_serve_nfs

rclone_serve_nfs is a command for Claude Code from olorehq/olore. It costs 8 tokens per session (7,420 once invoked), scanned B, a copy of rclone_serve_dlna, MIT.

An NFSv3 server that makes an rclone remote available as a network-mounted file system. It is mainly useful on macOS when installing FUSE is difficult.

In plain words
What is it for?
Mounting an rclone remote through NFS on the local machine or a protected network.
Why use it?
It lets programs access cloud-backed files as if they were on a mounted drive. Without caching, the mount is read-only, and the server has no built-in authentication.

Command for Claude Code

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

Good fit Mounting an rclone remote through NFS on the local machine or a protected network.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/olorehq/olore/rclone_serve_nfs.svg)](https://agentmods.dev/commands/olorehq/olore/rclone_serve_nfs)
Your own site
<a href="https://agentmods.dev/commands/olorehq/olore/rclone_serve_nfs"><img src="https://agentmods.dev/badge/commands/olorehq/olore/rclone_serve_nfs.svg" alt="Measured on agentmods" 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 7,420 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 81% 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.07420
Opus 5 $0.00004 $0.03710
Sonnet 5 $0.00002 $0.01484
Haiku 4.5 $0.00001 $0.00742

Measured 5d ago against content hash 40b5340946eb, 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_nfs 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.

rclone binary `sudo setcap cap_dac_read_search+ep /path/to/rclone`.
Origin

This is a copy

81% identical to rclone_serve_dlna — 117 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.

vault/packages/rclone/1.74.3/contents/commands/rclone_serve_nfs.md · 670 lines

How it starts

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

rclone serve nfs

Serve the remote as an NFS mount

Synopsis

Create an NFS server that serves the given remote over the network.

This implements an NFSv3 server to serve any rclone remote via NFS.

The primary purpose for this command is to enable the mount command on recent macOS versions where installing FUSE is very cumbersome.

This server does not implement any authentication so any client will be able to access the data. To limit access, you can use serve nfs on the loopback address or rely on secure tunnels (such as SSH) or use firewalling.

For this reason, by default, a random TCP port is chosen and the loopback interface is used for the listening address by default; meaning that it is only available to the local machine. If you want other machines to access the NFS mount over local network, you need to specify the listening address and port using the --addr flag.

Modifying files through the NFS protocol requires VFS caching. Usually you will need to specify --vfs-cache-mode in order to be able to write to the mountpoint (full is recommended). If you don't specify VFS cache mode, the mount will be read-only.

--nfs-cache-type controls the type of the NFS handle cache. By default this is memory where new handles will be randomly allocated when needed. These are stored in memory. If the server is restarted the handle cache will be lost and connected NFS clients will get stale handle errors.

--nfs-cache-type disk uses an on disk NFS handle cache. Rclone hashes the path of the object and stores it in a file named after the hash. These hashes are stored on disk the directory controlled by --cache-dir or the exact directory may be specified with --nfs-cache-dir. Using this means that the NFS server can be restarted at will without affecting the connected clients.

--nfs-cache-type symlink is similar to --nfs-cache-type disk in that it uses an on disk cache, but the cache entries are held as symlinks. Rclone will use the handle of the underlying file as the NFS handle which improves performance. This sort of cache can't be backed up and restored as the underlying handles will change. This is Linux only. It requires running rclone as root or with CAP_DAC_READ_SEARCH. You can run rclone with this extra permission by doing this to the rclone binary sudo setcap cap_dac_read_search+ep /path/to/rclone.

Read the full file on GitHub · 670 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 · 670 lines · 8 tokens per session scan B 40b5340946eb

Subscribe to this mod's changes

rclone_serve_nfs is a command published in the GitHub repository olorehq/olore (103 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 7,420 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 81% identical to rclone_serve_dlna, differing in 117 lines, and is treated as a copy.