cloudsignal-rest
Installation
SKILL.md
CloudSignal REST Publisher — Python Module Generator
Generate a production-grade Python module for publishing real-time messages to CloudSignal's REST API. The generated code is suitable for serverless functions, FastAPI backends, or any Python async service — no persistent MQTT connections required.
What You Generate
cloudsignal.py — A self-contained async module with:
- Connection-pooled singleton
httpx.AsyncClient(thread-safe viaasyncio.Lock) - Core
publish()andpublish_with_retry()with exponential backoff - Progress throttling (max 1 publish/sec per entity to avoid flooding)
- High-level domain-specific publish functions (customized to the user's app)
- Clean shutdown hook
Before You Start
Ask the user for these inputs (use defaults if not provided):