claude

strucmod

Plan → calibrate → solve → simulate → write a real academic paper. 30+ skills (setup-dsge, setup-cge-gtap, setup-ha-bewley, calibrate-from-moments, solve-perturbation, solve-vfi, simulate-irf, counterfactual-run, plus 7 paper-composition skills) and 7 review subagents that together turn one natural-language research question into a publication-grade LaTeX manuscript with figures and a bibliography. Output of UIBE Graduate Education Reform Project.

1 on GitHubby Jia Ningyuanv0.3.0MITupdated 1 month agoresearch
/

Plugin strucmod from marketplace strucmod-marketplace in ALLBLUEUK/structural-modeling-for-economists. Commands read from the repo's manifest — 1 month ago.

What it installs

Skills (32)

  • build-tables

    组装校准表 / 矩比对表 / IRF 表 / 反事实表为 CSV 与 LaTeX。当用户说"做表"、"build tables"、"出 LaTeX 表"、"摘要表"时调用。

  • calibrate-from-moments

    从数据/文献/矩条件组装 calibration.csv,记录每个参数来源。当用户说"校准参数"、"calibrate"、"匹配矩"、"match moments"、"对齐数据"、"找出 beta / alpha 取多少"时调用。本技能是任何 solve-* 系列的强制前置。

  • commit

    git 提交:检查 .gitignore、生成提交信息、避免提交受保护文件。当用户说"提交"、"commit"、"push"、"git"时调用。

  • counterfactual-run

    跑反事实 / 过渡路径 / 政策实验,对比 baseline。当用户说"反事实"、"counterfactual"、"政策实验"、"transition path"、"如果……会怎样"时调用。

  • devils-advocate

    反方拷问:质疑模型机制、识别策略、数值结果。当用户说"挑刺"、"反驳一下"、"devils advocate"、"audit"时调用。

  • interview-me

    反向访谈研究生以厘清机制设定(在 spec 模糊时调用)。当用户说"我也不太确定"、"帮我想清楚"、"interview me"时调用。

  • lit-review

    文献调研:定位与本模型最近的若干文献并总结其差异。当用户说"文献综述"、"lit review"、"找相关文献"、"前沿"时调用。

  • manage-bibliography

    管 paper/references.bib:增删 BibTeX entry、查重、按引用风格规范化(AEA / Chicago author-date)、清未引用条目。当用户说"加引用"、"查文献"、"manage bib"时调用。

  • paper-structure

    给一个研究项目搭起完整的学术论文骨架(main.tex + sections/ + appendix/ + references.bib)。当用户说"建一个论文项目"、"起论文骨架"、"draft paper structure"、"set up paper directory"时调用。

  • proofread

    对论文段落、方程注释、报告做语言层面的校对。当用户说"校对"、"proofread"、"语言润色"、"polish"时调用。

  • render-paper

    编译 paper/main.tex 到 paper/paper.pdf。pdflatex + bibtex 两遍循环,处理引用与交叉引用。前置:所有 sections/ 已写、references.bib 通过 audit。当用户说"编译论文"、"render paper"、"出 PDF"时调用。

  • render-report

    基于 output/ 中的产物渲染 Quarto / LaTeX 报告。当用户说"出报告"、"render report"、"compile"、"渲染论文"时调用。

  • replicate

    用保存的种子、设定与代码版本复现历史结果。当用户说"复现"、"再跑一遍上次的"、"reproduce"、"对照昨天的结果"时调用。

  • review-model

    对模型设定与代码做一次轻量综合评议,并把重活分派给 model-reviewer / math-reviewer / code-reviewer / numerics-reviewer / pedagogy-reviewer 子 agent。当用户说"看看这个模型对不对"、"评议一下"、"reviewer 走一遍"时调用。

  • run-dynare

    包装 Dynare 调用:在 MATLAB / Octave 中执行 .mod 文件并解读输出。当用户说"跑 Dynare"、"run mod"、"stoch_simul"、"steady; check;"时调用。

  • run-julia

    包装 Julia 调用:执行 model/03_solve/<model>/run.jl 并解读输出。当用户说"跑 Julia"、"run.jl"、"SequenceJacobian"、"求 HA 模型"时调用。

  • run-matlab

    包装 MATLAB 调用:执行非 Dynare 类 MATLAB 脚本并解读输出。当用户说"跑 MATLAB"、"run main.m"、"MATLAB 求解"时调用。Dynare 用 run-dynare 不要用本技能。

  • run-pipeline

    端到端跑某个模型的完整流水线(setup → calibrate → solve → simulate → output → report)。当用户说"从头到尾跑一遍"、"端到端"、"跑完整流程"、"我要全套结果"时调用。

  • setup-cge-gtap

    写或扩展一个 CGE / GTAP 模型的设定文档,提供免 GAMS 授权的 Python 求解模板(v0.3,多地区多部门 Armington)与 GAMS 脚手架。当用户说"建一个 CGE 模型"、"写 GAMS 文件"、"GTAP"、"关税反事实"、"social accounting matrix"时调用。

  • setup-dsge

    写或扩展一个 DSGE 模型的设定文档与代码脚手架(Dynare 或 Julia)。当用户说"建一个 DSGE 模型"、"写 Dynare 文件"、"加一段新凯恩斯模块"、"扩展 RBC"、"做一个开放经济 DSGE"时调用。

  • setup-ha-bewley

    写或扩展异质主体(Aiyagari / Bewley / Krusell-Smith)模型的设定,并提供可直接运行的 Python 稳态求解模板(v0.3)与 Julia 脚手架。当用户说"建一个异质主体模型"、"Aiyagari"、"Bewley"、"sequence-space"、"不完全市场"时调用。

  • simulate-irf

    基于已求解模型生成脉冲响应函数(IRF)及对应表与图。当用户说"跑 IRF"、"脉冲响应"、"impulse response"、"看一冲击下变量怎么动"时调用。前置必须已通过 solve-perturbation 或 solve-vfi。

  • solve-perturbation

    调用一阶 / 二阶 / 三阶摄动求解 DSGE 模型并保存检查点。当用户说"跑摄动"、"求一阶解"、"算政策矩阵"、"线性化求解"、"stoch_simul"、"BK 条件"时调用。

  • solve-vfi

    调用值函数迭代 / 策略迭代 / 投影法求解动态规划。当用户说"VFI"、"PFI"、"值函数迭代"、"projection"、"全局解"、"非线性求解"时调用。

  • strucmod

    父技能 / 入口索引。任何与结构建模、动态模拟、DSGE、CGE、异质主体、动态规划相关的任务,先读本技能再分派到原子技能。

  • validate-steady-state

    数值化校验稳态:把稳态向量代入方程系统,残差应小于 tol。任何 IRF / 反事实 / 福利分析之前必须通过本技能。当用户说"稳态求不出来"、"为什么不收敛"、"算稳态残差"时调用,且作为 solve-* 系列的强制前置。

  • write-calibration-section

    写论文 Calibration / Data section:参数表(带来源) + 稳态矩 + 数据矩对照。遵守 academic-writing-style。当用户说"写校准这一节"、"draft Section 3"、"写参数表"时调用。

  • write-conclusion

    写论文 Conclusion section:核心发现 + 政策 / 理论涵义 + 局限 + 未来方向。一页以内。当用户说"写结论"、"draft conclusion"、"Section 7"时调用。

  • write-introduction

    按 motivation / literature / contribution / roadmap 四段法写论文 Introduction。遵守 academic-writing-style 规则(无实现泄露、正式语态、引用规范)。当用户说"写 introduction"、"draft intro"、"动机 + 文献 + 贡献"时调用。

  • write-model-section

    写论文的 Model section:environment → agents → equilibrium → FOC。遵守 academic-writing-style 规则。当用户说"写模型这一节"、"draft section 2"、"把模型部分写出来"时调用。

  • write-results-section

    写论文 Results section:IRF / 反事实 / 福利分析 + 经济解读(不光列数字)。当用户说"写结果这一节"、"draft Section 5"、"分析 IRF"时调用。

  • write-solution-section

    写论文 Solution Method section:线性化策略、Blanchard-Kahn 条件、政策矩阵、求解器精度。当用户说"写解法这一节"、"draft Section 4"时调用。

