Skip to main content
Glama

generate_node_skill

Generate a SKILL.md markdown file documenting a ComfyUI custom node pack from its registry ID or GitHub repository URL. Supports caching and optional directory installation.

Instructions

Generate a Claude skill (SKILL.md) documenting a ComfyUI custom node pack: its nodes, inputs/outputs, and example workflows. Accepts a ComfyUI Registry ID (resolved via api.comfy.org) or a GitHub repository URL. Uses a read-through cache under ~/.comfyui-mcp/skill-cache (override COMFYUI_SKILL_CACHE_DIR); set refresh:true to bypass it. On cache miss, fetches the repo README and scans its Python NODE_CLASS_MAPPINGS and example workflows over the network (uses GITHUB_TOKEN if set to avoid rate limits), so internet access is required. If a ComfyUI server is reachable it enriches node input/output types from /object_info, but the server is optional. Returns the SKILL.md markdown with structured cache metadata; if install_in is set, also creates that directory (recursively) and writes SKILL.md there, overwriting any existing file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesComfyUI Registry node ID (e.g. 'comfyui-impact-pack') or GitHub repository URL
refreshNoBypass the read-through cache and regenerate the SKILL.md, overwriting the cached entry.
install_inNoOptional directory to write the generated SKILL.md into. Created recursively if missing; an existing SKILL.md is overwritten. Omit to only return the markdown without touching disk.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully discloses behaviors: caching mechanism (read-through cache with refresh bypass), network fetches (README, Python scan, optional server enrichment), file system side effects (overwrites existing SKILL.md if install_in set), and dependency on environment variables (GITHUB_TOKEN, COMFYUI_SKILL_CACHE_DIR).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with logical flow: purpose, input types, caching, optional enrichments, output. It is slightly verbose but every sentence adds necessary detail. Could be tightened slightly without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (3 parameters, no output schema, no annotations), the description covers all essential aspects: what the tool does, how to specify the source, caching behavior, network requirements, optional server enrichment, return value (markdown with metadata), and side effects (file creation). It leaves no major gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage (baseline 3), the description adds significant value: it explains source examples, clarifies install_in directory creation and overwrite semantics, and details refresh bypass. This enriches understanding beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates a Claude skill (SKILL.md) documenting a ComfyUI custom node pack, specifying what it documents (nodes, inputs/outputs, workflows). It distinguishes from sibling tools like generate_audio or generate_image by focusing on documentation generation for node packs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use the tool (for documenting node packs) and details input formats (Registry ID or GitHub URL), optional parameters (install_in, refresh), and dependencies (GITHUB_TOKEN, optional ComfyUI server). However, it does not explicitly state when not to use it or compare with alternatives like get_node_info.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server