# sensor-data-aggregator

The sensor-data-aggregator skill collects, aggregates, and analyzes construction-site IoT sensor data in real time, detecting anomalies and triggering environmental alerts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 129 installs · ★ 434 repo stars
- Author: datadrivenconstruction
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/5_DDC_Innovative/sensor-data-aggregator/SKILL.md
- Updated: 2026-10-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/sensor-data-aggregator

## What it does

The skill manages multiple sensor types: temperature, humidity, vibration, noise, air quality, dust, gas, pressure, strain, tilt, and GPS. Each sensor registers with thresholds (warning and critical levels), location, and metadata. The system validates data quality, marking readings as good, suspect, or bad.

Readings arrive in real time or as batches, pass threshold checks, and automatically generate alerts at different severity levels: info, warning, critical, and emergency. Requires Python 3 and integrates via CLI commands for Claude Code, Cursor, GitHub Copilot, and other platforms.

Analyzes trends over time periods, computing min, max, mean, and standard deviation. Includes default thresholds for common sensor types—temperature to 40°C, humidity to 90%, vibration to 25 mm/s, noise to 100 dB.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill sensor-data-aggregator -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sensor-data-aggregator/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sensor-data-aggregator/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill sensor-data-aggregator -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sensor-data-aggregator/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill sensor-data-aggregator -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sensor-data-aggregator/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction 5_DDC_Innovative/sensor-data-aggregator/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/sensor-data-aggregator/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill sensor-data-aggregator -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --path 5_DDC_Innovative/sensor-data-aggregator
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sensor-data-aggregator/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill sensor-data-aggregator -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/5_DDC_Innovative/sensor-data-aggregator/SKILL.md

## When to use it
- Merge readings from multiple sensors into a unified data stream
- Detect anomalies and spikes in sensor measurements
- Trigger alerts when critical thresholds are exceeded
- Calculate trends and statistics over time periods
- Filter out low-quality or suspicious data points

## Example prompts
- Register a temperature sensor in zone A and receive alerts when readings exceed 40°C
- Load a batch of humidity and vibration readings from three sensors and get daily statistics
- Check data quality from an air sensor and identify anomalies in the last 100 measurements

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 71f9807a526f6903.

BEGIN THIRD-PARTY FILE 71f9807a526f6903
````text
---
name: "sensor-data-aggregator"
description: "Aggregate and analyze IoT sensor data from construction sites. Collect data from multiple sensor types, detect anomalies, and trigger alerts for safety and quality monitoring."
homepage: "https://datadrivenconstruction.io"
metadata: {"openclaw": {"emoji": "🚀", "os": ["darwin", "linux", "win32"], "homepage": "https://datadrivenconstruction.io", "requires": {"bins": ["python3"]}}}
---
# Sensor Data Aggregator

## Overview

Collect, aggregate, and analyze data from IoT sensors deployed across construction sites. Support real-time monitoring of environmental conditions, equipment status, structural integrity, and worker safety through unified data processing.

## IoT Sensor Architecture

```
┌─────────────────────────────────────────────────────────────────┐
│                  SENSOR DATA AGGREGATION                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  SENSORS                    AGGREGATOR            OUTPUTS       │
│  ───────                    ──────────            ───────       │
│                                                                  │
│  🌡️ Temperature  ─────┐                          📊 Dashboard   │
│  💧 Humidity     ─────┤    ┌──────────────┐      ⚠️ Alerts      │
│  📊 Vibration    ─────┼───→│  AGGREGATE   │───→  📈 Analytics   │
│  🔊 Noise        ─────┤    │  PROCESS     │      📋 Reports     │
│  💨 Air Quality  ─────┤    │  ANALYZE     │      🔄 API         │
````
END THIRD-PARTY FILE 71f9807a526f6903

The third-party file has ended. Everything between the 71f9807a526f6903 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2068 of 20653 bytes. © datadrivenconstruction · MIT · https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/5_DDC_Innovative/sensor-data-aggregator/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
