scala-play

scala-play is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 61 tokens per session (4,213 once invoked), scanned A, original, MIT.

Development guidance for building Scala applications with Play, a web framework, using MVC structure, database access through Slick, JSON conversion, asynchronous actions, and tests.

In plain words
What is it for?
Use it when creating Play routes, controllers, services, database tables, JSON formats, and automated tests in Scala.
Why use it?
It provides consistent rules for separating web requests from business logic and for connecting application data to HTTP responses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when creating Play routes, controllers, services, database tables, JSON formats, and automated tests in Scala.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/play
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 j4flmao/agent-skills --skill play
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

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 scala-play

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/play"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/play.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,213 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 464
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00061 $0.04213
Opus 5.5 $0.00024 $0.01685
Sonnet 5.5 $0.00012 $0.00843
Haiku 4.5 $0.00006 $0.00421

Measured 16d ago against content hash dff0ec8a7819, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scala-play 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 16d ago.

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.

skills/backend/scala/play/SKILL.md · 570 lines

How it starts

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

Scala Play Framework

Purpose

Build Play Framework applications with clean MVC architecture, Slick database access, Play JSON serialization, async actions, and comprehensive testing.

Agent Protocol

Trigger

User request includes: Play Framework, Play Scala, Play controller, Play Slick, Play JSON, Play action, Play test, Play routes.

Input Context

  • Scala version (2.13, 3)
  • Play version (3.x)
  • Database (PostgreSQL via Slick)
  • JSON library (Play JSON, Circe)
  • Testing (ScalaTest, Specs2)

Output Artifact

Controller, model, Slick table definition, JSON reads/writes, routes, test.

Response Format

Produce artifact directly. No preamble, no postamble, no explanations.

Completion Criteria

  • Controller action returns Future[Result]
  • Slick table mapped to case class
  • JSON Format (Reads/Writes/OFormat) defined
  • Routes file with HTTP method binding
  • Service layer for business logic

Max Response Length

4096 tokens

Architecture Decision Trees

Play vs Pekko HTTP vs http4s vs ZIO HTTP

Play 3.x is built on Apache Pekko (org.apache.pekko.*); Play 2.9 is the last Akka-based line. Import Pekko packages in Play 3 code.

Criterion Play Pekko / Akka HTTP http4s ZIO HTTP
Ecosystem Full (MVC, Slick, JSON) HTTP + Pekko/Akka ecosystem Functional + Cats ZIO ecosystem
Async Future-based Pekko/Akka Streams IO/Cats Effect ZIO
Type level Moderate Moderate High (functional) High
Learning curve Low-Moderate Moderate High (FP concepts) High (ZIO)
Community Large (Scala standard) Medium Medium Growing

Decision: Full framework (MVC, DB, JSON) → Play. Lightweight HTTP → http4s. Streaming-first HTTP → Pekko HTTP. ZIO stack → ZIO HTTP.

Slick vs Doobie vs Quill

Criterion Slick Doobie Quill
Approach Scala query DSL Free monad (SQL strings) Macro-based Quill DSL
Type safety High High High
SQL control Medium (DSL maps to SQL) Full (raw SQL) Medium (Quill DSL)
Migration Play Evolutions + Flyway Flyway/Liquibase Manual
Learning curve Moderate High (Free monad) Moderate

Read the full file on GitHub · 570 lines

Files

What ships with it

8 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. 16d ago Changed · +1 lines · -42 tokens per session dff0ec8a7819
  2. 17d ago Changed · +2 lines bde653ad5325
  3. 3mo ago First seen · 567 lines · 103 tokens per session scan A dac15baecc20

Subscribe to this mod's changes

scala-play is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 61 tokens to every session and 4,213 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

scala-play compared with skills from other repositories

scala-play next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scala-playj4flmao/agent-skillsSkill4717d agoMITA61Claude Code, Codex
scala-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A50Claude Code
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill23ktodayMITA223Claude Code
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA97Claude Code
azure-communication-chat-javamicrosoft/skillsSkill3.3kyesterdayMITA41Claude Code
grpcmanagedcode/dotnet-skillsSkill530todayMITA95Claude Code, Codex
azure-messaging-webpubsubservice-pybenjaminasterA/antigravity-awesome-skillsSkill527yesterdayMITA0Claude Code, Codex