zfs-resumable-transfers

zfs-resumable-transfers is a skill for Claude Code from dryvist/claude-code-plugins. It costs 92 tokens per session (754 once invoked), scanned A, original, Apache-2.0.

A procedure for transferring large ZFS datasets so an interrupted transfer can continue from its saved position. ZFS is a storage system, and the procedure uses a receive resume token instead of restarting the whole transfer.

In plain words
What is it for?
Use it whenever sending a large ZFS dataset between systems, especially over an unreliable network.
Why use it?
It prevents a network drop, reboot, or broken SSH connection from discarding hours of transferred data and forcing the operation to start over.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the homelab-ops plugin — 8 skills shipped together

Good fit Use it whenever sending a large ZFS dataset between systems, especially over an unreliable network.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dryvist/claude-code-plugins/zfs-resumable-transfers
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.

Any agent
npx skills add dryvist/claude-code-plugins --skill zfs-resumable-transfers
Clone the repo
git clone --depth 1 https://github.com/dryvist/claude-code-plugins

Made for: Claude Code.

Or install homelab-ops, the plugin that ships this one along with the rest of its 8 skills.

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 zfs-resumable-transfers

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/zfs-resumable-transfers.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/zfs-resumable-transfers)
Your own site
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/zfs-resumable-transfers"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/zfs-resumable-transfers.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 754 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.00092 $0.00754
Opus 5 $0.00046 $0.00377
Sonnet 5 $0.00018 $0.00151
Haiku 4.5 $0.00009 $0.00075

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

Security

Grade A, and why

zfs-resumable-transfers 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 4d 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.

homelab-ops/skills/zfs-resumable-transfers/SKILL.md · 61 lines

How it starts

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

ZFS resumable send/receive

The rule

Any zfs send | zfs receive moving a non-trivial dataset must be resumable. Receive with -s (saves a resume token on interruption) and retry an interrupted transfer with -t <token>:

zfs receive -s pool/dataset
# on interruption, resume instead of restarting. receive_resume_token lives
# on the RECEIVING dataset; zfs send -t must run on the SENDING host — for a
# local-to-local transfer that's the same host:
zfs send -t "$(zfs get -H -o value receive_resume_token pool/dataset)" | \
  zfs receive -s pool/dataset

# for the common case where send and receive are on different hosts, fetch
# the token from the receiving host and run zfs send -t over ssh to the
# source host instead:
TOKEN=$(zfs get -H -o value receive_resume_token pool/dataset)
ssh source-host "zfs send -t '$TOKEN'" | zfs receive -s pool/dataset

zfs receive -F alone is not resumable. Without -s, any interruption — a dropped SSH session, a reboot on either end, a network blip — discards the entire partial transfer. The next attempt starts over from zero, not from where it left off. This is documented, stable OpenZFS behavior (see man zfs-receive for the same -s/-t contract on any host).

Why this matters more than it looks

The failure mode is not "the transfer is slower." It's "the transfer has no partial credit." A 90%-complete multi-terabyte transfer that gets interrupted in the last minute is exactly as expensive to retry as one interrupted in the first minute. On a large dataset, that turns a brief unrelated hiccup — a reboot, a flaky link, a maintenance window — into hours of repeated, wasted retransfer. One real migration lost 1.52 TiB of an already-sent 3.48 TiB dataset to an unrelated host reboot, purely because -s was omitted.

Checklist for any new send/receive script

  1. Receive with -s — always, even for transfers expected to be short. The interruption that matters is the one nobody planned for.
  2. Hold the source snapshot for the duration of the transfer (zfs hold <tag> pool/dataset@snap) so it can't be pruned mid-resume.
  3. On failure, check for a resume token before falling back to a fresh send: zfs get -H -o value receive_resume_token pool/dataset. A non-empty value means resume, not restart.
  4. Release the hold only after the receive is confirmed complete.

Read the full file on GitHub · 61 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. 4d ago First seen · 61 lines · 92 tokens per session scan A 16f56543a16c

Subscribe to this mod's changes

zfs-resumable-transfers is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 92 tokens to every session and 754 once invoked, about $0.0005 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-04.