Trouble finding job after disappointing PhD in India
You did a PhD in 5 years, published 4 papers and got an offer for a 2-year postdoc position in times where research funding decreases. Keep going, looks fine.
Take some courses or workshops on topics where you think you aren't skilled enough, but given that you could publish, I suspect that you underestimate yourself here.

&quot;Can I still get into academia or research industry after that?&quot;

With a postdoc position, you are in academia.