Skip to main content
Glama

generate_node_skill

Creates a SKILL.md documentation file for a ComfyUI custom node pack using a registry ID or GitHub URL, including node details and example workflows.

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. 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; 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
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.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses network access, use of GITHUB_TOKEN, optional server dependency, and the overwrite behavior when writing to disk. This is transparent and helps the agent understand side effects and requirements.

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 a single paragraph of moderate length. It front-loads the main action and then provides necessary details. While it could be slightly more terse, all sentences are informative and no unnecessary words are present.

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

Completeness4/5

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

Given the complexity (network access, optional server, optional file write) and lack of output schema, the description covers the essential behaviors: input forms, process steps, return value, and side effects. It does not detail error scenarios but is sufficient for agent selection and invocation.

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

Parameters4/5

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

The input schema covers both parameters with descriptions. The tool description adds value by explaining the types (Registry ID vs GitHub URL) for 'source' and clarifying that 'install_in' is optional, will create directories recursively, and overwrites existing files. This enriches the agent's understanding beyond the schema.

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 defines the tool's purpose: generate a SKILL.md for a ComfyUI custom node pack, specifying the input types (Registry ID or GitHub URL) and the process (fetch README, scan mappings, optionally enrich with server info). It is distinct from sibling tools which focus on managing workflows, nodes, and ComfyUI operations.

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 the two acceptable input sources and notes that internet access is required. It also mentions the optional ComfyUI server enrichment. While it does not explicitly contrast with alternatives, the uniqueness of the tool and the provided context give sufficient guidance on when to use it.

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