Gsd-skill-creator macroeconomics

Analysis of aggregate economic phenomena -- GDP measurement, inflation dynamics, unemployment theory, monetary policy (central banks, interest rates, money supply), fiscal policy (government spending, taxation, debt), and the business cycle. Covers Keynesian, monetarist, and new classical perspectives. Use when analyzing national or global economic conditions, policy debates, economic growth, recessions, or the interaction between monetary and fiscal authorities.

install
source · Clone the upstream repo
git clone https://github.com/Tibsfox/gsd-skill-creator
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Tibsfox/gsd-skill-creator "$T" && mkdir -p ~/.claude/skills && cp -r "$T/examples/skills/economics/macroeconomics" ~/.claude/skills/tibsfox-gsd-skill-creator-macroeconomics && rm -rf "$T"
manifest: examples/skills/economics/macroeconomics/SKILL.md
source content

Macroeconomics

Macroeconomics studies the economy as a whole -- aggregate output, employment, and the price level rather than individual markets or firms. Its central questions are: Why do economies grow? Why do they sometimes contract? What can policy do about it? The field was essentially created by Keynes's response to the Great Depression and has since expanded into a multi-school debate about the roles of government, central banks, and markets in stabilizing economic activity.

Agent affinity: keynes (aggregate demand, fiscal policy, liquidity trap), hayek (monetary policy critique, spontaneous order), varian (pedagogical exposition)

Concept IDs: econ-gdp-growth, econ-inflation, econ-unemployment, econ-fiscal-policy, econ-banking-system, econ-interest-rates

The Macroeconomics Toolbox at a Glance

#TopicCore questionKey framework
1GDP and national accountingHow do we measure economic output?Expenditure, income, and production approaches
2InflationWhy do prices rise and what does it cost?Quantity theory, Phillips curve, expectations
3UnemploymentWhy can't everyone who wants work find it?Natural rate, Okun's law, search and matching
4Monetary policyHow do central banks influence the economy?Taylor rule, liquidity preference, open market operations
5Fiscal policyHow do government budgets affect output?Multiplier, automatic stabilizers, Ricardian equivalence
6The business cycleWhy does the economy fluctuate?AD-AS, IS-LM, real business cycle theory
7Growth theoryWhy are some countries rich and others poor?Solow model, endogenous growth, institutions

Topic 1 -- GDP and National Accounting

Gross Domestic Product is the total market value of all final goods and services produced within a country in a given period. It is the single most important macroeconomic statistic, despite well-known limitations (it excludes household production, leisure, environmental degradation, and inequality).

Three equivalent approaches. By expenditure: GDP = C + I + G + (X - M), where C is consumption, I is investment, G is government spending, and (X - M) is net exports. By income: GDP equals total wages + profits + rent + interest + depreciation + indirect taxes. By production: GDP equals the sum of value added across all industries.

Real vs. nominal. Nominal GDP uses current prices; real GDP uses constant base-year prices. The GDP deflator is the ratio of nominal to real GDP, providing a broad price index. Comparing real GDP across time reveals changes in actual output rather than price-level changes.

Limitations. GDP does not measure welfare. A country can grow GDP by depleting natural resources, increasing pollution, or working its population to exhaustion. Sen's capability approach and alternative measures (HDI, GPI, ISEW) attempt to address these gaps.

Worked example. In 2023, US nominal GDP was approximately $27.4 trillion and real GDP (2017 dollars) was approximately $22.4 trillion. The GDP deflator was 27.4/22.4 = 1.223, meaning the overall price level had risen 22.3% since 2017. If nominal GDP grew 6% from 2022 to 2023 but real GDP grew only 2.5%, the remaining 3.5% was inflation, not real output growth. Confusing these leads to the mistake of celebrating nominal growth during inflationary periods.

GDP per capita and PPP. Comparing GDP across countries requires adjusting for population (per capita) and price levels (purchasing power parity). India's nominal GDP per capita (~$2,500) understates living standards because goods and services are cheaper in India. At PPP, India's GDP per capita is roughly $9,000 -- still low by global standards but a very different picture from the nominal figure. Always specify whether a comparison uses nominal or PPP figures.

Topic 2 -- Inflation

Definition. Inflation is a sustained increase in the general price level, measured by the CPI (consumer price index) or the GDP deflator. Individual price changes are not inflation -- inflation requires a broad, sustained pattern.

Causes. Demand-pull inflation (too much money chasing too few goods -- Friedman's monetarist explanation). Cost-push inflation (rising input costs -- oil shocks, wage spirals). Built-in inflation (expectations become self-fulfilling -- workers expect prices to rise, demand higher wages, firms raise prices to cover costs).

The quantity theory of money. MV = PQ, where M is money supply, V is velocity, P is price level, and Q is real output. If V and Q are stable, increasing M raises P proportionally. This is the foundation of monetarism, though Keynesians argue that V is not stable and that the transmission mechanism is more complex.

The Phillips curve. Empirically observed inverse relationship between inflation and unemployment (Phillips, 1958). The short-run Phillips curve suggests a trade-off: lower unemployment at the cost of higher inflation. Friedman and Phelps argued this trade-off is temporary -- in the long run, expectations adjust and the curve is vertical at the natural rate of unemployment. The stagflation of the 1970s confirmed this critique.

Costs of inflation. Shoeleather costs (more frequent financial transactions), menu costs (frequent repricing), tax distortions (bracket creep, taxation of nominal gains), uncertainty (harder to plan when the unit of account is unstable), redistribution from creditors to debtors.

Topic 3 -- Unemployment

Types. Frictional (between jobs, normal in a dynamic economy), structural (skills mismatch or geographic mismatch between workers and jobs), cyclical (caused by insufficient aggregate demand during recessions).

The natural rate. The unemployment rate consistent with stable inflation -- frictional plus structural unemployment. Below the natural rate, labor markets are tight and wages rise faster than productivity, generating inflation. Above the natural rate, there is slack and inflation falls. Estimated at 4-5% for the US, but this is not a constant -- it shifts with demographics, institutions, and technology.

Okun's law. A rough empirical regularity: each percentage point of unemployment above the natural rate is associated with approximately 2% of GDP lost below potential. The coefficient varies across countries and time periods but the relationship is robust.

Hysteresis. Prolonged unemployment can raise the natural rate itself. Workers lose skills, become discouraged, and are stigmatized by employers. This is why Keynesians argue that recessions have permanent costs beyond the immediate output loss -- an insight with direct implications for the urgency of countercyclical policy.

Worked unemployment example. In 2009, US unemployment peaked at 10.0%. The natural rate was estimated at 4.5%. The cyclical component was therefore 5.5 percentage points. By Okun's law (coefficient of 2), the output gap was approximately 11% of GDP -- roughly $1.6 trillion of lost output per year. The human cost: 15 million unemployed, millions more underemployed, long-term unemployment (27+ weeks) at historically unprecedented levels. Workers who lost jobs during the Great Recession suffered permanent wage scarring -- even after re-employment, their wages were 15-20% lower than comparable workers who kept their jobs. This is hysteresis in action: the recession left a permanent mark on the labor market that outlasted the recovery.

Labor force participation. The unemployment rate can be misleading because it only counts people actively seeking work. Discouraged workers who have stopped looking are not counted as unemployed -- they have left the labor force entirely. The US labor force participation rate fell from 66% in 2007 to 62.5% in 2015, implying millions of "hidden unemployed" not captured in the headline unemployment rate. The employment-to-population ratio is often a more informative indicator of labor market health.

Topic 4 -- Monetary Policy

The central bank's tools. Open market operations (buying and selling government bonds to change the money supply), the policy interest rate (federal funds rate in the US, bank rate in the UK), reserve requirements, and unconventional tools (quantitative easing, forward guidance).

The transmission mechanism. The central bank lowers the policy rate, which reduces interest rates throughout the economy, which stimulates borrowing and investment, which increases aggregate demand, which (eventually) raises output and employment. The lags are long and variable -- Friedman estimated 12-18 months.

The Taylor rule. A simple rule for setting the policy rate: i = r* + pi + 0.5(pi - pi*) + 0.5(y - y*), where r* is the neutral real rate, pi is actual inflation, pi* is the target, and (y - y*) is the output gap. Central banks do not follow this rule mechanically but it describes their behavior reasonably well.

The liquidity trap. Keynes's key insight: when interest rates are at or near zero, monetary policy loses traction because the central bank cannot push rates below zero (the zero lower bound). In this situation, fiscal policy becomes the primary tool for stimulating demand. Japan's experience from the 1990s and the global financial crisis of 2008-2009 demonstrated this in practice.

Hayek's critique. Artificially low interest rates distort the structure of production by encouraging investment in projects that are only profitable at the low rate. When rates eventually rise, these malinvestments are revealed and the correction is painful. This Austrian perspective argues that monetary policy causes the business cycle rather than smoothing it.

Worked monetary policy example. In 2022, US inflation reached 9.1% -- the highest in 40 years -- driven by pandemic supply disruptions, fiscal stimulus, and energy price shocks. The Federal Reserve raised the federal funds rate from near-zero to 5.25% over 18 months. By the Taylor rule: i = 2.5 + 9.1 + 0.5(9.1 - 2.0) + 0.5(0) = approximately 15%. The Fed raised rates far less than the Taylor rule prescribed, reflecting judgment that much of the inflation was supply-driven (and therefore not responsive to demand restriction) and that aggressive tightening risked recession. By 2024, inflation had fallen to approximately 3% without a recession -- a "soft landing" that defied most forecasts. Whether this reflected skillful monetary policy, luck (supply chains recovered), or fiscal tightening (expiring pandemic transfers) remains debated.

Central bank independence. The case for insulating monetary policy from political pressure rests on the time-inconsistency problem: elected politicians face incentives to stimulate the economy before elections (boosting employment at the cost of future inflation). An independent central bank with a credible commitment to price stability avoids this trap. Evidence shows that countries with more independent central banks have lower average inflation without worse employment outcomes.

Topic 5 -- Fiscal Policy

Instruments. Government spending (G) and taxation (T). Expansionary fiscal policy (higher G or lower T) increases aggregate demand. Contractionary fiscal policy (lower G or higher T) reduces it.

The multiplier. A dollar of government spending increases GDP by more than a dollar because the recipients spend part of it, creating additional income and spending. The simple Keynesian multiplier is 1/(1-MPC), where MPC is the marginal propensity to consume. If MPC = 0.8, the multiplier is 5. In practice, multipliers are smaller due to leakages (imports, taxes, saving) and crowding out (government borrowing raises interest rates, reducing private investment).

Automatic stabilizers. Progressive income taxes and unemployment insurance act as built-in countercyclical mechanisms. During recessions, tax revenue falls and transfer payments rise automatically, partially offsetting the decline in demand without any legislative action. These are important because discretionary fiscal policy is subject to recognition lags, implementation lags, and political constraints.

Ricardian equivalence. Barro's proposition that debt-financed spending has no real effect because rational consumers anticipate future taxes to repay the debt and increase saving accordingly. The theoretical conditions for equivalence are stringent (infinite horizons, perfect capital markets, lump-sum taxes) and rarely hold in practice, but the argument highlights that deficits are not free -- the burden is shifted across time, not eliminated.

Fiscal sustainability. Government debt is sustainable as long as the economy grows faster than the interest rate on the debt (r < g). When r > g, the debt-to-GDP ratio spirals upward unless primary surpluses are achieved. Japan's experience (debt-to-GDP above 200%) and the European debt crisis illustrate different outcomes of this dynamic.

Topic 6 -- The Business Cycle

The AD-AS model. Aggregate demand (AD) slopes downward (higher price level reduces real wealth, raises interest rates, and reduces net exports). Aggregate supply (AS) is upward-sloping in the short run (sticky wages and prices) and vertical in the long run (output is determined by resources and technology, not the price level). Business cycles are driven by shifts in AD (demand shocks) or AS (supply shocks).

IS-LM. The IS curve shows combinations of interest rate and output where the goods market is in equilibrium. The LM curve shows combinations where the money market is in equilibrium. Their intersection determines both the interest rate and output. Fiscal policy shifts IS; monetary policy shifts LM. This framework, due to Hicks (1937) interpreting Keynes, remains the standard teaching model despite critiques from both sides.

Real Business Cycle theory. The RBC school (Kydland and Prescott, Nobel 2004) argues that business cycles are efficient responses to real (technology and productivity) shocks, not failures of coordination that policy should correct. In their models, recessions are optimal -- agents rationally reduce effort when productivity is temporarily low. This challenges the Keynesian presumption that recessions represent waste.

The Keynesian response. Keynes argued that the economy can get stuck in an equilibrium with involuntary unemployment because of coordination failures, animal spirits (irrational waves of optimism and pessimism), and the paradox of thrift (individually rational saving can reduce aggregate demand and make everyone worse off). The General Theory (1936) was explicitly a rejection of the classical view that markets automatically clear.

Financial crises and the business cycle. Minsky's financial instability hypothesis argues that stability breeds instability: during prolonged good times, lending standards weaken, leverage increases, and asset prices inflate. The cycle runs from hedge finance (income covers both interest and principal) to speculative finance (income covers interest only, principal must be rolled over) to Ponzi finance (income covers neither, relying on asset appreciation). When asset prices stop rising, the Minsky moment triggers deleveraging, fire sales, and recession. The 2008 global financial crisis followed this pattern precisely -- subprime mortgage lending, securitization, excessive leverage, and the collapse of Lehman Brothers.

Worked business cycle example. Consider an economy at full employment when an oil price shock doubles energy costs. This is a negative supply shock: AS shifts left. Output falls and the price level rises simultaneously -- stagflation. The policy dilemma: expansionary policy to restore output worsens inflation; contractionary policy to fight inflation deepens the recession. The 1970s oil shocks created exactly this dilemma, and the resolution (Volcker's aggressive monetary tightening in 1979-82) required a deep recession to break inflationary expectations. Understanding whether a shock is demand-side or supply-side is essential because the policy response is opposite.

New Keynesian economics. The modern synthesis combines Keynesian sticky-price assumptions with rational expectations and microfounded models. New Keynesian DSGE (Dynamic Stochastic General Equilibrium) models are the workhorses of central bank analysis. They incorporate price stickiness (Calvo pricing), monopolistic competition, and a Taylor-type monetary policy rule. These models predict that monetary policy is non-neutral in the short run (because prices adjust slowly) but neutral in the long run -- a compromise between Keynesian and classical views.

Topic 7 -- Growth Theory

The Solow model. Long-run growth depends on capital accumulation, labor force growth, and technological progress. The key result is convergence: poor countries should grow faster than rich ones because capital has diminishing returns. In practice, convergence is conditional on institutions, human capital, and openness -- unconditional convergence is weak at best.

Endogenous growth. Romer (Nobel 2018) and Lucas showed that ideas and human capital can generate increasing returns, breaking the diminishing-returns assumption of Solow. R&D investment, education, and knowledge spillovers become engines of sustained growth rather than exogenous windfalls.

Institutions. Acemoglu, Johnson, and Robinson (2001) argued that inclusive institutions (secure property rights, rule of law, constraints on elites) are the fundamental cause of long-run growth differences. Extractive institutions concentrate power and discourage investment and innovation. This institutional view has become central to development economics.

Worked Solow model example. Consider an economy with production function Y = K^0.3 * (AL)^0.7, saving rate s = 0.25, depreciation rate delta = 0.05, labor force growth n = 0.02, and technology growth g = 0.02. The steady-state capital-output ratio is s/(n + g + delta) = 0.25/0.09 = 2.78. In steady state, output per effective worker is constant, so GDP per capita grows at rate g = 2% per year. If the economy starts below its steady state (low capital per worker), it grows faster than 2% as it converges. China's 10% growth rates in the 1990s-2000s reflected this convergence dynamic -- rapid capital accumulation from a low base, combined with productivity gains from institutional reform and technology adoption.

Total factor productivity. The Solow residual -- the portion of output growth not explained by capital and labor growth -- is attributed to technology (Total Factor Productivity, or TFP). In practice, TFP is "a measure of our ignorance" (Abramovitz): it captures technology, institutional quality, resource allocation efficiency, and measurement error. TFP accounts for roughly half of cross-country income differences, which means that differences in how efficiently countries use their resources matter as much as differences in the quantity of resources.

The middle-income trap. Many countries grow rapidly from low income to middle income (through capital accumulation and labor reallocation from agriculture to industry) but then stagnate. They can no longer compete with low-wage countries on labor costs, but they have not yet developed the innovation capacity to compete with high-income countries on technology. Brazil, Mexico, Turkey, and Thailand are commonly cited examples. Breaking out of the trap requires shifting from imitation-based to innovation-based growth -- which requires institutions (education, R&D, intellectual property) that are harder to build than factories.

Secular stagnation. Summers (2014) revived the hypothesis that advanced economies face chronically insufficient demand due to excess desired saving over desired investment. Causes include: aging populations (higher saving), rising inequality (the rich save more), falling relative price of investment goods, and deleveraging after the 2008 crisis. If the natural interest rate that equilibrates saving and investment is negative, monetary policy cannot reach it (zero lower bound), and the economy operates below potential indefinitely without fiscal support.

Decision Heuristics

When approaching a macroeconomics problem:

  1. Is it about measuring the economy? Use national accounting identities. Distinguish real from nominal. Check the deflator.
  2. Is it about inflation? Identify the source (demand-pull, cost-push, expectations). Check monetary conditions. Consider the Phillips curve.
  3. Is it about unemployment? Classify the type (frictional, structural, cyclical). Compare to the natural rate. Estimate the output gap.
  4. Is it about policy? Identify whether monetary or fiscal policy is more appropriate given current conditions (especially: is the economy at the zero lower bound?). Consider lags, multipliers, and crowding out.
  5. Is it about growth? Distinguish short-run cyclical recovery from long-run trend growth. Identify the binding constraint (capital, technology, institutions).
  6. Is it about a debate? Locate the disagreement on the Keynesian-to-classical spectrum. Both sides usually agree on the facts; they disagree on the model.

Common Mistakes

MistakeWhy it failsFix
Confusing real and nominal GDPNominal changes can reflect prices, not outputAlways specify which measure and why
Treating the multiplier as a constantMultipliers depend on the state of the economyConsider slack, interest rates, and openness
Assuming monetary policy always worksThe zero lower bound and liquidity trap are realCheck current interest rate conditions
Ignoring lags in policy effectsPolicy operates with long and variable lagsAccount for recognition, implementation, and impact lags
Treating government debt as household debtGovernments issue their own currency and have infinite horizonsAnalyze sustainability via r vs. g, not household analogies
One-school thinkingEvery school captures part of the truthPresent Keynesian, monetarist, and new classical perspectives

Cross-References

  • keynes agent: Aggregate demand analysis, fiscal policy, liquidity traps. Primary agent for recession and stabilization questions.
  • hayek agent: Monetary policy critique, spontaneous order, Austrian business cycle theory. Provides the counterpoint.
  • varian agent: Pedagogical exposition of macroeconomic models and policy debates.
  • microeconomics skill: The micro foundations that underpin macro models.
  • public-policy skill: Policy instruments analyzed in their institutional and political context.
  • international-trade skill: Open-economy macroeconomics, exchange rates, global imbalances.
  • development-economics skill: Growth theory, convergence, and institutional determinants of long-run development.
  • behavioral-economics skill: Animal spirits, bounded rationality in expectations, behavioral macroeconomics.

Historical Context

Macroeconomics as a distinct field begins with Keynes's General Theory (1936), written in response to the Great Depression. Before Keynes, the classical economists (Say, Ricardo, Mill) believed that supply creates its own demand (Say's Law) and that markets automatically clear -- involuntary unemployment is impossible. Keynes rejected this, arguing that aggregate demand determines output in the short run and that economies can get stuck in underemployment equilibria.

The Keynesian consensus dominated policy from the 1940s through the 1960s, producing the "golden age" of postwar growth. The stagflation of the 1970s (simultaneous high inflation and high unemployment) undermined Keynesian credibility and gave rise to monetarism (Friedman), rational expectations (Lucas), and real business cycle theory (Kydland and Prescott). The New Keynesian synthesis of the 1990s-2000s incorporated rational expectations and microfoundations into models with sticky prices and monetary non-neutrality, producing the DSGE models that central banks use today.

The 2008 financial crisis revealed the limitations of these models (they largely ignored the financial sector) and revived interest in Minsky's financial instability hypothesis, Keynes's liquidity trap analysis, and the practical importance of fiscal policy. The field continues to evolve, with increasing attention to inequality (Piketty), secular stagnation (Summers), and the interaction between monetary and fiscal policy at the zero lower bound.

Macroeconomics is more contested than most fields precisely because controlled experiments are impossible at the national level. Every major recession generates a new round of the debate between those who see it as a failure of government (Austrian/classical) and those who see it as a failure of markets (Keynesian). This debate is productive: both sides have genuine insights, and the truth typically varies with the specific circumstances.

Study Path

Beginner. Mankiw, Principles of Economics (chapters on macro) -- clear, balanced, assumes no prior knowledge. Then Keynes, The General Theory (chapters 1-3 and 12) -- surprisingly readable and the founding text of the field.

Intermediate. Mankiw, Macroeconomics (2021) -- the standard intermediate textbook. Covers IS-LM, AD-AS, growth, and policy with accessible math. Blanchard, Macroeconomics (2021) -- the European alternative with more open-economy coverage.

Advanced. Romer, Advanced Macroeconomics (2019) -- the graduate workhorse. Covers Solow, Ramsey, overlapping generations, RBC, New Keynesian DSGE, and consumption theory. Woodford, Interest and Prices (2003) for the New Keynesian monetary theory.

Graduate. The primary literature: Keynes (1936), Friedman (1968), Lucas (1976), Kydland and Prescott (1982), Romer (1990). The Handbook of Macroeconomics (Taylor and Woodford, eds.) for comprehensive coverage.

References

  • Keynes, J. M. (1936). The General Theory of Employment, Interest and Money. Macmillan.
  • Friedman, M. (1968). "The Role of Monetary Policy." American Economic Review, 58(1), 1-17.
  • Solow, R. M. (1956). "A Contribution to the Theory of Economic Growth." Quarterly Journal of Economics, 70(1), 65-94.
  • Mankiw, N. G. (2021). Macroeconomics. 11th edition. Worth Publishers.
  • Blanchard, O. (2021). Macroeconomics. 8th edition. Pearson.
  • Romer, P. M. (1990). "Endogenous Technological Change." Journal of Political Economy, 98(5), S71-S102.
  • Minsky, H. P. (1986). Stabilizing an Unstable Economy. Yale University Press.
  • Lucas, R. E. (1976). "Econometric Policy Evaluation: A Critique." Carnegie-Rochester Conference Series on Public Policy, 1, 19-46.
  • Summers, L. H. (2014). "U.S. Economic Prospects: Secular Stagnation, Hysteresis, and the Zero Lower Bound." Business Economics, 49(2), 65-73.
  • Acemoglu, D., Johnson, S., & Robinson, J. A. (2001). "The Colonial Origins of Comparative Development." American Economic Review, 91(5), 1369-1401.
  • Kydland, F. E., & Prescott, E. C. (1982). "Time to Build and Aggregate Fluctuations." Econometrica, 50(6), 1345-1370.
  • Hicks, J. R. (1937). "Mr. Keynes and the 'Classics': A Suggested Interpretation." Econometrica, 5(2), 147-159.
  • Phillips, A. W. (1958). "The Relation between Unemployment and the Rate of Change of Money Wage Rates in the United Kingdom, 1861-1957." Economica, 25(100), 283-299.