Grep knows text. Scalex knows Scala. Think grep, but it understands Scala's AST — so it finds symbols, not just strings.
Scalex helps coding agents find definitions, explore types, and locate reference candidates in Git-tracked Scala 2, Scala 3, and Java source. It parses code directly, so you can explore a repository without compiling it or starting a build server.
Install the plugin, open a project, and ask:
Use Scalex to explain how requests move through this codebase. Show me the main types and the files to read next.
You need Git and a supported platform: macOS Apple Silicon, macOS Intel, or Linux x64. The plugin includes an agent skill and a bootstrap script that downloads the native binary on first use and verifies its SHA-256 checksum. No JVM is needed to run that binary.
Start a new Codex CLI session or desktop task, then ask Codex to use Scalex.
Use a Codex CLI that supports codex plugin commands. Scalex is distributed through this repository's marketplace. For plugin setup details, see the Codex plugin documentation.
Claude Code
Run in your terminal:
claude plugin marketplace add nguyenyou/scalex
claude plugin install scalex@scalex-marketplace
Start a new Claude Code session, or run /reload-plugins in an open one, then ask Claude to use Scalex.
Other coding agents
Copy the shared skill into your agent's skill directory:
The folder includes the skill, command reference, and binary bootstrap. Follow your agent's instructions for loading new skills.
Upgrade
Updating the plugin gives your agent the new skill and bootstrap. On the next use, the bootstrap downloads the pinned Scalex release, checks its SHA-256, and caches it alongside older versions. Publishing a GitHub release alone does not update an already-installed bootstrap.
Codex
For the Git marketplace installed above, run in your terminal:
The first command refreshes the Git marketplace snapshot; the second installs the plugin from that refreshed source. Start a new CLI session or desktop task afterward. If the desktop app still shows the old skill, restart it.
For a marketplace pointing to a local directory, update that checkout instead and restart the desktop app. marketplace upgrade refreshes configured Git marketplaces. Use codex plugin marketplace list to inspect your configured sources.
Claude Code
Run in your terminal:
claude plugin marketplace update scalex-marketplace
claude plugin update scalex@scalex-marketplace
Start a new Claude Code session, or run /reload-plugins in an open one, to apply the update. If you installed at project or local scope, add --scope project or --scope local to the second command to match that installation.
Copied skills
Pull the latest source and copy the skill folder into your agent's skill directory again. Reload the agent's skills or start a new session.
Try it
Ask your agent questions like:
“Where is UserService defined, and what implements it?”
“Show me the body of findUser and the tests that mention it.”