Apply scalar Stan-style constrained and unconstrained transforms with support checks and log-Jacobian values for bounded real parameters.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add VectorSpaceLab/AREX-Skill --skill parameter_transform_adapter --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Parameter Transform Adapter?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-parameter-transform-adapter)More formats (shields.io, HTML) on the badges page.
---
name: parameter_transform_adapter
description: Apply scalar Stan-style constrained and unconstrained transforms with support checks and log-Jacobian values for bounded real parameters.
---
# Parameter Transform Adapter
Use this skill when a Stan parameter contract must be converted between constrained model coordinates and unconstrained inference coordinates. Do not use it to evaluate likelihoods or gradients.
## Inputs
- Parameter contract containing `name`, `lower`, and `upper`.
- Numeric value in constrained or unconstrained coordinates.
## Outputs
- JSON-compatible result with mapped value, validity, diagnostic message, and log absolute Jacobian.
## Workflow
1. Load or define the scalar parameter contract.
2. Use `scripts/parameter_transforms.py` for `constrain`, `unconstrain`, and `roundtrip` operations.
3. Reject constrained values outside support instead of silently clipping.
4. Pass only valid transformed values to score-model evaluators.
## Validation
Run `python tests/test_parameter_transforms.py` from this skill directory.
## Limitations
This skill supports univariate finite-interval real parameters, which is sufficient for the Bernoulli recovery proxy. Extend it before applying to vectors, simplexes, ordered vectors, or covariance matrices.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!