update pokemon tcg corpus

    by Reebal Abelson

    1

    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

    Security scanned

    Works with the AI Agents you already use

    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

    ComponentStatusDetails
    Workflow RunAnalyzedID: 884291032 (Failed)
    Failure ReasonImage Gap182/226 cards missing images
    Mapping UpdateAppliedLinked sv4 to pkmn.gg slug paradox-rift
    ValidationPassedcheck_set_images.py confirmed 226/226 images
    Test SuitePassed14 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

    1. Review the commit to scripts/resolve_missing_images.py and merge to main.
    2. Run gh workflow run build-embeddings-db.yml --ref main to trigger the rebuild.
    3. 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

    1. Source discovery identifies the target set ID and card count from public TCG APIs.
    2. Failure analysis downloads artifacts from failed build-embeddings-db.yml runs to extract the missing-images-report.json.
    3. Set mapping updates EXACT_SET_MAPPINGS in the Python source to bridge metadata and image providers.
    4. Local validation runs the image check script and pytest suite to verify every card resolves to a decodable image.
    5. Production verification downloads the latest release asset to confirm the SQLite cards table 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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
    GitHubDextcgPkmnPricechartingScrydexLimitlesstcgPoketracePokemonpricetrackerPokemontcgTcgdexDuckduckgo
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    static.dextcg.com
    www.pkmn.gg
    www.pricecharting.com
    scrydex.com
    limitlesstcg.com
    www
    api.poketrace.com
    www.pokemonpricetracker.com
    api.scrydex.com
    api.pokemontcg.io
    poketrace.com
    api.github.com
    api.tcgdex.net
    duckduckgo.com
    Listed16 days ago

    What's inside

    Creator

    R

    Reebal Abelson

    2 skills on Agensi

    Frequently Asked Questions

    This skill automates the synchronization between TCG APIs and your local repository, resolving common data mismatches, missing image art, and incomplete SQLite embeddings that manual scripts often overlook.

    The skill requires a Python environment with the GitHub CLI (gh) installed and authenticated, as it needs repository write access to fetch Action artifacts and dispatch rebuild workflows.

    Yes, while it primarily targets TCGdex and PokemonTCG.io, you can update the Python source's mapping logic to bridge metadata with new image providers like pkmn.gg as their URL structures evolve.

    The skill includes a automated SQLite validation step that queries your production database to ensure every card variant, including secret rares, has a corresponding, decodable vector embedding.

    You receive the full skill logic for automated source discovery, failure analysis scripts for GitHub Actions, and the image resolution suite designed for the pokemon-tcg-corpus ecosystem.

    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.

    Free