python-mtg-deckbuilder-ai
My first AI to create a MTG Modern deck
What XERJ indexed
Snapshot
The whole repository at commit df11a8be17 (2026-10-27). develop is 1 commit ahead.
Selected work

“generalize deck ingestion, dataset, training, and scraper for d…”. 5 files, 832 lines in the project root, ai, environment.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-28. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
Example questions
- What does ai do in python-mtg-deckbuilder-ai?
Inside the indexed corpus
- 638 files, 883.4 KB in total, about 1.4 KB per file.
- The selected commit changed 5 of those files (0.8%).
- Languages by size: Python 97.5%, Shell 1.4%, Nix 1.1%.
- On GitHub since 2023-12-09, last push 2026-10-27, 115 commits on develop.
- The pin is 1 commit behind develop; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for shithead/python-mtg-deckbuilder-ai on 2026-10-31, and the LICENSE file at commit df11a8be17 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
PwnyTail (@shithead) has 1 selected repository on the hub.
Using XERJ with python-mtg-deckbuilder-ai
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones shithead/python-mtg-deckbuilder-ai at the pinned commit and indexes it on your machine.
Search the GitHub repository shithead/python-mtg-deckbuilder-ai with XERJ (https://hub.xerj.org/corpus/shithead--python-mtg-deckbuilder-ai). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/shithead/python-mtg-deckbuilder-ai python-mtg-deckbuilder-ai && git -C python-mtg-deckbuilder-ai checkout df11a8be170940711625148e323f0fd3114ff199 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./python-mtg-deckbuilder-ai --url http://127.0.0.1:9200 --prefix python-mtg-deckbuilder-a --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
PwnyTailAI, prompts and agents corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.