The following example Dynare modfiles (and more) that solve particular problems encountered in Dynare or are representative for a particular class of models can be found on Github:
 Modfile showing how to generate the impulse response to a pure news shock, where a TFP shock is anticipated for 8 periods in advance, but does not materialize:
RBC_news_shock_model.mod
 Modfile showing how to exogenously shock the endogenous state variable capital within a given period: RBC_capitalstock_shock.mod
 Modfile showing how to compute statedependent Generalized Impulse Responses (GIRFs) using simult_: RBC_state_dependent_GIRF.mod
 Modfile of Smets/Wouters (2007): Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach, American Economic Review 97(3), p. 586606.
 Classical Monetary Economy Model of Jordi Galí (2008): Monetary Policy, Inflation, and the Business Cycle, Princeton University Press, Chapter 2
 Baseline New Keynesian Model of Jordi Galí (2008): Monetary Policy, Inflation, and the Business Cycle, Princeton University Press, Chapter 3
 Replication file for Aguiar/Gopinath (2007): Emerging Market Business Cycles: The Cycle is the Trend, Journal of Political Economy, 115(1), p. 69102. It shows how to generate the correct IRFs after a permanent shock shifts the steady state.
 Replication file for the small open economy models of
SchmittGrohe/Uribe (2003): "Closing small open economy models", Journal of International Economics, 61, pp. 163185
 Replication file for the Neoclassical Growth Model of SchmittGrohe/Uribe (2004): "Solving dynamic general equilibrium models using a secondorder approximation to the policy function", Journal of Economic Dynamics & Control, 28, p. 755 – 775,
 Replication file for the model with recursive preferences in Caldara/FernandezVillaverde/RubioRamirez/Yao (2012): "Computing DSGE Models with Recursive Preferences and Stochastic Volatility", Review of Economic Dynamics, 15, pp. 188206,
 Conducting the ABCDTest of FernandezVillaverde, RubioRamirez,Sargent, and Watson (2007), "ABCs (and Ds) of Understanding VARs", American Economic Review, 97(3), 10211026, in Dynare
 Replication of the ABCDtest conducted for an RBCmodel with news shocks presented in Eric R. Sims (2012): "New, NonInvertibility, and Structural VARs", Advances in Econometrics, Volume 28, pp. 81–135
 Replication files for GarcíaCicco, Javier and Pancrazi, Roberto and Uribe, Martín (2010): "Real Business Cycles in Emerging Countries", American Economic Review, 100 (5), pp. 25102531
 Replication file for Ascari/Sbordone (2014): "The Macroeconomics of Trend Inflation", Journal of Economic Literature, 52(3), pp. 679739. It shows i) how to map steady state relations inside of a modfile based on a nonlinear model and ii) how to manually map the determinacy and stability region.
Useful Tools that can be found on Github as well:
 Tool for plotting policy functions in Dynare: plot_policy_fun.m
 Tool for reading simulations generated by stoch_simul when simul_replic>1 into an array: get_simul_replications.m
DocumentationMatlab Primer 
