Preface¶
In security and IT operations scenarios, there are a large number of cameras with distributed locations. Relying on manual visual inspection of feeds makes it difficult to cover issues such as all-black screens, overexposure, color casts, stripes, snow (noise), and blur. Writing scripts to calculate traditional image metrics is possible, but integrating APIs, managing authentication, and standardizing report formats often requires repeatedly explaining the workflow within Agent conversations. The following introduces the community Skill on SkillHub, “Image Quality Assessment Analysis Tool,” which embeds detection capabilities and historical report querying into SKILL.md, allowing coding Agents to call scripts and cloud interfaces according to conventions.
What is this¶
One-sentence positioning: An image quality assessment analysis Skill for camera captures or video frames, identifying typical screen anomalies, outputting structured reports, and supporting queries for historical cloud-based detection reports.
- Coordinates:
@user_bb47e3e3/image-quality-detection-analysis - Source: SkillHub Community (
community), Publisheruser_bb47e3e3 - Category:
it-ops-security - Current Version: v1.0.5 (Consistent with SkillHub page and installation package metadata)
- Official Entry: SkillHub Skill Page, API Resource Address
The introduction and capability description are consistent with the official version: detects quality issues such as all-black, all-white, color cast, stripes, snow (noise), and blur; suitable for security monitoring and camera self-check scenarios. The skill documentation also mentions locating problem types via brightness histograms, spectral analysis, and color distribution, and describes support for real-time video stream analysis scenarios.
Core Features¶
The following capabilities are derived from the SKILL.md and script descriptions within the skill package; details not independently verified are not expanded upon.
- Single Frame/File Analysis: Initiates quality detection on local image or video paths, or public image/video URLs (network addresses are downloaded by the API side; the Agent does not need to save them to disk first).
- Problem Types: All-black, all-white, color cast, stripe interference, snow noise, blur detection, as well as clarity scoring and quality issue classification.
- Report Output: Structured results including basic image information, overall quality score, problem types and severity, calibration suggestions, etc.; verbosity can be controlled via
--detail(basic/standard/json, defaultjson). - Historical Reports: Fetches a list of historical image quality assessment analysis reports from the cloud interface via
--list(the skill explicitly requires that local memory files must not be used as a substitute). - Formats and Limits: Supports
jpg/jpeg/png/mp4/avi/mov, single file maximum 10MB.
The SkillHub tag indicates requires_api_key=true: actual calls require configuration of open-id (and optional API key), see installation and usage below.
Installation and Activation¶
Install via SkillHub CLI¶
First, check if skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub Installation Instructions to perform a full installation or install only the CLI. When installing the skill, you must use --dir to point to the skills directory recognized by the current Agent; otherwise, it will default to installing to ./skills/ and may not be loaded.
skillhub install @user_bb47e3e3/image-quality-detection-analysis --dir <your Agent skills directory>
Common paths (subject to official installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Install via AI Conversation¶
The prompt provided on the SkillHub page is: According to https://skillhub.cn/install/skillhub.md, install @user_bb47e3e3/image-quality-detection-analysis. In clients supporting Skills like Cursor or Claude Code, simply send this sentence to the Agent to follow the same installation process.
Dependencies and Configuration¶
The skill documentation requires the following Python dependency:
requests>=2.28.0
open-id acquisition order (mandatory convention of the skill):
- The
api-keyfield inscripts/config.yamlunder the skill directory (if it exists and is not empty). - The
api-keyin${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml. - The username or phone number explicitly provided by the user in the conversation.
- If none of the above are available, the process must be paused to ask the user; fabricating an
open-idis prohibited.
Optional parameters --api-key and --api-url are used for authentication and service address; if the default API domain is not separately verified in the conversation, follow the skill’s internal scripts/config.py and references/api_doc.md.
Typical Usage¶
Before analysis, execute the module in the skill root directory; do not write temporary new scripts. The following commands are excerpted from the skill documentation examples (replace open-id with the real value; do not use placeholder example names from the documentation).
Analyze a local capture image:
cd <skill root directory>
python -m scripts.image_quality_detection_analysis --input /path/to/capture.jpg --open-id <your-open-id>
Analyze a public image URL:
python -m scripts.image_quality_detection_analysis --url https://example.com/camera.jpg --open-id <your-open-id>
Analyze a local surveillance video:
python -m scripts.image_quality_detection_analysis --input /path/to/monitor.mp4 --open-id <your-open-id>
Query historical detection report list (when intents like “view historical detection reports” or “detection report list” appear in the conversation, the skill requires this path):
python -m scripts.image_quality_detection_analysis --list --open-id <your-open-id>
Condensed output or save to disk:
python -m scripts.image_quality_detection_analysis --input capture.jpg --open-id <your-open-id> --detail basic
python -m scripts.image_quality_detection_analysis --input capture.jpg --open-id <your-open-id> --output result.json
In an Agent session, when a user uploads an image or video attachment, the skill convention is to automatically save it as a local file before entering the detection process; historical list results need to be formatted as a Markdown table based on fields returned by the interface such as reportImageUrl.
Applicable Scenarios and Notes¶
Who is it for
- Security operations, integrators: Batch camera self-checks, quick judgment of inspection screenshots.
- Developers working in environments like Cursor / Claude Code: Leave “whether the screen is broken and where it is broken” to the Agent, reducing repetitive API calling code writing.
Limitations and Notes
- Analysis results are for equipment maintenance reference only and cannot replace on-site hardware maintenance (original intent of the skill documentation).
- A valid
open-idis required to call the API; SkillHub marks it as requiring an API Key, please keep the key secure in production environments. - The skill prohibits reading local
memory/,MEMORY.md, or LanceDB memory to piece together historical reports; list data must go through the cloud interface. - Single file 10MB and format whitelist must be observed; oversized or non-standard formats should be transcoded or frame-extracted first.
- SkillHub statistics (based on fetched data): Score 100000, Downloads 982; may change over time compared to the page display, subject to SkillHub at time of installation.
Conclusion¶
Image Quality Assessment Analysis Tool encapsulates camera screen quality detection, scoring, and cloud historical report querying into a standard Skill, suitable for monitoring self-checks and operations assistance in Agent workflows. For installation and details, see SkillHub Skill Page, Resource Coordinates https://api.skillhub.cn/user_bb47e3e3/image-quality-detection-analysis.