interacting-with-project-runtime

interacting-with-project-runtime is a skill for Claude Code, Codex from rnett/gradle-mcp. It costs 49 tokens per session (972 once invoked), scanned A, original, Apache-2.0.

A guide for probing a JVM project's running code through a persistent Kotlin REPL. A REPL lets you enter Kotlin expressions and observe their results without creating a separate test program.

In plain words
What is it for?
Use it for focused experiments with project classes and dependencies, then stop the REPL session when the investigation is finished.
Why use it?
It helps confirm runtime behavior that is difficult to establish by reading code alone, such as state changes, dispatch, and side effects.

Skill for Claude CodeCodex

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

Good fit Use it for focused experiments with project classes and dependencies, then stop the REPL session when the investigation is finished.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rnett/gradle-mcp/interacting-with-project-runtime
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 rnett/gradle-mcp --skill interacting-with-project-runtime
Clone the repo
git clone --depth 1 https://github.com/rnett/gradle-mcp

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 interacting-with-project-runtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/rnett/gradle-mcp/interacting-with-project-runtime/github.svg)](https://agentmods.dev/skills/rnett/gradle-mcp/interacting-with-project-runtime)
Your own site
<a href="https://agentmods.dev/skills/rnett/gradle-mcp/interacting-with-project-runtime"><img src="https://agentmods.dev/badge/skills/rnett/gradle-mcp/interacting-with-project-runtime/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 interacting-with-project-runtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/rnett/gradle-mcp/interacting-with-project-runtime"><img src="https://agentmods.dev/badge/skills/rnett/gradle-mcp/interacting-with-project-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 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 pass 7 Sept 2026
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.00049 $0.00972
Opus 5 $0.00024 $0.00486
Sonnet 5 $0.00010 $0.00194
Haiku 4.5 $0.00005 $0.00097

Measured 9d ago against content hash 8d318a53dfc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

interacting-with-project-runtime 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 9d 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.

src/main/skills/interacting-with-project-runtime/SKILL.md · 117 lines

How it starts

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

Persistent JVM/Kotlin REPL for Project Runtime Probing

Executes Kotlin code interactively within the project's full runtime classpath, enabling rapid logic verification and state inspection without a full build cycle.

Positive Triggers (when to activate)

  • Verifying dynamic behavior of a class or function in the project runtime.
  • Probing internal state or executing experimental logic without a full build cycle.
  • Rapidly prototyping logic changes within the JVM classpath.

Negative Triggers (when NOT to activate)

  • Operating a Gradle build (use using-gradle).
  • Modifying build definitions (use authoring-gradle-builds).
  • Rendering Compose UI components (use verifying-compose-ui).

Constitution

  • ALWAYS prefer reading source code over running it when the question is about API shape, signatures, or static behavior.
  • Use the REPL when you need to verify runtime behavior: dynamic dispatch, state mutations, side effects, or complex logic that is hard to reason about statically.
  • ALWAYS call stop after finishing a session to release JVM resources.
  • NEVER run code that modifies project files, deletes data, or has irreversible side effects without explicit user approval.
  • After modifying project source code, call stop then start to pick up classpath changes.

Directives

Starting a Session

Call kotlin_repl(command="start", projectPath=":module", sourceSet="main") to initialize a REPL session. The session runs in a dedicated worker process with the project's full classpath.

For session parameters, lifecycle management, and environment troubleshooting, see REPL Session Setup.

Running Code

Call kotlin_repl(command="run", code="...") to execute a Kotlin snippet. Session state (variables, imports, class definitions) persists between calls.

// Example: Verify a utility function
val result = MyUtils.parseDate("2024-01-15")
println("Parsed: $result, type: ${result::class.simpleName}")

Read the full file on GitHub · 117 lines

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. 9d ago First seen · 117 lines · 49 tokens per session scan A 8d318a53dfc7

Subscribe to this mod's changes

interacting-with-project-runtime is a skill published in the GitHub repository rnett/gradle-mcp (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 972 once invoked, about $0.0002 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-08-30.