• We provide a typology of communities based on their access to common-pool resources • The influence of capitals and climatic shocks on livelihoods is spatially variable • The type of community modifies livelihood opportunities and coping strategies • Climatic shocks drive precarious livelihoods, except in best-connected communities