opencv
Use OpenCV for Python image processing, contour analysis, thresholding, filtering, geometric transforms, and basic video I/O.
Skill by pipixia-labs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pipixia-labs-opencv
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/opencv
What's inside
- Skill name
opencv- Description
- Use OpenCV for Python image processing, contour analysis, thresholding, filtering, geometric transforms, and basic video I/O. Trigger when the user asks to process images or video with cv2/OpenCV, or when a task clearly fits classical computer vision instead of a remote VLM.
- License
- MIT
- Instructions
- 94 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- image-basics.md · references/
- install.md · references/
- threshold-and-contours.md · references/
- video-io.md · references/
SKILL.md (first lines)
# OpenCV
Use this skill when the user wants local computer-vision work with OpenCV, especially:
- image filtering, thresholding, morphology, contours, or edge detection
- resize, crop, rotate, perspective transform, or format conversion
- camera or video frame read/write with `cv2.VideoCapture` or `cv2.VideoWriter`
- classical vision pipelines that should run locally in Python
Prefer this skill for deterministic image processing. If the task is mainly semantic understanding, captioning, or open-ended visual reasoning, consider an image-understanding expert instead of forcing OpenCV.
## Workflow
1. Confirm the real task type first: image enhancement, segmentation, contour extraction, geometry transform, or video I/O.
2. Start with the smallest reproducible pipeline and save intermediate outputs when debugging.
3. Use Python and import OpenCV as `cv2 as cv` unless the surrounding code clearly uses a different style.
4. For image-processing tasks, prefer a simple pipeline such as read -> colorspace convert -> threshold or filter -> morphology or contours -> save result.
5. For video tasks, check `cap.isOpened()`, check `ret` on every frame, and always release capture and writer objects.
6. If parameter choices are unclear, expose them as function arguments instead of hard-coding many magic numbers.
7. When the exact API behavior matters, read the relevant skill reference file before coding.
## Reference Map
Read these skill-local references on demand instead of expanding the skill with long examples:
- Installation and package choice:
`references/install.md`
- Image-processing basics:
`references/image-basics.md`
- Thresholding and contours:
`references/threshold-and-contours.md`
- Video capture and writing:
`references/video-io.md`
If a request goes beyond these references, keep the implementation conservative and prefer simple, well-known OpenCV APIs over speculative or heavyweight patterns.
## Guardrails
- OpenCV images are usually BGR, not RGB. Convert explicitly when mixing with PIL or matplotlib.
- `cv.threshold()` and many related operations assume grayscale input; do not skip the colorspace conversion step.
- Contour detection works best on binary images, and the foreground should usually be white on black.
- For server or CI environments, prefer `opencv-python-headless` or `opencv-contrib-python-headless`.
- Install exactly one OpenCV PyPI variant per environment unless there is a very specific reason not to.
- Do not drop in heavyweight DNN examples unless the user actually needs them and the model files are available locally.
- When debugging a broken pipeline, save intermediate files rather than guessing which stage failed.
## Minimal Patterns
### Read and threshold an image
```python
import cv2 as cv
image = cv.imread(input_path, cv.IMREAD_COLOR)
if image is None:
raise FileNotFoundError(input_path)
gray = cv.cvtColor(image, cv.COLOR_BGR2GRAY)
_, binary = cv.threshold(gray, 0, 255, cv.THRESH_BINARY + cv.THRESH_OTSU)
cv.imwrite(output_path, binary)
```
### Find outer contours
```python
import cv2 as cv
image = cv.imread(input_path, cv.IMREAD_GRAYSCALE)
if image is None:
raise FileNotFoundError(input_path)
_, binary = cv.threshold(image, 0, 255, cv.THRESH_BINARY + cv.THRESH_OTSU)
contours, _ = cv.findContours(binary, cv.RETR_EXTERNAL, cv.CHAIN_APPROX_SIMPLE)
```
### Safe video loop
```python
import cv2 as cv
cap = cv.VideoCapture(input_path)
if not cap.isOpened():
raise RuntimeError(f"Cannot open video: {input_path}")
while True:
ret, frame = cap.read()
if not ret:
break
# process frame here
cap.release()
```From pipixia-labs/creative-claw, MIT.
More from pipixia-labs/creative-claw
- 0.569score
ui-ux-pro-max
pipixia-labs
UI/UX design intelligence.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
planning-with-files
pipixia-labs
Implements Manus-style file-based planning to organize and track progress on complex tasks.
SkillCFreshness: C★ 37Claude Code +9 - 0.566score
imap-smtp-email
pipixia-labs
Read and send email via IMAP/SMTP.
SkillCFreshness: C★ 37Claude Code +9 - 0.566score
guizang-ppt-skill
pipixia-labs
生成"电子杂志 × 电子墨水"风格的横向翻页网页 PPT(单 HTML 文件),含 WebGL 流体背景、衬线标题 + 非衬线正文、章节幕封、数据大字报、图片网格等模板。当用户需要制作分享 / 演讲 / 发布会风格的网页 PPT,或提到"杂志风 PPT"、"horizontal swipe…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
expert-usage-guide
pipixia-labs
Use when the task depends on choosing the right Creative Claw expert, composing expert calls, or explaining the usage strategy for image, video, search…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
asset-to-script
pipixia-labs
Use when the user already has images or videos and wants a script, scene plan, or edit-ready narrative built around those existing assets instead of…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
creative-brief-to-storyboard
pipixia-labs
Use when the user gives a topic, campaign idea, product angle, or raw creative brief and needs it turned into a structured storyboard with hooks, scene beats…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
creative-workflow-router
pipixia-labs
Use when a creative request could map to several different skills or experts and you need to choose the smallest correct workflow, required inputs, and next…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
narration-to-visual-prompts
pipixia-labs
Use when the user already has script, narration, or storyboard text and needs aligned image or video prompts that are generation-ready and mapped one-to-one…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
style-brief-to-prompt
pipixia-labs
Use when the user describes a look, atmosphere, or aesthetic direction in natural language and needs it converted into a clean English prompt fragment or…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
pptx
pipixia-labs
Use this private PPT product skill when a .pptx/.potx PowerPoint file is involved as input, output, or user-uploaded template.
SkillCFreshness: C★ 37Claude Code +9 - 0.561score
ppt-complete-workflow
pipixia-labs
Complete PPT production workflow for PptProductManager, covering requirement normalization, story planning, visual direction, route selection, asset planning…
SkillCFreshness: C★ 37Claude Code +9
Signals
- Stars
- 37
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Apr 10, 2026 (6 months ago)
- Last release
- Jun 2, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pipixia-labs/creative-claw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pipixia-labs
- 0.569score
ui-ux-pro-max
pipixia-labs
UI/UX design intelligence.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
planning-with-files
pipixia-labs
Implements Manus-style file-based planning to organize and track progress on complex tasks.
SkillCFreshness: C★ 37Claude Code +9 - 0.566score
imap-smtp-email
pipixia-labs
Read and send email via IMAP/SMTP.
SkillCFreshness: C★ 37Claude Code +9 - 0.566score
guizang-ppt-skill
pipixia-labs
生成"电子杂志 × 电子墨水"风格的横向翻页网页 PPT(单 HTML 文件),含 WebGL 流体背景、衬线标题 + 非衬线正文、章节幕封、数据大字报、图片网格等模板。当用户需要制作分享 / 演讲 / 发布会风格的网页 PPT,或提到"杂志风 PPT"、"horizontal swipe…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
asset-to-script
pipixia-labs
Use when the user already has images or videos and wants a script, scene plan, or edit-ready narrative built around those existing assets instead of…
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
expert-usage-guide
pipixia-labs
Use when the task depends on choosing the right Creative Claw expert, composing expert calls, or explaining the usage strategy for image, video, search…
SkillCFreshness: C★ 37Claude Code +9
Cite this page
opencv skill. Agent Mart. https://agentmart.dev/skills/pipixia-labs-opencv (last updated 2026-10-24)