Excel live-control should discover list_document_sessions before recommending reinstall

Open 💬 0 comments Opened Aug 4, 2026 by jeonking80

Environment

  • Windows 11
  • codex-cli 0.144.1
  • Spreadsheets primary-runtime cache version 26.801.11242

Problem

skills/excel-live-control/SKILL.md checks whether list_document_sessions is already available. If it is not visible, the skill immediately tells the user to reinstall the Spreadsheets plugin and start a new thread.

In current Codex sessions, connected-document tools can be lazy-discoverable even when they are not initially present in the exposed tool list. In the observed session, mcp__codex_apps__codex_document_control_list_document_sessions was callable after discovery. The existing instruction can therefore send users through an unnecessary reinstall/new-thread loop.

Expected

Before declaring the connected-document surface unavailable, perform one tool-discovery attempt for list_document_sessions. Only recommend reinstalling or starting a new thread if discovery also fails.

Scope and evidence

The behavior was confirmed against the managed 26.801.11242 skill contract and a session where the tool became callable through discovery. The managed cache was not modified because no public canonical checkout for this package was available.

View original on GitHub ↗