Dynare Copilot
Turn macro intuition into validated Dynare .mod files — a coding agent skill for DSGE modeling.
Install
/plugin marketplace add EconSolider/dynare-copilotInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →dynare-copilot
A Claude Code skill that takes your macroeconomic intuition — "I want a New Keynesian model with a financial accelerator," "replicate Smets-Wouters 2007" — and turns it into a working, validated Dynare
.modfile with steady state solved and IRFs in hand.Its core job is to enforce the workflow experienced modelers follow anyway: derive first, translate second, validate incrementally — so timing errors, naming conflicts, and steady-state algebra mistakes get caught before they become wrong results. Concretely, it gives you:
- A vetted starting point, never a blank page — a built-in dual reference library (149 MMB replication models for economic structure + 89 Pfeifer examples for Dynare syntax) means every model starts from working code.
- A tool that sharpens with use — every model you finish is archived and consulted on future tasks; every bug you hit is logged with its fix, so the same trap is never debugged twice.
- Faithful replication, never a guessed model — when a paper hands part of its model off to another paper ("the financial block is identical to Gertler-Karadi 2011"), it stops and asks you for that source instead of silently reconstructing the missing block from memory.
- Paper-ready output — every IRF is delivered as a publication-quality vector figure, ready to drop into your manuscript.
No timing pitfalls. No silent errors. No blank page.
Enjoy the world of macroeconomics.
Contents
- Requirements
- Installation
- Update
- Uninstall
- Use with OpenAI Codex
- Quick Start
- Supported Tasks
- How It Works
- Output Structure
- Repository Structure
- Advanced
- Join the Project
- Acknowledgements
- License
Requirements
| What you want to do | What you need |
|---|---|
Let it write / edit / inspect .mod files |
A coding agent: Claude Code or OpenAI Codex |
Run the generated .mod files yourself |
Also install Dynare 7.1 + MATLAB or Octave |
| Let it run automatically and iterate on errors | Also install a MATLAB MCP server in VSCode |
You can still use it without MATLAB: it can write models and inspect errors, but it will not run Dynare for you.
Providing the specific paper can greatly reduce response time and token usage.
🔌 New to MCP? If you've never connected MATLAB (or Stata) to Claude Code before, follow the step-by-step beginner's guide: Connecting MATLAB / Stata to Claude Code (MCP Setup Guide). It assumes zero prior setup and covers installing Claude Code, wiring up the MATLAB MCP that powers the automatic run-debug loop above, and the Stata MCP.
Installation (about 1 minute)
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…