Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By danielrosehillv0.1.2MITIn 1 marketplace
Overflow temp space on a home server or NAS for machines whose /tmp is a small tmpfs or whose disk is tight. A capped ext4 image exported over NFS, mounted on demand with a local-disk fallback, and wiped automatically after 24 h. Skills to set it up, to route large temporary files there, and to report and clean it.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin, plus three shell scripts, that give a machine an overflow temp directory on a home server or NAS. The directory has a hard size cap, is mounted only when used, falls back to local disk when the server is out of reach, and wipes itself every 24 hours.
It's built for laptops where /tmp is a small tmpfs. That's the default on
recent Ubuntu, and it means /tmp lives in RAM. Each large file written there
(model weights, audio, datasets) takes memory away from everything else. It
also helps any machine whose disk is small.
| Skill | Use it to |
|---|---|
setup | Build the server half and the client half, and verify both. Re-run it to add a machine or change the size or TTL. |
use-network-tmp | Tell Claude to send large temporary files to the overflow instead of /tmp or its scratchpad. |
cleanup-network-tmp | Report usage and delete this machine's overflow files now (dry run first). |
server /var/lib/network-tmp/nettmp.img fixed-size ext4 image (the cap)
/srv/nettmp/scratch/<host>-<user> expires 24h after last write
/srv/nettmp/keep/<host>-<user> expires 7d after last write
/etc/exports.d/network-tmp.exports NFSv4, named clients only
network-tmp-clean.timer hourly systemd-tmpfiles --clean
client /mnt/nettmp systemd automount, soft, 15 s timeouts
/var/tmp/network-tmp/<user> local fallback, same TTL
/etc/network-tmp.conf config
/usr/local/bin/nettmp helper
nettmp path [--strict] [SUB] # writable dir: network, else local fallback
nettmp mktemp [-d] # unique file/dir inside it
nettmp keep PATH... # move to keep/ (7 d)
nettmp status [--json]
nettmp clean [--dry-run] [--all | --older-than 6h]
# on the server (root)
NETTMP_CLIENTS="100.64.0.10" NETTMP_SIZE=100G bash scripts/server-setup.sh
# on each client (root)
NETTMP_SERVER=100.64.0.1 bash scripts/client-setup.sh
nettmp status
Both scripts are idempotent. See skills/setup/SKILL.md for every variable and
for how to resize.
-m 0 because it's
scratch.systemd-tmpfiles-clean.timer; with the daily one, a file could live up to
TTL + 24 h.m:24h in tmpfiles.d). By default tmpfiles
also counts atime and ctime. ctime is bumped by mv, chmod and
touch -d, so files moved into keep/ or backdated for testing wouldn't
expire on schedule. Found while testing on 2026-10-21: a file backdated 30 h
survived the cleanup run until the prefix was added. nettmp keep touches
files before moving them because mv keeps the old mtime.soft, never always-on and hard. An always-on
hard NFS mount hangs every shell that touches it once the machine leaves the
network. nettmp also runs a 2 s TCP probe of port 2049 first, so with the
server gone it falls back in milliseconds instead of waiting out the 15 s
mount timeout.--one-file-system skips the
mount, not the image file on /. Found on 2026-10-21: the first deployment's
nightly restic job would have read the whole 100 GB image.sec=sys, mapped by uid. The tree is owned by NETTMP_OWNER
(default 1000:1000), which must match the client user's uid. This is
simple and fine for a single-user home setup. It is not a multi-tenant
design.CLAUDE_CODE_TMPDIR) holds sockets, so
it should be moved to local disk (/var/tmp), never onto this mount
(see the setup skill, step 5).2026-10-21. Server Ubuntu 26.04 (nfs-kernel-server 2.8.5), client Ubuntu
26.04, over Tailscale. Confirmed: 200 MB write over NFSv4.2, server-side
expiry of a file backdated past the TTL with the fresh file kept, keep
resetting the clock, fallback to local disk with an unreachable server, and
--strict exiting 1.
Not tested: a NAS (Synology etc.) as the server (the scripts assume a Debian or Ubuntu host with systemd), and behaviour when the server drops mid-write.
MIT
network-tmp@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin network-tmpPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.