Logo von Flickr Wayback Recovery

Flickr Wayback Recovery

Community
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

Übersicht

Herausgeberfuzheado
RepositoryWikipedia-AI-Skills
Skill-Nameflickr-wayback-recovery
Sterne
27
Forks
10
Mitgelieferte Dateien
11
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 11

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von fuzheado auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Flickr Wayback Recovery in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Flickr Wayback Recovery in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Flickr Wayback Recovery automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Flickr Wayback Recovery nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill 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

Warum Flickr Wayback Recovery in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Flickr Wayback Recovery besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Flickr Wayback Recovery in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Flickr Wayback Recovery nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Flickr Wayback Recovery verwenden?

So viele Sie möchten. In TypingMind können Sie Flickr Wayback Recovery mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Flickr Wayback Recovery kostenlos?

Ja. Der Skill wird von fuzheado auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