Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/comfy-org/comfy-skills/upscale-imagegit clone --depth 1 https://github.com/Comfy-Org/comfy-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/comfy-org/comfy-skills/upscale-image)<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/upscale-image"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/upscale-image.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00008 | $0.00565 |
| Opus 5 | $0.00004 | $0.00282 |
| Sonnet 5 | $0.00002 | $0.00113 |
| Haiku 4.5 | $0.00001 | $0.00056 |
Grade A, and why
upscale-image scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
8. Call `get_output` to retrieve the upscaled image. Pass a short `description` parameter (e.g. "upscaled-photo") so the suggested filename is descriptive, then run the returned curl command in the user's shell to downlo What it actually says
Upscale an image using Comfy Cloud: $ARGUMENTS
Follow these steps exactly:
-
Use
search_templateswith queries like "upscale", "super resolution", or "image upscaler" to find a pre-built upscaling workflow template. If a good template exists, use it as the base workflow instead of building from scratch. -
If no suitable template was found, use
search_modelswith type "upscale_models" to find an appropriate upscaler model. Popular options: 4x-UltraSharp (general purpose), RealESRGAN_x4plus (photorealistic), RealESRGAN_x4plus_anime_6B (anime/illustration), 4x_NMKD-Siax_200k (balanced). For 2x upscale, look for 2x models. -
The user must provide an input image. Use
upload_fileto upload it to Comfy Cloud. Use the returned filename in a LoadImage node. -
Build a ComfyUI API-format workflow JSON for upscaling. A standard upscale workflow uses: LoadImage → UpscaleModelLoader → ImageUpscaleWithModel → SaveImage. For higher quality results with more control, you can use a two-pass approach: upscale first, then run through img2img with a checkpoint at low denoise (0.2-0.4) to add detail.
-
Validate the workflow has inputs and outputs before submitting. Confirm the JSON contains:
- At least one input node (
LoadImagefor the source image). - At least one output/save node wired to the upscaled image (
SaveImage, or the partner node's own save output).
Without an output node the job runs successfully but produces nothing retrievable, wasting compute. Do not skip this check.
- At least one input node (
-
Call
submit_workflowwith the workflow JSON. -
Poll
get_job_statusevery 3 seconds until the job is completed. Show the user a brief status update while waiting. If the user asks to cancel, usecancel_jobwith the prompt_id. -
Call
get_outputto retrieve the upscaled image. Pass a shortdescriptionparameter (e.g. "upscaled-photo") so the suggested filename is descriptive, then run the returned curl command in the user's shell to download the file. -
Display the result to the user. Mention the output resolution compared to the input if known.
If any step fails, show the error clearly. Common issues: input image too large for GPU memory (suggest downscaling first or using a tile-based upscaler like UltimateSDUpscale).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 32 lines · 8 tokens per session scan A eeb3cc54f862
upscale-image is a command published in the GitHub repository Comfy-Org/comfy-skills (189 stars, last pushed 7d ago), licensed MIT. It adds 8 tokens to every session and 565 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
cancel-ralph
Cancel active Ralph Loop.
upgrade
Upgrade the skillshare CLI binary and/or the built-in skillshare skill.
release
Git geçmişinden hedef kitleye uygun sürüm notları oluştur.
spec-forge
Use when generating software specifications — full chain (Idea→Decompose→Tech Design + Feature Specs) or individual documents.
wp-set-attributes
The WP SET ATTRIBUTES command allows you to set the value of any attribute in a range, element, document. This command gives you access to any kind of 4D Write Pro internal attribute: character, paragraph, document, table, or image.
verify
Perform a non-destructive post-implementation verification gate validating the implementation against spec.md, plan.md, tasks.md, and constitution.md.