Slash commands (2)

  • /strucmod:strucmod-help

    Show what the strucmod plugin can do and how to use it.

  • /strucmod:strucmod-new

    Start a brand-new structural-modeling research project (creates academic project layout + invites you to describe the model).

Subagents (7)

  • code-reviewer

    代码语言惯例评议子 agent。审查 Dynare / Julia / MATLAB / GAMS / Python 实现的语言惯例、可读性、错误处理、路径规范、日志规范,以及与 spec 是否对齐。求解前应通过本评议。

  • math-reviewer

    数学一致性评议子 agent。审查方程系统的维度匹配、变量计数、单位一致性、FOC 推导、状态变量分类,以及方程数 = 未知数的硬约束。任何方程落入代码之前必须过这一关。

  • model-reviewer

    经济逻辑评议子 agent。审查 spec.md 中的研究问题、机制设定、变量分类、方程系统是否经济上自洽、与文献对齐、与研究问题相称。任何模型代码动手之前都要过这一关。

  • numerics-reviewer

    数值方法评议子 agent。审查求解器选择、网格、初值、收敛准则、稳定性、Blanchard-Kahn 条件、特征值、迭代次数等数值层面的问题。

  • paper-reviewer

    学术论文质量评议子 agent。审查由 write-* skill 产出的论文 section 与由 render-paper 编出的最终 PDF。守住 academic-writing-style 规则的所有禁忌与必备项。**不**评议经济机制或数值(那是 model-reviewer / math-reviewer / numerics-reviewer / verifier 的事)。

  • pedagogy-reviewer

    教学评议子 agent。从研究生第一次接触结构建模的角度评估 spec 与代码是否易读、注释充分、是否有"理解陷阱"、是否给出与文献的连接。优化项目作为教学材料的可用性。

  • verifier

    复现核对子 agent。重新跑指定的脚本与流水线,把新输出与已声称的数字对照,确保报告中的所有数值都有产物背书且能被独立复现。任何对外报告(论文、PPT、教学材料)的数字都要过这一关。

