evo-scala-idiom-mapping

evo-scala-idiom-mapping is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 23 tokens per session (135 once invoked), scanned A, original, Apache-2.0.

A mapping tool that translates common Python code patterns into idiomatic Scala 2.13 equivalents. Scala is a programming language that runs on the Java platform.

In plain words
What is it for?
Use it to map enums, data classes, abstract classes, optional values, dates, decimal numbers, and collection variance from Python to Scala.
Why use it?
It helps when rewriting Python code in Scala by showing language-appropriate replacements for types, classes, collections, and naming styles.

Skill for Claude CodeCodex

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

Good fit Use it to map enums, data classes, abstract classes, optional values, dates, decimal numbers, and collection variance from Python to Scala.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-scala-idiom-mapping
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-scala-idiom-mapping
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-scala-idiom-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-scala-idiom-mapping/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-scala-idiom-mapping)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-scala-idiom-mapping"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-scala-idiom-mapping/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-scala-idiom-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-scala-idiom-mapping"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-scala-idiom-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 135 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.00023 $0.00135
Opus 5 $0.00012 $0.00068
Sonnet 5 $0.00005 $0.00027
Haiku 4.5 $0.00002 $0.00014

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

Security

Grade A, and why

evo-scala-idiom-mapping 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 1 executable file (scripts/idiom_mapper.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/python-scala-translation/environment/skills/evo-scala-idiom-mapping/SKILL.md · 14 lines

What it actually says

evo-scala-idiom-mapping

Maps Python→Scala: enum→sealed trait, dataclass→case class, ABC→trait, snake_case→camelCase, Optional→Option, datetime→java.time, Decimal→BigDecimal, Generic variance (+/-), collections.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-scala-idiom-mapping/scripts')
from idiom_mapper import snake_to_camel, map_python_type_to_scala
Files

What ships with it

1 file 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 · 14 lines · 23 tokens per session scan A e529a6255f5f

Subscribe to this mod's changes

evo-scala-idiom-mapping is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed 2d ago), licensed Apache-2.0. It adds 23 tokens to every session and 135 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

quantum-qiskit

Reference qiskit 2.x patterns for variational quantum machine learning. Covers data-encoding feature maps, variational quantum classifier (VQC) training, variational quantum eigensolver (VQE) for chemistry, matrix-product-state circuits, and noise model integration. Use when writing Python code that imports qiskit…

aiming-lab/AutoResearchClaw · 102 tokens

write-triton-kv-cache-append-kernel

Guide the agent through implementing a Triton kernel that writes newly computed K and V tensors into a pre-allocated KV cache during LLM inference. This covers two cache layouts (contiguous and paged / vLLM-style PagedAttention), unified prefill and decode handling via a slotmapping tensor, GQA/MQA where the cache…

tensormux/kernel-skills · 0 tokens

write-cuda-reduction-kernel

Guide the agent through designing and implementing a correct, efficient CUDA reduction kernel for a given operator (sum, max, min, or custom binary associative op), covering warp-level primitives, block-level reduction, multi-block strategies, and when to use CUB instead.

tensormux/kernel-skills · 0 tokens

write-triton-softmax-kernel

Guide the agent through implementing a numerically stable, performant row-wise softmax kernel in Triton. This covers single-program-per-row assignment, online max+sum reduction with tl.max/tl.sum, masking for rows wider than BLOCKSIZE, fp32 accumulation to avoid overflow and precision loss, and the masked softmax…

tensormux/kernel-skills · 0 tokens

Python Data Analysis

Clean datasets and create reproducible Python transformations and charts.

Raidriar7170/hermes-skilleval · 15 tokens

Python Packaging

Package Python projects with optional dependencies and console scripts.

Raidriar7170/hermes-skilleval · 13 tokens