vortex-funnel-gen: Skill for Claude Code

.claude/skills/vortex-funnel-gen/SKILL.md

vortex-funnel-gen is a skill for Claude Code from hooyao/vortex-funnel-gen. It costs 131 tokens per session (2,275 once invoked), scanned C, original, MIT.

An automated design workflow for a 3D-printable funnel with internal spiral vanes that is intended to reduce glugging while pouring liquid.

In plain words
What is it for?
Use it to generate funnel geometry, run OpenFOAM multiphase-flow simulations, optimize the design, or create a baseline printable model.
Why use it?
It tests different funnel designs with fluid-flow simulations and a search process, so design choices do not have to be made by trial and error alone.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is hooyao/vortex-funnel-gen's own configuration. It tells Claude Code how to work on vortex-funnel-gen itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vortex-funnel-gen configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python geometry/funnel_generator.py --output output.

Reuse

Borrowing it

Nothing to install: this file belongs to hooyao/vortex-funnel-gen. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hooyao/vortex-funnel-gen/main/.claude/skills/vortex-funnel-gen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hooyao/vortex-funnel-gen

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vortex-funnel-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen/github.svg)](https://agentmods.dev/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen)
Your own site
<a href="https://agentmods.dev/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen"><img src="https://agentmods.dev/badge/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vortex-funnel-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen"><img src="https://agentmods.dev/badge/skills/hooyao/vortex-funnel-gen/vortex-funnel-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.02275
Opus 5 $0.00066 $0.01137
Sonnet 5 $0.00026 $0.00455
Haiku 4.5 $0.00013 $0.00228

Measured 12d ago against content hash 5725ff89b332, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

vortex-funnel-gen scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Docker file ownership**: containers create root-owned files. Clean them via the container: `docker run --rm -v path:/d image bash -c "rm -rf /d/*"`.
.claude/skills/vortex-funnel-gen/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vortex Funnel Generator

Automated agentic optimization of a 3D-printable fluid funnel (automotive windshield washer fluid). Internal helical vanes induce annular vortex flow, creating a stable central air core that eliminates glugging during pouring.

Important: what ships vs what's generated

Only source code and OpenFOAM templates are committed. Generated artefacts (STL, optimisation history, per-run params JSON) are gitignored — they're all reproduced from the committed code. If the user asks to "reproduce the best design", you have two choices:

  • Run the full optimisation (below). Takes 5–10 hours on 24 cores.
  • Generate baseline geometry only using FunnelParams defaults from geometry/funnel_generator.py (no CFD). The defaults are the 150 mm × 120 mm configuration; this produces a valid printable funnel but with starter vane parameters, not the optimised ones.

Never assume output/best_design/params.json or root-level params.json exist after a fresh clone — they don't.

Pipeline Architecture

optimization/loop.py  (Bayesian optimization controller)
    +-> geometry/funnel_generator.py   CadQuery: params -> STEP + STL
    +-> cfd/runner.py                  Docker OpenFOAM: STL -> mesh -> solve -> fitness
    |       +-- cfd/base_case/         OpenFOAM template (0/, constant/, system/)
    +-> output/optimisation/           Per-iteration results + history.json

Prerequisites

  1. Python 3.10+: pip install -r requirements.txt
  2. Docker with working Linux integration: docker pull opencfd/openfoam-default:2406 (~2 GB, one-time)
  3. 16+ CPU cores recommended; adjust --nprocs downward if fewer.

Reproduce from a fresh clone

Step 1 — Generate baseline geometry (no CFD, seconds)

No --config flag is needed; the FunnelParams dataclass defaults to the 150 mm configuration.

python geometry/funnel_generator.py --output output

Produces output/funnel.stl, output/funnel.step, output/params.json with:

  • Bowl diameter 150 mm, stem OD 26 mm (22 mm bore), height 120 mm, wall 2 mm
  • Starter vane params (4 fins, sweep 60°, 0° blade, 0.35 depth) — not yet optimised

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 154 lines · 131 tokens per session scan C 5725ff89b332

Subscribe to this mod's changes

vortex-funnel-gen is a skill published in the GitHub repository hooyao/vortex-funnel-gen (5 stars, last pushed 4mo ago), licensed MIT. It adds 131 tokens to every session and 2,275 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

i4h-workflow-create

Create a minimal blank Workflow scaffold with a Scene containing ground and light plus an idle run mode. Use for fast new Workflow scaffolding.

NVIDIA/skills · 34 tokens

i4h-catheter-navigation-setup

Verify host/GPU requirements and PYTHONPATH for the catheter navigation workflow. Use when asked to set up, install, or bootstrap catheternavigation, or when hitting import/GPU/slangpy errors.

NVIDIA/skills · 49 tokens

i4h-catheter-navigation

Overview of workflows/catheternavigation/ (fluorosim DRR, XPBD physics, vasculature digital twin). Use when the user asks what the catheter navigation workflow is, what's supported, or where to start.

NVIDIA/skills · 55 tokens

i4h-catheter-navigation-viewport

Launch the interactive Slang fluoroscopy viewport with XPBD catheter physics. Use when asked to open the viewport, teleop a catheter, or demo fluoro navigation.

NVIDIA/skills · 42 tokens

i4h-workflow-dataset-replay

Replay a workflow HDF5 episode through its original Scene. Use for visual trajectory and recording verification; do not use for policy evaluation or LeRobot data.

NVIDIA/skills · 41 tokens

matlab-robotics-autonomy

MATLAB R2026a robotics and autonomy workflow for ROS Toolbox, Robotics System Toolbox, Navigation Toolbox, UAV Toolbox, sensor fusion, trajectory planning, simulation, and reproducible robot experiments. Use for ROS/ROS 2 bags, robot models, path planning, SLAM, state estimation, and autonomy prototyping.

wzyn20051216/matlab-agent-skills · 72 tokens