python-jax
Expert guidance for JAX (Just After eXecution) - high-performance numerical computing with automatic differentiation, JIT compilation, vectorization, and…
Skill by woernfl
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/woernfl-python-jax
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/python-jax
What's inside
- Skill name
python-jax- Description
- Expert guidance for JAX (Just After eXecution) - high-performance numerical computing with automatic differentiation, JIT compilation, vectorization, and GPU/TPU acceleration; includes transformations (grad, jit, vmap, pmap), sharp bits, gotchas, and differences from NumPy
- License
- MIT
- Instructions
- 1,043 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
- body: 1043 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# JAX - High-Performance Numerical Computing
## Overview
**JAX** is a Python library for accelerator-oriented array computation and program transformation, designed for high-performance numerical computing and large-scale machine learning. It combines a familiar NumPy-style API with powerful function transformations for automatic differentiation, compilation, vectorization, and parallelization.
**Core value:** Write NumPy-like Python code and automatically get gradients, GPU/TPU acceleration, vectorization, and parallelization through composable function transformations—without changing your mathematical notation.
## When to Use JAX
**Use JAX when:**
- Need automatic differentiation for optimization or machine learning
- Want GPU/TPU acceleration with minimal code changes
- Require high-performance numerical computing
- Building custom gradient-based algorithms
- Need to vectorize or parallelize functions automatically
- Working on research requiring flexible differentiation
- Want functional programming approach to numerical code
**Don't use when:**
- Simple NumPy operations without performance needs (overhead not justified)
- Heavy reliance on in-place mutations (JAX arrays are immutable)
- Imperative, stateful code with side effects
- Need control flow depending on runtime data values (limited support)
- Working with libraries that require NumPy arrays (compatibility issues)
## Core Transformations
JAX provides four fundamental, composable transformations:
### 1. `jax.grad` - Automatic Differentiation
Compute gradients automatically using reverse-mode autodiff.
```python
import jax
import jax.numpy as jnp
def loss(x):
return jnp.sum(x**2)
# Get gradient function
grad_loss = jax.grad(loss)
x = jnp.array([1.0, 2.0, 3.0])
gradient = grad_loss(x)
print(gradient) # [2. 4. 6.]
```
**Key features:**
- Returns a function that computes gradients
- Composes for higher-order derivatives
- Works with complex nested structures (pytrees)
### 2. `jax.jit` - Just-In-Time Compilation
Compile functions to XLA for dramatic speedups.
```python
import jax
@jax.jit
def fast_function(x):
return jnp.sum(x**2 + 3*x + 1)
# First call: compilation + execution (slower)
result = fast_function(jnp.array([1.0, 2.0, 3.0]))
# Subsequent calls: cached compiled version (much faster)
result = fast_function(jnp.array([4.0, 5.0, 6.0]))
```
**Performance:**
- 10-100x speedup typical for numerical functions
- First call slower (compilation overhead)
- Cached for subsequent calls with same shapes/dtypes
### 3. `jax.vmap` - Automatic Vectorization
Vectorize functions across batch dimensions automatically.
```python
import jax
def process_single(x):
"""Process single example"""
return jnp.sum(x**2)
# Vectorize to process batch
process_batch = jax.vmap(process_single)
# Works on batch automatically
batch = jnp.array([[1, 2], [3, 4], [5, 6]])
results = process_batch(batch)
print(results) # [5 25 61]
```
**Benefits:**
- Eliminates manual loop writing
- Often faster than explicit loops
- Cleaner, more declarative code
### 4. `jax.pmap` - Parallel Map
Parallelize across multiple devices (GPUs/TPUs).
```python
import jax
@jax.pmap
def parallel_fn(x):
return x**2
# Runs on all available devicesFrom woernfl/ai-lab, MIT.
More from woernfl/ai-lab
- 0.566score
k8s-security-policies
woernfl
Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security.
SkillAFreshness: AClaude Code +9 - 0.560score
k8s-manifest-generator
woernfl
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards.
SkillAFreshness: AClaude Code +9 - 0.557score
python-ase
woernfl
Expert assistance with the Atomic Simulation Environment (ASE) Python library for atomistic simulations, including structure building, calculator setup…
SkillAFreshness: AClaude Code +9 - 0.551score
python-best-practices
woernfl
Expert guidance for writing professional Python code following industry best practices including PEP 8 compliance, testing, type hints, error handling, and…
SkillAFreshness: AClaude Code +9 - 0.548score
python-multiobjective-optimization
woernfl
Expert guidance for multiobjective optimization in Python - Pareto optimality, evolutionary algorithms (NSGA-II, NSGA-III, MOEA/D), scalarization methods…
SkillAFreshness: AClaude Code +9 - 0.524score
github-issue-enhancer
woernfl
Enhance GitHub issues with additional information, context, and structure to prepare them for autonomous agent processing.
SkillBFreshness: BClaude Code +9 - 0.474score
github-pr
woernfl
Commit staged or local changes, push the branch, then open a Pull Request on GitHub using the gh CLI.
SkillCFreshness: CClaude Code +9 - 0.474score
commit-push
woernfl
Stage current git changes, generate a Conventional Commit message, commit, and push safely to the remote.
SkillCFreshness: CClaude Code +9 - 0.474score
naming-convention
woernfl
Help the user choose, validate, or rename infrastructure resource names using a well known naming convention.
SkillCFreshness: CClaude Code +9 - 0.471score
kubernetes-architect
woernfl
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration.
SkillCFreshness: CClaude Code +9 - 0.471score
kubernetes-deployment
woernfl
Kubernetes deployment workflow for container orchestration, Helm charts, service mesh, and production-ready K8s configurations.
SkillCFreshness: CClaude Code +9 - 0.445score
clarify
woernfl
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 21, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/woernfl/ai-lab
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from woernfl
- 0.566score
k8s-security-policies
woernfl
Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security.
SkillAFreshness: AClaude Code +9 - 0.560score
k8s-manifest-generator
woernfl
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards.
SkillAFreshness: AClaude Code +9 - 0.557score
python-ase
woernfl
Expert assistance with the Atomic Simulation Environment (ASE) Python library for atomistic simulations, including structure building, calculator setup…
SkillAFreshness: AClaude Code +9 - 0.551score
python-best-practices
woernfl
Expert guidance for writing professional Python code following industry best practices including PEP 8 compliance, testing, type hints, error handling, and…
SkillAFreshness: AClaude Code +9 - 0.548score
python-multiobjective-optimization
woernfl
Expert guidance for multiobjective optimization in Python - Pareto optimality, evolutionary algorithms (NSGA-II, NSGA-III, MOEA/D), scalarization methods…
SkillAFreshness: AClaude Code +9 - 0.524score
github-issue-enhancer
woernfl
Enhance GitHub issues with additional information, context, and structure to prepare them for autonomous agent processing.
SkillBFreshness: BClaude Code +9
Cite this page
python-jax skill. Agent Mart. https://agentmart.dev/skills/woernfl-python-jax (last updated 2026-10-24)