guard

Solid

Guard mode for security monitoring. Two uses — (1) Toggle on/off when a friend says "guard mode", "watch the house", "I'm going out", or similar. (2) Handle any sensing event that carries a [guard-active] tag (e.g. [sensing:presence.enter][guard-active], [sensing:motion][guard-active]) with dramatic shock/curious emotion + Telegram broadcast. Do NOT fall back to normal sensing reactions while guard mode is on.

AI & Automation 147 stars 18 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Guard Mode ## Quick Start Guard mode turns the device into an alert watchdog. When enabled, the device monitors for strangers and reacts **dramatically** — jolting, flashing, and verbally describing intruders. The system auto-broadcasts alerts to Telegram so friends know what's happening. All **friends** (enrolled faces) can toggle guard mode. ## Workflow 1. Friend requests guard mode (explicit or implied departure). 2. Reply with `[HW:/emotion:{"emotion":"acknowledge","intensity":0.7}]` — the device nods and flashes green. 3. Enable guard mode via the API (include `instruction` if user gave extra requests). 4. Confirm verbally: "Guard mode on. I'll keep watch." 5. While active: react dramatically to stranger/motion events (see trigger table below). 6. When a friend returns, greet and ask if they want to disable. Only disable on explicit confirm. ## Enable Guard Mode ```bash curl -s -X POST http://127.0.0.1:5000/api/guard/enable -H 'Content-Type: application/json' -d '{"instruction":"custom instruction here"}' ``` The `instruction` field is **optional**. Use it when the user adds extra instructions on what to do during guard mode (e.g. "play scary sound when stranger detected", "flash red lights", "play alarm music"). Extract the relevant part from the user's message and pass it as the instruction. If the user just says "guard mode" with no extra requests, omit the field or send an empty body. Response: `{"status": 1, "data": {"guard_mode": true, "instruction": "..."}...

Details

Author
autonomous-ai
Repository
autonomous-ai/autonomous-os
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category