← Back to projects

tool

EU4 Modding Knowledge Base

  • Python
  • Markdown
  • pytest
View on GitHub

An AI agent doing Europa Universalis IV modding work needs reference material, and fetching it live is slow, unreliable, and rate-limited. This converts saved wiki pages into clean, consistently structured Markdown once, so lookups afterwards are instant and reproducible.

The build script normalises HTML into Markdown and a manifest generator produces an index, so a consumer can locate the right page without loading all eighty-nine of them. The conversion itself is unit-tested, because a silent formatting regression spread across an entire corpus is difficult to notice and tedious to unpick.

It feeds a custom Claude skill for EU4 modding. The reference content itself remains under the original wiki’s CC BY-SA licence and is attributed as such; the tooling is the part that is mine.