sw-load

sw-load is a skill for Claude Code from nomadop/session-watcher. It costs 42 tokens per session (757 once invoked), scanned A, original, MIT.

A session-resume procedure for restoring saved information from an earlier coding-agent conversation. It uses a handoff token or searches for a matching saved handoff.

In plain words
What is it for?
Use it when continuing earlier work, loading a handoff token, choosing among saved sessions, or checking whether a previous handoff is still available.
Why use it?
It prevents resumed work from starting without the previous task’s context, decisions, and progress.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code.

Part of the session-watcher plugin — 3 skills, 1 hook shipped together

Good fit Use it when continuing earlier work, loading a handoff token, choosing among saved sessions, or checking whether a previous handoff is still available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nomadop/session-watcher/sw-load
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 nomadop/session-watcher --skill sw-load
Clone the repo
git clone --depth 1 https://github.com/nomadop/session-watcher

Made for: Claude Code.

Or install session-watcher, the plugin that ships this one along with the rest of its 3 skills, 1 hook.

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 sw-load

README.md
[![agentmods](https://agentmods.dev/badge/skills/nomadop/session-watcher/sw-load/github.svg)](https://agentmods.dev/skills/nomadop/session-watcher/sw-load)
Your own site
<a href="https://agentmods.dev/skills/nomadop/session-watcher/sw-load"><img src="https://agentmods.dev/badge/skills/nomadop/session-watcher/sw-load/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 sw-load

Your own site · 80×15
<a href="https://agentmods.dev/skills/nomadop/session-watcher/sw-load"><img src="https://agentmods.dev/badge/skills/nomadop/session-watcher/sw-load.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 757 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.00042 $0.00757
Opus 5.5 $0.00017 $0.00303
Sonnet 5.5 $0.00008 $0.00151
Haiku 4.5 $0.00004 $0.00076

Measured yesterday against content hash c02d7ef6cfea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sw-load 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 yesterday.

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.

skills/sw-load/SKILL.md · 46 lines

How it starts

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

Session Watcher Load Handoff

Restore a previous session's handoff package into context so work can resume.

Steps

  1. Load the handoff. Resolve a token from the skill args, from the user's message, or from the host's own handoff notice, which names pending handoffs by token: the Claude Code SessionStart hook's additionalContext, or the message DSH injects when the agent starts or resumes. Then call the load_handoff tool, whose schema carries the three ways in.

    A token you were handed is the one path that proceeds without asking. Any other way in — a free-text match, an auto-match, or several tokens offered at once — means listing what came back with each one's age and task preview and letting the user pick before you go on. Nothing found → tell the user the token is expired or invalid, and ask for direction.

  2. Read the kept paths. Relative paths resolve against CWD, then project_dir.

    One strategy per entry, the first row that applies:

    Entry has Read at load
    lines each range
    resolvedSymbols the (lines a-b) each string carries
    neither the file's first 40 lines; with symbols, also grep -n each name in the file to place the entry points

    Each read is the host's file-reading tool over a line range of the kept file. Each call names one file. Issue every read for every entry in one message — each further turn re-reads the whole accumulated context.

    Unresolvable path → tell the user, skip. Empty paths_to_keep → ask the user what they are working on.

  3. Place the summary in its lineage. lineage runs oldest to newest, one headline per lineage member; the injected page holds the newest turns and is already in context. From the page, list the turns whose A: note bears on the next task, by their S{k}:{T} address. When a headline bears on the next task and the page does not reach that member, call turn_page with that member's label as before. That list is what step 5 reports.

Read the full file on GitHub · 46 lines

Files

What ships with it

1 file 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.

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. yesterday Changed c02d7ef6cfea
  2. 21d ago Changed · -2 lines · +2 tokens per session e2b9a945d5b2
  3. 1mo ago Changed · -7 lines · -8 tokens per session 2211dc5ce0fe
  4. 1mo ago Changed · +2 lines f4fc781cc253
  5. 1mo ago Changed · -4 tokens per session 640e579f6ba4
  6. 1mo ago First seen · 53 lines · 52 tokens per session scan A 625ea3bbf931

Subscribe to this mod's changes

sw-load is a skill published in the GitHub repository nomadop/session-watcher (5 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 757 once invoked, about $0.0002 per session on Opus 5.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-08-31.

Related

Other skills, from other repositories

context-efficient-coding

Use ContextFlux to minimize coding-agent context and tool calls when exploring, planning, debugging, reviewing, or modifying an unfamiliar or multi-file repository. Trigger for codebase discovery, symbol search, architecture questions, cross-file changes, error tracing, review feedback, test discovery, or any request…

divyanshu-iitian/ContextFlux · 72 tokens

git-ai-search

Search and restore AI conversation context from git history.

git-ai-project/git-ai · 13 tokens

usage-audit

Audit a Claude Code setup for token waste and context bloat. Checks MCP servers, CLAUDE.md, skills, and settings against bloat filters. Triggers on: "audit my context", "usage audit", "token audit", "context bloat". NOT for codebase audits.

Mathews-Tom/armory · 63 tokens

memorix-sessions

Use when resuming work, preparing handoff context, binding an HTTP control-plane project, or deciding whether sessionstart is useful.

AVIDS2/memorix · 31 tokens

frontmcp-extensibility

Use when extending FrontMCP beyond the core SDK by integrating external npm packages, libraries, or third-party services into providers and tools. Covers VectoriaDB for in-memory semantic and vector search (ML-based embeddings or TF-IDF keyword engines, with persistence) and the tamper-evident, hash-chained skill…

agentfront/frontmcp · 124 tokens

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens