blocked-page-recovery
하는 일
이 스킬은 차단이나 유료 장벽처럼 접근을 거부하는 웹 페이지의 내용을, 같은 페이지의 다른 사본을 확인해 얻도록 AI를 돕습니다. 내용이 꼭 필요하고 출처를 분명히 하려는 연구자를 위한 스킬입니다.
사용하는 경우
- ✓웹 페이지가 403이나 429 오류를 반환하거나 봇 확인 화면을 보여 주는데 내용이 여전히 필요할 때.
- ✓유료 장벽 뒤의 기사를 읽어야 하고 보관된 사본이 있을 수 있을 때.
- ✓같은 사이트의 문서화된 API나 피드를 대안으로 찾고 싶을 때.
스킬 링크
https://github.com/NousResearch/hermes-agent/blob/main/skills/web/blocked-page-recovery/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 기사에서 403 오류가 납니다. 보관된 사본을 찾아 요약해 주고, 보관된 날짜도 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 보관 서비스와 같은 사이트의 피드나 API를 먼저 시도하는 등 경로를 순서대로 시도하고, 각 결과가 실제 내용인지 확인합니다. 어디서 가져온 사본인지 기록해 인용이 정확하도록 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Blocked-Page Recovery
When a page won't fetch — 403/429, Cloudflare "Just a moment...", a paywall, or a bot-detection interstitial — don't give up and don't loop on the same URL. Third-party services often hold a copy of the page. Work down this ladder, cheapest first.
The ladder
1. Wayback Machine — archive.org "available" API (snapshot + timestamp)
2. archive.today — domain rotation: archive.ph → .md → .li → .is
3. Jina Reader — only if JINA_API_KEY is set (live server-side render)
4. API-first pivot — look for /api/, /graphql, .json, or RSS on the same host
5. Real browser — browser tool as the last, most expensive resort
Run it in one shot with the bundled script:
python3 scripts/recover_page.py "https://example.com/blocked-article" --json
The script tries each route in order, validates every body (see "Fake successes" below), and prints the first genuine hit with its provenance.
Provenance discipline (non-negotiable)
Every recovered copy carries a provenance you MUST preserve when citing:
| Route | Provenance | How to cite |
|---|---|---|
| Wayback / archive.today | snapshot |
Cite WITH the snapshot date: "as archived 2026-08-06". Never present a snapshot as the live page — it may be stale. |
| Jina Reader | live |
Server-side re-render of the live page; cite normally. |
| Live fetch / browser | live |
Cite normally. |
If the user needs current data (prices, availability, breaking news), a snapshot is context, not an answer — say so explicitly and note its age.
Manual routes
1. Wayback Machine (best provenance, try first)
# Discovery: returns closest snapshot URL + timestamp as JSON
curl -sL "https://archive.org/wayback/available?url={URL}"
# Then fetch archived_snapshots.closest.url
For enumerating many snapshots (or recovering deleted pages), the CDX index:
curl -sL "https://web.archive.org/cdx/search/cdx?url={URL}&output=json&limit=10"
CDX intermittently returns 503 under load — if it does, fall back to the
available API; don't retry-hammer it.
Works for: any publicly crawled URL. Fails for: robots-blocked sites, never-crawled URLs, JS-only SPAs (snapshots don't render).
2. archive.today (paywalls, deleted content)
User-submitted archives — often has paywalled news articles Wayback lacks. Rate-limits aggressively (429) and rotates domains, so iterate:
for d in archive.ph archive.md archive.li archive.is; do
curl -sL --max-time 20 "https://$d/newest/{URL}" -o ~/.hermes/cache/scratch/page.html \
-w "%{http_code}" && break
done
Validate the body, not the status code — a 429 still ships several KB of rate-limit HTML that looks like a success to a size check alone.
3. Jina Reader (requires JINA_API_KEY)
r.jina.ai re-renders the live page in a real browser server-side and
returns markdown. Anonymous access is dead (401 → Turnstile); a key is
required:
curl -s -H "Authorization: Bearer $JINA_API_KEY" "https://r.jina.ai/{URL}"
Handles JS SPAs that archives can't. Skip this route entirely when the env var is unset.
4. API-first pivot
WAFs protect the HTML surface far more aggressively than the data endpoints behind it. After 2-3 blocked attempts on a site, stop fighting the HTML and look for:
/api/...,/graphql, or.jsonvariants of the page URL- An RSS/Atom feed (
/feed,/rss,<link rel="alternate">in any copy you did recover) - A sitemap (
/sitemap.xml) revealing canonical URLs that may not be gated
Fake successes — routes that LIE
These return HTTP 200 with a plausible body that is NOT the page. The script rejects them automatically; reject them manually too:
- Google Cache is dead (since mid-2024).
webcache.googleusercontent.comreturns 200 + tens of KB, but it's a Google Search interstitial with a JS redirect, not a cache. Never use it. - AMP caches (
*.cdn.ampproject.org) mostly return a ~300-byte<title>Redirecting</title>meta-refresh stub pointing back at the original (blocked) URL. Treating that as success creates a fetch loop. - Rate-limit bodies: archive.today 429 pages are multi-KB HTML. Check for the target's actual content (title words, expected strings), not just size.
Detection heuristics the script applies: body under a per-route byte floor; meta-refresh/JS-redirect stubs whose target is the original host; interstitial titles ("Just a moment", "Redirecting", "Google
자주 묻는 질문
보관된 사본은 어떻게 인용하나요?
스냅샷 날짜와 함께 인용하라고 합니다. 보관본은 실시간 페이지보다 오래되었을 수 있기 때문입니다.
항상 성공하나요?
아니요. 스킬은 여러 경로를 나열하지만, 사용할 수 있는 사본이 전혀 없을 수도 있습니다.
브라우저가 첫 번째 선택인가요?
아니요. 스킬은 실제 브라우저가 가장 비용이 많이 드는 경로이므로 최후의 수단이라고 말합니다.
상세 정보
인기도
- GitHub 스타
- 260k
- 순위
- #627
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-merge-conflict-arbiter
260k병렬로 작업한 두 에이전트 브랜치 사이의 git 병합 충돌을 중립적인 제3자로서 해결하고, 저장소에 하나의 병합 결과를 만듭니다.
antigravity-cli
260kAntigravity 명령줄 도구의 설치, 업데이트, 플러그인, 로그인, 샌드박스 문제를 해결하도록 단계별로 안내합니다.
blackbox
260k에이전트가 여러 AI 모델을 실행해 최선의 결과를 고르는 Blackbox AI 명령줄 도구에 코딩 작업을 맡기도록 돕습니다.
dynamic-workflow
260k많은 비슷한 작업을 저장된 스크립트로 실행하고, 검증된 결과만 메인 대화로 돌아오도록 에이전트에게 가르칩니다.