update pokemon tcg corpus
Update the English Pokemon card list and scan images in pokemon-tcg-corpus when a new set is missing, an embeddings run fails, or a release needs verification.
Free
update pokemon tcg corpus
Example session with this skill installed
Check why the embeddings build failed for set 'sv04' and update the image mappings if images are missing.
- Read your context and instructions
- Compiled the update pokemon tcg
I have analyzed the failed GitHub Action run for the build-embeddings-db.yml workflow. The logs indicated that set sv04 (Paradox Rift) was missing 182 image assets because the TCGdex ID did not resolve against the image provider. I have updated the mapping file and verified the local resolution.
Update Summary
| Component | Status | Details |
|---|---|---|
| Workflow Run | Analyzed | ID: 884291032 (Failed) |
| Failure Reason | Image Gap | 182/226 cards missing images |
| Mapping Update | Applied | Linked sv4 to pkmn.gg slug paradox-rift |
| Validation | Passed | check_set_images.py confirmed 226/226 images |
| Test Suite | Passed | 14 passed in 2.1s |
# Updated in scripts/resolve_missing_images.py
EXACT_SET_MAPPINGS = {
"sv01": "scarlet-violet",
"sv02": "paldea-evolved",
"sv03": "obsidian-flames",
"sv03.5": "151",
"sv04": "paradox-rift", # Added missing mapping for Paradox Rift
}
Next steps
- Review the commit to
scripts/resolve_missing_images.pyand merge tomain. - Run
gh workflow run build-embeddings-db.yml --ref mainto trigger the rebuild. - Check the next release summary to confirm
publish_release=true.
Connects securely to your tools. The creator never sees your data.
About this skill
Maintaining a complete Pokemon TCG dataset is difficult when image sources and card counts frequently mismatch. This skill automates the verification and update cycle for the pokemon-tcg-corpus repository to ensure data integrity.
What it does
- Verify card counts checks TCGdex and PokemonTCG.io against official checklists to confirm secret rare totals.
- Triage build failures analyzes GitHub Action logs and JSON reports to identify why embeddings failed to generate.
- Map image sources resolves missing card art by pairing TCGdex IDs with verified pkmn.gg slugs in the resolution script.
- Validate embeddings queries the SQLite database to ensure all card variants have associated vector embeddings.
- Workflow dispatch triggers automated rebuilds of the embeddings database via GitHub CLI.
How it works
- Source discovery identifies the target set ID and card count from public TCG APIs.
- Failure analysis downloads artifacts from failed
build-embeddings-db.ymlruns to extract themissing-images-report.json. - Set mapping updates
EXACT_SET_MAPPINGSin the Python source to bridge metadata and image providers. - Local validation runs the image check script and pytest suite to verify every card resolves to a decodable image.
- Production verification downloads the latest release asset to confirm the SQLite
cardstable matches the expected checklist.
Frameworks & tools
Built for repositories using Python, SQLite, and GitHub Actions. It utilizes pytest for validation and the GitHub CLI (gh) for artifact and workflow management.
Why this beats prompting it yourself
Generic agents struggle with the specific cross-referencing logic required between TCGdex and pkmn.gg. This skill enforces a strict image gate and specific SQLite join logic to prevent incomplete data from reaching production releases.
Use cases
- Add a newly released Pokemon TCG set to the embeddings database.
- Debug a failed GitHub Action run that reported missing card images.
- Verify that a published release contains the correct number of secret rares.
- Update image resolution logic when a source provider changes their URL structure.
Known limitations
Cannot add sets that are absent from both TCGdex and PokemonTCG.io feeds. Requires GitHub CLI authenticated with repository write access to dispatch workflows.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 16 days ago
- Free with an Agensi account
- Accounts
GitHub
Dextcg
Pkmn
Pricecharting
Scrydex
Limitlesstcg
Poketrace
Pokemonpricetracker
Pokemontcg
Tcgdex
Duckduckgo
- Software
Python
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.