Dev used Claude Code CLI to auto-categorize 2,500 UFC nicknames

A developer built a site (mmanicknames.com) analyzing roughly 2,500 UFC fighter nicknames, sourced from a that scraped UFCStats.com. The process had two stages: a main script ran Claude Code in mode to sort all nicknames into top-level categories like physical characteristics and . A second script then took each category's nicknames, batched them, and fed them back into Claude Code to determine finer subcategories.

The resulting categories and subcategories, computed by Claude, were stored in a JSON file that served as the data store for the rest of the build. In hindsight, the developer noted the subcategory step was run sequentially, one category at a time, and would have worked better as a — spinning up a separate agent per subcategory to run concurrently instead.

Key points

  • Built a data viz site analyzing ~2,500 UFC fighter nicknames
  • Source data came from a scraping UFCStats.com
  • Used headless to auto-sort nicknames into categories and subcategories
  • Processing was sequential; developer says a concurrent per subcategory would have been faster
Read original