sublime-dialogs

sublime-dialogs is a skill for Claude Code, Codex from dpc00/sublime-mcp. It costs 57 tokens per session (797 once invoked), scanned A, original, MIT.

A procedure for handling Sublime Text dialogs, menus, update windows, and commands that stop because the editor's main thread is blocked.

In plain words
What is it for?
Use it after installs or prompting commands, and whenever Sublime reports a main-thread timeout or appears locked.
Why use it?
An open dialog can block the editor and cause other tool calls to time out. This procedure helps the agent inspect the dialog, fix its cause, and close it safely.

Skill for Claude CodeCodex

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

Good fit Use it after installs or prompting commands, and whenever Sublime reports a main-thread timeout or appears locked.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dpc00/sublime-mcp/sublime-dialogs/github.svg)](https://agentmods.dev/skills/dpc00/sublime-mcp/sublime-dialogs)
Your own site
<a href="https://agentmods.dev/skills/dpc00/sublime-mcp/sublime-dialogs"><img src="https://agentmods.dev/badge/skills/dpc00/sublime-mcp/sublime-dialogs/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 sublime-dialogs

Your own site · 80×15
<a href="https://agentmods.dev/skills/dpc00/sublime-mcp/sublime-dialogs"><img src="https://agentmods.dev/badge/skills/dpc00/sublime-mcp/sublime-dialogs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 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.
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.00057 $0.00797
Opus 5.5 $0.00023 $0.00319
Sonnet 5.5 $0.00011 $0.00159
Haiku 4.5 $0.00006 $0.00080

Measured 28d ago against content hash 88e8a83a6521, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sublime-dialogs 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 28d 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.

skills/sublime-dialogs/SKILL.md · 48 lines

How it starts

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

Sublime dialogs: read them, act on them, close them

A dialog is Sublime or a package complaining, and it says what is wrong. One left open disables the editor window and times out most tools, so none is ever left open. Which tools open dialogs is in AGENT_GUIDE.md ("Tools with side effects").

  1. Look. After a package install, a command that may prompt, or any "main-thread timeout after 5s", call list_native_windows(). It works while the main thread is blocked and shows each dialog's text and buttons and whether main_thread_blocked is true.
  2. Read and act. The text names the cause. Fix the cause, not the symptom: a missing library means satisfy_libraries; a save prompt for a file you opened means answer it; a package error means read that package's console output and settings. Do not report each dialog to the person; report only what needs a decision or what you could not fix.
  3. Close it at once with dismiss_native_window: the Cancel button when there is one (Save As, Open and Select Folder have Cancel and no OK), OK for an information dialog, action="close" for a menu or the "Update" window (Sublime shows it even with update_check false; never update a portable test build).
  4. If it comes back, stop it coming back. Change what opens it (a setting, a missing dependency, the order of your steps). Closing it again each time is not a fix.
  5. Look again. Dialogs often come in twos (one per plugin load). Then read get_console for the errors the dialog was about.

A native menu blocks the main thread like a dialog, and a menu is part of what is being tested, so use the real one with the real mouse: open it, list_native_windows() (kind menu, note its hwnd), ui_screenshot(hwnd=...) to see it, ui_click(x, y, hwnd=..., wait_idle_s=60) with x, y counted from the menu's top-left corner, then check the effect with a normal tool. If no click is wanted, close it with dismiss_native_window(action="close") as the very next call. Never leave a menu open.

Read the full file on GitHub · 48 lines

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. 28d ago First seen · 48 lines · 57 tokens per session scan A 88e8a83a6521

Subscribe to this mod's changes

sublime-dialogs is a skill published in the GitHub repository dpc00/sublime-mcp (4 stars, last pushed 8d ago), licensed MIT. It adds 57 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 5.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-10-19.

Related

sublime-dialogs compared with skills from other repositories

sublime-dialogs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sublime-dialogsdpc00/sublime-mcpSkill48d agoMITA57Claude Code, Codex
report-issue-localcyanheads/obsidian-mcp-serverSkill7065d agoApache-2.0A44Claude Code
opik-diagnosecomet-ml/opik-mcpSkill2262d agoApache-2.0A187Claude Code
opik-explaincomet-ml/opik-mcpSkill2262d agoApache-2.0A113Claude Code
lsp-inspectblackwell-systems/agent-lspSkill180todayMITA126Claude Code
lsp-refactorblackwell-systems/agent-lspSkill180todayMITA57Claude Code
lsp-safe-editblackwell-systems/agent-lspSkill180todayMITA59Claude Code