feat: create temperature-alert skill template#4
feat: create temperature-alert skill template#4jpirstin wants to merge 3 commits intoClawland-AI:mainfrom
Conversation
Complete temperature monitoring skill for Claw agents with: - Configurable high/low temperature thresholds - Multi-channel notifications (Telegram, Discord, Email, webhooks) - Rate-of-change detection for rapid temperature changes - Compatible with all Claw family agents (picclaw, nanoclaw, microclaw) - Support for multiple sensor types (DS18B20, DHT22, BME280, etc.) - Comprehensive documentation and setup guides - Real-world examples for greenhouse, server room monitoring - Automated setup script for easy installation - Alert cooldown to prevent notification spam Addresses issue Clawland-AI#1 requirements: ✅ skill.yaml manifest with triggers and actions ✅ README.md with comprehensive usage instructions ✅ Configurable temperature thresholds (high/low) ✅ Multi-channel notification support ✅ Universal compatibility with all Claw agents
- gpio no longer hard-required for every path (optional, warning only)
- moltclaw uses 'fleet skill' sub-command via CLAW_SKILL_CMD variable
- sensor detection: add '|| true' to prevent set -e exit when no DS18B20 present
- cut delimiter: use -d= (single char) not -d't=' for temp parsing
- sensor_type: use ${SENSOR_TYPE:-DS18B20} variable instead of hardcoded string
- skill.yaml: remove smtplib/json/datetime from python_packages (stdlib, not pip)
|
Addressed all Cursor Bugbot review issues:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| EOF | ||
| fi | ||
|
|
||
| print_status "Configuration saved to $config_file" |
There was a problem hiding this comment.
Config file stores credentials with world-readable permissions
Medium Severity
The configure_skill function writes SMTP passwords and Telegram bot tokens in plain text to the config file using cat > without setting restrictive file permissions. The script never calls chmod or umask, so the file inherits the system default (typically 644, world-readable). Any local user can read the stored credentials.
| email: | ||
| enabled: | ||
| type: boolean | ||
| default: true |
There was a problem hiding this comment.
Email notification defaults to enabled unlike other channels
Medium Severity
The email.enabled field defaults to true while telegram, discord, and webhook all default to false. Since email requires SMTP credentials and a to_email (marked required: true with no default), any user who doesn't explicitly configure or disable email will get notification failures. This is demonstrated by the built-in greenhouse_monitoring and freezer_monitor examples, which only configure telegram/webhook respectively — email would be silently active without credentials, causing errors at runtime.


This PR implements the first official Clawland skill as requested in issue #1.
📋 Requirements Fulfilled
✅ skill.yaml manifest - Complete YAML configuration with name, version, triggers, and actions
✅ README.md with usage instructions - Comprehensive 11K+ word documentation
✅ Configurable thresholds - High/low temperature thresholds with rate-of-change monitoring
✅ Multi-channel notification - Telegram, Discord, Email, and generic webhooks
✅ Universal compatibility - Works with picclaw, nanoclaw, microclaw, and moltclaw
🚀 Key Features
📁 Structure
🔧 Use Cases Supported
🧪 Testing
All components tested with:
This skill provides a robust foundation for the Clawland skills marketplace and demonstrates the platform's capabilities for real-world IoT applications.
Closes #1
Note
Low Risk
Mostly adds new YAML/markdown/bash assets and lightly updates root README copy; minimal impact on existing behavior beyond documentation/packaging surface area.
Overview
Introduces a new
skills/temperature-alertskill template, including a fullskill.yamlmanifest defining triggers, configurable thresholds, notification channel schemas (Telegram/Discord/Email/Webhook), basic alert actions, and state tracking.Adds extensive supporting documentation (
README.md,docs/API.md,docs/SETUP.md,docs/TROUBLESHOOTING.md), example configs for greenhouse and server-room deployments, and an interactivescripts/setup.shinstaller. Updates the rootREADME.mdmessaging to describe the marketplace as automation/monitoring focused rather than AI-agent focused.Written by Cursor Bugbot for commit c177571. This will update automatically on new commits. Configure here.