mcp-steroid
CLAUDE.md82 starsChanged 3 months agoApache-2.0View on GitHub
This folder holds long-form research, design plans, and the DPAIA arena working log. Read this in addition to the root CLAUDE.md when changing files under docs/ or referencing autoresearch results. The repo's four design tenets — small MCP tool surface; power lives in prompts and direct IntelliJ API usage; devrig is stateless; McpScriptContext is last-resort — are codified in PHILOSOPHY.md (and mirrored at runtime as mcp-steroid://skill/design-philosophy). Autoresearch and prompt- optimization work in this folder is the primary lever for those…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jonnyzzz/mcp-steroidword for word, first seen Aug 5, 2026
Other versions1 project uses a version of this.
Word for word · 1
- jonnyzzz/mcp-steroid★ 78100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- prompts/AGENTS.mdAGENTS.md
- test-integration/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ij-plugin/CLAUDE.mdCLAUDE.md
- installer-gen/CLAUDE.mdCLAUDE.md
- test-experiments/CLAUDE.mdCLAUDE.md
- test-integration-agent-launch/CLAUDE.mdCLAUDE.md
- website/CLAUDE.mdCLAUDE.md
- website-gen/CLAUDE.mdCLAUDE.md
- promptSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 79
Arena prompt recipes: DO work — agents follow first-call exec_code recipes verbatim.
- Very specific: line 107
Constraints for the autoresearch track: do not add McpSteroid* interface methods.
- Distinctive: line 122
When picking up the autoresearch track:
- Very specific: line 123
Read autoresearch-findings.md (+ git log -- MEMORY.md for the last next-step consensus, if needed).
- Distinctive: line 125
Run the most recent baseline scenario before changing prompts so you have a fresh comparison point.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
docs — Working Notes & Autoresearch
This folder holds long-form research, design plans, and the DPAIA arena working log. Read this in
addition to the root CLAUDE.md when changing files under docs/ or referencing autoresearch
results.
The repo's four design tenets — small MCP tool surface; power lives in
prompts and direct IntelliJ API usage; devrig is stateless;
McpScriptContext is last-resort — are codified in
PHILOSOPHY.md (and mirrored at runtime as
mcp-steroid://skill/design-philosophy). Autoresearch and prompt-
optimization work in this folder is the primary lever for those tenets:
every measurement here ultimately feeds back into recipe quality, not
new tools or new context methods.
For the test code that drives DPAIA / arena scenarios see test-experiments/CLAUDE.md.
Specs in this folder
Long-form contract documents owned by docs/ (read these directly
rather than mirroring their contents into per-folder guides):
PHILOSOPHY.md— the four design tenets.devrig-cli-contract.md— canonical devrig command grammar, generated-tool CLI, help/recovery, human and JSON output,open_project --wait, and agent-validation contract.devrig-naming.md— devrig CLI + stdio MCP project/backend naming contract (slug rule,bootHash,archiveSha256,actions[].argv, on-demand routing).devrig-scanning-research.md— decision record for on-demandrebuildSnapshot()vs background scanners (option A).install-scripts-contract.md— locked contract (issue #398): the bootstrap installers install devrig and register it on PATH, NOTHING else — never auto-register devrig with agents, never auto-install the IDE plugin; those commands are only promoted to the user in thedevrig install devriginfo message.devrig-deployment-spec.md— historical v7 design record for~/.mcp-steroid/layout, wrapper ownership, the bundled runtime, cache/GC ideas, and a native-binary alternative. Its wizard andupgradeproposals are superseded; current install behavior lives ininstall-scripts-contract.md, current commands indevrig-cli-contract.md, and current updates inupdates-check/devrig-auto-update.md.devrig-remote-development-backend-e2e.md— shipped IU-262 native Remote Development backend contract, Docker fixture, lifecycle evidence, and follow-up risks.headless-agent-guidance.md— task-only Claude/Codex autonomy follow-up: clean-machine backend discovery, frontendless readiness, Maven import, hierarchy scoring, credential isolation, and measured agent evidence.native-mcp-tools-design.md— research record + spec for listing/calling the IntelliJ MCP Server plugin's native tools: validated LIST/CALL recipes (261→master), the devrignative-toolsbridge endpoint + the historicaldevrig project toolsCLI proposal (the active TODO now requires a new top-level route becauseprojects/projectalias the generatedlist_projectsleaf), and themcp-steroid://skill/native-mcp-toolsindex + dynamic per-tool resource pages.ARCHITECTURE.md— top-level architecture map.TESTING-STRATEGY.md— test layout + per-module scoping rules.
Prompt optimization (autoresearch)
MCP Steroid serves prompt resources (mcp-steroid:// URIs) that guide AI agents. Optimizing these
prompts is an iterative process — running curated DPAIA tasks under controlled conditions, measuring
tool calls and tokens, then narrowing the gap between agent behavior and expected behavior with
prompt-only edits.
Findings, comparison tables, and the Karpathy-style optimization loop prompts:
docs/autoresearch-findings.md— high-level summarydocs/autoresearch/— loop promptsdocs/arena-3pass-results.md— full 3-pass comparison table
Key findings (from 51 arena runs + 2 autoresearch cycles)
- MCP server instructions (
prompts/src/main/prompts/mcp-steroid-info.md) are metadata context, not behavioral directives — agents don't follow them during planning. - Tool descriptions are schema reference — MANDATORY warnings in them don't change behavior.
- MCP resources (84 available via
ReadMcpResourceTool) are rarely read (0/69 runs in baseline). - Arena prompt recipes DO work — agents follow first-call exec_code recipes verbatim.
- exec_code output drives next-step decisions — agents act on compile results immediately.
Where agent information lives (priority order)
- User prompt (arena task) — agents follow this. Put recipes here.
- exec_code output — agents act on results. Put suggestions here.
- System prompt (MCP server instructions) — background context only.
- Tool schema description — reference material, not directives.
- MCP resources — rarely accessed unless explicitly fetched.
Prompt files
| File | What it controls | Impact |
prompts/src/main/prompts/mcp-steroid-info.md | MCP server instructions (system prompt) | Low — ignored by agents |
prompts/src/main/prompts/skill/execute-code-tool-description.md | steroid_execute_code description | Medium — read as reference |
test-experiments/.../arena/ArenaTestRunner.kt (buildPrompt()) | Arena task prompt | High — agents follow recipes |
prompts/src/main/prompts/skill/*.md | MCP resources | Low — rarely read by agents |
Active DPAIA working notes
- Repo-root
../TASKS.mdis the active task list (open tasks only). The former repo-rootMEMORY.mdDPAIA handoff log was distilled into the docs below +git logand removed — durable findings now live inautoresearch-findings.md/arena-3pass-results.md, not a running scratch file. - New DPAIA ideas must also be logged in
../TODO-DPAIA.md(or sibling). - Direction changes require 3
run-agent.shreviews and consensus before selecting the next low-hanging fruit. - Constraints for the autoresearch track: do not add
McpSteroid*interface methods; do not add new MCP tools. Improvements must be prompt-only (skill articles, tool descriptions, system prompt text).
History (2026-04-26 → 2026-04-27)
Full chronological run-by-run history is intentionally NOT mirrored here — it churned weekly during active iteration and lives in:
arena-3pass-results.md— measured tables.autoresearch-findings.md— synthesized takeaways.git logper file — diff per change (see anchors below). The former repo-rootMEMORY.mdrunning log (which once held the day-to-day "recent facts" + next-step consensus) was distilled into these docs and removed; recover any specific run note fromgit log -- MEMORY.md.
When picking up the autoresearch track:
- Read
autoresearch-findings.md(+git log -- MEMORY.mdfor the last next-step consensus, if needed). - Confirm the consensus is still load-bearing by checking
git logsince that note was written. - Run the most recent baseline scenario before changing prompts so you have a fresh comparison point.
Latest landmark anchors (with git log commands for digging)
# Gradle abort root-cause fix — ProjectDataImportListener.onFinalTasksFinished as the sync boundary;
# DPAIA Microshop on JDK 24 because Gradle 8.14.3 rejects Java 25 daemon.
git log --oneline -- test-integration/src/main/kotlin/com/jonnyzzz/mcpSteroid/integration/infra/intelliJ.kt
git log --oneline --grep="onFinalTasksFinished\|JDK 24\|Gradle abort"
# Gradle IDE guidance — arena prompts inline ProjectTaskManager.build(*modules).await() before Bash fallback.
git log --oneline -- prompts/src/main/prompts/skill/execute-code-gradle.md
git log --oneline -- test-experiments/src/test/kotlin/com/jonnyzzz/mcpSteroid/integration/arena/ArenaTestRunner.kt
# Apply-patch history — the steroid_apply_patch tool (removed May 2026) and the applyPatch { } DSL (removed July 2026, #206).
git log --oneline --grep="apply.patch\|ApplyPatch"
# Aborted-build result-boundary guidance — ExecuteCodeToolHandler appends REQUIRED ACTION hint
# (uses ExecuteCodeGradlePromptArticle().uri / ExecuteCodeMavenPromptArticle().uri).
git log --oneline -- ij-plugin/src/main/kotlin/com/jonnyzzz/mcpSteroid/server/ExecuteCodeToolHandler.kt
git log --oneline --grep="aborted=true\|REQUIRED ACTION\|build-abort\|BuildAbortGuidance"
# IntelliJ monorepo lookup — prefer Observation.awaitConfiguration(project) + smartReadAction(project)
# over waitForSmartMode() for indexed reads (regression: IntelliJThisLoggerLookupTest).
git log --oneline --grep="awaitConfiguration\|smartReadAction\|ThisLoggerLookup"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.

