How to use a custom kernel in opencore?

OpenCore 0.7.1 has introduced custom kernel support but how do i use it? I can't find any documentation/tutorial anywhere.

Author: @jakaco