Skip to content
Back to skills

Managing Particle Io

ASecurity

Use when working with Particle Io — particle IoT platform management including device fleet, firmware, products, events, integrations, and SIM cards. Covers device connectivity monitoring, OTA firmware deployment status, data usage tracking, event stream health, and fleet-wide diagnostics.

  • 6 stars
  • 0 votes
  • 1 copy
  • 9 views
  • Added September 8, 2026
devopsbashapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add cloudthinker-ai/CloudSkills --skill managing-particle-io --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managing Particle Io?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Managing Particle Io
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cloudthinker-ai-managing-particle-io/badge)](https://www.skillsdirectory.com/skills/cloudthinker-ai-managing-particle-io)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: managing-particle-io
description: |
  Use when working with Particle Io — particle IoT platform management including
  device fleet, firmware, products, events, integrations, and SIM cards. Covers
  device connectivity monitoring, OTA firmware deployment status, data usage
  tracking, event stream health, and fleet-wide diagnostics.
connection_type: particle-io
preload: false
---

# Particle IoT Management Skill

Monitor and manage Particle IoT device fleet and cloud services.

## MANDATORY: Discovery-First Pattern

**Always discover products and devices before querying events or diagnostics.**

### Phase 1: Discovery

```bash
#!/bin/bash
PARTICLE_API="https://api.particle.io/v1"
AUTH="Authorization: Bearer ${PARTICLE_ACCESS_TOKEN}"

echo "=== User Info ==="
curl -s -H "$AUTH" "$PARTICLE_API/user" | \
  jq -r '"Username: \(.username)\nTier: \(.account_info.tier // "free")"'

echo ""
echo "=== Products ==="
curl -s -H "$AUTH" "$PARTICLE_API/user/products" | \
  jq -r '.products[] | "\(.name) | ID: \(.id) | Platform: \(.platform_id) | Devices: \(.device_count)"'

echo ""
echo "=== Devices ==="
curl -s -H "$AUTH" "$PARTICLE_API/devices" | \
  jq -r '.[] | "\(.name) | ID: \(.id) | Online: \(.online) | Platform: \(.platform_id) | FW: \(.system_firmware_version)"' | head -20

echo ""
echo "=== Device Summary ==="
curl -s -H "$AUTH" "$PARTICLE_API/devices" | \
  jq -r '"Total: \(length)\nOnline: \([.[] | select(.online==true)] | length)\nOffline: \([.[] | select(.online==false)] | length)"'

echo ""
echo "=== Integrations (Webhooks) ==="
curl -s -H "$AUTH" "$PARTICLE_API/integrations" | \
  jq -r '.[] | "\(.name // .id) | Type: \(.integrationType) | Event: \(.event) | Enabled: \(.disabled | not)"'
```

**Phase 1 outputs:** User info, products, devices, connectivity, integrations

### Phase 2: Analysis

```bash
#!/bin/bash
echo "=== Firmware Versions ==="
curl -s -H "$AUTH" "$PARTICLE_API/devices" | \
  jq -r '[.[].system_firmware_version] | group_by(.) | map({version: .[0], count: length}) | sort_by(-.count) | .[] | "\(.version): \(.count) devices"'

echo ""
echo "=== Product Firmware ==="
for product_id in $(curl -s -H "$AUTH" "$PARTICLE_API/user/products" | jq -r '.products[].id'); do
  curl -s -H "$AUTH" "$PARTICLE_API/products/$product_id/firmware" | \
    jq -r '.[] | "\(.title // "v\(.version)") | Version: \(.version) | Size: \(.size) | Uploaded: \(.uploaded_on)"' | head -3
done

echo ""
echo "=== SIM Card Status ==="
curl -s -H "$AUTH" "$PARTICLE_API/sims" | \
  jq -r '.sims[:10] | .[] | "\(.iccid) | Status: \(.status) | Data: \(.data_usage_mb // 0)MB | Device: \(.device_name // "unassigned")"' 2>/dev/null || echo "No SIM management available"

echo ""
echo "=== Recent Events ==="
curl -s -H "$AUTH" "$PARTICLE_API/devices/events?limit=10" | \
  jq -r '.[] | "\(.name) | Device: \(.coreid) | Data: \(.data[:50]) | \(.published_at)"' 2>/dev/null || echo "Use SSE stream for events"

echo ""
echo "=== Device Diagnostics ==="
DEVICE_ID=$(curl -s -H "$AUTH" "$PARTICLE_API/devices" | jq -r '.[0].id')
curl -s -H "$AUTH" "$PARTICLE_API/devices/$DEVICE_ID/diagnostics/last" | \
  jq -r '"Signal: \(.diagnostics.network.signal.strength // "N/A")\nRSSI: \(.diagnostics.network.signal.rssi // "N/A")\nRoundTrip: \(.diagnostics.cloud.roundTripTime // "N/A")ms"' 2>/dev/null
```

## Output Format

```
PARTICLE IOT STATUS
===================
Products: {count}
Devices: {total} (Online: {online}, Offline: {offline})
Firmware Versions: {unique_count} in fleet
Integrations: {count} ({enabled} enabled)
SIMs: {active}/{total}
Issues: {list_of_warnings}
```

## Anti-Hallucination Rules

1. **NEVER assume resource names** — always discover via CLI/API in Phase 1 before referencing in Phase 2.
2. **NEVER fabricate metric names or dimensions** — verify against the service documentation or `--help` output.
3. **NEVER mix CLI commands between service versions** — confirm which version/API you are targeting.
4. **ALWAYS use the discovery → verify → analyze chain** — every resource referenced must have been discovered first.
5. **ALWAYS handle empty results gracefully** — an empty response is valid data, not an error to retry.

## Counter-Rationalizations

| Shortcut | Counter | Why |
|----------|---------|-----|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |

## Common Pitfalls

- **Product vs Sandbox**: Product devices are fleet-managed; sandbox devices are individual
- **OTA firmware**: Flash targets specific devices or entire product fleet — verify before deploying
- **Rate limits**: 30 requests/second — throttle fleet-wide queries
- **Cellular data**: SIM data caps apply — monitor usage to avoid overage charges

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.