Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

latex-econ-model乳胶经济模型

Agent Skill

latex-econ-model 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,805

周安装

73

GitHub Stars

375

下载量

566
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:latex-econ-model(乳胶经济模型)
来源仓库:https://github.com/meleantonio/awesome-econ-ai-stuff
仓库路径:skills/latex-econ-model
安装命令:
npx skills add https://github.com/meleantonio/awesome-econ-ai-stuff --skill latex-econ-model
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/meleantonio/awesome-econ-ai-stuff --skill latex-econ-model

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围和维护状态。latex-econ-model 属于待分类类 Skill,可作为该场景下的辅助能力补充。
  • 注意是否会触发联网、命令执行或文件读写操作。

SKILL.md

LaTeX Economic Model Writer

Purpose

This skill helps economists write and typeset economic models in LaTeX with proper mathematical notation, consistent formatting, and academic conventions. It covers utility maximization, equilibrium conditions, dynamic programming, and game theory models.

When to Use

  • Writing the theory section of a paper
  • Formalizing an economic model
  • Creating lecture notes with equations
  • Typesetting optimization problems and equilibrium conditions

Instructions

Step 1: Understand the Model Type

Ask the user:

  1. What type of model? (Static optimization, dynamic programming, game theory, general equilibrium)
  2. What are the agent types? (Consumer, firm, government, etc.)
  3. What constraints apply?
  4. Should it include proofs or just the setup?

Step 2: Use Standard Notation

Follow economics conventions:

  • Utility: $U$, $u$, or $v$
  • Production: $F$, $f$, or $Y$
  • Prices: $p$, $w$, $r$
  • Quantities: $q$, $x$, $y$
  • Time subscripts: $t$, $t+1$
  • Greek letters for parameters: $\alpha$, $\beta$, $\gamma$, $\delta$

Step 3: Structure the Model

Organize as:

  1. Environment - Agents, goods, time horizon
  2. Preferences/Technology - Utility functions, production functions
  3. Constraints - Budget, resource, incentive compatibility
  4. Equilibrium concept - Definition and conditions
  5. Solution - First-order conditions, closed-form solutions

Example Output

\documentclass{article}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{mathtools}

% Theorem environments
\newtheorem{definition}{Definition}
\newtheorem{proposition}{Proposition}
\newtheorem{lemma}{Lemma}

% Custom commands for economics
\newcommand{\E}{\mathbb{E}}          % Expectation
\newcommand{\R}{\mathbb{R}}          % Real numbers
\newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}}  % Partial derivative

\begin{document}

\section{A Simple Consumer Problem}

\subsection{Environment}

Consider a consumer who lives for two periods, $t \in \{1, 2\}$. The consumer has preferences over consumption $c_t$ represented by the utility function:
%
\begin{equation}
    U(c_1, c_2) = u(c_1) + \beta u(c_2)
\end{equation}
%
where $\beta \in (0,1)$ is the discount factor and $u(\cdot)$ is strictly increasing and strictly concave.

\subsection{Constraints}

The consumer earns income $y_1$ in period 1 and $y_2$ in period 2. She can save at gross interest rate $R = 1 + r$. The budget constraints are:
%
\begin{align}
    c_1 + s &= y_1 \label{eq:bc1}\\
    c_2 &= y_2 + Rs \label{eq:bc2}
\end{align}
%
where $s$ denotes savings. Combining \eqref{eq:bc1} and \eqref{eq:bc2} yields the intertemporal budget constraint:
%
\begin{equation}
    c_1 + \frac{c_2}{R} = y_1 + \frac{y_2}{R} \equiv W
\end{equation}

\subsection{Optimization Problem}

The consumer solves:
%
\begin{equation}
    \max_{c_1, c_2} \quad u(c_1) + \beta u(c_2)
    \quad \text{s.t.} \quad c_1 + \frac{c_2}{R} = W
\end{equation}

\subsection{Solution}

The Lagrangian is:
%
\begin{equation}
    \mathcal{L} = u(c_1) + \beta u(c_2) + \lambda\left(W - c_1 - \frac{c_2}{R}\right)
\end{equation}

First-order conditions:
%
\begin{align}
    \pd{\mathcal{L}}{c_1} &= u'(c_1) - \lambda = 0 \\
    \pd{\mathcal{L}}{c_2} &= \beta u'(c_2) - \frac{\lambda}{R} = 0
\end{align}

Combining these yields the \textbf{Euler equation}:
%
\begin{equation}
    \boxed{u'(c_1) = \beta R \cdot u'(c_2)}
\end{equation}

\begin{proposition}[Consumption Smoothing]
If $\beta R = 1$, then $c_1^* = c_2^*$ (perfect consumption smoothing).
\end{proposition}

\begin{proof}
When $\beta R = 1$, the Euler equation becomes $u'(c_1) = u'(c_2)$. Since $u$ is strictly concave, $u'$ is strictly decreasing, which implies $c_1 = c_2$.
\end{proof}

%====================================
\section{A Firm's Dynamic Problem}
%====================================

Consider a firm that maximizes the present value of profits:
%
\begin{equation}
    \max_{\{k_{t+1}, n_t\}_{t=0}^{\infty}} \sum_{t=0}^{\infty} \beta^t \left[ F(k_t, n_t) - w_t n_t - I_t \right]
\end{equation}
%
subject to the capital accumulation equation:
%
\begin{equation}
    k_{t+1} = (1 - \delta) k_t + I_t
\end{equation}

The Bellman equation is:
%
\begin{equation}
    V(k) = \max_{k', n} \left\{ F(k, n) - wn - k' + (1-\delta)k + \beta V(k') \right\}
\end{equation}

\end{document}

LaTeX Packages to Include

% Essential packages for economics papers
\usepackage{amsmath}    % Enhanced math environments
\usepackage{amssymb}    % Mathematical symbols
\usepackage{amsthm}     % Theorem environments
\usepackage{mathtools}  % Extensions to amsmath
\usepackage{bm}         % Bold math symbols
\usepackage{dsfont}     % \mathds for indicator functions

Useful Custom Commands

% Expectation and probability
\newcommand{\E}{\mathbb{E}}
\newcommand{\Var}{\text{Var}}
\newcommand{\Cov}{\text{Cov}}
\newcommand{\Prob}{\mathbb{P}}

% Indicator function
\newcommand{\ind}{\mathds{1}}

% Partial derivatives
\newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\pdd}[2]{\frac{\partial^2 #1}{\partial #2^2}}

% Argmax/argmin
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}

% Blackboard bold
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}

Best Practices

  1. Use align environment for multiline equations
  2. Label important equations with \label{} and reference with \eqref{}
  3. Use \text{} for words in equations (not bare text)
  4. Box key results with \boxed{}
  5. Define custom commands for repeated notation
  6. Use consistent subscript conventions ($t$ for time, $i$ for individuals)

Common Pitfalls

  • ❌ Using * for multiplication (use \cdot or implicit multiplication)
  • ❌ Forgetting \left( and \right) for auto-sizing brackets
  • ❌ Inconsistent notation across the paper
  • ❌ Not aligning equations at = signs
  • ❌ Using $$... $$ instead of proper environments

References

Changelog

v1.0.0

  • Initial release with consumer, firm, and game theory templates

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.63%
按下载量换算213

Claude

26.32%
按下载量换算149

Cursor

17.69%
按下载量换算100

Gemini CLI

8.58%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills