They structure of RAnal plugin looks like

    Makefile

    After compiling radare2 will list this plugin in the output:

    Example: