skills/43-wentorai-research-plugins/skills/domains/economics/nber-working-papers-api/SKILL.md
Access NBER working papers and economic research datasets
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research nber-working-papers-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The National Bureau of Economic Research (NBER) is the leading U.S. economics research organization, publishing 1,200+ working papers annually by top economists. NBER papers are among the most cited in economics. The website provides structured access to working papers, researcher profiles, and macroeconomic datasets. Free metadata access; some full text requires subscription.
# Latest working papers feed
curl "https://www.nber.org/papers.rss"
# Papers by program
curl "https://www.nber.org/programs/ef/papers.rss" # Economic Fluctuations
curl "https://www.nber.org/programs/ls/papers.rss" # Labor Studies
curl "https://www.nber.org/programs/io/papers.rss" # Industrial Organization
# Search via NBER website (HTML scraping needed)
curl "https://www.nber.org/api/v1/working_page_listing/contentType/working_paper/?page=1&perPage=20&q=inflation+expectations"
# Get specific paper metadata
curl "https://www.nber.org/api/v1/working_page_listing/contentType/working_paper/?page=1&perPage=1&q=w28104"
# Macroeconomic history data
# Available at: https://data.nber.org/
# Business cycle dates
curl "https://data.nber.org/data/cycles/business_cycle_dates.json"
# CPS labor data extracts
# https://data.nber.org/cps/
| Code | Program | Focus |
|------|---------|-------|
| ef | Economic Fluctuations and Growth | Macro, business cycles |
| ls | Labor Studies | Employment, wages |
| io | Industrial Organization | Markets, competition |
| pe | Public Economics | Taxation, spending |
| he | Health Economics | Healthcare markets |
| de | Development Economics | Developing countries |
| if | International Finance | Exchange rates, capital flows |
| it | International Trade | Trade policy |
| me | Monetary Economics | Central banking |
| cf | Corporate Finance | Firm finance |
| ap | Asset Pricing | Financial markets |
| ed | Education | Education economics |
| ag | Aging | Demographics |
| ch | Children | Child welfare |
| le | Law and Economics | Legal institutions |
| env | Environment and Energy | Environmental policy |
| pol | Political Economy | Political institutions |
import requests
from xml.etree import ElementTree
def get_latest_papers(program: str = None,
count: int = 20) -> list:
"""Get latest NBER working papers via RSS."""
if program:
url = f"https://www.nber.org/programs/{program}/papers.rss"
else:
url = "https://www.nber.org/papers.rss"
resp = requests.get(url, timeout=30)
resp.raise_for_status()
root = ElementTree.fromstring(resp.content)
papers = []
for item in root.findall(".//item")[:count]:
papers.append({
"title": item.findtext("title", ""),
"link": item.findtext("link", ""),
"description": item.findtext("description", "")[:300],
"pub_date": item.findtext("pubDate", ""),
})
return papers
def search_papers(query: str, page: int = 1,
per_page: int = 20) -> list:
"""Search NBER working papers."""
resp = requests.get(
"https://www.nber.org/api/v1/working_page_listing/"
"contentType/working_paper/",
params={"q": query, "page": page, "perPage": per_page},
timeout=30,
)
resp.raise_for_status()
data = resp.json()
results = []
for item in data.get("results", []):
results.append({
"title": item.get("title"),
"authors": item.get("authors", ""),
"number": item.get("wp_number", ""),
"date": item.get("date", ""),
"url": f"https://www.nber.org/papers/{item.get('wp_number', '')}",
"abstract": item.get("description", "")[:300],
"program": item.get("programs", []),
})
return results
def get_business_cycle_dates() -> list:
"""Get NBER official business cycle dates."""
resp = requests.get(
"https://data.nber.org/data/cycles/business_cycle_dates.json",
timeout=30,
)
resp.raise_for_status()
return resp.json()
# Example: latest macro working papers
papers = get_latest_papers(program="ef", count=5)
for p in papers:
print(f"{p['title']}")
print(f" {p['link']}")
# Example: search for AI economics papers
results = search_papers("artificial intelligence labor market")
for r in results:
print(f"[{r['number']}] {r['title']}")
print(f" Authors: {r['authors']}")
# Example: recession dates
cycles = get_business_cycle_dates()
for c in cycles[-3:]:
print(f"Peak: {c.get('peak')} → Trough: {c.get('trough')}")
| Dataset | Description | |---------|-------------| | Business Cycle Dates | Official US recession start/end dates | | CPS Extracts | Current Population Survey labor data | | Macrohistory Database | 150 years of macro indicators | | Patent Data | Patent citation and classification | | Trade Data | Bilateral trade statistics |
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.