Logo de Flickr Wayback Recovery

Flickr Wayback Recovery

Comunidade
fuzheado
flickr-wayback-recovery

Recover a deleted or offline Flickr account from the Wayback Machine (CDX enumeration, metadata scraping, image download) and batch-upload the photos that are missing from Wikimedia Commons via pattypan

Visão geral

Publicado porfuzheado
RepositórioWikipedia-AI-Skills
Nome da habilidadeflickr-wayback-recovery
Estrelas
27
Forks
10
Arquivos incluídos
11
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 11

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por fuzheado no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Flickr Wayback Recovery no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fuzheado/Wikipedia-AI-Skills.git /tmp/Wikipedia-AI-Skills
mkdir -p .claude/skills
cp -r /tmp/Wikipedia-AI-Skills/.claude/skills/flickr-wayback-recovery .claude/skills/flickr-wayback-recovery
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Flickr Wayback Recovery em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Flickr Wayback Recovery automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Flickr Wayback Recovery não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Derived from two production rescues (2026) — a deleted Flickr account (44783532@N07 / alias stiftelsen, ~1,100 archived photos) was recovered from the Wayback Machine and 675 of its photos were re-uploaded to Commons in one pattypan batch, and a live account (184802432@N05 / alias stefan-mueller-climate, 16,435 live photos, ~350 deleted) had its deleted subset salvaged (4 fully recovered + 17 images preserved, 325 already safe on Commons). The pipeline, the CDX queries, the modelExport parser, the manifest schema, and every guardrail below are what those runs actually used. Condensed worked examples live in references/internetstiftelsen-case-study.md and references/184802432-case-study.md.

When a Flickr account is deleted (or made private), every photo page and the flickr.com/photos/<nsid>/ people page return 404, but the Wayback Machine usually still holds archived copies of the photo pages and their images. When the account is still live, the same pipeline recovers the photos the owner deleted from it (deleted set = archived IDs − live photostream). Either way this skill turns the archives into a clean pattypan upload of the photos that are not yet on Commons — matched by Flickr ID, never by filename.

When to use this skill

  • "This Flickr account disappeared — can we recover the photos?"
  • "Flickr account X is deleted; upload the photos that aren't on Commons yet"
  • "This photographer deleted ~2k photos from their live account; which of those are lost, and which can be recovered?"
  • Any task that mentions the Wayback CDX API, archived Flickr pages, or "rescue" of a deleted GLAM/institutional Flickr account (e.g. Internetstiftelsen).

Use this skill instead of flickr when the live Flickr API has nothing to offer (the account is gone, so flickr.people.findByUsername 404s). Use flickr when the account is still live.

