mcode-island
Push the user's terminal out of focus to a Windows desktop Dynamic Island pill so the user can watch your work without switching back to mcode. On mcode…
от MiniMax-AI★ 30 звёзд на GitHub
Установить mcode-island в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
mcode-island — 桌面灵动岛状态通知
让用户在不切回 mcode 窗口的情况下,从桌面顶部悬浮 pill 上看到你(agent)的实时工作状态。
What it looks like
A 320×60 pill anchored to the top center of the primary display, always-on-top, dark theme. Six states with distinct color and motion:
| state | color | icon | meaning |
|---|---|---|---|
idle |
gray | — | waiting for user input |
thinking |
yellow pulse | — | reasoning, no tool call yet |
working |
blue pulse | ⚙ | actively running a tool |
waiting |
orange | ? | tool needs user approval / input |
done |
green | ✓ | step finished, more to do |
error |
red | ✕ | tool or step failed |
Click the pill to go back to where the work happens. The target is resolved on every click, in this order:
- A manual pin (
mcode-island pin) — that window is focused. - The originating terminal (
caller.json) — one click hides it, the next brings it back maximized. This is the CLI habit, and this install keeps it. - The desktop app window (
MiniMax Inside Code/MiniMax Code/Mavis) — focused, never hidden, and only when there is no caller window to go back to.
The Marketplace build ships the other order: there the agent is hosted by the
desktop app, so hiding the terminal behind it would leave the user staring at
a static pill, and the click focuses the app window instead. Both builds are
the same code — the source carries one switch, $script:clickPrefers, and the
Marketplace builder flips it.
Run mcode-island pin from inside a terminal to override the target
explicitly (useful when the auto-detected HWND is wrong, e.g. Windows Terminal
multi-tab, or when the desktop app is open next to a CLI session).
mcode-island unpin clears the pin.
Two ways to drive the pill
Mode A — Hook-driven (mcode 0.2.4+ with io.minimax.mcode)
When mcode accepts the io.minimax.mcode client extension, the runtime spawns
the script under io.minimax.mcode/hooks/scripts/<event>.ps1 for every matching
lifecycle event. The agent does not need to push state manually.
| event | script | pill state |
|---|---|---|
SessionStart |
session-start.ps1 |
idle |
SessionEnd |
session-end.ps1 |
idle |
UserPromptSubmit |
user-prompt-submit.ps1 |
thinking |
PreToolUse |
pre-tool-use.ps1 |
working |
PostToolUse |
post-tool-use.ps1 |
done/error |
Stop |
stop.ps1 |
done |
PreCompact |
pre-compact.ps1 |
thinking |
Notification |
notification.ps1 |
idle |
SubagentStart |
subagent-start.ps1 (CODEX only) |
working |
SubagentStop |
subagent-stop.ps1 (CODEX only) |
done |
PermissionRequest |
permission-request.ps1 (returns {"decision":"allow"} so the runtime's fail-closed default does not deny) |
waiting |
PermissionDenied |
permission-denied.ps1 |
error |
The hooks conform to the portable spec proposed in
MiniMax-Code-Plugins PR #20. Each script reads the JSON event payload from
stdin, calls notify-island.ps1 with the appropriate state, and exits 0
(decision-bearing events also write a JSON decision to stdout). Self-push
filtering prevents the pill from churning when the agent calls
notify-island.ps1 directly through Bash.
If you are running on mcode 0.2.4+ and the pill is updating itself before you push anything, Mode A is active. Otherwise fall through to Mode B.
Mode B — Agent-pushed (legacy, always works)
For older mcode, or when the io.minimax.mcode extension is not yet active
(registry validator has not accepted the namespace), the agent pushes state
through notify-island.ps1 directly. The mcode-status-detect.ps1 detector
also infers state from the runtime's ledger.jsonl / messages.jsonl, so
the pill will still move — your manual pushes just sharpen the message and
cover edge cases (notably ask_user).
| moment | state | example message |
|---|---|---|
| receive user task, start reasoning | thinking |
(none) |
| about to invoke any tool | working |
"bash: npm test" |
| tool returned 0, before reporting back | done |
"3 files modified" |
| tool needs approval (e.g. permission prompt) | waiting |
"bash: needs approval" |
about to call ask_user (user must pick) |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mcode-island?
Push the user's terminal out of focus to a Windows desktop Dynamic Island pill so the user can watch your work without switching back to mcode. On mcode 0.2.4+ with the `io.minimax.mcode` Hooks extension enabled (forward-compatible with MiniMax-Code-Plugins PR
Как установить скилл mcode-island?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcode-island запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…