View source on GitHub

Similar plugins

Long-horizon goal planning, deep research orchestration, and adaptive replanning using GOAP

5 skills · 1 command · 4 agents

ruvnet/ruflo 81,589

last30days

claudecodex

Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.

1 skill

mvanhorn/last30days-skill 67,453

marketing-skills

claudecodex

53 marketing skills for technical marketers and founders: CRO, copywriting, cold email, prospecting, SEO, AI SEO, paid ads, SMS, ad creative, video production, image generation, co-marketing, churn prevention, pricing, referrals, revenue operations, sales enablement, customer research, site architecture, comprehensive AARRR-structured marketing plans, public relations and earned media, offer design, event marketing and webinars, and more

53 skills

coreyhaines31/marketingskills 59,996

5 skills + 35 modes + Material Passport pipeline. Includes v3.6.7 cross-model audit gate and v3.6.8 generator-evaluator contract.

5 skills · 16 commands · 4 agents · hooks

Imbad0202/academic-research-skills 56,698

Official Bigdata.com plugin providing financial research, analytics, and intelligence tools powered by Bigdata MCP.

24 skills · 1 MCP server

anthropics/claude-plugins-official 47,076

Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research for early-stage companies

5 skills · 3 commands · 1 agent

wshobson/agents 42,461

Maintain strucmod?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted