importing-subgraphs
Skill by Comfy-Org
Imports subgraph blueprints into the ComfyUI workflow_templates repository. It covers placing blueprint JSON, adding thumbnails, running the import and sync scripts, and validating the results. Aimed at contributors adding blueprints to that repo.
Install importing-subgraphs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Comfy-Org/workflow_templates /tmp/workflow_templates && mkdir -p ~/.claude/skills && cp -r /tmp/workflow_templates/.claude/skills/importing-subgraphs ~/.claude/skills/importing-subgraphsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Comfy-Org/workflow_templates /tmp/workflow_templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workflow_templates/.claude/skills/importing-subgraphs ~/.gemini/antigravity-cli/skills/importing-subgraphsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install importing-subgraphs in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an assistant through importing and registering subgraph blueprints into the ComfyUI workflow_templates repository. Blueprints are pre-built ComfyUI node components stored in blueprints/ and shipped through the comfyui-subgraph-blueprints package. The skill covers obtaining blueprint JSON from an external directory or a manual export, adding optional thumbnails, embedding model metadata, syncing to packages, validating, and bumping the version.
The workflow runs the repository's import, sync and validation scripts and forbids editing build tooling or CI configuration. Blueprint JSON must include a definitions.subgraphs array with at least one entry, and filenames must be snake_case. It is aimed at contributors who want to add a subgraph blueprint to ComfyUI's template repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Import blueprint JSONCopies blueprint files from an external directory or places a single exported file into blueprints/.
- Add thumbnailsAdds optional webp thumbnail images named after the blueprint.
- Embed model metadataAdds a models array to model-loading nodes so model names and sources are recorded.
- Sync to packagesRuns the sync script to write the manifest and copy blueprint files into the package directory.
- Validate blueprintsRuns the validation script to check JSON syntax, index schema, blueprint structure and bundle consistency.
- Bump versionGuides incrementing the version in the root pyproject.toml so CI can publish affected packages.
What you need
- Python, to run the import, sync and validation scripts
- A local checkout of the ComfyUI workflow_templates repository
Try asking
- Import all blueprints from this folder into the workflow_templates repo
- Add this subgraph JSON as a new blueprint and validate it
- Embed model info into the blueprint for my UNETLoader node
Good to know
- Never modify scripts, build tooling, or CI configuration.
- Blueprint filenames must be snake_case; the import script renames files automatically.
- CI fails if bundles or manifests are out of sync.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/importing-subgraphs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to importing-subgraphs
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
importing-subgraphs: common questions
What file structure does a blueprint need?
The JSON must contain definitions.subgraphs[0] with name, inputs, outputs and nodes fields. The skill lists these as required.
What image format do thumbnails use?
The source says to convert thumbnails to webp at about 65% lossy quality. The import script sets the mediaSubtype to webp in index.json.
Should index.json be edited by hand?
No. The source marks blueprints/index.json as a generated metadata index that should not be edited manually.
How do I install importing-subgraphs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is importing-subgraphs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is importing-subgraphs safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to importing-subgraphs?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
