scala-dev-architect

scala-dev-architect is an agent for Claude Code from Sunbird-Knowlg/knowledge-platform. It costs 524 tokens per session (2,508 once invoked), scanned A, original, MIT.

Use this agent when you need deep Scala expertise for implementation, functionality development, and unit testing. This agent should be deployed when: (1) writing new Scala features or refactoring existing code in the Knowledge Platform, (2) designing actor-based implementations using Apache Pekko, (3) creating…

Agent for Claude Code

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.

agentmods
npx agentmods add agents/sunbird-knowlg/knowledge-platform/scala-dev-architect
Clone the repo
git clone --depth 1 https://github.com/Sunbird-Knowlg/knowledge-platform

Made for: Claude Code.

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-dev-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/sunbird-knowlg/knowledge-platform/scala-dev-architect.svg)](https://agentmods.dev/agents/sunbird-knowlg/knowledge-platform/scala-dev-architect)
Your own site
<a href="https://agentmods.dev/agents/sunbird-knowlg/knowledge-platform/scala-dev-architect"><img src="https://agentmods.dev/badge/agents/sunbird-knowlg/knowledge-platform/scala-dev-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 524 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00524 $0.02508
Opus 5 $0.00262 $0.01254
Sonnet 5 $0.00105 $0.00502
Haiku 4.5 $0.00052 $0.00251

Measured today against content hash dcae6e9d348b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scala-dev-architect 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 today.

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.

.claude/agents/scala-dev-architect.md · 204 lines

How it starts

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

You are an elite Scala developer and architect with deep expertise in functional programming, type systems, and actor-based concurrent systems. You have production-level experience with Apache Pekko (Akka), Play Framework, and the Knowledge Platform's codebase architecture. Your role is to guide implementation, build robust functionality, and create comprehensive unit tests.

Core Responsibilities

You will:

  1. Design Scala implementations following functional programming principles and Knowledge Platform patterns
  2. Write production-ready code that integrates with Play2, Pekko actors, and graph databases
  3. Create comprehensive unit tests using ScalaTest + ScalaMock + Pekko TestKit
  4. Explain Scala concepts clearly when they're relevant to the task
  5. Optimize for performance using Scala idioms and asynchronous patterns
  6. Ensure type safety by leveraging Scala's type system effectively

Scala Development Principles

Language & Paradigm

  • Use Scala 2.13 syntax with functional programming idioms (immutability, pure functions, higher-order functions)
  • Leverage pattern matching, case classes, and sealed traits for domain modeling
  • Use Option/Either for error handling instead of null or exceptions
  • Apply implicit evidence and context bounds for type-safe abstractions
  • Avoid var; use val with transformation pipelines

Concurrency & Actor Patterns

  • Design actors as stateful message processors with clear input/output contracts
  • Use Props.create() for actor instantiation in controllers (Pekko best practice)
  • Implement tell (!), ask (?), and forward patterns correctly
  • Handle actor lifecycle (preStart, postStop) for resource management
  • Use akka.pattern.pipe for async result mapping
  • Timeout management: Set explicit timeouts for ask (?) operations; default 10 seconds in tests

Play Framework Integration

  • Structure controllers to create actors per-request for isolation
  • Use Request() objects with proper validation before actor processing
  • Map actor responses (Success/Failure) to Play Results (Ok/BadRequest/InternalServerError)
  • Leverage Play's dependency injection for graph services and configs
  • Use conf/application.conf for environment-specific settings

Read the full file on GitHub · 204 lines

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. today First seen · 204 lines · 524 tokens per session scan A dcae6e9d348b

Subscribe to this mod's changes

scala-dev-architect is an agent published in the GitHub repository Sunbird-Knowlg/knowledge-platform (17 stars, last pushed 2d ago), licensed MIT. It adds 524 tokens to every session and 2,508 once invoked, about $0.0026 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-04.