Skip to content
Back to skills

Camera Health Check

ASecurity

Check video monitoring camera quality from sampled frames and return health status before downstream event generation. Use when Codex has camera_id and frames and needs to gate or downgrade event confidence for offline, unavailable, degraded, black-screen, blurred, occluded, frozen, corrupted, or shifted camera feeds.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill camera-health-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Camera Health Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Camera Health Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-camera-health-check/badge)](https://www.skillsdirectory.com/skills/majiayu000-camera-health-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: camera-health-check
description: Check video monitoring camera quality from sampled frames and return health status before downstream event generation. Use when Codex has camera_id and frames and needs to gate or downgrade event confidence for offline, unavailable, degraded, black-screen, blurred, occluded, frozen, corrupted, or shifted camera feeds.
---

# Camera Health Check

## Execution Priority

Prioritize calling this skill's `scripts/run.py` entrypoint first. Only write custom code after the script result is unsuitable or the script cannot cover the requested task.

## Input Resolution

If `frames` are missing but the user provided a video source, do not ask the user to provide frames and do not write custom camera diagnostics. First call `frame-sampling/scripts/run.py` to generate frames, then call this skill.


## Atomic CLI

Run this skill directly with its own script. The script does not call other skill scripts and does not depend on shared `src`, `tools`, or registry modules.

```bash
python camera-health-check/scripts/run.py --frames-json <frames.json> --camera-id <camera_id> --config <config.json> --output <health.json>
```

Parameters: `--frames-json`, `--camera-id`, `--health-status`, `--config`, `--output`.

## Workflow

1. Read camera id and sampled frames.
2. Check frame availability and configured/manual health overrides.
3. Compute or accept quality signals for black screen, blur, occlusion, freeze, corruption, and view shift.
4. Return health status, health score, and issue reasons.

## Available Implementation

This skill is implemented as an atomic standalone script in its own `scripts/run.py`. The script contains the executable logic for this skill and must not import shared `src`, `tools`, or registry modules.

## Inputs

- `camera_id`
- `frames`
- Optional `health_status` override
- Optional `context.config["camera_health"][camera_id]` override

## Outputs

Returns `health_status`, `health_score`, and `issues`.

## Failure Modes

The current implementation returns success with `health_status="unavailable"` when no frames are available.

## Constraints

Do not create events or evidence. Low quality should reduce downstream confidence or trigger review.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.