detect-freight-led-inflation-turn

Analyze CASS Freight Index YoY cycles and CPI lead-lag relationships to detect inflation trend turns.

3|1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/fatfingererr/macro-skills --skill detect-freight-led-inflation-turn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detect-freight-led-inflation-turn
Source: https://github.com/fatfingererr/macro-skills/tree/main/skills/detect-freight-led-inflation-turn
Command: npx skills add https://github.com/fatfingererr/macro-skills --skill detect-freight-led-inflation-turn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, websocket-client, pandas, numpy, selenium, webdriver-manager, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill detects whether US inflation is turning by analyzing CASS Freight Index YoY cycles and CPI lead indicators, enabling informed macro decisions.

Core Features & Use Cases

  • Freight-cycle turning detection: monitors Shipments YoY and Expenditures YoY to identify cycle turning points.
  • CPI lead alignment: assesses lead-lag relationships between CASS YoY and CPI to gauge inflation trend direction.
  • Visualization & Workflows: provides quick-check and full analyze workflows, caching, and visualizations for decision support.

Quick Start

Install dependencies, start data capture, and run analyses:

  • Install: pip install requests websocket-client pandas numpy
  • Prepare Chrome CDP per instructions and run:
    • Start Chrome with remote debugging port 9222 and a user data dir
    • Open MacroMicro chart: https://www.macromicro.me/charts/46877/cass-freight-index
  • Run scripts:
    • cd scripts
    • python fetch_cass_freight.py --cdp
    • python freight_inflation_detector.py --quick
    • python freight_inflation_detector.py --start 2015-01-01 --lead-months 6

Frequently Asked Questions about detect-freight-led-inflation-turn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect inflation turning points using freight data?

Detect inflation turning points by analyzing CASS Freight Index YoY cycles and CPI lead-lag relationships. This Skill monitors Shipments YoY and Expenditures YoY to identify cycle peaks and valleys, determining whether inflation is easing for macro research.

How does the CASS Freight Index lead CPI for macro analysis?

The CASS Freight Index leads CPI because shipping costs and freight expenditures signal supply chain price pressures before consumer prices reflect them. This Skill assesses the lead-lag relationship between CASS YoY and CPI to gauge inflation trend direction.

What's the best way to scrape CASS Freight Index data from MacroMicro?

Scrape CASS Freight Index data from MacroMicro using Chrome remote debugging and Selenium. Start Chrome with a remote debugging port 9222, open the MacroMicro chart URL, and run the fetch_cass_freight.py script with the --cdp flag to capture structured time-series data.

Can I use pandas and numpy for freight-cycle turning detection without Selenium?

You can use pandas and numpy for freight-cycle turning detection without Selenium if you supply cached freight data. Selenium is optionally required only for automated data capture from MacroMicro; running the detector script with existing data requires just requests, pandas, and numpy.

What Python dependencies do I need for freight inflation detection?

You need requests, websocket-client, pandas, and numpy for freight inflation detection. Optionally, install selenium and webdriver-manager if you require automated Chrome CDP data capture from MacroMicro charts rather than using cached or manually downloaded freight index data.

How do I run a quick freight inflation check versus a full historical analysis?

Run a quick freight inflation check using the --quick flag for immediate signal generation. For full historical analysis, use the --start parameter with a date like 2015-01-01 and --lead-months to define the CPI lead-lag window, producing detailed visualizations and structured turning point signals.