Pipeline at a glance

  1. Enumerate every archived photo ID via the CDX API (both URL forms). For a live account, diff against the full photostream → the deleted subset.
  2. Dedupe against Commons — skip photos already uploaded (match by Flickr ID; back-fill the photographer's existing category first).
  3. Scrape per-photo metadata from archived photo pages (title, description, date, license, tags, owner). Photos whose pages are SPA shells yield nothing here — that is not "lost".
  4. Find + download the best archived image per photo — from the model's sizes when present, otherwise via a CDX wildcard scan of the image host (works even for shell pages).
  5. Build a pattypan manifest (Commons-safe wikitext) from the photos that have metadata + image + a free license; keep image-only recoveries for license confirmation.
  6. Validate the manifest, then upload with pattypan.

SOP: 1 — Enumerate photo IDs via the Wayback CDX API

CDX basics (memorize)

The CDX API returns a capture listing as JSON:

https://web.archive.org/cdx/search/cdx?url=<url-pattern>&output=json&fl=timestamp,original,statuscode,digest&filter=statuscode:200&collapse=digest
  • url is a glob pattern — the account uses .../photos/<nsid>/* and the alias form .../photos/<username>/*.
  • fl= selects columns; always request timestamp,original,statuscode,digest.
  • collapse=digest dedupes captures of the same page content; filter=statuscode:200 drops error/redirect captures.
  • Response is [["timestamp","original","statuscode","digest"], [...row...], ...].
  • A raw replayed page is https://web.archive.org/web/<timestamp>/<original> ; append id_ right after the timestamp to get the raw response (/web/<ts>id_/<url>), which is what you want for images and HTML you parse.

Query both URL forms

The CDX holds captures under two URL shapes — the NSID (flickr.com/photos/44783532@N07/<id>/) and the username alias (flickr.com/photos/stiftelsen/<id>/). Query both and union the photo IDs; one form is often missing captures the other has.

The trailing-slash pitfall

The first extraction regex required a trailing slash (/photos/<account>/(\d+)/) and silently dropped 209 IDs whose only captures use the NSID form without the trailing slash. Use a regex that tolerates the optional trailing slash and the in/<pool> suffix:

python
PHOTO_RE = re.compile(
    r"/photos/(?:44783532@N07|stiftelsen)/(\d+)/?"
    r"(?:in/(?:photostream|set-[\w]+|album-[\w]+|pool-[\w]+))?/?$"
)

Etiquette

The CDX API is not rate-limited formally but can be slow or flaky. Use one requests.Session() / urllib opener, send a descriptive User-Agent, sleep ~1 s between calls, and retry on timeout/connection errors with backoff. Save the full CDX result to disk (wayback_full.json) so later steps don't re-query.

python
import json, re, time, urllib.parse, urllib.request

CDX = "https://web.archive.org/cdx/search/cdx"
def cdx_rows(account_url):
    qs = urllib.parse.urlencode({
        "url": account_url, "output": "json", "fl": "timestamp,original,statuscode,digest",
        "filter": "statuscode:200", "collapse": "digest",
    })
    req = urllib.request.Request(f"{CDX}?{qs}", headers={"User-Agent": UA})
    for attempt in range(5):
        try:
            with urllib.request.urlopen(req, timeout=120) as r:
                rows = json.load(r)
            return [dict(zip(rows[0], row)) for row in rows[1:]]
        except Exception:
            time.sleep(2 * (attempt + 1))
    raise RuntimeError("CDX query failed")

rows = []
for nsid in ("44783532@N07", "stiftelsen"):
    rows += cdx_rows(f"https://www.flickr.com/photos/{nsid}/*")
    time.sleep(1)

photo_ids = sorted({int(m.group(1)) for r in rows
                    if (m := PHOTO_RE.search(r["original"]))})

SOP: 1b — Find archived images via CDX (works even for shell pages)

Image discovery is separate from page discovery. The Wayback crawler follows <img>/og:image URLs to the Flickr image host, so image bytes are archived even when the photo page is a bare SPA shell with no metadata (Flickr stopped server-rendering photo pages around Feb 2023; 2023+ captures are ~80–106 KB shells). Modern uploads live under live.staticflickr.com/65535/; pre-2019 uploads use farm<N>.staticflickr.com/<server>/.

The pattern that works — a plain trailing wildcard, no matchType:

https://web.archive.org/cdx/search/cdx?url=live.staticflickr.com/65535/<id>_*&output=json&fl=timestamp,original,statuscode,mimetype&limit=60

This returns every size capture for the ID (multiple secrets, multiple sizes, e.g. _b.jpg, _n.jpg with a different secret, sometimes _k.jpg/_h.jpg).

Two forms that return garbage — do not use them:

  • matchType=prefix with a trailing * → the * is treated as a literal, so the query matches nothing. ("No images archived" from this query is a lie.)
  • a leading-domain wildcard like *.staticflickr.com/*<id>_* → only generic staticflickr.com root captures, not the image.

Keep only rows with statuscode=200 and an image mimetype (429 rows are Flickr rate-limit responses). Pick the largest size by URL suffix (_o k h b c z w m n s t q sq, largest first; l maps to _b, m has no suffix). scripts/scan-cdx-images.py automates this and writes rescue_out/image_scan.json, which download-images.py reads as a fallback when the page model has no sizes block.

python
# Minimal per-ID image scan (correct pattern)
def image_captures(pid, hosts=("live.staticflickr.com/65535",)):
    rows = cdx_rows(f"{hosts[0]}/{pid}_*")   # trailing wildcard, no matchType
    return {r["original"]: r for r in rows
            if r["statuscode"] == "200" and "image" in r.get("mimetype", "")}

SOP: 2 — Find which photos are already on Commons

Match by Flickr ID, not by Commons filename — uploaders rename files freely. An ID can appear in a Commons file's title (Name (12345678901).jpg), wikitext (|Source = [https://www.flickr.com/photos/<nsid>/<id>/ ...]), or Structured Data (P973/P7482 URL claims). Check all three:

  1. Full-text/insource search for the ID: Special:Search insource:"<id>" or the Action API list=search with srsearch="<id>" on commons.wikimedia.org.
  2. Wikitext scan of the candidate files: prop=revisions&rvprop=content (50 titles per request), regex for flickr\.com/.../(\d{5,}).
  3. SDC scan: action=wbgetentities&sites=commonswiki&titles=... and read P973/P7482 URL claims for flickr.com.

Aggregate into commons_flickr_ids.txt (one ID per line). The rescue run found 399 already-present IDs this way. Use the User-Agent/rate-limit rules from wikimedia-api-access — this is a Wikimedia API.

Back-fill the photographer's category first

If the photographer maintains their own Commons category (Category:Photographs by <Name>), start there: pull the category's file titles (list=categorymembers, cmtype=file, paginated), extract the (<id>) from each title, and diff against the deleted set. In the second rescue run this found 315 of 350 deleted photos already safe on Commons in one API walk, before any per-photo search. Follow with insource:"<id>" full-text search for the remainder (found 10 more whose files don't put the ID in the title). Only the 25 leftover IDs needed per-photo work — that reframes the whole job.


SOP: 3 — Scrape metadata from archived photo pages

Shell pages: when there is no metadata

Flickr stopped server-rendering photo pages around Feb 2023. Archived pages after that cutoff are ~80–106 KB SPA shells with no modelExport (and no api.flickr.com responses either — those XHR calls were not crawled). So for 2023+ uploads there is no title, description, license, or date in the archive, even when the image bytes were captured. Detect a shell quickly by byte size + absence of modelExport; do not spend request budget fetching every capture of a shell. A shell page is not a lost photo — it just drops the photo into the "image-only, license unknown" bucket (see the License rule). The Internetstiftelsen run (pages server-rendered) is the good case; the 184802432@N05 run is the mixed case.

The modelExport JSON blob

An archived Flickr photo page embeds a serialized JSON blob inside a <script class="modelExport"> tag. The real blob is the first occurrence of modelExport: after that script tag (the token also appears in JS comments). Flickr uses a "cyclical JSON" format: data["main"] contains photo-models, person-models, photo-stats-models, photo-head-meta-models, and strings like "~3" reference data["legend"] entries. Resolve the ~N references before reading fields.

python
def extract_model(html):
    idx = html.find('<script class="modelExport"')
    if idx == -1:
        return None
    m = re.search(r"modelExport:\s*(\{)", html[idx:])
    if not m:
        return None
    start = m.start(1)
    depth = 0
    in_str = esc = False
    for i in range(start, len(html[idx:])):
        c = html[idx:][i]
        if in_str:
            if esc:
                esc = False
            elif c == "\\":
                esc = True
            elif c == '"':
                in_str = False
            continue
        if c == '"':
            in_str = True
        elif c == "{":
            depth += 1
        elif c == "}":
            depth -= 1
            if depth == 0:
                return json.loads(html[idx:][start:i + 1])
    return None

assets/inspect_model.py implements the full extraction + ~N resolution; the fetch-photo-metadata.py script uses it.

Fields to pull (photo-models[0] + stats + head-meta + person-models)

FieldWhereNotes
titlephoto-models[0].titlepercent-encoded, latin-1 bytes — decode
descriptionphoto-models[0].descriptionsame decoding
licensephoto-models[0].licenseFlickr license id — only free set 4,5,7,8,9,10,11,12 is uploadable (see License below)
dateTakenphoto-stats-models[0].dateTakenstring; fall back to datePosted
tagsphoto-head-meta-models[0].keywordscomma-separated, same decoding
ownerperson-models[0]nsid, pathAlias, username, realname
sizesphoto-models[0].sizesdict of size key → {url, ...}

The percent-encoding quirk (mojibake)

Flickr percent-encodes metadata with latin-1 bytes (%E4 = ä), so decode with urllib.parse.unquote_to_bytes(s).decode("latin-1"), not the default UTF-8. Archives also store pre-encoded mojibake (ã¶ for ö) in some places — normalize with unicodedata.normalize("NFKC", ...) where you see it.

Some captures are photo-page shells with no photo model (the page was archived but the content blob wasn't), and some photo IDs have no capture at all. Record both cases (error: "no model" / error: "no capture") and carry on — they are excluded from the manifest, not fatal.


SOP: 4 — Download the images

Try, in order:

  1. The archived original size: from sizes["o"] (fall back k, h, l, c, z), rewrite the URL as https://web.archive.org/web/<page_ts>id_/<original_url> and fetch. The id_ modifier returns the raw bytes, not an HTML wrapper.
  2. The archived staticflickr URL: many captures point at c1.staticflickr.com/.../<id>_<secret>[_o].jpg; fetch those directly through /web/<ts>id_/....
  3. Sizes in the page itself: some archived pages embed //web.archive.org/ web/<ts>/<img-url> URLs in sizes — parse and fetch the largest suffix.
  4. CDX-discovered image URLs (shell pages, no model): run scripts/scan-cdx-images.py and read rescue_out/image_scan.json — the wildcard-scan captures on the image host, independent of the page. The script download-images.py already falls back to this file automatically when the page model has no sizes block.

Validate every download with magic bytes — Wayback sometimes returns an HTML error page with HTTP 200:

python
def looks_like_image(blob):
    for magic, ext in [(b"\xff\xd8\xff", "jpg"), (b"\x89PNG\r\n\x1a\n", "png"),
                       (b"GIF87a", "gif"), (b"GIF89a", "gif")]:
        if blob.startswith(magic):
            return ext
    return None

Save as images/<id>.<ext>, record byte counts and the URL in an images.json state file so a rerun skips what already downloaded. Throttle (~1 s), retry with backoff on 429/503/timeout, and re-check files whose size on disk differs from the recorded byte count.


SOP: 5 — Build the pattypan manifest

The manifest is the 13-column CSV that pattypan's build_pattypan_spreadsheet.py turns into the .xls:

path,name,description,date,source,archive_ts,photo_id,author,photographer,categories,license,title,other_fields

path is the absolute local path to images/<id>.<ext> (keep the .xls next to the images so the paths resolve). The template's 13 variables map 1:1 onto these columns.

Filenames — the Flickr ID is sacred

<normalized title> - <Event> (<flickr id>).jpg. Normalize the Flickr title: strip event-year abbreviations (IDD12-, IDD13-), drop redundant trailing event words, and append a - <Event> <year> disambiguator when the bare title doesn't identify the event. The (<flickr id>) suffix is what Commons search/category work uses later — never lose it.

Camera-garbage titles

Titles that are just camera filenames (IMG_2184, ind12_.SE_9888, 11042013-dsc_3685, _W6A8157.jpg) carry no information. Replace them with a sequential per-year counter after the account name, one counter per year:

Swedish Internet Foundation 2012 (001) … — and keep the numbering contiguous across the rows that actually survive pruning (see the exclusion list below).

Descriptions

  • Wrap the Flickr description in its detected language: {{sv|1=...}} / {{en|1=...}}. Strip embedded credit lines (Fotograf: / Photo: / CC-BY ...) — the credit belongs in the author field.
  • Never use the Flickr title as the description.
  • Add a one-line language-tagged event placeholder in the same style ({{sv|1=Internetdagarna. Årlig konferens ...}}). Omit it when the real description is already in that language (never two blocks in one language).
  • Drop descriptions that only repeat the event name (Webbstjärnan 2018).
  • Short tag-like fragments (Arthackday 2013, sponsor .SE) → move to the Flickr tags (other_fields) and fall back to the placeholder; the event they name still drives the categories.

Categories

The template always adds the account category [[Category:Photographs by the Swedish Internet Foundation]]. Add per photo: event category (Internetdagarna 2012), year category, person categories for the photographed people/speakers — not the photographers (red/nonexistent person categories are acceptable and get created by a bot later). Photographer categories (Photographs by <Photographer>) come from the photographer column, separately.

License

The license id comes from the archived page's modelExport blob (photo-models[0].license); keep that id in the manifest and let the pattypan template translate it. Only the free set 4, 5, 7, 8, 9, 10, 11, 12 is uploadable to Commons — the flickr skill has the full id → Commons-template map. Anything else (0–3, 6) is non-free: skip the photo, never invent a license. A missing or unreadable license in the archive is a skip reason too — do not guess.

Deleted photos. When the Flickr page is gone, {{FlickreviewR}} cannot run (it checks the live URL). Cite the Wayback capture as the Information-block source ([https://web.archive.org/web/<ts>/https://www.flickr.com/photos/<nsid>/<id>/ <title>]) and note the deletion; the archived page's license id is the license evidence. Use {{FlickreviewR|...}} only when the live Flickr page still exists.

Author / credit

Credit the account. If the Flickr people page is not archived (common — the 404 hit it too), a link to flickr.com/people/<nsid>/ is dead: use the plain username Stiftelsen instead of [https://www.flickr.com/people/<nsid>/ ...]. Keep {{Flickrreview}} below the license template.

Tags → other_fields

{{Information field|name=Flickr tags|value=se, hack, musik, ...}} (repair the latin-1 mojibake first).

Exclusion list for pruned photos

Keep a skip_photos.txt (one Flickr ID per line) for photos the user has decided to drop (irrelevant, derivative work, duplicate). The build skips any ID in that list even if a local file or archived URL exists — a plain "no file on disk" check is not enough, because the archived URL would silently keep the row in the manifest.


SOP: 6 — Validate and upload with pattypan

Run the validation from scripts/validate-manifest.py and the pattypan build:

bash
python3 .claude/skills/pattypan/scripts/build_pattypan_spreadsheet.py \
    --manifest manifest.csv --template template.wikitext --output pattypan-upload.xls

Non-negotiable checks (0 errors, warnings advisory):

  • filename illegal characters (#<>[]|{}/) and trailing dots/whitespace;
  • filename byte-length ≤ 240 (MediaWiki hard limit);
  • no empty description, date, or archive_ts;
  • no path that still points at a URL (every row must have a local file);
  • every path file exists and is a valid image;
  • no row references a skip_photos.txt ID.

Then open the .xls in pattypan, confirm "N files loaded, 0 errors", spot-check a few rendered descriptions, and upload.


Guardrails

  1. Match by Flickr ID everywhere — Commons filenames, titles, and SDC claims are renamed by uploaders; the (<id>) in the title and the ID in source/SDC are the only reliable join keys.
  2. Query both CDX URL forms (NSID + alias) and make the photo-ID regex tolerate the missing trailing slash, or you silently drop IDs.
  3. Skip CC BY-NC (license 2); never fake a license. Only the free set (4, 5, 7, 8, 9, 10, 11, 12) can go to Commons. A shell page with no license in the archive is a skip reason — the photo becomes an image-only recovery pending the owner's confirmation, not an upload.
  4. A missing local file is not "excluded" if images.json still holds an archived URL — the URL keeps the row alive. Use an explicit skip_photos.txt.
  5. Wayback returns HTML error pages with HTTP 200 — always validate image downloads by magic bytes, never trust status code or extension.
  6. Throttle and resume: sleep ~1 s between Wayback/Commons calls, retry with backoff, and make every stage resumable from its on-disk state (metadata.json, images.json, cached pages/).
  7. Never use the Flickr title as a description; strip credits; one language block per language.
  8. Person categories describe the photographed people, not the photographers. Red/nonexistent person categories are fine — they get created on upload.
  9. No dead people-page links — if flickr.com/people/<nsid>/ isn't archived, credit the account by plain username.
  10. Commons API calls need a proper User-Agent and polite rate limits (see wikimedia-api-access).
  11. A "no image" conclusion needs the right CDX query. matchType=prefix with a trailing * returns zero rows (the * is literal); a leading-domain * returns generic root captures. Query live.staticflickr.com/65535/<id>_* (or farm<N>.staticflickr.com/<server>/<id>_*) with no matchType before declaring an image lost. See SOP 1b and scan-cdx-images.py.
  12. Shell page ≠ lost photo. Flickr stopped server-rendering pages ~Feb 2023; the crawler still stored the image bytes. Split recoveries into "metadata+image+free license" (upload), "image-only, license unknown" (preserve locally, ask the owner), and "nothing" (lost).
  13. Back-fill the photographer's Commons category first — category title-IDs + insource:"<id>" often show most deleted photos are already safe, shrinking the real work to a handful of IDs.
  14. Deleted photos: {{FlickreviewR}} cannot verify a live license when the Flickr page is gone — cite the Wayback capture as source/license evidence.
  15. Originals hide under a different secret. The page's secret is not the original's. Scan host/server/<id>_* (all secrets) and rank by size suffix (_o>_k>_h…) — this recovers full-resolution originals the page model never exposed (Internetstiftelsen revisit: 3 of 6 "lost" photos recovered).
  16. live.staticflickr.com images are often never archived (page saved, zero image bytes). If every size URL points there, the image is probably lost; don't chase it with matchType=domain&filter=… scans — busy staticflickr subdomains return HTTP 504.
  17. Scan images for every at-risk ID, even page-less ones, and diff recovered images against manifest.csv/upload lists before concluding a loss — a missing photo is often a pipeline gap, not an archival gap.

Tooling

  • scripts/cdx-photo-ids.py — CDX enumeration (both URL forms, dedupe, save wayback_full.json + wayback_photo_ids.txt).
  • scripts/check-commons.py — find which Flickr IDs already exist on Commons (title + wikitext + SDC) → commons_flickr_ids.txt.
  • scripts/fetch-photo-metadata.py — fetch archived photo pages, parse the modelExport blob → rescue_out/metadata.json (+ cached pages).
  • scripts/scan-cdx-images.py — CDX image discovery per ID (trailing-wildcard queries against the image host; works for SPA-shell pages with no model) → rescue_out/image_scan.json.
  • scripts/download-images.py — download the best archived image per photo → images/<id>.<ext> + images.json (falls back to image_scan.json when the page model has no sizes).
  • scripts/build-manifest.py — build the 13-column manifest from metadata + images + skip_photos.txt → manifest.csv.
  • scripts/validate-manifest.py — the non-negotiable checks above.
  • assets/inspect_model.py — modelExport extractor + ~N resolver (imported by fetch/download scripts).
  • references/wayback-cdx-notes.md — CDX parameter reference and pitfalls (incl. the wildcard/matchType gotcha and image-host patterns).
  • references/internetstiftelsen-case-study.md — first production run (deleted account): numbers, failures, lessons.
  • references/184802432-case-study.md — second production run (live account, deleted subset): the CDX wildcard bug, SPA-shell pages, live.staticflickr.com image recovery, category back-fill.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Flickr Wayback Recovery faz?

Recover a deleted or offline Flickr account from the Wayback Machine (CDX enumeration, metadata scraping, image download) and batch-upload the photos that are missing from Wikimedia Commons via pattypan

Por que usar Flickr Wayback Recovery no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Flickr Wayback Recovery é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Flickr Wayback Recovery no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Flickr Wayback Recovery?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Flickr Wayback Recovery?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Flickr Wayback Recovery com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Flickr Wayback Recovery é gratuita?

Sim. A habilidade é publicada no GitHub por fuzheado sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