[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XP5947747YQEYWE6BT39F":3,"skill-same:01M79XP5947747YQEYWE6BT39F":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79XP5947747YQEYWE6BT39F","query-magic-references",null,"Query this repository's optional generated Scryfall SQLite index for exact printings, set and collector metadata, card characteristics, faces, Oracle text, legalities, keywords, colors, related parts, and rulings. Use for fast UUID or name lookups, full-text searches, joins, aggregate analysis, batch audits, or comparisons while developing Penta. Do not use it as the authority for Comprehensive Rules, live prices, or printing languages outside the indexed sources; refresh the cache or use an authoritative online source when necessary.","lacker\u002Fpenta","lacker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106475?v=4","01M79XNP7WPM09E70KSK02PMHA","Kevin Lacker","01M79XNP8X7SR6EHX6XX5G0WWS",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fquery-magic-references\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: query-magic-references\ndescription: \"Query this repository's optional generated Scryfall SQLite index for exact printings, set and collector metadata, card characteristics, faces, Oracle text, legalities, keywords, colors, related parts, and rulings. Use for fast UUID or name lookups, full-text searches, joins, aggregate analysis, batch audits, or comparisons while developing Penta. Do not use it as the authority for Comprehensive Rules, live prices, or printing languages outside the indexed sources; refresh the cache or use an authoritative online source when necessary.\"\n---\n\n# Query Magic References\n\nUse the clone-wide, schema-versioned Scryfall index as a read-only development\nreference. It is shared by all linked worktrees. Keep results narrow enough to\ninspect; never dump the database into model context.\n\n## Start safely\n\nThe field map below is sufficient for exact UUID, exact name\u002Fset, exact\nset\u002Fcollector, and bounded set-level queries; do not load a larger reference\nmerely to repeat one of those common patterns. Read\n[the schema reference](.agents\u002Fskills\u002Fquery-magic-references\u002Freferences\u002Fschema.md)\nbefore using unlisted fields, unfamiliar joins, FTS, broad aggregates, batch\nanalysis, query planning, or changing the index tooling. It documents the full\nschema, examples, indexes, and interpretation limits. The link is written from\nthe repository root so it resolves identically through both skill entrypoints.\n\nResolve the database path instead of constructing or hardcoding it:\n\n```sh\nREFERENCE_SCRIPT=.agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py\nSCRYFALL_DB=\"$(python3 \"$REFERENCE_SCRIPT\" path scryfall-index)\"\n```\n\nCheck the database against its cached inputs without networking or refreshing:\n\n```sh\npython3 .agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py status scryfall-index\n```\n\nPath resolution and this local status check are low-friction reads. Use the\ndatabase if it is current relative to its inputs; do not refresh merely because\nthe worktree is new. For a genuinely freshness-sensitive task, separately\ncompare the inputs with Scryfall:\n\n```sh\npython3 .agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py status default-cards rulings\n```\n\nIf the database is missing, corrupt, or unavailable for the required schema,\nuse `$refresh-magic-references` to repair it with explicit human approval. Only\nrefresh intact source data when the current task truly needs newer material.\nIf shared mutation is unavailable or unwarranted, use retained source data or\nan authoritative online source instead.\n\n## Choose the narrowest query\n\n- Use `printings.scryfall_id` for an exact printing UUID.\n- Use `(printings.normalized_name, printings.set_code)` when an exact UUID is\n  absent or stale, retaining collector number and UUID in the result. Normalize\n  lookup text with Unicode NFKC followed by case folding; set codes are stored\n  lowercase.\n- Use `printings` for set, collector-number, language, rarity, artist, and\n  parent-image metadata. Keep `scryfall_id` in projected results when a lookup\n  can match more than one printing.\n- Use `card_names.normalized_name` for an exact primary or face name, with the\n  same NFKC-plus-case-fold normalization.\n- Use `cards` for Oracle-level characteristics and compact JSON fields.\n- Use `card_faces` for face-specific cost, type, text, or stats.\n- Join `printings` to `cards` through nullable `card_id`, and join `cards` to\n  `rulings` through `oracle_id`.\n- Use `card_keywords`, `card_colors`, and `card_parts` for relationships.\n- Use `card_search` or `ruling_search` with `MATCH` for words and concepts.\n- Use bounded `LIKE` queries when FTS5 is unavailable or punctuation matters.\n\nOpen the database read-only:\n\n```sh\nsqlite3 -readonly -header -column \"$SCRYFALL_DB\"\n```\n\nUse `-json` for structured consumption. Project only needed columns, run\n`COUNT(*)` before broad extraction, add `LIMIT` while exploring, and use\n`EXPLAIN QUERY PLAN` for slow or repeated batch queries. Never modify the\ngenerated database directly.\n\n## Interpret results carefully\n\n`default-cards` supplies one default-language Scryfall object per printing:\nEnglish when available, otherwise the printing's only available language. It\ndoes not contain every localized object; use `all-cards` or Scryfall online when\nthat distinction matters. Some Scryfall objects have no Oracle ID and therefore\nhave a `printings` row with no related `cards` row; preserve them with a\n`LEFT JOIN` instead of silently dropping them.\n\nCollector numbers are opaque text. Compare them exactly for identity, retain\nsuffixes and symbols, and do not assume the entire Scryfall corpus can be\nsorted by parsing them as integers. Printing metadata and Scryfall legalities\ndo not establish Old School legality, and Scryfall format legality is not a\nsubstitute for Eternal Central's rules. Oracle text may intentionally differ\nfrom Penta's adapted historical behavior. Resolve compressed bulk-file paths\nthrough the refresh script for unmodeled fields such as localized\n`printed_name` values and exact-printing face images. Do not substitute\nrepresentative `card_faces` images for a different printing. Use an\nappropriately live source for prices.\n\nWhen repeated work exposes a missing indexed field, relationship, or query\npattern, treat that as a reference-tooling change: update the builder, both\nskills, and the documented schema together, then rebuild and validate with the\nrequired shared-cache approval. Do not expand the tooling for an isolated\none-off query.\n","# Query Magic References\n\nUse the clone-wide, schema-versioned Scryfall index as a read-only development\nreference. It is shared by all linked worktrees. Keep results narrow enough to\ninspect; never dump the database into model context.\n\n## Start safely\n\nThe field map below is sufficient for exact UUID, exact name\u002Fset, exact\nset\u002Fcollector, and bounded set-level queries; do not load a larger reference\nmerely to repeat one of those common patterns. Read\n[the schema reference](.agents\u002Fskills\u002Fquery-magic-references\u002Freferences\u002Fschema.md)\nbefore using unlisted fields, unfamiliar joins, FTS, broad aggregates, batch\nanalysis, query planning, or changing the index tooling. It documents the full\nschema, examples, indexes, and interpretation limits. The link is written from\nthe repository root so it resolves identically through both skill entrypoints.\n\nResolve the database path instead of constructing or hardcoding it:\n\n```sh\nREFERENCE_SCRIPT=.agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py\nSCRYFALL_DB=\"$(python3 \"$REFERENCE_SCRIPT\" path scryfall-index)\"\n```\n\nCheck the database against its cached inputs without networking or refreshing:\n\n```sh\npython3 .agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py status scryfall-index\n```\n\nPath resolution and this local status check are low-friction reads. Use the\ndatabase if it is current relative to its inputs; do not refresh merely because\nthe worktree is new. For a genuinely freshness-sensitive task, separately\ncompare the inputs with Scryfall:\n\n```sh\npython3 .agents\u002Fskills\u002Frefresh-magic-references\u002Fscripts\u002Freference_material.py status default-cards rulings\n```\n\nIf the database is missing, corrupt, or unavailable for the required schema,\nuse `$refresh-magic-references` to repair it with explicit human approval. Only\nrefresh intact source data when the current task truly needs newer material.\nIf shared mutation is unavailable or unwarranted, use retained source data or\nan authoritative online source instead.\n\n## Choose the narrowest query\n\n- Use `printings.scryfall_id` for an exact printing UUID.\n- Use `(printings.normalized_name, printings.set_code)` when an exact UUID is\n  absent or stale, retaining collector number and UUID in the result. Normalize\n  lookup text with Unicode NFKC followed by case folding; set codes are stored\n  lowercase.\n- Use `printings` for set, collector-number, language, rarity, artist, and\n  parent-image metadata. Keep `scryfall_id` in projected results when a lookup\n  can match more than one printing.\n- Use `card_names.normalized_name` for an exact primary or face name, with the\n  same NFKC-plus-case-fold normalization.\n- Use `cards` for Oracle-level characteristics and compact JSON fields.\n- Use `card_faces` for face-specific cost, type, text, or stats.\n- Join `printings` to `cards` through nullable `card_id`, and join `cards` to\n  `rulings` through `oracle_id`.\n- Use `card_keywords`, `card_colors`, and `card_parts` for relationships.\n- Use `card_search` or `ruling_search` with `MATCH` for words and concepts.\n- Use bounded `LIKE` queries when FTS5 is unavailable or punctuation matters.\n\nOpen the database read-only:\n\n```sh\nsqlite3 -readonly -header -column \"$SCRYFALL_DB\"\n```\n\nUse `-json` for structured consumption. Project only needed columns, run\n`COUNT(*)` before broad extraction, add `LIMIT` while exploring, and use\n`EXPLAIN QUERY PLAN` for slow or repeated batch queries. Never modify the\ngenerated database directly.\n\n## Interpret results carefully\n\n`default-cards` supplies one default-language Scryfall object per printing:\nEnglish when available, otherwise the printing's only available language. It\ndoes not contain every localized object; use `all-cards` or Scryfall online when\nthat distinction matters. Some Scryfall objects have no Oracle ID and therefore\nhave a `printings` row with no related `cards` row; preserve them with a\n`LEFT JOIN` instead of silently dropping them.\n\nCollector numbers are opaque text. Compare them exactly for identity, retain\nsuffixes and symbols, and do not assume the entire Scryfall corpus can be\nsorted by parsing them as integers. Printing metadata and Scryfall legalities\ndo not establish Old School legality, and Scryfall format legality is not a\nsubstitute for Eternal Central's rules. Oracle text may intentionally differ\nfrom Penta's adapted historical behavior. Resolve compressed bulk-file paths\nthrough the refresh script for unmodeled fields such as localized\n`printed_name` values and exact-printing face images. Do not substitute\nrepresentative `card_faces` images for a different printing. Use an\nappropriately live source for prices.\n\nWhen repeated work exposes a missing indexed field, relationship, or query\npattern, treat that as a reference-tooling change: update the builder, both\nskills, and the documented schema together, then rebuild and validate with the\nrequired shared-cache approval. Do not expand the tooling for an isolated\none-off query.\n",{"name":5,"description":7},"main","581e7ce37cc1113b0cec4873da4e089b0b8ccd6d",".agents\u002Fskills\u002Fquery-magic-references",3,"https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta","https:\u002F\u002Fgithub.com\u002Flacker","lacker.io","2026-11-10 01:12:38",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lacker\u002Fpenta --skill query-magic-references",{"tool":38,"command":39},"bunx","bunx skills add lacker\u002Fpenta --skill query-magic-references",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lacker\u002Fpenta --skill query-magic-references","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fquery-magic-references\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",309,"https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fquery-magic-references\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fschema.md",13785,"https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fquery-magic-references\u002Freferences\u002Fschema.md",[57,63,68,74,80,86],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79XPSP16J8YZXH2NMGKD13S","refresh-magic-references","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frefresh-magic-references\u002FSKILL.md",[],[],{"skillNo":64,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79XPREGKGKZ5SK4G3PRVMZX","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquery-magic-references\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79XPPYT418SK0PCT0THY2DC","profile-engine-performance","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fprofile-engine-performance\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79XPMR0JQV6DPMWMQWQ95E3","play-penta","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplay-penta\u002FSKILL.md",[],[],{"skillNo":81,"name":59,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79XPD0V6NC9EGGFF32QT6FJ","Locate, inspect, migrate, refresh, and index this repository's optional shared Magic: The Gathering reference cache, including the Wizards Comprehensive Rules, Eternal Central 93\u002F94 rules, Scryfall bulk card and ruling data, and schema-versioned SQLite indexes. Use when an agent needs reproducible local rules or card data, needs to diagnose cache freshness or locking, needs to build or repair the Scryfall index, or is asked to populate or update the clone-wide cache. Do not require it for questions that authoritative online sources can answer reliably.","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frefresh-magic-references\u002FSKILL.md",[],[],{"skillNo":87,"name":70,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M79XNXK321FXNB5KGZ7Y1KPC","Benchmark and profile Penta's native engine with reproducible deterministic workloads, Hyperfine wall-clock measurements, saved Samply CPU captures, and allocation-profiler guidance. Use when investigating engine throughput, CPU hotspots, CPU spent in allocator routines, real allocation churn, before-and-after performance, or the next optimization target. Do not compare different workloads, seeds, build profiles, or machines, and do not treat sample percentages as benchmark speedups.","https:\u002F\u002Fgithub.com\u002Flacker\u002Fpenta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fprofile-engine-performance\u002FSKILL.md",[],[]]