as-air-quality-data

Fetch live air quality data from AirNow, PurpleAir, IQAir, and OpenAQ.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/aaronsilinskas/ai-skills --skill as-air-quality-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: as-air-quality-data
Source: https://github.com/aaronsilinskas/ai-skills/tree/main/as-air-quality-data
Command: npx skills add https://github.com/aaronsilinskas/ai-skills --skill as-air-quality-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Fetches live air quality data from multiple sources to provide current AQI, pollutant levels, and cross-source comparisons for any location. This enables quick health guidance and decision-making when outdoor air quality matters.

Core Features & Use Cases

  • Cross-source AQI: Retrieve current and historical AQI from EPA AirNow, PurpleAir, IQAir, and OpenAQ.
  • Location flexibility: Query by zip, coordinates, or city, for global coverage.
  • Output-ready data: Outputs JSON to stdout for seamless integration into agents and workflows.

Quick Start

Run the appropriate Python script in this skill to fetch live air quality data for a specified location.

Frequently Asked Questions about as-air-quality-data

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

FAQPage Schema
How do I fetch live air quality data and current AQI for a specific location?

This Skill retrieves live air quality data by querying sources like AirNow, PurpleAir, IQAir, and OpenAQ. It provides current AQI and pollutant readings by ZIP code or coordinates, outputting JSON for downstream agents.

What air quality sources can I compare to get accurate AQI readings?

You can retrieve and compare cross-source AQI readings from EPA AirNow, PurpleAir, IQAir, and OpenAQ. This provides current and historical pollutant levels for any global location queried by ZIP code or coordinates.

Do I need API keys to retrieve live air quality data from these sources?

Yes, retrieving live air quality data requires API keys. You must configure these keys in environment variables or a local .env file before running the Python scripts to fetch current AQI from AirNow, PurpleAir, IQAir, or OpenAQ.

Can I get historical air quality data and forecasts, or only current AQI?

You can retrieve historical air quality data and forecasts in addition to current AQI. The scripts fetch pollutant readings across current, forecast, and historical timeframes from AirNow, PurpleAir, IQAir, and OpenAQ.

How do I integrate live AQI results into my existing agent workflows?

You integrate live AQI results by capturing the JSON output printed to stdout by the deterministic scripts. This JSON format allows seamless integration of current pollutant readings into downstream agents and workflows.