evo-jax-computing-basics

evo-jax-computing-basics is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 73 tokens per session (1,078 once invoked), scanned A, original, Apache-2.0.

A complete set of small numerical-computing tasks written with JAX, including array operations, a logistic-loss gradient, a recurrent neural network pass, and a compiled two-layer neural network.

In plain words
What is it for?
Use it to calculate row means, square array elements, differentiate logistic loss, process sequences with an RNN, and run a just-in-time compiled MLP.
Why use it?
It provides the loading, computation, task dispatch, and result-saving steps needed to run these predefined problems instead of implementing each one separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to calculate row means, square array elements, differentiate logistic loss, process sequences with an RNN, and run a just-in-time compiled MLP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-jax-computing-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/OpenSkill --skill evo-jax-computing-basics
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-jax-computing-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-jax-computing-basics/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-jax-computing-basics)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-jax-computing-basics"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-jax-computing-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-jax-computing-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-jax-computing-basics"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-jax-computing-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01078
Opus 5 $0.00036 $0.00539
Sonnet 5 $0.00015 $0.00216
Haiku 4.5 $0.00007 $0.00108

Measured yesterday against content hash b9160676af4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

evo-jax-computing-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/compute_utils.py, scripts/io_utils.py, scripts/solve_tasks.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tasks-evolved/jax-computing-basics/environment/skills/evo-jax-computing-basics/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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

Or from 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

Read the full file on GitHub · 87 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 87 lines · 73 tokens per session scan A b9160676af4f

Subscribe to this mod's changes

evo-jax-computing-basics is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 73 tokens to every session and 1,078 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.