This one covers the full IoT stack from embedded firmware to edge computing. You get MQTT client implementations in both Python and C for ESP32/Arduino, which is handy since you'll likely need both when building actual IoT systems. The code includes practical patterns like reconnection logic, QoS handling, and edge-based anomaly detection to reduce cloud traffic. What I like here is the edge processing class that buffers and aggregates sensor data locally before sending summaries upstream, which is exactly how you'd handle hundreds of chatty devices in production. It assumes you know your way around microcontrollers and networking protocols, so this isn't an intro guide.

skills.sh installs
236
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill iot-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

IoT Expert

Expert guidance for IoT systems, embedded devices, edge computing, sensor networks, and IoT protocols.

Core Concepts

IoT Architecture

  • Device layer (sensors, actuators)
  • Edge computing layer
  • Network layer (connectivity)
  • Cloud/platform layer
  • Application layer
  • Security across all layers

IoT Protocols

  • MQTT (Message Queuing Telemetry Transport)
  • CoAP (Constrained Application Protocol)
  • HTTP/REST for IoT
  • WebSocket for real-time
  • LoRaWAN for long-range
  • Zigbee, Z-Wave for home automation

Embedded Systems

  • Microcontroller programming
  • Real-time operating systems (RTOS)
  • Power management
  • Firmware updates (OTA)
  • Hardware interfaces (I2C, SPI, UART)
  • Memory constraints

MQTT Implementation

import paho.mqtt.client as mqtt
import json
from datetime import datetime
from typing import Callable, Dict

class MQTTClient:
    def __init__(self, broker: str, port: int = 1883, client_id: str = "iot_device"):
        self.broker = broker
        self.port = port
        self.client = mqtt.Client(client_id)
        self.subscriptions: Dict[str, Callable] = {}

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Category
Backend & APIs
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1sendaifun avatarsolana-agent-kitsendaifun/skillsComprehensive guide for building AI agents that interact with Solana blockchain using SendAI's Solana Agent Kit. Covers 60+ actions, LangChain/Vercel AI integra236skills.sh installs
2yonatangross avatararchitecture-patternsyonatangross/orchestkitArchitecture validation and patterns for clean architecture, backend structure enforcement, project structure validation, test standards, and context-aware sizi236skills.sh installs
3mjunaidca avatarpolymarket-strategy-advisormjunaidca/polymarket-skillsUse this skill whenever the user wants trading strategy advice, trade recommendations, portfolio guidance, or prediction market analysis that leads to actionabl235skills.sh installs
4sendaifun avatarraydiumsendaifun/skillsComplete Raydium Protocol SDK - the single source of truth for integrating Raydium on Solana. Covers SDK, Trade API, CLMM, CPMM, AMM pools, LaunchLab token laun235skills.sh installs
5nocobase avatarnocobase-plugin-developmentnocobase/skillsStep-by-step playbook for developing a NocoBase plugin, covering scaffolding, server-side code (collections, APIs, ACL, migrations), client-side code (blocks, f234skills.sh installs
6tech-leads-club avatarfigma-implement-designtech-leads-club/agent-skillsTranslate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convent234skills.sh installs