barrios88/barrios-skills/latex-econ-model
Claude Code and agent skill by barrios88/barrios-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Write and typeset economic models in LaTeX with proper notation
Install
npx vskill@latest install barrios88/barrios-skills/latex-econ-modelSKILL.md
Barrios Skills — John Barrios's curated workflow for economists and accountants. Prioritize reproducible empirical work, clear identification language, and journal-ready output.
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:
- What type of model? (Static optimization, dynamic programming, game theory, general equilibrium)
- What are the agent types? (Consumer, firm, government, etc.)
- What constraints apply?
- 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:
- Environment - Agents, goods, time horizon
- Preferences/Technology - Utility functions, production functions
- Constraints - Budget, resource, incentive compatibility
- Equilibrium concept - Definition and conditions
- Solution - First-order conditions, closed-form solutions
Example Output
LaTeX Packages to Include
Useful Custom Commands
Best Practices
- Use `align` environment for multiline equations
- Label important equations with
\label{}and reference with\eqref{} - Use `\text{}` for words in equations (not bare text)
- Box key results with
\boxed{} - Define custom commands for repeated notation
- Use consistent subscript conventions ($t$ for time, $i$ for individuals)
Common Pitfalls
- ❌ Using
*for multiplication (use\cdotor 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
- AMS-LaTeX User's Guide
- The Not So Short Introduction to LaTeX
- Mathpix - Convert handwritten equations to LaTeX
Changelog
v1.0.0
- Initial release with consumer, firm, and game theory templates
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/writing-and-review/latex-econ-model/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 28
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/barrios88/barrios-skills/latex-econ-model)