Agent skill

openpiv

Particle Image Velocimetry (PIV) analysis with OpenPIV. Use when extracting velocity fields from PIV image pairs, analyzing fluid dynamics or flow visualization experiments, cross-correlating interrogation windows, validating and replacing spurious PIV vectors, or computing vorticity, strain rate, and turbulence statistics from measured velocity fields.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill openpiv --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 17 KB
Bundled scripts: yes
Version: 1.1
Allowed tools: ReadWriteEditBash
Requires: Requires Python 3.10+ with openpiv installed (uv pip install openpiv). numpy, scipy, scikit-image, and matplotlib…
Path: skills/openpiv/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenPIV ## Overview OpenPIV (Open Particle Image Velocimetry) analyzes fluid flow from PIV image pairs. It covers preprocessing, cross-correlation, vector validation, outlier replacement, smoothing, and scaling to physical units. Everything below is verified against **openpiv 0.25.4**. The API moves between releases — check `inspect.signature()` before trusting a snippet against a different version. ## When to use Use this skill when working with experimental PIV or flow-visualization image pairs: measuring 2D velocity fields, tuning interrogation-window parameters, validating vectors, or deriving vorticity, strain rate, and turbulence statistics. For *simulating* flow rather than measuring it, use a CFD skill instead. ## Quick Start Install OpenPIV: ```bash uv pip install openpiv # Pin it when the analysis needs to be reproducible -- this is the version every # snippet below was checked against. uv pip install "openpiv==0.25.4" ``` Run PIV analysis on an image pair: ```python import numpy as np from openpiv import tools, pyprocess, validation, filters, scaling frame_a = tools.imread("image_a.bmp") frame_b = tools.imread("image_b.bmp") # Cross-correlate. Returns (u, v, s2n) whene

What's inside
Steps it walks through
  1. Overview
  2. When to use
  3. Quick Start
  4. Core Concepts
  5. PIV Fundamentals
  6. Interrogation Window Parameters
  7. Signal-to-Noise Ratio
  8. Common Operations
  9. Dynamic Masking
  10. Multi-Pass Processing
  11. Validation and Post-Processing
  12. Validation Methods
  13. Outlier Replacement
  14. Smoothing
Ships with 5 files
  • references/advanced_algorithms.md
  • scripts/__init__.py
  • scripts/analyze.py
  • scripts/run_example.py
  • scripts/runner.py
Commands it runs
uv pip install openpiv
Pin it when the analysis needs to be reproducible -- this is the version every
snippet below was checked against.
uv pip install "openpiv==0.25.4"
python skills/openpiv/scripts/runner.py \
Basic run
Tuned parameters with dynamic masking
python skills/openpiv/scripts/run_example.py --output_dir /tmp/openpiv-demo
More from scientific-agent-skills
All skills →
About this skill
What does the openpiv skill do?

Particle Image Velocimetry (PIV) analysis with OpenPIV. Use when extracting velocity fields from PIV image pairs, analyzing fluid dynamics or flow visualization experiments, cross-correlating interrogation windows, validating and replacing spurious PIV vectors, or computing vorticity, strain rate, and turbulence statistics from measured velocity fields.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill openpiv --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going