Skip to content
Agentmart
Submit a tool

comfyui-cli

Use the official comfy-cli safely for ComfyUI workspace discovery, setup, launch and stop, structured JSON automation, workflow execution including UI-format…

Skill by badgids

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/badgids-comfyui-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use the official comfy-cli safely for ComfyUI workspace discovery, setup, launch and stop, structured JSON automation, workflow execution including UI-format conversion, jobs, uploads, downloads, nodes, models, templates, memory, updates, and approved dependency changes.

Use cases: design, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/comfyui-cli

What's inside

Skill name
comfyui-cli
Description
Use the official comfy-cli safely for ComfyUI workspace discovery, setup, launch and stop, structured JSON automation, workflow execution including UI-format conversion, jobs, uploads, downloads, nodes, models, templates, memory, updates, and approved dependency changes.
License
Apache-2.0
Instructions
52 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# comfy-cli

## Read

- `../../references/COMFYUI_CLI.md`
- `../../references/COMFYUI_SECURITY.md`

## Procedure

1. Detect `comfy` from `COMFY_BIN` or PATH. Do not guess a personal binary path.
2. Ask the installed CLI for help when command syntax is uncertain.
3. Prefer `--json` for machine-readable automation.
4. Resolve the target workspace with `comfy which` or the user's explicit workspace option.
5. Use background launch for an agent-controlled server lifecycle.
6. Probe ComfyUI after launch.
7. Use comfy-cli's run path when a UI-format workflow needs its supported conversion.
8. Keep the prompt ID and use jobs/download for long runs.

Bundled bridge:

```text
python scripts/comfyui_cli_bridge.py info
python scripts/comfyui_cli_bridge.py launch
python scripts/comfyui_cli_bridge.py stop
python scripts/comfyui_cli_bridge.py run --workflow WORKFLOW.json
```

The bridge is intentionally narrow. For commands not wrapped there, inspect the installed CLI help and call `comfy` directly.

## Mutating dependencies

Custom node installs, broad updates, version switching, and model downloads change the execution environment. Require user intent, then restart and revalidate as appropriate.

## Cloud

Do not add `--where cloud` as an automatic fallback. Cloud and partner operations can spend credits.

## Live dependency operations

Use the bridge's read-only model and package discovery before changing the environment:

```text
python scripts/comfyui_cli_bridge.py models-search --text MODEL
python scripts/comfyui_cli_bridge.py node-deps PACK
python scripts/comfyui_cli_bridge.py deps-in-workflow --workflow WORKFLOW.json --out DEPS.json
```

For an approved custom-node or model change, use the guarded bridge command. Never add `--confirm` merely because a command refused to proceed. The user must already have approved that exact environment change.

After a custom-node install, update, reinstall, repair, or dependency installation, restart ComfyUI and run live workflow validation again.

From badgids/Story-Film-Skills, Apache-2.0.

More from badgids/Story-Film-Skills

Signals

Stars
6
Forks
2
Open issues
0
Last commit (this folder)
Aug 19, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from badgids

Cite this page

comfyui-cli skill. Agent Mart. https://agentmart.dev/skills/badgids-comfyui-cli (last updated 2026-10-24)