Skip to content
Back to skills

Optimization Workflows

ASecurity

"Route users who need flatten/unflatten helpers, structured

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

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill optimization-workflows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Optimization Workflows?

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

Security grade badge for Optimization Workflows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-optimization-workflows/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-optimization-workflows)

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: optimization-workflows
description: "Route users who need flatten/unflatten helpers, structured
  optimizers, fixed-point differentiation helpers, and SciPy minimize
  integration using value_and_grad."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Optimization Workflows

Use this sub-skill for optimization tasks built from nested parameter trees,
fixed-point recurrences, or SciPy minimization loops.

## Route here when the user needs

- `flatten` or `flatten_func` to turn nested dict/list/tuple parameter trees
  into flat arrays and back.
- Structured optimizers such as `sgd`, `rmsprop`, or `adam` on nested
  containers.
- `fixed_point` for differentiable iterative updates.
- `scipy.optimize.minimize` combined with `value_and_grad`.

## Route elsewhere when the question is really about

- `value_and_grad` semantics, scalar-output constraints, or Jacobian/Hessian
  selection: [differentiation-core](../differentiation-core/SKILL.md).
- General `autograd.scipy` wrapper behavior or SciPy wrapper coverage:
  [numpy-scipy-primitives](../numpy-scipy-primitives/SKILL.md).
- Custom primitive or staged VJP/JVP mechanics:
  [extend-primitives](../extend-primitives/SKILL.md).

## Bundled runtime helpers

- `scripts/structured_optimizer_smoke.py`
- `scripts/rosenbrock_minimize.py`
- `scripts/fixed_point_smoke.py`

These scripts use tiny synthetic fixtures only; they do not download data and
there is no CLI entry point to discover.

## What this sub-skill does not own

- Ordinary differentiation operators and higher-order autodiff semantics.
- Custom primitive registration or gradient-rule authoring.
- General NumPy/SciPy wrapper troubleshooting outside optimization workflows.

Files in this skill

  • SKILL.md1.7 KB
  • references/api-reference.md3.4 KB
  • references/troubleshooting.md3 KB
  • references/workflows.md3 KB
  • scripts/fixed_point_smoke.py936 B
  • scripts/rosenbrock_minimize.py679 B
  • scripts/structured_optimizer_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…