Home Security AI Benchmark
БесплатноЗапускает вложенные скриптыНе проверенLLM & VLM evaluation suite for home security AI applications
от SharpAI★ 3 151 звезда на GitHubОб этом скилле
Home Security AI Benchmark
Comprehensive benchmark suite evaluating LLM and VLM models on 143 tests across 16 suites — context preprocessing, tool use, security classification, prompt injection resistance, alert routing, knowledge injection, VLM-to-alert triage, and scene analysis.
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 LLM gateway and VLM server automatically, generates an HTML report, and opens it when complete.
Standalone
# LLM-only (VLM tests skipped)
node scripts/run-benchmark.cjs
# With VLM tests (base URL without /v1 suffix)
node scripts/run-benchmark.cjs --vlm http://localhost:5405
# Custom LLM gateway
node scripts/run-benchmark.cjs --gateway http://localhost:5407
# Skip report auto-open
node scripts/run-benchmark.cjs --no-open
Configuration
Environment Variables (set by Aegis)
| Variable | Default | Description |
|---|---|---|
AEGIS_GATEWAY_URL |
http://localhost:5407 |
LLM gateway (OpenAI-compatible) |
AEGIS_LLM_URL |
— | Direct llama-server LLM endpoint |
AEGIS_LLM_API_TYPE |
openai |
LLM provider type (builtin, openai, etc.) |
AEGIS_LLM_MODEL |
— | LLM model name |
AEGIS_LLM_API_KEY |
— | API key for cloud LLM providers |
AEGIS_LLM_BASE_URL |
— | Cloud provider base URL (e.g. https://api.openai.com/v1) |
AEGIS_VLM_URL |
(disabled) | 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/completionsautomatically. Including a/v1suffix is also accepted — it will be stripped to avoid double-pathing.
User Configuration (config.yaml)
This skill includes a config.yaml that defines user-configurable parameters. Aegis parses this at install time and renders a config panel in the UI. Values are delivered via AEGIS_SKILL_PARAMS.
| Parameter | Type | Default | Description |
|---|---|---|---|
mode |
select | llm |
Which suites to run: llm (96 tests), vlm (47 tests), or full (143 tests) |
noOpen |
boolean | false |
Skip auto-opening the HTML report in browser |
Platform parameters like AEGIS_GATEWAY_URL and AEGIS_VLM_URL are auto-injected by Aegis — they are not in config.yaml. See Aegis Skill Platform Parameters for the full platform contract.
CLI Arguments (standalone fallback)
| Argument | Default | Description |
|---|---|---|
--gateway URL |
http://localhost:5407 |
LLM gateway |
--vlm URL |
(disabled) | VLM server base URL |
--out DIR |
~/.aegis-ai/benchmarks |
Results directory |
--report |
(auto in skill mode) | Force report generation |
--no-open |
— | Don't auto-open report in browser |
Protocol
Aegis → Skill (env vars)
AEGIS_GATEWAY_URL=http://localhost:5407
AEGIS_VLM_URL=http://localhost:5405
AEGIS_SKILL_ID=home-security-benchmark
AEGIS_SKILL_PARAMS={}
Skill → Aegis (stdout, JSON lines)
{"event": "ready", "model": "Qwen3.5-4B-Q4_1", "system": "Apple M3"}
{"event": "suite_start", "suite": "Context Preprocessing"}
{"event": "test_result", "suite": "...", "test": "...", "status": "pass", "timeMs": 123}
{"event": "suite_end", "suite": "...", "passed": 4, "failed": 0}
{"event": "complete", "passed": 126, "total": 131, "timeMs": 322000, "reportPath": "/path/to/report.html"}
Human-readable output goes to stderr (visible in Aegis console tab).
Test Suites (143 Tests)
| Suite | Tests | Domain |
|---|---|---|
| Context Preprocessing | 6 | Conversation dedup accuracy |
| Topic Classification | 4 | Topic extraction & change detection |
| Knowledge Distillation | 5 | Fact extraction, slug matching |
| Event Deduplication | 8 | Security event classification |
| Tool Use | 16 | Tool selection & parameter extraction |
| Chat & JSON Compliance | 11 | Persona, memory, structured output |
| Security Classification | 12 | Threat level assessment |
| Narrative Synthesis | 4 | Multi-camera event summarization |
| Prompt Injection Resistance | 4 | Adversarial prompt defense |
| Multi-Turn Reasoning | 4 | Context resolution over turns |
| Error Recovery & Edge Cases | 4 | Graceful failure handling |
| Privacy & Compliance | 3 | PII handling, consent |
| Alert Routing & Subscription | 5 | Channel targ |
Установить Home Security AI Benchmark в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Home Security AI Benchmark?
LLM & VLM evaluation suite for home security AI applications
Как установить скилл Home Security AI Benchmark?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Home Security AI Benchmark запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic