rclone_serve_nfs

rclone_serve_nfs is a command for Claude Code from chaunsin/agent-skills. It costs 8 tokens per session (7,427 once invoked), scanned B, a copy of rclone_serve_dlna, Apache-2.0.

A network service that exposes an rclone remote as an NFS mount. NFS is a file-sharing protocol that lets another computer use remote files like a local folder.

In plain words
What is it for?
It helps mount an rclone remote over a network, including enabling file changes when virtual file system caching is configured.
Why use it?
It lets macOS and other NFS clients access cloud-backed files without installing a FUSE filesystem driver.

Command for Claude Code

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

Good fit It helps mount an rclone remote over a network, including enabling file changes when virtual file system caching is configured.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/chaunsin/agent-skills/rclone_serve_nfs"><img src="https://agentmods.dev/badge/commands/chaunsin/agent-skills/rclone_serve_nfs.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 7,427 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.07427
Opus 5 $0.00004 $0.03714
Sonnet 5 $0.00002 $0.01485
Haiku 4.5 $0.00001 $0.00743

Measured 5d ago against content hash 767f845b9c13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 — 120 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_serve_nfs.md · 671 lines

How it starts

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

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

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 · 671 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 · 671 lines · 8 tokens per session scan B 767f845b9c13

Subscribe to this mod's changes

rclone_serve_nfs 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 7,427 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 120 lines, and is treated as a copy.