The Pictet-Spengler (PS) reaction constructs plant alkaloids such as morphine and camptothecin, but it has not yet been noticed in the fungal kingdom. Here, a silent fungal Pictet-Spenglerase (FPS) gene of Chaetomium globosum 1C51 residing in Epinephelus drummondhayi guts is described and ascertained to be activable by 1-methyl-L-tryptophan (1-MT). The activated FPS expression enables the PS reaction between 1-MT and flavipin (fungal aldehyde) to form "unnatural" natural products with unprecedented skeletons, of which chaetoglines B and F are potently antibacterial with the latter inhibiting acetylcholinesterase. A gene-implied enzyme inhibition (GIEI) strategy has been introduced to address the key steps for PS product diversifications. In aggregation, the work designs and validates an innovative approach that can activate the PS reaction-based fungal biosynthetic machinery to produce unpredictable compounds of unusual and novel structure valuable for new biology and biomedicine.