# use pokemon tcg corpus

> Download the Pokemon TCG Corpus releases and look up English Pokemon cards by name, set, or collector number, get USD market prices, or identify a card from a photo using visual embeddings.

use pokemon tcg corpus is a free AI agent skill on Agensi by Reebal Abelson, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Reebal Abelson](https://www.agensi.io/creators/reebal-abelson)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/use-pokemon-tcg-corpus
- Tags: research, python, onnx, sqlite, vector-search

## About this skill

Card collectors and developers often struggle to programmatically identify cards from photos or fetch accurate market data without expensive API keys. This skill provides an offline-first solution for searching the Pokemon TCG Corpus and identifying cards via visual embeddings.

### What it does
- **Visual identification** uses a local ONNX model to match card photos against 21,000+ card embeddings.
- **Full-text search** queries a local database by name, set, collector number, or rarity.
- **Market pricing** retrieves USD price points including market, low, and high values from major platforms.
- **Bulk data management** handles downloading and updating the local SQLite corpus from GitHub releases.
- **Embedding analysis** provides cosine similarity scores to verify the confidence of visual matches.

### How it works
1. **Bootstrap data** by running the `download` command to fetch the latest SQLite databases for embeddings and prices.
2. **Search metadata** using the `search` command to locate specific card IDs via text queries.
3. **Analyze images** by passing a photo path to the `identify` command for visual vector matching.
4. **Fetch valuations** using a card's canonical ID to pull the primary USD market price record.

### Frameworks & tools
This tool relies on Python 3 with `numpy`, `Pillow`, and `onnxruntime`. It uses SQLite for local data storage and a 256-dim float32 visual embedding model for offline image recognition.

### Why this beats prompting it yourself
Generic LLMs frequently hallucinate card numbers, sets, and volatile price data. This skill uses a local, versioned corpus and vector math to ensure every ID and price point is grounded in actual database records.

### Use cases
- Identify physical cards from a camera feed or photo upload.
- Build local inventory management tools with live price tracking.
- Bulk resolve card names to canonical IDs for dataset labeling.
- Cross-reference card rarities and set lists for collection audits.

### Known limitations
The corpus is English-only. Visual identification requires reasonably clear photos and the initial database download is approximately 100 MB.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the use pokemon tcg corpus skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from just asking an AI to identify a card?

This skill identifies specific Pokemon cards from photos and provides real-time market valuations by comparing images against a local database of 21,000+ card embeddings. Unlike generic AI models that may hallucinate card details, this tool uses precise vector matching to ensure you get the exact set, number, and price.

### Does this skill require a constant internet connection or expensive API keys?

While the skill uses Python and ONNX for processing, the databases and embeddings are stored locally in SQLite format. The initial 'bootstrap' command downloads approximately 100MB of data, allowing you to perform visual searches and metadata queries offline.

### How often is the card database and pricing data updated?

The skill includes access to a command-driven workflow to download the latest SQLite databases and price records from our GitHub releases. This ensures your local inventory and pricing data stay current with the latest TCG expansions and market shifts.

### Are there specific photo requirements for the 'identify' command to work?

For visual identification, the skill works best with clear, well-lit photos where the card face is visible. Because it uses 256-dimension vector embeddings, it can handle slight angles and varying backgrounds, though it is currently optimized for English-language cards only.

### What AI agents or development environments are compatible with this skill?

This skill is designed for developers and collectors using Python-based AI agents. It integrates seamlessly with frameworks that support Python 3, numpy, and onnxruntime, making it ideal for custom inventory apps or automated collection auditing tools.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
