rstan-to-pystan

Official

Migrate RStan code to PyStan 3.x APIs smoothly.

Authorletta-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance for translating RStan (R interface to Stan) code to PyStan (Python interface), focusing on API differences, hyperparameter mapping, and output handling between the two ecosystems.

Core Features & Use Cases

  • Identify Stan model code compatibility across R and Python wrappers
  • Map hyperparameters (iter, warmup, chains, seed) to PyStan 3.x equivalents
  • Convert data preparation and sampling calls to PyStan patterns
  • Validate produced samples and output formats

Quick Start

Convert a simple RStan model call to PyStan 3.x code, ensuring the Stan model block remains unchanged.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rstan-to-pystan
Download link: https://github.com/letta-ai/skills/archive/main.zip#rstan-to-pystan

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.