Skip to content
Back to skills

Clawdsense Skill

ASecurity

Real-time image analysis from ClawdSense ESP32 dongle. Monitors media receiver, captures photos from device, analyzes instantly with Groq Vision. Use when ClawdSense sends photos via /photo command or button controls. Provides instant room analysis, occupancy detection, and environmental awareness.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
toolsbashnodeapiperformance

Works with

  • terminal
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill clawdsense-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawdsense Skill?

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

Security grade badge for Clawdsense Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-clawdsense-skill/badge)](https://www.skillsdirectory.com/skills/modbender-clawdsense-skill)

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: clawdsense
description: Real-time image analysis from ClawdSense ESP32 dongle. Monitors media receiver, captures photos from device, analyzes instantly with Groq Vision. Use when ClawdSense sends photos via /photo command or button controls. Provides instant room analysis, occupancy detection, and environmental awareness.
---

# ClawdSense Skill

Real-time image capture and analysis from ClawdSense ESP32 dongle.

## Quick Start

### Start Services

```bash
# Terminal 1: Media receiver (accepts photo uploads from ESP32)
node ~/clawd/clawdsense-skill/scripts/media-receiver.js

# Terminal 2: Analyzer (monitors inbound folder, analyzes with Groq)
node ~/clawd/clawdsense-skill/scripts/analyzer.js

# Terminal 3: Health monitor (keeps both services alive)
node ~/clawd/clawdsense-skill/scripts/health-monitor.js
```

### Usage

1. **Send `/photo` command to ClawdSense** via Telegram
2. **Device captures and POSTs to media receiver** (port 5555)
3. **Analyzer detects new photo** and analyzes with Groq Vision
4. **Results printed to console**

## Architecture

### Three Components

**Media Receiver** (port 5555)
- Accepts multipart/form-data uploads from ESP32
- Stores photos in `~/.clawdbot/media/inbound/`
- Endpoints:
  - POST `/inbound/photo` - JPEG photos
  - POST `/inbound/audio` - WAV audio
  - POST `/inbound/video` - AVI video

**Analyzer** (real-time polling)
- Polls inbound folder every 500ms
- Detects new photos automatically
- Sends to Groq Vision API for analysis
- Uses pixtral-12b model for instant results

**Health Monitor**
- Checks both services every 30s
- Restarts if either dies
- Logs status to console

## Performance

- **Detection latency:** ~500ms (polling interval)
- **Analysis time:** 1-3s (Groq API)
- **Total end-to-end:** ~2-5s from capture to results

## Configuration

### ESP32 Firmware Settings

Device must be configured with:
```
MEDIA_RECEIVER_URL = "http://localhost:5555"
or for public: "https://your-ngrok-url"
```

### Groq API Key

Stored in environment:
```bash
export GROQ_API_KEY="gsk_[REDACTED]"
```

## Troubleshooting

**"Media receiver is DOWN"**
- Check if port 5555 is in use
- Restart: `node ~/clawd/clawdsense-skill/scripts/media-receiver.js`

**"No new photos detected"**
- Is device sending to media receiver? Check device logs
- Is media receiver running? Curl http://localhost:5555/health
- Check inbound folder permissions

**"Groq API errors"**
- Verify API key is set
- Check account quota/billing

## References

- See `references/groq-vision-api.md` for Groq setup
- See `references/esp32-setup.md` for device configuration

Files in this skill

  • SKILL.md2.7 KB
  • scripts/analyzer.js3.8 KB
  • scripts/health-monitor.js2.3 KB
  • scripts/media-receiver.js3.6 KB

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 tools →

Comments

Loading comments…

Newsletter

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