matiashoffmeyer/home-automation-platform
Event-driven IoT & data automation platform on Home Assistant: mmWave presence, Zigbee, Thread, grocery shopping, dew prediction, party lights, offline config validation, built with an AI-native engineering method
stack: Python
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 36/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit matiashoffmeyer/home-automation-platform/.claude ./rig-home-automation-platform # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/bug-hunt .claude/skills/bug-hunt $ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/deploy .claude/skills/deploy $ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/failure-class-review .claude/skills/failure-class-review $ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/measure-threshold .claude/skills/measure-threshold $ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/new-slider .claude/skills/new-slider
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py\" pre"
}
]
},
{
"matcher": "Read|Edit|Write|MultiEdit|Bash|Grep",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/claude_rules.py\" hook"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/restart_guard.py\""
},
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/live_guard.py\""
}
]
},
{
"matcher": "Workflow|Agent|Task",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/agent_guard.py\""
}
]
}
]
}
} Skills (5)
Hooks (8)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | bash "$CLAUDE_PROJECT_DIR/scripts/session_start.sh" |
| PreToolUse | Read|Edit|Write|MultiEdit | python3 "$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py" pre |
| PreToolUse | Read|Edit|Write|MultiEdit|Bash|Grep | python3 "$CLAUDE_PROJECT_DIR/scripts/claude_rules.py" hook |
| PreToolUse | Bash | python3 "$CLAUDE_PROJECT_DIR/scripts/restart_guard.py" |
| PreToolUse | Bash | python3 "$CLAUDE_PROJECT_DIR/scripts/live_guard.py" |
| PreToolUse | Workflow|Agent|Task | python3 "$CLAUDE_PROJECT_DIR/scripts/agent_guard.py" |
| PostToolUse | Edit|Write|MultiEdit | python3 "$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py" post |
| SubagentStop | * | python3 "$CLAUDE_PROJECT_DIR/scripts/agent_guard.py" stop |
Similar rigs
marmelab/platform
Self-hosted hosting for Claude Code–built apps: a Supabase backend per app, deployed by asking Claude, on a single VM.
Pragmatist 3.3k tok · · Q23
shuowenzhang1-netizen/agent-config-doctor
Local-first scanner for AI coding agent configs, MCP files, skills, prompts, and workflow permissions.
Pragmatist 5.1k tok · · Q0
iamzwxyy/agent-sightline
See what your coding agent actually sees. Local configuration diagnostics for Codex, Claude Code, Copilot and more.
Pragmatist 2.6k tok · · Q15
ldbumble/taskuary
Your work, already underway. A personal AI assistant for your job: mail, chats and tickets become tasks, the agents you already use (Claude Code, Codex, Gemini) do the work, and nothing goes out until you approve. Open source, runs on your
Minimalist 854 tok · · Q0