/hardware-id-annotation:prep-photofrom hardware-id-annotation
Use when a hardware photo is low-quality, skewed, cropped awkwardly, or has glare—prep it for cleaner component identification.
Ships in hardware-id-annotation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pre-process a hardware photo to improve clarity and alignment for visual component identification. The skill invokes a Python script to auto-rotate based on EXIF, de-skew if needed, optionally enhance contrast and white-balance, and crop to the board boundary. Output is a cleaned-up image saved with a -prepped suffix.
Data storage root:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/
identify-componentsoutput/--auto-rotate (default: true) — use EXIF orientation--deskew (default: false) — rotate to align board edges (requires opencv)--enhance-contrast (default: false) — boost visibility of faint markings--white-balance (default: false) — correct color cast--crop-board (default: false) — auto-detect and crop to board boundary (requires opencv)Invoke the prep script:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/prep.py \
--input <image> \
--output <output.png> \
--auto-rotate \
--deskew \
--enhance-contrast \
--white-balance
Inspect the output. Display the prepped image to the user and ask: "Does this look better? Any areas still unclear?" If needed, suggest running again with different flags (e.g., less contrast boost, crop enabled).
Save prepped image with -prepped suffix by default:
<input-dir>/<name>-prepped.png
or to plugin storage if specified:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/output/<board-slug>-prepped.png
Preserve original. Never overwrite the original unless explicitly confirmed by the user.
Report transformations. Console output lists which operations were applied and their parameters (e.g., "Rotated 90° CCW per EXIF, deskew 3.2°, contrast +20%").
-prepped suffixidentify-components for cleaner component detectioninstall-deps to add it.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/annotate-boardUse when you want to render an annotated overlay PNG of a circuit board with bounding boxes, labels, and a legend from a components.json list./complementary-pluginsList and install plugins that complement hardware-id-annotation: hardware-spec-assembly, procurement-tools. Use on "related plugins"./cross-check-specsUse when you have identified part numbers and want to fetch manufacturer datasheets, verify specs, and flag mismatches with the visual identification.Other plugins' skills for the same job
hardware-id-annotation@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hardware-id-annotation