/agi-super-team:image-scraperfrom agi-super-team
Scrapes and downloads all images from a given URL using python3/curl, with browser automation fallback for JS-rendered pages.
Ships in agi-super-team. 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.
Read when SKILL.md points to them; scripts run unread.
Scrape all images from a given URL and download them locally.
#!/usr/bin/env python3
"""Download all images from a URL."""
import sys
import os
import re
import urllib.request
import urllib.error
from html.parser import HTMLParser
class ImageParser(HTMLParser):
def __init__(self):
super().__init__()
self.images = []
def handle_starttag(self, tag, attrs):
if tag == 'img':
for attr, val in attrs:
if attr == 'src' and val:
self.images.append(val)
if tag == 'source':
for attr, val in attrs:
if attr == 'src' and val:
self.images.append(val)
def scrape_images(url, output_dir="images"):
os.makedirs(output_dir, exist_ok=True)
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
with urllib.request.urlopen(req, timeout=15) as resp:
html = resp.read().decode('utf-8', errors='ignore')
parser = ImageParser()
parser.feed(html)
# Deduplicate and filter
seen = set()
urls = []
for img in parser.images:
if img.startswith('//'):
img = 'https:' + img
if img.startswith('http') and img not in seen:
seen.add(img)
urls.append(img)
print(f"Found {len(urls)} images")
for i, img_url in enumerate(urls):
try:
ext = os.path.splitext(img_url.split('?')[0])[1] or '.jpg'
fname = f"{output_dir}/img_{i:03d}{ext}"
urllib.request.urlretrieve(img_url, fname)
print(f" [{i+1}] {fname}")
except Exception as e:
print(f" [{i+1}] FAILED: {e}")
return urls
if __name__ == "__main__":
url = sys.argv[1] if len(sys.argv) > 1 else input("URL: ")
scrape_images(url)
Usage:
python3 /path/to/image-scraper.py "https://example.com/article"
# Extract image URLs and download
curl -sL "URL" | grep -oP 'https?://[^"]+\.(jpg|jpeg|png|webp|gif)' | sort -u | head -20 | while read url; do
curl -sL "$url" -o "images/$(echo $url | md5sum | cut -d' ' -f1).${url##*.}"
done
Use OpenClaw's browser tool when the page is JavaScript-rendered or Method 1 fails.
# 1. Open page in browser
browser(action=open, url="URL")
# 2. Get page content and extract images via JavaScript
browser(action=act, targetId="TAB_ID", request={
"kind": "evaluate",
"fn": "() => Array.from(document.querySelectorAll('img')).map(img => img.src)"
})
# 3. Download each image with curl
Referer, Accept)./images/ by defaultimg_000.jpg, img_001.png, etc.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-team869 skills in this plugin
/5minbtcBTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准), 概率=P(close>open|ofi) 经验校准表+Bayesian shrink, edge=EV=p−ask 错价检测, 方向二选一无中性。13因子自v5.9起收敛到3个有证据信号且不再决定bias。黑天鹅防护: ATR spike+FNG<25。launchd 常驻 realtime/watch/trader。⚠️ Binance 端点**人工**双向切换(引擎为单端点硬依赖,无自动故障切换;2026-09-11 曾因 data-api SSL 失败静默断档 6h)。/sales-enablementWhen the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email./accessibility-compliance-accessibility-auditYou are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.Other plugins' skills for the same job