update-cards

Ingest new MTG cards from Scryfall, compile IR with Claude Code, and sync to SQLite.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Tomoda826/mtg-goldfisher --skill update-cards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cards
Source: https://github.com/Tomoda826/mtg-goldfisher/tree/main/.claude/skills/update-cards
Command: npx skills add https://github.com/Tomoda826/mtg-goldfisher --skill update-cards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pulls new MTG cards from Scryfall, compiles their IR using Claude Code, and safely syncs them to SQLite, ensuring delta-only updates that never overwrite existing data.

Core Features & Use Cases

  • Delta-only imports: adds only new cards to the local database.
  • IR generation: compiles machine-readable card data with Claude Code.
  • SQLite synchronization: updates the SQLite database with new cards while preserving existing records.
  • Scryfall integration: leverages Scryfall as the source of truth and supports validation modes like hydrate-only, refresh-errata, and dry-run to control flow.
  • Use Case: When maintaining a growing MTG card collection where changes must be additive and auditable.

Quick Start

Run the update-cards skill to pull new Scryfall cards, compile their IR with Claude Code, and synchronize them to SQLite without touching existing entries.

Frequently Asked Questions about update-cards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import new MTG cards from Scryfall into SQLite without overwriting existing data?

Delta-importing new MTG cards from Scryfall into SQLite safely adds only new records without overwriting existing data. The process pulls source data, compiles intermediate representations, and synchronizes the database through deterministic, idempotent steps.

What does delta ingestion mean when syncing a Scryfall card database?

Delta ingestion applies only additive, auditable updates to your MTG card database. The SQLite synchronization process never touches or modifies existing card entries, maintaining data integrity while growing the collection incrementally.

Can I validate new MTG card data before syncing it to my SQLite database?

You can validate data using dry-run, hydrate-only, and refresh-errata modes. These options control the ingestion flow, allowing you to inspect compiled intermediate representations and verify new Scryfall cards before committing updates to SQLite.

How does IR compilation work for Magic card data?

IR compilation uses Claude Code to generate machine-readable card data from Scryfall sources. This intermediate representation step structures MTG card information accurately before it is synchronized into the SQLite database.

Is the SQLite synchronization process idempotent when updating MTG cards?

The SQLite synchronization process is deterministic and idempotent. Running the hydrate, export, compile, and sync steps multiple times yields the same result, ensuring safe updates without duplicating cards or corrupting existing data.