Skip to content
Agentmart
Submit a tool

HomeSafe-Bench

VLM indoor safety hazard detection benchmark inspired by HomeSafeBench (arXiv 2509.23690)

Skill by SharpAI

IndexedMIT★ 3,109
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sharpai-homesafe-bench

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

VLM indoor safety hazard detection benchmark inspired by HomeSafeBench (arXiv 2509.23690)

Use cases: research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/homesafe-bench

What's inside

Skill name
HomeSafe-Bench
Description
VLM indoor safety hazard detection benchmark inspired by HomeSafeBench (arXiv 2509.23690)
License
MIT
Instructions
110 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "HomeSafe-Bench" does not match folder "homesafe-bench"

Files (48)

  • SKILL.md
  • config.yaml
  • deploy.bat
  • deploy.sh
  • child_01_chemicals_cabinet.png · fixtures/frames/
  • child_02_uncovered_outlet.png · fixtures/frames/
  • child_03_blind_cord.png · fixtures/frames/
  • child_04_sharp_corner.png · fixtures/frames/
  • child_05_choking_hazard.png · fixtures/frames/
  • child_06_unsecured_bookshelf.png · fixtures/frames/
  • child_07_stove_knobs.png · fixtures/frames/
  • child_08_open_window.png · fixtures/frames/
  • electrical_01_overloaded_strip.png · fixtures/frames/
  • electrical_02_exposed_wire_sink.png · fixtures/frames/
  • electrical_03_frayed_cord.png · fixtures/frames/
  • electrical_04_cord_under_rug.png · fixtures/frames/
  • electrical_05_wet_hands_outlet.png · fixtures/frames/
  • electrical_06_ungrounded_adapter.png · fixtures/frames/
  • electrical_07_damaged_outlet.png · fixtures/frames/
  • electrical_08_tangled_cords.png · fixtures/frames/
  • falling_01_heavy_high_shelf.png · fixtures/frames/
  • falling_02_stacked_boxes.png · fixtures/frames/
  • falling_03_leaning_bookshelf.png · fixtures/frames/
  • falling_04_fridge_top.png · fixtures/frames/
  • falling_05_overhead_tools.png · fixtures/frames/
  • falling_06_unsecured_tv.png · fixtures/frames/
  • falling_07_overloaded_coatrack.png · fixtures/frames/
  • falling_08_loose_fan_blade.png · fixtures/frames/
  • fire_01_stove_smoke.png · fixtures/frames/
  • fire_02_candle_curtain.png · fixtures/frames/
  • fire_03_fireplace_ember.png · fixtures/frames/
  • fire_04_iron_facedown.png · fixtures/frames/
  • fire_05_heater_drapes.png · fixtures/frames/
  • fire_06_missing_detector.png · fixtures/frames/
  • fire_07_grease_fire.png · fixtures/frames/
  • fire_08_cigarette_couch.png · fixtures/frames/
  • trip_01_toys_stairs.png · fixtures/frames/
  • trip_02_wet_floor.png · fixtures/frames/
  • trip_03_loose_rug.png · fixtures/frames/
  • trip_04_cluttered_hallway.png · fixtures/frames/
  • trip_05_shoes_doorway.png · fixtures/frames/
  • trip_06_dark_stairwell.png · fixtures/frames/
  • trip_07_cables_walkway.png · fixtures/frames/
  • trip_08_stool_stairs.png · fixtures/frames/
  • scenarios.json · fixtures/
  • package-lock.json
  • package.json
  • run-benchmark.cjs · scripts/

SKILL.md (first lines)

# HomeSafe-Bench — Indoor Safety Hazard Detection

