@ElAlphard
Alright, so basically, what you want is a program that:
1) traverses the derive tree of a given PID
2) spits out the PID's of products in the derive tree, minus the root PID
3) turns those PID's into catalog search links, for products derived from those pid's