openai-scala-client: Instructions file for Claude Code

CLAUDE.md

openai-scala-client CLAUDE.md is an instructions file for Claude Code from cequence-io/openai-scala-client. It costs 53,763 tokens per session, scanned A, original, MIT.

Project instructions for an asynchronous Scala library that connects applications to OpenAI and other AI services. The project supports Scala 2.12, 2.13, and 3, and uses SBT, Scala’s build tool.

In plain words
What is it for?
Use them when changing API integrations or modules, running tests and coverage checks, formatting code, validating changes, or compiling one module.
Why use it?
They collect the commands needed to build, test, format, validate, and compile individual parts of the library across supported Scala versions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

This is cequence-io/openai-scala-client's own configuration. It tells Claude Code how to work on openai-scala-client itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openai-scala-client configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cequence-io/openai-scala-client. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cequence-io/openai-scala-client/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cequence-io/openai-scala-client

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 openai-scala-client CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cequence-io/openai-scala-client/claude-md/github.svg)](https://agentmods.dev/instructions/cequence-io/openai-scala-client/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cequence-io/openai-scala-client/claude-md"><img src="https://agentmods.dev/badge/instructions/cequence-io/openai-scala-client/claude-md/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 openai-scala-client CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cequence-io/openai-scala-client/claude-md"><img src="https://agentmods.dev/badge/instructions/cequence-io/openai-scala-client/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53,763 This file is loaded in full into every session.
When invoked 53,763 The same file — it is already loaded in full.
Security scan A 1 finding. 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.53763 $0.53763
Opus 5.5 $0.21505 $0.21505
Sonnet 5.5 $0.10753 $0.10753
Haiku 4.5 $0.05376 $0.05376

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

Security

Grade A, and why

openai-scala-client CLAUDE.md scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **MiniMax** (direct API, `ChatProviderSettings.minimax` / `minimaxChina`, `MINIMAX_API_KEY`): MiniMax-M3.1-Flash (contributed in #131, merged with our follow-up) always thinks - `reasoning_effort` low..max per the docs
CLAUDE.md · 1,022 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is OpenAI Scala Client - an async Scala client for OpenAI API and multiple LLM providers. It's a multi-module Scala project that supports Scala 2.12, 2.13, and 3, providing comprehensive coverage of OpenAI endpoints plus adapters for Anthropic, Google (Gemini/Vertex AI), Perplexity, and other LLM providers.

The library is designed to be self-contained with minimal dependencies and uses a Play WS backend for HTTP calls. It's published as io.cequence:openai-scala-client on Maven Central.

Documentation layout (since 2026-10-09): README.md is an overview and index - the provider tables, installation, config, a quick start and the page list; everything else lives in docs/, one page per topic (providers.md, chat-completions.md, responses-api.md, agents-api.md, streaming.md, decision-models.md, adapters.md, http-engine.md, graders-api.md, anthropic-managed-agents.md, claude-agent-client.md, faq.md), split verbatim from the former 2,450-line README. A feature's documentation goes on its page; the README gets at most a table row or an index line. Links from docs/ to sources are ../openai-...; the decision-model anchors (decision-models.md#typesafe-ai-jev- etc.) are GitHub slugs of the page's ## headings. Markers (README and docs): 🔥 = new, i.e. new in the release being published - the user's rule ("new is a fire", 2026-10-16, preparing 1.6.0): when a release is prepared, its new features carry the fire, the older fires are dropped, and the README legends say "🔥 New in X". A ## heading's emoji is part of its anchor slug (openai-decisions-api-gpt-6-luna-), so a heading's 🔥 is swapped for an icon, not deleted.

Versioning: the latest release is 1.6.0 (Maven Central 2026-10-18, tag v1.6.0 on the CHANGELOG commit that dated it; a minor release - the JSON helpers' inferred-schema implicit, ModelInfo's Options and new DecisionProvider fields break binary compatibility with 1.5.0; the published jars hold the code of 7e9d33cf); the build is 1.6.1-SNAPSHOT, its CHANGELOG section "unreleased" - it already breaks binary compatibility with 1.6.0 (the Vertex AI factories' location: Option[String]), so by the rule below it may ship as 1.7.0. The user publishes from a local version setting; afterwards the CHANGELOG gets its date, the tag vX.Y.Z + GitHub release go on that commit and the build moves to the next -SNAPSHOT. If the changes since the last release are not binary compatible with it (new case-class fields, new abstract methods on the service traits, new factory parameters - compare the published jars' public signatures with javap), the next release is a minor one: 1.3.1-SNAPSHOT shipped as 1.4.0. New @deprecated annotations use the upcoming release as their since value. CHANGELOG.md has one section per release, newest on top, written when the release is prepared; it opens with the upgrade notes (API breaks and behavior changes against the previous release). The GitHub release (tag vX.Y.Z on the published commit) carries a shorter form of the same notes.

Read the full file on GitHub · 1,022 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. 2d ago Changed · +46 lines · +1,636 tokens per session 9859d9395628
  2. 3d ago Changed · +6 lines · +2,636 tokens per session d837c2e6bb06
  3. 10d ago Changed · +25 lines · +4,661 tokens per session a6a35849a0ba
  4. 18d ago Changed · -30 tokens per session bb8bb63c7443
  5. 20d ago Changed · +1 lines · +616 tokens per session e3efefabd187
  6. 21d ago Changed · +202 lines · +9,526 tokens per session f01a54358407
  7. 25d ago Changed · +20 lines · +1,797 tokens per session ed4a0c59d4b8
  8. 26d ago Changed · +2 lines · +1,000 tokens per session b3c87197505f
  9. 27d ago Changed · +1,147 tokens per session 00500bc27e67
  10. 28d ago First seen · 720 lines · 30,774 tokens per session scan A 57d7d418d01e

Subscribe to this mod's changes

openai-scala-client CLAUDE.md is an instructions file published in the GitHub repository cequence-io/openai-scala-client (257 stars, last pushed 3d ago), licensed MIT. It adds 53,763 tokens to every session, about $0.2151 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

openai-scala-client CLAUDE.md compared with instructions from other repositories

openai-scala-client CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openai-scala-client CLAUDE.mdcequence-io/openai-scala-clientInstructions file2573d agoMITA53,763Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode