https://github.com/anthropics/claude-code/blob/main/plugins/...
It literally is a loop with some markdown and harnesses. There's no magic.