Agent skill
scratchpad-fetch
Download and aggregate web pages/docs into timestamped scratchpad files. Use when user asks to "concatenate all these resources", "get all these links", "checkout all these resources", or wants to gather fresh context from documentation URLs. All URLs from one prompt go into single file at docs/scratchpad/<timestamp>.md.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/scratchpad-fetch
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?