generate-maps
Skill17 starsChanged 9 months agoMITView on GitHub
Regenerate all CZ choropleth maps for the thesis (Frey et al. style)
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-twfe-explainerSkill
- check-methodologySkill
- compile-thesisSkill
- proofreadSkill
- review-codeSkill
- rewrite-literatureSkill
- thesis-excellenceSkill
- verify-claimsSkill
- write-introductionSkill
- write-sectionSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Run the map generation command:
- Very specific: line 32
If no arguments are provided, use all.
- Distinctive: line 36
If the thesis needs recompilation (because figure files changed), run:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Maps
Regenerate all commuting-zone choropleth maps used in the thesis. Maps follow the visual style of Frey, Berger & Chen (2018) "Political Machinery": borderless CZ polygons, thin state boundary overlays, sequential warm palette for task displacement, diverging blue-red for ideology.
Arguments
- (no args) — regenerate all 4 standard figures
election-td— only the 2x2 election-year TD mapselection-ideo— only the 2x2 election-year ideology mapsallyears-td— only the 2x4 all-years TD maps (appendix)allyears-ideo— only the 2x4 all-years ideology maps (appendix)single --year YYYY --var COLNAME— one full-size map
Steps
- Run the map generation command:
cd /Users/alessandro/Projects/Tesi && python3 -m src.geo_viz <COMMAND>Where <COMMAND> is one of: all, election-td, election-ideo, allyears-td, allyears-ideo, single --year YYYY --var td_cz.
If no arguments are provided, use all.
- Report which figures were saved to
results/figures/. - If the thesis needs recompilation (because figure files changed), run:
cd /Users/alessandro/Projects/Tesi/thesis && tectonic main.tex 2>&1 | tail -5Output Files
| Command | Output |
election-td | fig_cz_map_td_elections.pdf/.png |
election-ideo | fig_cz_map_ideo_elections.pdf/.png |
allyears-td | fig_cz_map_td_all_years.pdf/.png |
allyears-ideo | fig_cz_map_ideo_all_years.pdf/.png |
single | fig_cz_map_{var}_{year}.pdf/.png |
Dependencies
src/geo_viz.py— MapEngine classdata/reference/cz_boundaries.geojson— CZ polygons (722 CZs, Albers projection)data/reference/state_boundaries.geojson— State outlines (49 states)results/panels/cz_analysis_panel.csv— CZ-level panel data
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

