AgentEpstein
БесплатноЗапускает вложенные скриптыНе проверенHarvest image datasets from art sites (Danbooru, yande.re, e621, Safebooru, Konachan, Gelbooru, X, Pixiv) into a folder a LoRA or fine-tune reads directly…
от schizofighter372 установки в других каталогахОб этом скилле
Art Dataset Harvest
Collects images plus their tag metadata from art sites into a dataset folder a trainer can read directly. Drives a real browser so that bot-walled and logged-in-only sites work, and drops to a plain HTTP API whenever that is actually open. Never types a password itself.
When to Use
- "Build me a dataset of
art from danbooru / yande.re / e621" - "Harvest images from this artist / this tag on X or Pixiv"
- "Collect reference images for a LoRA / fine-tune"
- "That site blocks curl — get the images anyway"
Don't use for: one-off image downloads (just fetch the URL), text or video corpora, or anything where the user has not confirmed they have the right to use the images.
Loose tagging: why X and Pixiv need a different approach
On a booru yuri is a tag: ask and you get exactly that. X and Pixiv
have no such guarantee — people post under a ship tag, a fandom hashtag,
or nothing at all. Four mechanisms compensate, and you need all four.
- A ranked query plan (
scripts/queries.py). One intent becomes an ordered list, most precise first — user-supplied ship tags, generated character pairs, fandom plus a term meaning two women, then generic terms held back.--aggressiveadds hashtag-compounded forms. - Relaxation. X ANDs every term, so one extra word can zero out a search. A dry query is walked back toward looser forms rather than treated as absence.
- An adaptive driver (
scripts/search.py) that watches yield and stops when more scrolling is not worth it, instead of re-issuing dead queries. - Visual verification (
scripts/vision_filter.py). Search terms are never evidence. Candidates from a loosely-tagged source are checked by actually looking at them.
Mechanisms 1-3 are described in full under Loose tagging: why X and Pixiv need a different approach below.
Logins: X will refuse an automated browser
Two things bite here, and they look like separate bugs but are one:
- A Playwright launch uses its OWN profile directory. The user's everyday browser being logged in means nothing — the automated browser is signed out, every time.
- X actively refuses logins from an automated browser. A correct
login still bounces to
x.com/i/jf/onboarding/web?...&mode=login, so even a successful sign-in produces a logged-out session.
Both are solved by driving the user's real browser instead of launching one:
# terminal 1 — opens a real browser on a debug port; log in there by hand
python {baseDir}/scripts/start_browser.py --port 9222 --url https://x.com/home
# terminal 2 — attach to it
python {baseDir}/scripts/harvest.py --sources twitter --cdp http://localhost:9222 ...
The browser must be started with --remote-debugging-port; start_browser.py
does that and verifies the port answers before claiming success. Never close
a browser you attached to — it is the user's window. Browser.__exit__
already respects that.
Detecting login state must require POSITIVE evidence. Absence of a
login-wall marker is not proof of a session: X redirects an unauthenticated
visit through onboarding URLs that match no marker, so a naive check
reports success on a logged-out page. logged_in_markers exist for this —
a session is only confirmed when one of them is present. Marker sets live
on the source class (login_url_markers, login_dom_markers,
logged_in_markers), not hardcoded in the orchestrator.
harvest.py runs a preflight session check for any source with
needs_login and asks before spending queries. Without it, a logged-out X
silently returns zero results and the run reports "found 0" — which reads
as "no art exists" rather than "you are not signed in."
X quality: engagement beats keywords
Search terms on X say nothing about quality. --min-likes N pushes
min_faves:N into the search URL (server-side, so junk never reaches the
page) and re-checks the like count on each card. Low-engagement posts are
overwhelmingly reposts, screenshots, memes and unrelated chatter. In
testing this was the single highest-value filter on that site.
Loose tagging: why X and Pixiv need a different approach
On a booru yuri is a tag, so asking for it returns exactly that. X
and Pixiv have no such guarantee — people post under a ship tag, a fandom
hashtag, or nothing at all. Three mechanisms compensate, and you need all
three.
1. A ranked plan, not one query (scripts/queries.py)
plan() returns candidates ordered by expected yield, most precise first:
| kind | example | why |
|---|---|---|
ship_tag |
Jinhli |
a pairing name you supplied, used verbatim |
ship |
raiden x yae |
a named pairing is almost always fanart of those two |
hashtag |
#Jinhsi #Changli |
aggressive mode; hashtag posts are disproportionately actual fanart |
fandom |
wuthering waves yuri |
fandom plus a term meaning two women |
Установить AgentEpstein в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл AgentEpstein?
Harvest image datasets from art sites (Danbooru, yande.re, e621, Safebooru, Konachan, Gelbooru, X, Pixiv) into a folder a LoRA or fine-tune reads directly. Routes each source over plain HTTP or a real browser to get past bot walls, verifies X and Pixiv candidates by actually looking at them, and keeps artist/page/tag provenance on every row. Use for: building a dataset or reference set from a tag, ship, fandom or artist; collecting images for LoRA training; or scraping a site that 403s a normal client.
Как установить скилл AgentEpstein?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AgentEpstein запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub