/wayback:wayback-cachefrom wayback
Manage Wayback Machine API cache. Use when clearing cached data, checking cache status, or bypassing cache for fresh API responses. Applies to all wayback operations (check, list, screenshot).
Ships in wayback. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage the OS tmpdir-based cache for Wayback Machine API responses.
npx tsx scripts/cache.ts <command> [options]
| Command | Description |
|---|---|
clear | Clear all cached Wayback data |
status | Show cache directory location and file count |
| Option | Description |
|---|---|
--no-cache | Bypass cache for single operation |
Cached responses are stored in the OS temporary directory:
os.tmpdir()/wayback-cache/
Cache keys are generated from URLs and parameters using SHA-256 hashing.
| Operation | TTL | Rationale |
|---|---|---|
| Availability API | 24 hours | Snapshots don't change often |
| CDX API | 1 hour | Snapshot list can change |
| Save status | 30 seconds | Only during polling |
Cached entries expire automatically and are deleted on access.
npx tsx scripts/cache.ts <command> [options]
Commands:
clear - Clear all cached Wayback datastatus - Show cache directory location and file countRemove all cached API responses:
npx tsx scripts/cache.ts clear
This deletes all .json cache files from the cache directory.
Display cache information:
npx tsx scripts/cache.ts status
Shows:
# Clear all cache before checking a URL
npx tsx scripts/cache.ts clear
npx tsx scripts/check.ts https://example.com
# Clear cache, then list snapshots
npx tsx scripts/cache.ts clear
npx tsx scripts/list.ts https://example.com 20
# Check cache status
npx tsx scripts/cache.ts status
Individual scripts support --no-cache to skip cache for one operation without clearing all cached data:
npx tsx scripts/check.ts https://example.com --no-cache
npx tsx scripts/list.ts https://example.com --no-cache
npx tsx scripts/screenshot.ts https://example.com --no-cache
The --no-cache flag bypasses reading from cache but still caches the fresh response for future requests.
Cache keys are 16-character hexadecimal strings:
a1b2c3d4e5f6g7h8.json
Each key represents a unique URL + parameter combination.
View cache directory contents:
# On macOS/Linux
ls -la $(getconf DARWIN_USER_TEMP_DIR)/wayback-cache/
# Or
ls -la /tmp/wayback-cache/
# View individual cache file
cat /tmp/wayback-cache/a1b2c3d4e5f6g7h8.json | jq
wayback-check to verify if a URL is archivedwayback-list to see all captures with filtering optionswayback-screenshot to retrieve visual screenshotswayback-submit to create a new archiveWhat SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/wayback-checkCheck if a URL is archived in the Wayback Machine. Use when the user asks to check archive status, verify if a page is saved, or find archived versions of a URL./wayback-frequencyAnalyze Wayback Machine capture frequency and rate for a URL. Use when the user wants to see how often a URL is archived, capture statistics, or archive density over time./wayback-listList Wayback Machine snapshots for a URL. Use when the user wants to see archive history, view all snapshots, find older versions, or browse archived copies of a webpage./wayback-newestFind the most recent archived version of a URL from the Wayback Machine. Use when the user wants to see the latest capture, newest archive, or current version of a webpage./wayback-oldestFind the earliest archived version of a URL from the Wayback Machine. Use when the user wants to see the first capture, oldest archive, or original version of a webpage./wayback-rangeShow the archive time span for a URL from the Wayback Machine. Use when the user wants to see both the oldest and newest captures, the archive range, or how long a URL has been archived.npx claudepluginhub mearman/marketplace --plugin waybackOther plugins' skills for the same job