eclipse-run
Skill171 starsChanged 3 months agoMITView on GitHub
Launch and stop Java applications in Eclipse. Run with program/VM arguments, capture stdout/stderr, or launch in background.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- eclipse-analyzeSkill
- eclipse-debugSkill
- eclipse-editSkill
- eclipse-testSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
When timeout > 0, the tool waits and returns stdout/stderr and exit code
- Very specific: line 66
When timeout = 0, the app runs in background — use getConsoleOutput to see output and stopApplication to terminate
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Run Java Applications in Eclipse
Launch Java applications using Eclipse's launch infrastructure. Applications run inside Eclipse with full classpath resolution.
Tools
- runJavaApplication — Launch a Java app in run mode.
projectName— Eclipse project namemainClass— Fully qualified main class (e.g.,com.example.Main)programArgs— Optional program argumentsvmArgs— Optional JVM arguments (e.g.,-Xmx512m -Dfoo=bar)timeout— Seconds to wait for completion.0= launch in background without waiting. Default:30
- launchConfiguration — Launch an existing saved launch configuration by name, exactly as it would run from the Run/Debug Configurations dialog. Reuses the configuration's full setup (classpath, VM args, environment variables, working directory, JRebel/agent settings) instead of building a throwaway one.
configurationName— Exact name of the saved configuration (uselistLaunchConfigurationsto find it)mode—runordebug. Default:runtimeout— Seconds to wait for completion.0= background. Default:0
- listLaunchConfigurations — List saved launch configurations (name, type, and project/main class for Java apps). Use this to discover the exact name for
launchConfiguration. - stopApplication — Terminate a running application by name/class substring match.
nameOrClass— Substring to match (case-insensitive) against launch name or main class
- listActiveLaunches — Show all currently running/debugging sessions with status.
- getConsoleOutput — Read output from Eclipse consoles (use after background launches).
Examples
Run and capture output:
runJavaApplication(projectName="myapp", mainClass="com.example.Main", timeout="30")Run in background:
runJavaApplication(projectName="myapp", mainClass="com.example.Server", timeout="0")Run with arguments:
runJavaApplication(projectName="myapp", mainClass="com.example.CLI", programArgs="--verbose input.txt", vmArgs="-Xmx1g")Launch an existing saved configuration (preserves its env vars, VM args, JRebel, etc.):
listLaunchConfigurations()
launchConfiguration(configurationName="Run Snapshot App No Data Compass Local", mode="debug", timeout="0")Stop a running app:
stopApplication(nameOrClass="Main")Notes
- When
timeout > 0, the tool waits and returns stdout/stderr and exit code - When
timeout = 0, the app runs in background — usegetConsoleOutputto see output andstopApplicationto terminate - Output is truncated at 5000 chars (stdout) / 2000 chars (stderr) to fit context
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

