本文へ移動
cccskills
無料GitHub で公開日本語紹介

jetbrains-sandbox

Linuxクラウド環境にIntelliJを用意し、ブラウザー画面やMCP経由でIDEを操作して、コードの確認・編集・デバッグ・設定を進めるスキルです。

原文原文の説明を見る

Install and operate IntelliJ in a Linux cloud sandbox. Provide a browser desktop and MCP Steroid so an agent can inspect, edit, debug, configure, or automate the IDE using whichever interface suits the task. Kilo installation and screenshot helpers are optional conveniences.

Kilo-Org/kilocodeスター 27,791(GitHub 27,791 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • クラウド上のIntelliJでコードを確認・編集したいとき
  • IDEのAPIや画面を使ってデバッグしたいとき
  • 設定画面やプロジェクトの画像を確認したいとき
  • 指定プロジェクト用のIDE環境を用意したいとき

日本語での紹介

できること

LinuxのクラウドサンドボックスにIntelliJ IDEAを導入し、エージェントが操作できる状態を整えます。ブラウザーで表示するデスクトップとMCP Steroidを用意し、作業に合わせて画面操作、IntelliJ API、コマンドラインランチャーなどを選べます。プロジェクトの確認や編集、デバッグ、設定変更、スクリーンショットの取得に使えます。既定では空のワークスペースを開き、プロジェクトを指定した場合はその作業場所を使います。Kiloプラグインの導入は任意です。

こんなときに便利

IntelliJを手元の画面から操作しにくいクラウド環境で、エージェントにIDE作業を頼みたいときに向いています。APIによるコードや設定の確認と、画面上のクリックや表示確認を使い分けたい場合にも便利です。IDEの起動・状態確認・停止や、指定プロジェクトでの作業環境づくりにも使えます。

使い方の例

  • 「このプロジェクトをIntelliJで開いて、設定と構成を確認してください」
  • 「IDE上でこのコードを調べ、問題箇所をデバッグしてください」
  • 「Appearance設定画面のスクリーンショットを撮ってください」

注意点

テスト対象はDebian 13のLinux x86-64で、Bunが必要です。導入には約8 GBのメモリと10 GBの空き容量が目安で、依存関係の導入にはroot権限が必要です。公開トンネルや閲覧用パスワードは作成されず、外部表示には認証済みのサンドボックス転送を使います。JetBrainsの初回同意や認証は利用者が行います。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(8)

  • SKILL.md9.1 KB
  • script/desktop.test.ts6.7 KB
  • script/desktop.ts8.4 KB
  • script/mcp.test.ts11.5 KB
  • script/mcp.ts9.1 KB
  • script/setup.ts22.5 KB
  • view/http.js2.7 KB
  • view/index.html3.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

JetBrains Sandbox

Use this skill to give an agent a running IntelliJ instance and the means to control it. The setup provides IntelliJ IDEA, MCP Steroid, and a minimal browser desktop using TigerVNC, Openbox, and noVNC. It is not tied to testing a particular plugin or following a prescribed IDE workflow. The HTTP transport works through sandbox HTTPS proxies that break WebSocket upgrades.

Boundaries

  • Tested on Debian 13, Linux x86-64, with Bun available. Allow roughly 8 GB RAM and 10 GB free disk for the IDE, archives, plugins, and caches.
  • Installation needs root for apt and creating the IDE account. With dependencies preinstalled, a non-root account can use --skip-deps and run as itself.
  • No public tunnel or viewer password is created. The default bind is loopback. Use --host 0.0.0.0 only behind the user's authenticated sandbox port forwarding. Binding only to 127.0.0.1 may make the platform report that nothing is listening.
  • Raw VNC and MCP remain bound to loopback even when the viewer is externally reachable.
  • If a secure preview proxy rewrites Host, pass its exact browser-facing origin with --origin https://your-preview-host. Arbitrary forwarded headers are not trusted.
  • Do not accept JetBrains agreements, start a trial, sign into services, copy the agent's credentials into the IDE, or dismiss unrelated dialogs automatically.
  • All runtime state defaults to the current worktree's ignored .kilo-dev/jetbrains-sandbox/. Never point --dir at the workspace itself.
  • Never overwrite plugin jars while that state directory's IDE is running. Stop first.
  • Do not stop another session's IDE or alter the user's workspace ownership. A supplied --project must already be accessible to the selected non-root --user.

Pinned Setup

ComponentDefault
IntelliJ IDEA2026.1, including its bundled Java runtime
MCP Steroid0.102.0-r-c68d8f15d
Optional Kilo pluginSigned 7.1.12 release, only with --with-kilo

Downloads are SHA-256 checked against the tested artifacts. Versions and hashes live together in script/setup.ts; update them intentionally rather than silently fetching latest. A trusted local ZIP override is not checked against the release digest.

The default installs no Kilo plugin and builds no repository code. It opens an empty workspace unless --project is supplied, without adding sample files to it.

For Kilo-specific work, opt in with --with-kilo, or pass --kilo-zip /absolute/path/to/plugin.zip to install a local build. Building that ZIP is a separate workflow, such as jetbrains-dev; it may need Java 21 and Maven access. Do not silently substitute a released plugin for the user's local changes.

Install And Run

Run from the current worktree root:

bun .kilo/skills/jetbrains-sandbox/script/setup.ts install --host 0.0.0.0

Use a bounded background_process.monitor for a cold install. Downloads and extraction can outlast one tool call; follow the returned process rather than starting another install.

Then start the foreground supervisor with background_process.start:

bun .kilo/skills/jetbrains-sandbox/script/setup.ts run

Use readiness pattern Desktop ready or port 6080. Do not use shell &, nohup, or an untracked daemon. The supervisor runs VNC, Openbox, and IntelliJ as the non-root IDE user, strips inherited agent credentials, and stops its supervised processes on termination. It stops the desktop if an essential child exits; it does not silently restart the IDE. JetBrains can retain a per-user helper daemon after the IDE closes. Do not kill shared user daemons indiscriminately or affect another IDE session.

Open http://localhost:6080/ through the sandbox's secure forwarding. The user must finish any first-run agreements and authentication required by their task. A listener alone does not prove that the IDE or MCP is ready; inspect the UI and use status. The viewer scales a fixed 1600x1000 desktop rather than shrinking the remote screen, so first-run dialog buttons remain reachable in small browser windows. Use Fullscreen for more readable text.

bun .kilo/skills/jetbrains-sandbox/script/setup.ts status
bun .kilo/skills/jetbrains-sandbox/script/setup.ts stop

Prefer quitting IntelliJ normally for graceful application shutdown. stop verifies the supervisor's PID/start identity before signaling it. The tracked process can also be stopped with background_process.stop. Restart with run, not a second simultaneous IDE.

Useful install options:

bun .kilo/skills/jetbrains-sandbox/script/setup.ts install \
  --dir /tmp/my-ide \
  --ide /existing/idea-2026.1 \
  --project /path/to/writable/project \
  --host 0.0.0.0 --display 100 --port 6090 --vnc-port 5998 --mcp-port 6316 \
  --skip-deps

Repeat --dir /tmp/my-ide for later commands; saved paths and viewer/MCP ports are reused. --ca /path/to/sandbox-ca.crt defaults to NODE_EXTRA_CA_CERTS. The installer copies the bundled Java trust store into isolated state, adds the public CA to that copy, and makes the CA available to the CLI. It does not disable TLS checks or alter a reused IDE's files.

Choose A Control Method

Choose the interface appropriate to the user's task; these helpers do not constrain what the agent can do in IntelliJ:

  • MCP and IntelliJ APIs: discover tools and use arbitrary Kotlin execution for editor navigation, PSI inspection, refactoring, project setup, debugging, settings, actions, or tool-window interaction. The agent may use its own MCP client directly.
  • Desktop interaction: use the viewer, browser automation, or native desktop input when the task calls for real clicks, typing, menus, or visual checks.
  • Other IDE interfaces: use IntelliJ's command-line launcher or built-in REST server where appropriate. The skill does not require every action to go through MCP.

The mcp, screenshot, and serve commands are conveniences, not a fixed testing flow. No agent MCP configuration is modified automatically.

MCP Control

MCP Steroid listens at http://127.0.0.1:6315/mcp by default. These commands initialize the MCP session, call the real tool, and close the session:

bun .kilo/skills/jetbrains-sandbox/script/setup.ts mcp steroid_list_projects
bun .kilo/skills/jetbrains-sandbox/script/setup.ts mcp steroid_list_windows
bun .kilo/skills/jetbrains-sandbox/script/setup.ts mcp tools/list
bun .kilo/skills/jetbrains-sandbox/script/setup.ts mcp steroid_execute_code '{"project_name":"<routing-key>","task_id":"ide-test","reason":"Inspect the selected project","code":"println(project.name)"}'

Use the opaque project_name from project discovery, not the folder name. API calls can be more reliable than simulated shortcuts; the shortcut probe in the tested sandbox was unreliable. For GUI tasks, inspect the focused control before typing. Read-only PSI access needs a read action; UI operations need EDT. Only modify source intentionally.

To open modal Settings, use modal: "unleashed" and schedule ShowSettingsUtil.getInstance().showSettingsDialog(project, "Appearance") with ApplicationManager.getApplication().invokeLater. The normal execution mode may close modal dialogs. Do not pass a nullable String to that overload; it does not compile.

Screenshots

bun .kilo/skills/jetbrains-sandbox/script/setup.ts screenshot --settings

This reuses an existing Settings dialog or opens Appearance without changing any setting, then captures that dialog through MCP. It refuses to dismiss unrelated modal dialogs. Without --settings, it captures the chosen project's IDE window. Use --project when multiple projects are open. Settings window detection currently uses English titles.

Serve only the resulting PNG with another tracked foreground process:

bun .kilo/skills/jetbrains-sandbox/script/setup.ts serve --host 0.0.0.0

Open http://localhost:6083/. This is a static screenshot, not the live desktop. --out selects another PNG for capture or serving; serve --port selects a separate port. No runtime directory listing, MCP endpoint, logs, or other files are exposed by this server.

Verify

The installer has no unit-test file. Smoke-test a clean state directory with separate ports: install, start, inspect the first-run UI, stop/restart, and reinstall unchanged artifacts. Do not accept agreements just to complete a smoke test.

# From .kilo/skills/jetbrains-sandbox/script, not the repository root:
bun test ./desktop.test.ts ./mcp.test.ts

Before handing off a running sandbox, verify the container's non-loopback viewer address responds, the browser renders real IDE pixels, MCP reports the intended project, and any served image is a PNG. Leave unrelated IDEs and tracked source files unchanged. Be explicit about first-run dialogs, source-build/network restrictions, and untested login or model flows.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

chart

無料概要あり

数値データを棒・折れ線・円グラフや散布図などで可視化するスキル。chartツールとChart.js v4を使い、比較、推移、割合、値の関係を図で示します。

  • カテゴリ別の値を棒グラフで比較したいとき
  • 月別の推移を折れ線グラフで見たいとき
  • 内訳の割合を円やドーナツで示したいとき
Kilo-Org/kilocode2.8万2026年10月30日 更新

effect

無料概要あり

Effect v4のソースと既存コードを確認し、TypeScriptのサービス実装やデータ定義、依存関係の組み立て、テストをプロジェクトの流儀に沿って進めるスキル。

  • Effect v4でサービスを実装したいとき
  • データ構造と型付きエラーの定義
  • 依存関係とHTTP処理の整理
Kilo-Org/kilocode2.8万2026年10月30日 更新

gh-issues

無料概要あり

KiloのVS Code拡張やJetBrainsプラグインのGitHub issueを、内容に合うテンプレートと所定のプロジェクトボードで起票・整理するスキル。

  • VS Code拡張の不具合報告
  • JetBrainsプラグインへの機能要望
  • 使い方や設計の質問を登録したいとき
Kilo-Org/kilocode2.8万2026年10月30日 更新

icon-jetbrains

無料概要あり

IntelliJ New UI向けのSVGアイコンを作成・レビューします。用途別のサイズ、明暗テーマの配色、線幅や配置を確認し、プラグインへの組み込みまで案内します。

  • 操作ボタンやツールウィンドウのアイコン作成
  • 明暗テーマ用SVGの作成
  • 既存アイコンの16×16への調整
Kilo-Org/kilocode2.8万2026年10月30日 更新

icon-vscode

無料概要あり

VS Code拡張機能とWebviewのアイコン作成・レビューを支援します。表示場所に合う既存アイコンやSVGを選び、登録方法、テーマ対応、ボタンの読み上げ名を確認します。

  • コマンド・メニュー・ビュー用アイコンの選定
  • Webviewのアイコン登録
  • 見た目の重さを保ったSVGのサイズ調整
Kilo-Org/kilocode2.8万2026年10月30日 更新

jetbrains-arch

無料概要あり

KiloのJetBrainsプラグインでコードを追加・移動する際の設計を支援します。画面とバックエンドの分担、通信、スレッド、依存ライブラリの扱いを確認できます。

  • 新しいコードの配置先を決めたいとき
  • 画面とバックエンドの通信を設計したいとき
  • 画面更新と非同期処理を見直したいとき
Kilo-Org/kilocode2.8万2026年10月30日 更新

Kilo-Org のスキルをすべて見る

このスキルの問題を報告する