Logo de Panel Node Pack Sync

Panel Node Pack Sync

Comunidade
artokun
panel-node-pack-sync

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (install_comfyui (action:"self_update"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way that smells like version drift ("panel is too old", a graph_/ui_ command the panel doesn't implement, a feature that works in the docs but not in the sidebar), or when the user asks to update/pin/unpin the panel. It checks the installed panel version against what THIS orchestrator build needs, RESPECTS an explicit version pin (warn-only, never move a pinned user), offers a clear way to unset the pin, runs the sync through the verified install_comfyui(action:'panel') path, and reports the version RE-READ from disk. Never claim a sync that did not happen.

Visão geral

Publicado porartokun
Repositóriocomfyui-mcp
Nome da habilidadepanel-node-pack-sync
Estrelas
811
Forks
137
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por artokun no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Panel Node Pack Sync no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/panel-node-pack-sync
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artokun/comfyui-mcp.git /tmp/comfyui-mcp
mkdir -p .claude/skills
cp -r /tmp/comfyui-mcp/plugin/skills/panel-node-pack-sync .claude/skills/panel-node-pack-sync
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Panel Node Pack Sync em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Panel Node Pack Sync automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Panel Node Pack Sync não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Keep the panel node-pack in sync with the orchestrator

The orchestrator (comfyui-mcp, from npm) and the sidebar panel (comfyui-agent-panel on the Comfy Registry, repo comfyui-mcp-panel) ship separately. Updating one does not update the other. A new orchestrator driving an old panel fails in confusing ways, such as a bridge command the panel doesn't implement or a feature that exists in the docs but not in the sidebar, and those failures are hard for a user to diagnose. This skill closes that gap.

The two rules that outrank everything else here

  1. Never report a sync that did not happen. This whole feature sits on top of the fabricate-success fixes (#639/#641): ComfyUI-Manager reports its queue "drained" even when it never enqueued anything, and a .bak-style copy in custom_nodes can shadow the real panel in the browser. So the only version you may ever tell the user is the one read back from disk after the fact. If the tool throws, the sync FAILED. Say so plainly. Do not soften it, do not retry it into a success, do not report the version you intended to install.

  2. Never move a pinned user. A pin is a promise. If the user pinned the panel, you warn and stop. You do not unpin for them, you do not "just this once", you do not sync anyway because the new version is obviously better. Offer to clear the pin, and act only if they say yes.

Step 1 — Look before you touch anything

install_comfyui(action:'panel', panel_action:'status')

This never errors. Read these fields:

FieldMeaning
installedVersionThe panel version on disk (from its pyproject.toml).
sync.requiredPanelVersionThe highest panel version this orchestrator build needs.
sync.decisionWhat to do — the whole decision is made for you (Step 2).
sync.summaryPlain-language explanation, safe to paraphrase to the user.
pinThe active pin: { pinned, version, source: "env"|"settings", reason }.
shadows.bak-style copies that shadow the real panel in the browser.
isDevSymlinkA developer's symlinked checkout — never ours to modify.

Do not compute the comparison yourself. sync.decision already accounts for the pin, shadow copies, dev symlinks, remote/cloud mode, and unreadable versions.

Step 2 — Act on sync.decision

decisionWhat it meansWhat you do
meets-floorPanel clears the minimum the orchestrator needs. It is not a statement that a newer panel does not exist — nothing on this path knows the newest published version, and most panel fixes ship without raising the floor (#806).Nothing, unless the user is chasing a bug. Say "meets the minimum (X ≥ Y)", never "up to date". If they are debugging, add that a newer panel may carry the fix and that the latest is published in the pack's pyproject.toml.
syncBehind, not pinned, nothing ambiguous.Step 3 — sync it.
pinned-warnBehind, but pinned.Step 4 — warn only. Do not sync.
blockedA shadow copy, or a pin we couldn't read.Step 5 — get it unblocked first.
unknownThe installed version isn't comparable (nightly, dev, unreadable) and nothing is pinned.Report it, don't guess. Offer a deliberate install_comfyui(action:'panel', panel_action:'update') and let the user decide. (If they were pinned you'd have got pinned-warn instead, so unknown never means "quietly ignore a pin".)
dev-installSymlinked dev checkout.Tell them to git pull their own checkout. Change nothing.
not-applicableRemote/cloud, or no local ComfyUI.Explain the panel is managed on the ComfyUI host.

Step 3 — Sync (decision: "sync")

install_comfyui(action:'panel', panel_action:'sync')

That single call re-checks the decision at execution time (the pin may have been set a second ago), runs the update through the hardened, verified path, and re-reads the pack from disk afterwards. Read the result:

  • synced: true → it moved. Report verifiedVersion, the version observed on disk after the op, not the one we asked for. Then tell the user ComfyUI must be RESTARTED to load it (restartRequired: true); this never auto-restarts. Now read stillBehind, which is tri-state:
    • false → the panel provably meets what the orchestrator needs. Done.
    • true → the update applied but did not close the gap. Say so; do not round it up to "you're current now".
    • null → it landed, but the resulting version (e.g. nightly) can't be compared, so whether the mismatch is fixed is unknown. Say exactly that. null is not false. Never report it as "you're fine".
  • synced: false → nothing was changed. decision says why (pinned-warn, meets-floor, blocked, …). This is a normal outcome, not a failure.
  • The tool errored → the sync FAILED. The error text names the cause (ComfyUI-Manager's stale-3.x silent no-op, a shadow copy, an unverifiable post-state) and the fix. Relay it. Never describe a failed sync as "completed with warnings" or "probably fine after a restart".

For a user who is on Comfy Desktop, restart via the Manager reboot endpoint rather than killing the process.

Step 4 — Pinned (decision: "pinned-warn") — WARN, DO NOT SYNC

The user deliberately held the panel where it is. Tell them three things and then stop:

  1. A newer panel that matches their orchestrator exists (requiredPanelVersion).
  2. They are pinned (say to what, and where the pin lives, from pin.source).
  3. How to get off it, if they want to.

Your orchestrator (comfyui-mcp 0.48.32) expects panel 0.11.28+, and you're on 0.11.3. You've pinned the panel to 0.11.3, so I haven't changed anything. Want me to clear the pin and update? I'd unpin and then sync; ComfyUI needs a restart afterwards.

Only if they say yes:

install_comfyui(action:'panel', panel_action:'unpin')      # clears the persisted pin
install_comfyui(action:'panel', panel_action:'sync')       # then Step 3

If pin.source is "env", unpin cannot clear it, because the pin comes from the COMFYUI_MCP_PANEL_PIN environment variable. Tell the user to unset it (or set it to off) in their environment or ~/.comfyui-mcp/.env and restart the orchestrator. Do not edit their environment for them, and do not report them as unpinned. install_comfyui(action:'panel', panel_action:'unpin') returns the still-active pin in that case, and its note says exactly this.

Step 5 — Blocked

  • Shadow copy (shadows non-empty): a dir like .comfyui-agent-panel.bak-0.11.28 in custom_nodes is also served as a web extension, and a dot-prefixed name wins by sort order, so the browser may be loading the old panel no matter what the disk says. Nothing can be verified until it's gone. Tell the user to move it out of custom_nodes (not only rename it) and hard-refresh the ComfyUI tab, then re-run Step 1.
  • Unreadable pin: ~/.comfyui-mcp/panel-settings.json exists but couldn't be parsed, so we cannot prove the user isn't pinned, and we refuse to move them on a guess. Ask them to fix or delete that file (or set COMFYUI_MCP_PANEL_PIN=off), then re-run Step 1.

Pinning on request

If the user wants to stay on their current panel (they're mid-project, a newer panel regressed something, they're testing):

install_comfyui(action:'panel')(action='pin', version='<installedVersion from status>', reason='<why>')

version is required. Never invent one. Pass the installedVersion from Step 1 to pin them where they already are. A pin records intent only. It does not change what is installed.

While it's set, everything that could move the panel refuses, not only install_comfyui(action:'panel'). The panel is an ordinary custom node pack, so the generic node tools are a second door into the same operation, and they are guarded too:

  • install_custom_node / install_custom_node (action: "update") / install_custom_node (action: "reinstall") targeting the panel by any spelling: the registry id, the repo name, or a git URL including ref-carrying forms like …/comfyui-mcp-panel.git@v0.11.28 and …/comfyui-mcp-panel/tree/main. These also route through the verified path automatically, so the version they report is re-read from disk like sync's.
  • id="all", and install_comfyui (action:"update_all"). A bulk update moves the panel along with everything else. ComfyUI-Manager can't update everything-except-one-pack, so while pinned these refuse outright. If the user wants the rest updated, either unpin first or update the other packs individually by id. Say that plainly rather than quietly unpinning to make all work.
  • install_custom_node (action: "fix"), panel_install_node and panel_update_node refuse a panel target outright, pinned or not. They report success as soon as the ComfyUI-Manager queue drains, which proves nothing, and there's no verified equivalent to route them into. Use install_comfyui(action:'panel') instead; don't work around the refusal.

Prefer install_comfyui(action:'panel') throughout. It's the one with status, sync and the pin.

When to run this at all

  • Right after the orchestrator updates (install_comfyui (action:"self_update"), a fresh npm i -g, or a version in the ENVIRONMENT line that's newer than last you saw).
  • When a panel/bridge command fails in a way that smells like version drift: "panel is too old", a graph_*/ui_* command the panel doesn't implement, a documented sidebar feature that isn't there.
  • Whenever the user asks to update, pin, or unpin the panel.

Be proportionate. This is a one-line check. If decision is meets-floor and the user didn't ask, don't narrate it. Carry on with what they wanted. The exception is a user who is DEBUGGING the panel. meets-floor is exactly the state that hides a shipped fix behind an unchanged floor, so there it is worth the sentence.

Absolute rules

  • A sync that didn't move bytes is a FAILURE. Report the thrown error, never a success.
  • Report verifiedVersion (re-read from disk), never the target version, never nightly.
  • A pin is never overridden, not even "temporarily". Unpin requires the user's explicit yes.
  • Never touch a dev symlink. It's someone's working repo.
  • Always say a restart is required after a sync lands; nothing here auto-restarts ComfyUI.

Sources

  • Official: comfyui-mcp panel product behavior (this repo).
  • Empirical: sync/mismatch recipes from observed panel vs disk drift.

Perguntas frequentes

O que a habilidade de IA Panel Node Pack Sync faz?

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (install_comfyui (action:"self_update"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way that smells like version drift ("panel is too old", a graph_/ui_ command the panel doesn't implement, a feature that works in the docs but not in the sidebar), or when the user asks to update/pin/unpin the panel. It checks the installed panel version against what THIS orchestrat...

Por que usar Panel Node Pack Sync no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Panel Node Pack Sync é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Panel Node Pack Sync no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/panel-node-pack-sync. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Panel Node Pack Sync?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Panel Node Pack Sync?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Panel Node Pack Sync com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Panel Node Pack Sync é gratuita?

Sim. A habilidade é publicada no GitHub por artokun sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