# Endgame Tablebase Cache

> Pre-compute and cache known-correct answers for recurring boundary conditions; check tablebase before reasoning. Use for boilerplate code, legal clauses, lookup math. Scope boundary: live reasoning → `proof-trees-reasoning`.

- Skill: `catcorner22/endgame-tablebase-cache` (Agent Skill)
- Install (CLI): `npx skillmds@latest add catcorner22/endgame-tablebase-cache`
- Raw SKILL.md: https://api.skillmd.com/api/skills/catcorner22/endgame-tablebase-cache/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: CatCorner22 (https://skillmd.com/u/catcorner22)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/catcorner22/endgame-tablebase-cache

---

# Chess endgame tablebase cache

**#23** · **Domain:** Chess computing · **Category:** memory · **Difficulty:** 🟡 Medium

## Core principle

Exhaustive pre-computation for fixed configurations — reuse perfect answers.

## AI problem addressed

Recomputing known-correct edge cases every call.

## Implementation

Maintain tablebase: auth patterns, CRUD, standard clauses, timezone math.
Lookup FIRST; invoke reasoning only on cache miss with parameter match.

## Boundaries

- Prototype as prompt scaffold (🟢) before full pipeline middleware (🟡/🔴)
- Category router: **`ai-transfer-memory`**
- Catalog: **`ai-transfer-ecosystem-primer`**
- Runtime plugin id: `tablebase_cache`
- Also implements: `opening_theory`
- Merge notes: Also absorbs `opening_theory`: opening-book templates before a tablebase miss.

