Skip to content
Back to skills

Phase Portrait Generator

ASecurity

Generate phase portraits for 2D dynamical systems. Use when visualizing vector fields, nullclines, and trajectories.

  • 61 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add plurigrid/asi --skill phase-portrait-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Phase Portrait Generator?

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

Security grade badge for Phase Portrait Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-phase-portrait-generator/badge)](https://www.skillsdirectory.com/skills/plurigrid-phase-portrait-generator)

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: phase-portrait-generator
description: Generate phase portraits for 2D dynamical systems. Use when visualizing vector fields, nullclines, and trajectories.
version: 1.0.0
---


# Phase Portrait Generator

Generates phase portraits showing vector fields and trajectories in 2D state space.

## When to Use
- Visualizing 2D autonomous systems
- Plotting nullclines and equilibria
- Trajectory analysis in phase space

## GF(3) Role
PLUS (+1) Generator - creates visual outputs from differential equations.

## Quick Example

```python
import numpy as np
import matplotlib.pyplot as plt

def phase_portrait(f, xlim=(-3,3), ylim=(-3,3), density=20):
    x = np.linspace(*xlim, density)
    y = np.linspace(*ylim, density)
    X, Y = np.meshgrid(x, y)
    U, V = f(X, Y)
    plt.streamplot(X, Y, U, V, density=1.5)
    plt.xlabel('x'); plt.ylabel('y')

# Van der Pol oscillator
phase_portrait(lambda x, y: (y, -x + (1 - x**2) * y))
```

## Integration with bifurcation skills

Forms triad with:
- `bifurcation` (0): detects transitions
- `bifurcation-generator` (+1): parameter space
- `phase-portrait-generator` (+1): state space

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.