用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/qhkm/zeptoclaw-skills --skill summarize-url命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | summarize-url |
| version | 1.0.0 |
| description | Fetch a URL and extract clean text content for summarization or analysis. |
| author | ZeptoClaw |
| license | MIT |
| tags | ["web","scraping","summarization","research"] |
| env_needed | [{"name":"BRAVE_API_KEY","description":"Brave Search API key for web search (optional, only needed for search-then-summarize)","required":false}] |
| metadata | {"zeptoclaw":{"emoji":"🔗","requires":{"anyBins":["curl","python3"]}}} |
Fetch web pages and extract clean readable text, stripping ads, nav, and boilerplate.
No required env vars. Optionally set Brave API key for the search-then-summarize workflow.
export BRAVE_API_KEY="BSAxxxx..."
# Fetch URL and strip HTML tags
URL="https://example.com/article"
curl -sL "$URL" \
-H "User-Agent: Mozilla/5.0 (compatible; ZeptoClaw/1.0)" \
| python3 -c "
import sys, re
html = sys.stdin.read()
# Remove scripts, styles, nav, footer
html = re.sub(r'<(script|style|nav|footer|header)[^>]*>.*?</\1>', '', html, flags=re.S|re.I)
# Remove all other tags
text = re.sub(r'<[^>]+>', ' ', html)
# Clean whitespace
text = re.sub(r'[ \t]+', ' ', text)
text = re.sub(r'\n{3,}', '\n\n', text)
# Decode HTML entities
import html as htmlmod
text = htmlmod.unescape(text)
print(text.strip()[:8000])
"
pip install readability-lxml 2>/dev/null
URL="https://example.com/blog/post"
curl -sL "$URL" \
-H "User-Agent: Mozilla/5.0 (compatible; ZeptoClaw/1.0)" \
| python3 -c "
import sys
from readability import Document
html = sys.stdin.read()
doc = Document(html)
print('TITLE:', doc.title())
print()
# Extract content text
content = doc.summary()
import re, html as h
text = re.sub(r'<[^>]+>', ' ', content)
text = h.unescape(re.sub(r'\s+', ' ', text))
print(text[:6000].strip())
"
# urls.txt — one URL per line
while IFS= read -r url; do
echo "=== $url ==="
curl -sL "$url" \
-H "User-Agent: Mozilla/5.0 (compatible; ZeptoClaw/1.0)" \
--max-time 10 \
| python3 -c "
import sys, re, html as h
txt = re.sub(r'<(script|style)[^>]*>.*?</\1>', '', sys.stdin.read(), flags=re.S|re.I)
txt = re.sub(r'<[^>]+>', ' ', txt)
txt = h.unescape(re.sub(r'\s+', ' ', txt)).strip()
print(txt[:2000])
" 2>/dev/null || echo "(failed to fetch)"
echo
done < urls.txt
QUERY="Lazada Malaysia seller fees 2026"
RESULTS=$(curl -s "https://api.search.brave.com/res/v1/web/search?q=${QUERY// /+}&count=3" \
-H "Accept: application/json" \
-H "X-Subscription-Token: $BRAVE_API_KEY" \
| jq -r '.web.results[] | "URL: \(.url)\nTitle: \(.title)\nSnippet: \(.description)\n"')
echo "$RESULTS"
# Then fetch the top result for full content
TOP_URL=$(curl -s "https://api.search.brave.com/res/v1/web/search?q=${QUERY// /+}&count=1" \
-H "Accept: application/json" \
-H "X-Subscription-Token: $BRAVE_API_KEY" \
| jq -r '.web.results[0].url')
curl -sL "$TOP_URL" -H "User-Agent: Mozilla/5.0" \
| python3 -c "
import sys, re, html as h
txt = re.sub(r'<(script|style|nav|footer)[^>]*>.*?</\1>', '', sys.stdin.read(), flags=re.S|re.I)
txt = re.sub(r'<[^>]+>', ' ', txt)
print(h.unescape(re.sub(r'\s+', ' ', txt)).strip()[:4000])
"
URL="https://example.com/product/widget"
curl -sL "$URL" | python3 -c "
import sys, re, json
html = sys.stdin.read()
matches = re.findall(r'<script type=[\"\'']application/ld\+json[\"\''][^>]*>(.*?)</script>', html, re.S)
for m in matches:
try:
data = json.loads(m.strip())
print(json.dumps(data, indent=2))
except:
pass
"
--max-time 10 to curl to avoid hanging on slow sitesweb_fetch tool instead which handles rendering... > /tmp/page.txt && cat /tmp/page.txt | zeptoclaw agent -m "Summarize this"readability-lxml gives much cleaner extracts for news/blog sites than raw regex strippingGive your agent a standalone on-chain wallet for gasless trades, funding, and autonomous x402 M2M payments.
Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK. Use when the user wants to deploy a new token, create a memecoin, set up token vesting, configure airdrops, manage token rewards, claim LP fees, or update token metadata. Supports V4 deployment with vaults, airdrops, dev buys, custom market caps, vanity addresses, and multi-chain deployment.
AI-powered crypto trading agent and LLM gateway via natural language. Use when the user wants to trade crypto, check portfolio balances, view token prices, transfer crypto, manage NFTs, use leverage, bet on Polymarket, deploy tokens, set up automated trading, sign and submit raw transactions, or access LLM models through the Bankr LLM gateway funded by your Bankr wallet. Supports Base, Ethereum, Polygon, Solana, and Unichain.
基于 SOC 职业分类