Evo Jax Computing Basics logo

Evo Jax Computing Basics

Organization
OpenLAIR
evo-jax-computing-basics

Complete utility for JAX numerical computation tasks - handles I/O (problem.json, .npy/.npz), and implements all five JAX computations (row-wise mean, element-wise square, logistic loss gradient, RNN scan, JIT MLP) with robust error handling and domain-aware edge case coverage.

Overview

PublisherOpenLAIR
RepositoryOpenSkill
Skill nameevo-jax-computing-basics
Stars
97
Forks
4
Bundled files
3
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by OpenLAIR on GitHub. Read the source before you install it.

Installation

Install the Evo Jax Computing Basics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OpenLAIR/OpenSkill/tree/main/tasks-evolved/jax-computing-basics/environment/skills/evo-jax-computing-basics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill.git /tmp/OpenSkill
mkdir -p .claude/skills
cp -r /tmp/OpenSkill/tasks-evolved/jax-computing-basics/environment/skills/evo-jax-computing-basics .claude/skills/evo-jax-computing-basics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Evo Jax Computing Basics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Evo Jax Computing Basics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Evo Jax Computing Basics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

evo-jax-computing-basics

End-to-end skill for solving JAX computation tasks: parses problem.json, loads input data, dispatches to the correct JAX computation, and saves results as .npy files.

Quick Start

bash
# Run directly from the command line:
python /app/environment/skills/evo-jax-computing-basics/scripts/solve_tasks.py /app/problem.json

Or from Python:

python
import sys
sys.path.insert(0, '/app/environment/skills/evo-jax-computing-basics/scripts')
from solve_tasks import solve_all_tasks

solve_all_tasks('/app/problem.json')

Key Functions

I/O

  • load_problem_json(path) - Load and parse problem.json, returns list of task dicts
  • load_input_data(file_path) - Load .npy or .npz file, convert arrays to JAX arrays
  • save_jax_array(path, jax_array) - Safely save JAX array to .npy file using np.asarray()

Compute

  • compute_basic_reduce(x) - Row-wise mean of 2D array using jnp.mean(x, axis=1)
  • compute_map_square(x) - Element-wise square using jnp.square(x)
  • compute_grad_logistic(data) - Gradient of logistic loss w.r.t. weights using jax.grad
  • compute_scan_rnn(data) - RNN forward pass using jax.lax.scan, returns stacked hidden states (T, H)
  • compute_jit_mlp(data) - JIT-compiled 2-layer MLP forward pass with ReLU activation
  • dispatch_task(task_id, data) - Dispatch to appropriate compute function by task ID (with fuzzy matching)

Orchestration

  • solve_all_tasks(problem_path) - Full pipeline: load problems, compute, save results

Computation Details

basic_reduce

  • Input: 2D array x of shape (M, N)
  • Output: 1D array of shape (M,) with mean of each row
  • Uses: jnp.mean(x, axis=1)

map_square

  • Input: array x of any shape
  • Output: array of same shape with each element squared
  • Uses: jnp.square(x) (natively vectorized, no need for vmap)

grad_logistic

  • Input: dict with x (N,D), y (N,) with labels in {-1,1}, w (D,)
  • Loss: L(w) = mean(logaddexp(0, -y * (X @ w)))
  • Output: gradient of loss w.r.t. w, shape (D,)
  • Uses: jax.grad with argnums=0, jnp.logaddexp(0, z) for numerical stability

scan_rnn

  • Input: dict with seq (T,I), init (H,), Wx (H_in, H), Wh (H, H), b (H,)
  • CRITICAL: RNN step uses weight-matrix-LEFT-multiply: h_new = tanh(Wx @ x_t + Wh @ h + b)
  • The weight matrices Wx and Wh are on the LEFT side of the matrix multiply.
  • Output: stacked hidden states of shape (T, H)
  • Uses: jax.lax.scan with f(carry, x) -> (new_carry, output) pattern
  • Critical: carry dtype must match init dtype exactly (JAX scan constraint)
  • Weight matrices are closed over (captured from outer scope), NOT passed through carry.

jit_mlp

  • Input: dict with X (B,F), W1 (F,H), b1 (H,), W2 (H,O), b2 (O,)
  • Layer 1: h = relu(X @ W1 + b1)
  • Layer 2: out = h @ W2 + b2
  • Output: array of shape (B, O)
  • Uses: jax.jit, jax.nn.relu

Important Notes

  • For .npy files: returns a single JAX array
  • For .npz files: returns a dict mapping key names to JAX arrays
  • JAX defaults to float32; enable x64 with jax.config.update("jax_enable_x64", True) if needed
  • Saving uses np.asarray() to explicitly convert JAX DeviceArray to numpy before np.save() (required for JAX 0.8.x / NumPy 2.4.x interop)
  • Never call np.save inside jax.jit - always save outside JIT boundaries
  • Task ID matching is fuzzy: looks for keywords like "reduce", "square", "grad", "rnn"/"scan", "mlp"/"jit"

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Evo Jax Computing Basics AI skill do?

Complete utility for JAX numerical computation tasks - handles I/O (problem.json, .npy/.npz), and implements all five JAX computations (row-wise mean, element-wise square, logistic loss gradient, RNN scan, JIT MLP) with robust error handling and domain-aware edge case coverage.

Why use Evo Jax Computing Basics on TypingMind?

Because you install it once and use it with any model. Evo Jax Computing Basics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Evo Jax Computing Basics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OpenLAIR/OpenSkill/tree/main/tasks-evolved/jax-computing-basics/environment/skills/evo-jax-computing-basics. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Evo Jax Computing Basics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Evo Jax Computing Basics?

As many as you like. As long as a model supports skills, you can use Evo Jax Computing Basics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Evo Jax Computing Basics AI skill free?

Yes. It is published on GitHub by OpenLAIR under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