scratchpad-fetch
Scratchpad Fetch
Overview
Downloads web pages via curl and appends content to timestamped scratchpad file. All URLs from single user prompt → single file. Simple context gatherer for documentation.
Usage
When user provides URLs and asks to:
- "concatenate all these resources"
- "get all these links"
- "checkout all these resources"
- "gather these docs"
- "download these pages"
Execute:
./skills/scratchpad-fetch/scripts/fetch_urls.sh <url1> <url2> <url3> ...
Output: docs/scratchpad/YYYYMMDD_HHMMSS.md
Script Behavior
fetch_urls.sh:
- Creates
docs/scratchpad/if missing - Generates timestamp:
YYYYMMDD_HHMMSS - Downloads each URL with curl
- Appends all content to single file
- Adds headers/separators for readability
- Reports success/failure per URL
Example
User: "checkout all these resources: https://example.com/api https://example.com/guide"
./skills/scratchpad-fetch/scripts/fetch_urls.sh \
https://example.com/api \
https://example.com/guide
Output: docs/scratchpad/20250129_143052.md containing both pages.
Notes
- Dumb but effective for gathering fresh docs
- One prompt = one file
- curl follows redirects (
-L) - Failures logged but don't stop other URLs
More from otrebu/agents
gh-code-search
Search GitHub for real-world code examples and implementation patterns. Use when user wants to find code examples on GitHub, search GitHub repositories, discover how others implement features, learn library usage patterns, or research architectural approaches. Fetches top results with smart ranking (stars, recency, language), extracts factual data (imports, syntax patterns, metrics), and returns clean markdown for analysis and pattern identification.
86fix-eslint
Automatically fix ESLint errors by modifying code to comply with linting rules. For small codebases (≤20 errors), fixes directly. For larger codebases (>20 errors), spawns parallel agents per directory for efficient processing. Never disables rules or adds ignore comments.
22web-to-markdown
Batch-process web pages via headless Playwright browser, extract HTML, convert to markdown using Turndown, and save to timestamped scratchpad file. Use when user asks to "capture these pages as markdown", "save web content", "fetch and convert webpages", or needs clean markdown from HTML. All URLs from one prompt → single file at docs/web-captures/<timestamp>.md.
22readwise-api
Fetch and analyze Readwise reading activity for any date range. Use when user asks about articles saved, highlights created, or most-highlighted content for today, yesterday, last week, last month, or custom date ranges (e.g., "show my Readwise activity from Jan 1-7"). Requires READWISE_API_TOKEN env var. Connects to Readwise Highlights API (v2) and Reader API (v3).
13timestamp
Generate deterministic timestamps in YYYYMMDDHHMMSS format using bash. Use when you need timestamps for filenames, logging, or any situation requiring consistent timestamp formatting without LLM generation.
12claude-permissions
Configure, manage, update and review Claude Code permissions, sandboxing, and tool access. Use when user wants to set up permissions, configure sandboxing, update allowed tools, manage settings.json permissions, or review permissions in skills or commands or agents or settings.json. When user writes a new skill, command, agent, or updates settings.json, they should use this skill to manage permissions.
11