Automated summary
This skill generates publication-quality charts for economics papers, using consistent academic styling and export-ready high-resolution formats.
Strengths
- Enforces a uniform academic theme and consistent scales across figures
- Covers standard empirical-economics plots such as time series, bars, scatter plots and event studies
- Exports vector formats at journal resolution
- Provides reproducible R code with ggplot2 and notes a Python alternative
Limitations
- The skill asks clarifying questions first, adding an extra round trip
- Sample code is R-only; the matplotlib/seaborn option is only sketched
- Does not address complex cases like weighting, fixed effects or multi-panel layouts in depth
Use it when you need to produce or standardize figures ready for publication in an economics paper or presentation.
Skip it for interactive visualizations, dashboards or quick exploratory charts that don't need academic polish.
Security analysis
SafeThe skill only provides guidance for generating data visualization code in R or Python. It does not instruct destructive actions, network exfiltration, shell execution, or obfuscation. Example code reads a local CSV and saves a plot, with no risky commands.
No concerns found
How this analysis is madeExamples
Create an event study plot in R with ggplot2 showing the treatment coefficients over time with 95% confidence intervals, and export it as a PDF at journal quality.Plot GDP per capita over time for three countries from data.csv using a consistent academic theme, and save the figure as a high-resolution PDF.Build a scatter plot with a fitted regression line and clear axis labels for publication, then explain how to regenerate it if the data changes.name: econ-visualization description: Create publication-quality charts and graphs for economics papers. workflow_stage: communication compatibility:
- claude-code
- cursor
- codex
- gemini-cli author: Awesome Econ AI Community version: 1.0.0 tags:
- visualization
- ggplot2
- charts
- publication
Econ Visualization
Purpose
This skill creates publication-quality figures for economics papers, using clean styling, consistent scales, and export-ready formats.
When to Use
- Building figures for empirical results and descriptive analysis
- Standardizing chart style across a paper or presentation
- Exporting figures to PDF or PNG at journal quality
Instructions
Follow these steps to complete the task:
Step 1: Understand the Context
Before generating any code, ask the user:
- What is the dataset and key variables?
- What chart type is needed (line, bar, scatter, event study)?
- What output format and size are required?
Step 2: Generate the Output
Based on the context, generate code that:
- Uses a consistent theme for academic styling
- Labels axes and legends clearly
- Exports figures at high resolution
- Includes reproducible steps for data preparation
Step 3: Verify and Explain
After generating output:
- Explain how to regenerate or update the plot
- Suggest alternatives (log scales, faceting, smoothing)
- Note any data transformations used
Example Prompts
- "Create an event study plot with confidence intervals"
- "Plot GDP per capita over time for three countries"
- "Build a scatter plot with fitted regression line"
Example Output
# ============================================
# Publication-Quality Figure in R
# ============================================
library(tidyverse)
df <- read_csv("data.csv")
ggplot(df, aes(x = year, y = gdp_per_capita, color = country)) +
geom_line(size = 1) +
scale_y_continuous(labels = scales::comma) +
labs(
title = "GDP per Capita Over Time",
x = "Year",
y = "GDP per Capita (USD)",
color = "Country"
) +
theme_minimal(base_size = 12) +
theme(
legend.position = "bottom",
panel.grid.minor = element_blank()
)
ggsave("figures/gdp_per_capita.pdf", width = 7, height = 4, dpi = 300)
Requirements
Software
- R 4.0+ or Python 3.10+
Packages
- For R:
ggplot2,scales,dplyr - For Python:
matplotlib,seaborn(optional alternative)
Best Practices
- Use vector formats (PDF, SVG) for publication
- Keep labels concise and readable
- Document data filters used in the figure
Common Pitfalls
- Overcrowded plots without clear labeling
- Inconsistent scales across figures
- Exporting low-resolution images
References
Changelog
v1.0.0
- Initial release
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/economic-visualization-msshywdw/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/economic-visualization-msshywdw' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/economic-visualization-msshywdw/download' --output '.skill-downloads/economic-visualization-msshywdw/SKILL.md.part' && mv '.skill-downloads/economic-visualization-msshywdw/SKILL.md.part' '.skill-downloads/economic-visualization-msshywdw/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Requirements
Software
- R 4.0+ or Python 3.10+
Packages
- For R:
ggplot2,scales,dplyr - For Python:
matplotlib,seaborn(optional alternative)
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && test -s '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/econ-visualization' && cp -R '.skill-downloads/economic-visualization-msshywdw' '.claude/skills/econ-visualization'Cursor
test -f '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && test -s '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/econ-visualization' && cp -R '.skill-downloads/economic-visualization-msshywdw' '.cursor/skills/econ-visualization'Codex
test -f '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && test -s '.skill-downloads/economic-visualization-msshywdw/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/econ-visualization' && cp -R '.skill-downloads/economic-visualization-msshywdw' '.agents/skills/econ-visualization'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/economic-visualization-msshywdw'openskills read 'economic-visualization-msshywdw'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/economic-visualization-msshywdw/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.