Skip to content
Back to skills

Phi Flow

ASecurity

"Routes PhiFlow simulation, geometry, optimization, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill phi-flow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Phi Flow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Phi Flow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-phi-flow/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-phi-flow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: phi-flow
description: "Routes PhiFlow simulation, geometry, optimization, and
  visualization workflows through focused sub-skills."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# PhiFlow

PhiFlow is a differentiable simulation toolkit for physics, geometry, fields,
scene I/O, visualization, and gradient-based optimization.

Use this root skill as a router, not as a manual. Start with the sub-skill that
matches the user's task, and only read deeper references when the task needs the
verified API details, safe scripts, or troubleshooting notes.

## Start here

- If the user needs to install, import, or inspect backends, use
  [`sub-skills/installation-and-backends/SKILL.md`](sub-skills/installation-and-backends/SKILL.md).
- If the task is about grids, fields, geometries, meshes, scenes, or data I/O,
  use [`sub-skills/core-data-and-geometry/SKILL.md`](sub-skills/core-data-and-geometry/SKILL.md).
- If the task is about advection, diffusion, incompressible flow, waves, FLIP,
  SPH, or other direct PDE steps, use
  [`sub-skills/physics-and-simulation/SKILL.md`](sub-skills/physics-and-simulation/SKILL.md).
- If the task is about gradients, Jacobians, solves, inverse problems, or
  optimization through simulation, use
  [`sub-skills/optimization-and-learning/SKILL.md`](sub-skills/optimization-and-learning/SKILL.md).
- If the task is about plotting, interactive display, controls, or scalar logs,
  use [`sub-skills/visualization-and-ui/SKILL.md`](sub-skills/visualization-and-ui/SKILL.md).

## Install and smoke check

For a local PhiFlow checkout, install the package in that environment with:

```bash
python -m pip install -e .
```

Then run the bundled smoke helper from this skill tree:

```bash
python scripts/check_install.py --show-backends
```

If you only need the published package, `pip install phiflow` is the distribution
name and `phi` is the import name.

`phi.verify()` is the canonical package smoke check. It confirms the minimal
runtime setup and reports the Dash/Plotly status used by the web interface.

## What this root skill covers

PhiFlow's public surface is split across a few distinct workflows:

- `phi.field` and `phi.geom` for grid, field, geometry, mesh, SDF, and scene
  handling.
- `phi.physics` for advection, diffusion, incompressible projection, waves,
  FLIP/PIC coupling, and SPH helpers.
- `phi.math` and the backend integrations for gradients, Jacobians, solves,
  and JIT-compiled differentiable workflows.
- `phi.vis` for plotting, display, scalar log loading, and runtime controls.

## Common entry points

- `from phi.flow import *` for the common simulation/geometry names.
- `from phi.physics import advect, diffuse, fluid, wave, sph` for direct PDE
  work.
- `import phi.vis as vis` for plotting and UI workflows.
- `from phi.field import Scene` for scene-backed data round-trips.

## Read this before staleness checks

If the current checkout looks different from the version this skill was built
from, read [`references/repo-provenance.md`](references/repo-provenance.md)
before reusing the skill or refreshing it.

## Runtime files

- [`references/repo-provenance.md`](references/repo-provenance.md) - source
  snapshot and refresh baseline.
- [`references/repo-routing-metadata.json`](references/repo-routing-metadata.json)
  - router metadata for the live skill registry.
- [`references/troubleshooting.md`](references/troubleshooting.md) - cross-cutting
  install, backend, and stale-doc failures.
- [`scripts/check_install.py`](scripts/check_install.py) - safe import and
  runtime smoke check.

Files in this skill

  • SKILL.md3.5 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json322 B
  • references/troubleshooting.md2.3 KB
  • scripts/check_install.py1.7 KB
  • sub-skills/core-data-and-geometry/SKILL.md3.6 KB
  • sub-skills/core-data-and-geometry/references/troubleshooting.md2.2 KB
  • sub-skills/core-data-and-geometry/references/workflows.md3.5 KB
  • sub-skills/core-data-and-geometry/scripts/scene_roundtrip.py2.1 KB
  • sub-skills/installation-and-backends/SKILL.md2.5 KB
  • sub-skills/installation-and-backends/references/install-and-backends.md2.2 KB
  • sub-skills/installation-and-backends/references/troubleshooting.md1.8 KB
  • sub-skills/optimization-and-learning/SKILL.md3.4 KB
  • sub-skills/optimization-and-learning/references/troubleshooting.md2.4 KB
  • sub-skills/optimization-and-learning/references/workflows.md2.6 KB
  • sub-skills/optimization-and-learning/scripts/throw_gradient_descent.py2.3 KB
  • sub-skills/physics-and-simulation/SKILL.md5.4 KB
  • sub-skills/physics-and-simulation/references/troubleshooting.md7.8 KB
  • sub-skills/physics-and-simulation/references/workflows.md12.8 KB
  • sub-skills/physics-and-simulation/scripts/wave_smoke.py3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.