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.
npx agentmods add skills/dmmdea/offload-harness/llamaswapnpx skills add dmmdea/offload-harness --skill llamaswapgit clone --depth 1 https://github.com/dmmdea/offload-harnessWrote 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.
[](https://agentmods.dev/skills/dmmdea/offload-harness/llamaswap)<a href="https://agentmods.dev/skills/dmmdea/offload-harness/llamaswap"><img src="https://agentmods.dev/badge/skills/dmmdea/offload-harness/llamaswap.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00138 | $0.10904 |
| Opus 5 | $0.00069 | $0.05452 |
| Sonnet 5 | $0.00028 | $0.02181 |
| Haiku 4.5 | $0.00014 | $0.01090 |
Grade A, and why
pp-llamaswap scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Reach for this CLI whenever a task touches the local llama-swap serving stack: checking what models are loaded or configured, safely freeing VRAM without killing in-flight work or the memory stack, validating or diffing How it starts
The opening of the file, as written. The whole thing — 641 lines — stays where its author put it; the contents beside it link to each section on GitHub.
llama-swap — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the llamaswap-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install llamaswap --cli-only - Verify:
llamaswap-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
llama-swap forgets everything on restart and ships no CLI at all. This one mirrors activity and events into local SQLite before they vanish (sync), refuses to unload the protected keep-set by id or alias (sourced from config, never from the server's ttl), fails closed rather than guessing when a drain cannot read slot state, prints config diffs and restart commands instead of ever rewriting your hand-commented YAML, and encodes the measurement traps — the seat's real n_ctx over the assumed one, tokenizer counts over chars/4 — into bench, fit, and ctx.
When to Use This CLI
Reach for this CLI whenever a task touches the local llama-swap serving stack: checking what models are loaded or configured, safely freeing VRAM without killing in-flight work or the memory stack, validating or diffing the serving config before a restart, measuring throughput/VRAM/context fit for a seat change, or answering historical questions (swap costs, error rates, keep-set residency) from the local mirror. It replaces raw curl against :11436 and produces typed exit codes and stable JSON for unattended runs.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .golangci.yml 214 B
- .goreleaser.yaml 1.4 KB
- .printing-press-patches/.gitkeep 0 B
- .printing-press-patches/internal-cli-activity_prometheus.go.md 2.1 KB
- .printing-press-patches/internal-cli-analytics_common.go.md 1.3 KB
- .printing-press-patches/internal-cli-doctor.go.md 1.8 KB
- .printing-press-patches/internal-cli-feedback.go.md 2.5 KB
- .printing-press-patches/internal-cli-helpers.go.md 2.2 KB
- .printing-press-patches/internal-cli-keepset_audit.go.md 908 B
- .printing-press-patches/internal-cli-keepset.go.md 1.1 KB
- .printing-press-patches/internal-cli-models_unload_all.go.md 971 B
- .printing-press-patches/internal-cli-models_unload.go.md 1.6 KB
- .printing-press-patches/internal-cli-promoted_logs.go.md 1.6 KB
- .printing-press-patches/internal-cli-residency.go.md 1.9 KB
- .printing-press-patches/internal-cli-root.go.md 2.5 KB
- .printing-press-patches/internal-cli-saturation.go.md 1.3 KB
- .printing-press-patches/internal-cli-seat_log.go.md 1.0 KB
- .printing-press-patches/internal-cli-seat.go.md 941 B
- .printing-press-patches/internal-cli-server_health.go.md 1.6 KB
- .printing-press-patches/internal-cli-swaps.go.md 1.9 KB
- .printing-press-patches/internal-cli-sync.go.md 1.5 KB
- .printing-press-patches/internal-cli-upstream_health.go.md 1.8 KB
- .printing-press-patches/internal-cli-upstream_lora_adapters.go.md 1.9 KB
- .printing-press-patches/internal-cli-upstream_metrics.go.md 3.1 KB
- .printing-press-patches/internal-cli-upstream_props.go.md 2.1 KB
- .printing-press-patches/internal-cli-upstream_slots.go.md 1.9 KB
- .printing-press-patches/internal-cli-verify.go.md 1.3 KB
- .printing-press-patches/internal-cli-which.go.md 1.4 KB
- .printing-press-patches/internal-config-config.go.md 1.9 KB
- .printing-press-patches/internal-mcp-platform_gate.go.md 5.3 KB
- .printing-press-patches/internal-mcp-tools.go.md 1.8 KB
- .printing-press.json 2.8 KB
- AGENTS.md 7.0 KB
- CHANGELOG.md 133 B
- CLAUDE.md 11 B
- cmd/llamaswap-pp-cli/main.go 344 B
- cmd/llamaswap-pp-mcp/main.go 2.3 KB
- go.mod 1.2 KB
- go.sum 7.7 KB
- internal/cache/cache.go 1.8 KB
- internal/cli/activity_log.go 4.3 KB
- internal/cli/activity_performance.go 3.3 KB
- internal/cli/activity_prometheus.go 2.3 KB
- internal/cli/activity_stats.go 3.3 KB
- internal/cli/activity.go 844 B
- internal/cli/agent_context.go 7.7 KB
- internal/cli/agent_errors_test.go 14 KB
- internal/cli/agent_errors.go 13 KB
- internal/cli/analytics_common.go 11 KB
- internal/cli/analytics_verbs_test.go 23 KB
- internal/cli/analytics.go 5.5 KB
- internal/cli/api_discovery.go 3.7 KB
- internal/cli/bench_aux.go 10 KB
- internal/cli/bench_compare.go 13 KB
- internal/cli/bench_frontier_test.go 19 KB
- internal/cli/bench_frontier.go 20 KB
- internal/cli/bench_test.go 5.6 KB
- internal/cli/bench.go 30 KB
- internal/cli/bind_check.go 12 KB
- internal/cli/build_check.go 6.8 KB
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.
- 4d ago First seen · 641 lines · 138 tokens per session scan A 0720b114ae63
pp-llamaswap is a skill published in the GitHub repository dmmdea/offload-harness (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 138 tokens to every session and 10,904 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
llama-factory
Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support.
chrome
The user's own Chrome — their real window, profile, logins and tabs, driven through the browser extension relay. Load when a task needs a signed-in session, a page they already have open, or anything the headless sandbox browser cannot see.
subagents
Delegate self-contained work to parallel subagent sessions — when a task splits into independent chunks (research several areas at once, review many files, try approaches in parallel), or when the user asks to fan out, parallelize, or run something in the background.
designer_guide
Guidance for creating and editing designs using the designer tool.
agents_guide
Guidance for delegating focused work to child Agents.
swift-mlx
MLX Swift - High-performance ML framework for Apple Silicon with lazy evaluation, automatic differentiation, and unified memory.