VLM benchmark evaluating indoor home safety hazard detection from static camera frames. Inspired by [HomeSafeBench (arXiv 2509.23690)](https://arxiv.org/abs/2509.23690), adapted for **fixed indoor security cameras** with AI-generated fixture images.

**40 tests** across **5 hazard categories**:

| Category | Tests | Example Hazards |
|----------|-------|-----------------|
| 🔥 Fire / Smoke | 8 | Stove smoke, candle near curtain, iron left face-down |
| ⚡ Electrical | 8 | Overloaded power strip, exposed wire, frayed cord |
| 🚶 Trip / Fall | 8 | Toys on staircase, wet floor, loose rug edge |
| 👶 Child Safety | 8 | Open cabinet with chemicals, uncovered outlet, blind cord |
| 📦 Falling Objects | 8 | Heavy items on high shelf, leaning bookshelf, loose ceiling fan |

## Setup

**Requires `npm install`.** This skill has a `package.json` with dependencies (e.g. `openai` SDK). The deployment agent should check for `package.json` and run `npm install` in the skill directory before launching.

Entry script: `scripts/run-benchmark.cjs`

### Verification

```bash
node scripts/run-benchmark.cjs --help
```

## Quick Start

### As an Aegis Skill (automatic)

When spawned by Aegis, all configuration is injected via environment variables. The benchmark discovers your VLM server automatically, generates an HTML report, and opens it when complete.

### Standalone

```bash
# Run all 40 tests
node scripts/run-benchmark.cjs --vlm http://localhost:5405

# Quick mode (2 tests per category = 10 total)
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --mode quick

# Skip report auto-open
node scripts/run-benchmark.cjs --vlm http://localhost:5405 --no-open
```

## Configuration

### Environment Variables (set by Aegis)

| Variable | Default | Description |
|----------|---------|-------------|
| `AEGIS_VLM_URL` | *(required)* | VLM server base URL |
| `AEGIS_VLM_MODEL` | — | Loaded VLM model ID |
| `AEGIS_SKILL_ID` | — | Skill identifier (enables skill mode) |
| `AEGIS_SKILL_PARAMS` | `{}` | JSON params from skill config |

> **Note**: URLs should be base URLs (e.g. `http://localhost:5405`). The benchmark appends `/v1/chat/completions` automatically.

### User Configuration (config.yaml)

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `mode` | select | `full` | Which mode: `full` (40 tests) or `quick` (10 tests — 2 per category) |
| `noOpen` | boolean | `false` | Skip auto-opening the HTML report in browser |

### CLI Arguments (standalone fallback)

| Argument | Default | Description |
|----------|---------|-------------|
| `--vlm URL` | *(required)* | VLM server base URL |
| `--mode MODE` | `full` | Test mode: `full` or `quick` |
| `--out DIR` | `~/.aegis-ai/homesafe-benchmarks` | Results directory |
| `--no-open` | — | Don't auto-open report in browser |

## Protocol

### Aegis → Skill (env vars)
```
AEGIS_VLM_URL=http://localhost:5405
AEGIS_SKILL_ID=homesafe-bench
AEGIS_SKILL_PARAMS={}
```

### Skill → Aegis (stdout, JSON lines)
```jsonl
{"event": "ready", "vlm": "SmolVLM-500M", "system": "Apple M3"}
{"event": "suite_start", "suite": "🔥 Fire / Smoke"}
{"event": "test_result", "suite": "...", "test": "...", "status": "pass", "timeMs": 4500}
{"event": "suite_end", "suite": "...", "passed": 7, "failed": 1}
{"event": "complete", "passed": 36, "total": 40, "timeMs": 180000, "reportPath": "/path/to/report.html"}
```

Human-readable output goes to **stderr** (visible in Aegis console tab).

## Citation

This benchmark is inspired by:

> **HomeSafeBench: Towards Measuring the Proficiency of Home Safety for Embodied AI Agents**
> arXiv:2509.23690
>
> Unlike the academic benchmark (embodied agent + navigation in simulated 3D environments), our version uses **static indoor camera frames** — matching real-world indoor security camera deployment (fixed wall/ceiling mount). All fixture images are **AI-generated** consistent with DeepCamera's privacy-first approach.

## Requirements

- Node.js ≥ 18
- `npm install` (for `openai` SDK dependency)
- Running VLM server (llama-server with vision model, or OpenAI-compatible VLM endpoint)

From SharpAI/DeepCamera, MIT.

More from SharpAI/DeepCamera

Signals

Stars
3,109
Forks
489
Open issues
15
Last commit (this folder)
Mar 10, 2026 (7 months ago)
Last release
Mar 14, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from SharpAI

Cite this page

HomeSafe-Bench skill. Agent Mart. https://agentmart.dev/skills/sharpai-homesafe-bench (last updated 2026-10-24)