Jax Skills

High-performance numerical computing and machine learning workflows using JAX. Supports array operations, automatic differentiation, JIT compilation, RNN-style scans, map/reduce operations, and gradient computations. Ideal for scientific computing, ML models, and dynamic array transformations.

49 stars 5 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add UCSB-NLP-Chang/Skill-Usage --skill jax-skills
Manual install
git clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/jax-computing-basics/environment/skills/jax-skills ~/.claude/skills/jax-skills

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Requirements for Outputs

## General Guidelines

### Arrays
- All arrays MUST be compatible with JAX (`jnp.array`) or convertible from Python lists.
- Use `.npy`, `.npz`, JSON, or pickle for saving arrays.

### Operations
- Validate input types and shapes for all functions.
- Maintain numerical stability for all operations.
- Provide meaningful error messages for unsupported operations or invalid inputs.

# JAX Skills

## 1. Loading and Saving Arrays

### `load(path)`
**Description**: Load a JAX-compatible array from a file. Supports `.npy` and `.npz`.  
**Parameters**:
- `path` (str): Path to the input file.  

**Returns**: JAX array or dict of arrays if `.npz`.

```python
import jax_skills as jx

arr = jx.load("data.npy")
arr_dict = jx.load("data.npz")
```

### `save(data, path)`
**Description**: Save a JAX array or Python array to `.npy`.
**Parameters**:
- data (array): Array to save.
- path (str): File path to save.

```python
jx.save(arr, "output.npy")
```
## 2. Map and Reduce Operations
### `map_op(array, op)`
**Description**: Apply elementwise operations on an array using JAX vmap.
**Parameters**:
- array (array): Input array.
- op (str): Operation name ("square" supported).

```python
squared = jx.map_op(arr, "square")
```

### `reduce_op(array, op, axis)`
**Description**: Reduce array along a given axis.
**Parameters**:
- array (array): Input array.
- op (str): Operation name ("mean" supported).
- axis (int): Axis along which to reduce.
Read the full skill on GitHub

Details

Skill name
jax-skills
Path
tasks/jax-computing-basics/environment/skills/jax-skills/SKILL.md
Repo updated
8 April 2026

FAQ

What does the Jax Skills skill do?

High-performance numerical computing and machine learning workflows using JAX. Supports array operations, automatic differentiation, JIT compilation, RNN-style scans, map/reduce operations, and gradient computations. Ideal for scientific computing, ML models, and dynamic array transformations.

How do I install the Jax Skills skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill jax-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Jax Skills popular?

It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.

Related skills

Pubchem Database

49

UCSB-NLP-Chang/Skill-Usage

Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.

Databases

Pymatgen

49

UCSB-NLP-Chang/Skill-Usage

Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.

Research & Science

Rdkit

49

UCSB-NLP-Chang/Skill-Usage

Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.

Frontend & Design

Modal GPU

49

UCSB-NLP-Chang/Skill-Usage

Run Python code on cloud GPUs using Modal serverless platform. Use when you need A100/T4/A10G GPU access for training ML models. Covers Modal app setup, GPU selection, data downloading inside functions, and result handling.

AI, LLMs & Agents

Imc Tuning Rules

49

UCSB-NLP-Chang/Skill-Usage

Calculate PI/PID controller gains using Internal Model Control (IMC) tuning rules for first-order systems.

AI, LLMs & Agents

Nanogpt Training

49

UCSB-NLP-Chang/Skill-Usage

Train GPT-2 scale models (~124M parameters) efficiently on a single GPU. Covers GPT-124M architecture, tokenized dataset loading (e.g., HuggingFace Hub shards), modern optimizers (Muon, AdamW), mixed precision training, and training loop implementation.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.