Here is a code (DviSukta) developed by Dr. Rajesh Mondal to estimate Bi-spectrum from simulations: link
If you find it useful and plan to use it for your project contact Dr. Rajesh Mondal ( at rajeshmondal18@gmail.com ) for more details and help.