Browse Source

Remove Hermes references from comfyui skill

main
张正强 1 month ago
parent
commit
6cc05ade87
  1. 19
      image-creation/comfyui/SKILL.md
  2. BIN
      image-creation/comfyui/comfyui.zip
  3. 2
      image-creation/comfyui/references/template-integrity.md
  4. 2
      image-creation/comfyui/scripts/_common.py
  5. 10
      image-creation/comfyui/tests/README.md

19
image-creation/comfyui/SKILL.md

@ -2,7 +2,6 @@
name: comfyui
description: "Generate images, video, and audio with ComfyUI — install, launch, manage nodes/models, run workflows with parameter injection. Uses the official comfy-cli for lifecycle and direct REST/WebSocket API for execution."
version: 5.1.0
author: [kshitijk4poor, alt-glitch, purzbeats]
license: MIT
platforms: [macos, linux, windows]
compatibility: "Requires ComfyUI (local, Comfy Desktop, or Comfy Cloud) and comfy-cli (auto-installed via pipx/uvx by the setup script)."
@ -10,21 +9,6 @@ prerequisites:
commands: ["python3"]
setup:
help: "Run scripts/hardware_check.py FIRST to decide local vs Comfy Cloud; then scripts/comfyui_setup.sh auto-installs locally (or use Cloud API key for platform.comfy.org)."
metadata:
hermes:
tags:
- comfyui
- image-generation
- stable-diffusion
- flux
- sd3
- wan-video
- hunyuan-video
- creative
- generative-ai
- video-generation
related_skills: [stable-diffusion-image-generation, image_gen]
category: creative
---
# ComfyUI
@ -44,8 +28,7 @@ for workflow execution.
editor format to API format: Reroute bypass, dotted dynamic-input keys
(`values.a`, `resize_type.width`), Cloud quirks (302 redirect, 1 concurrent
free-tier job, 1080p VRAM ceiling), Discord-compatible ffmpeg stitch.
Authored by [@purzbeats](https://github.com/purzbeats). Load this whenever
you're starting from an official template.
Load this whenever you're starting from an official template.
**Scripts (`scripts/`):**

BIN
image-creation/comfyui/comfyui.zip

Binary file not shown.

2
image-creation/comfyui/references/template-integrity.md

@ -1,7 +1,5 @@
# ComfyUI Workflow-Template Integrity
> **Authored by [@purzbeats](https://github.com/purzbeats)** — adapted from
> [purzbeats/hermes-agent-comfyui-helper](https://github.com/purzbeats/hermes-agent-comfyui-helper).
> Use this reference when converting workflows from the official
> `comfyui-workflow-templates` package (editor format) into API format for
> submission via `/api/prompt`. The conversion has subtle gotchas that cause

2
image-creation/comfyui/scripts/_common.py

@ -452,7 +452,7 @@ def http_request(
if headers is None:
headers = {}
headers = dict(headers) # copy
headers.setdefault("User-Agent", "hermes-comfyui-skill/5.0")
headers.setdefault("User-Agent", "comfyui-skill/5.0")
if files or form is not None:
# Multipart upload — needs `requests`. The stdlib fallback lacks

10
image-creation/comfyui/tests/README.md

@ -43,8 +43,8 @@ When you change a script:
## Why the explicit `-c` / `-o`?
The parent hermes-agent repo's `pyproject.toml` enables `pytest-xdist` by
default (`-n auto`). This suite is small enough that parallelism isn't
worth the complexity, and pytest-xdist isn't always installed in the user's
environment. The `-c tests/pytest.ini -o addopts="-p no:xdist"` flags make
the suite run identically regardless of the parent project's config.
Some parent repositories may enable `pytest-xdist` by default (`-n auto`).
This suite is small enough that parallelism isn't worth the complexity, and
pytest-xdist isn't always installed in the user's environment. The
`-c tests/pytest.ini -o addopts="-p no:xdist"` flags make the suite run
identically regardless of any parent project's pytest config.

Loading…
Cancel
Save