Uta Berger and colleagues recently published this paper on reusable building blocks to make agent-based models easier to build and less ad-hoc:
BergerEtAl_2024.pdf (2.0 MB)
Their “building blocks” are general submodels of common mechanisms, designed to be re-used in multiple agent-based models.
As a consequence of this paper, two archives of such “building blocks” were developed. Most of the contributions include both written descriptions and working code (most but not all of which is in NetLogo).
One archive is focused on environmental and ecological models but has at least one model of human decision-making: https://www.rbb4abm.com/
The other archive is maintained by social scientists and is more focused on human decision-making: https://www.agentblocks.org/rbbs/disciplines/sociology
Both currently have only a few building blocks. Please consider contributing, and perhaps some day we can have a more complete collection here on this forum.