HomeSafe-Bench

An evaluation suite for AI systems that inspect still images from indoor security cameras and spot household safety hazards. It covers fire, electrical, trip, child-safety, and falling-object risks.

In plain words
What is it for?
Use it to evaluate or compare vision-language models—AI models that understand images and text—on indoor safety detection. It can run its benchmark script and produce results for the 40 included tests.
Why use it?
It provides repeatable tests for checking whether an AI notices dangerous situations in home-camera images. This helps reveal missed hazards before relying on the system in practice.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sharpai/deepcamera/homesafe-bench
Any agent
npx skills add SharpAI/DeepCamera --skill homesafe-bench
Clone the repo
git clone --depth 1 https://github.com/SharpAI/DeepCamera

Made for: Claude Code, Codex.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.01201
Opus 5 $0.00014 $0.00600
Sonnet 5 $0.00006 $0.00240
Haiku 4.5 $0.00003 $0.00120

Measured 2d ago against content hash 39c331770b45, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

HomeSafe-Bench scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (deploy.bat, deploy.sh, scripts/run-benchmark.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analysis/homesafe-bench/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HomeSafe-Bench — Indoor Safety Hazard Detection

VLM benchmark evaluating indoor home safety hazard detection from static camera frames. Inspired by HomeSafeBench (arXiv 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

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

# 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

Read the full file on GitHub · 124 lines

Files

What ships with it

47 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 124 lines · 28 tokens per session scan A 39c331770b45

Subscribe to this mod's changes

HomeSafe-Bench is a skill published in the GitHub repository SharpAI/DeepCamera (3,031 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 1,201 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.