comfy-researcher

comfy-researcher is an agent for Claude Code from artokun/comfyui-mcp. It costs 22 tokens per session (795 once invoked), scanned A, original, MIT.

A discovery agent for finding and ranking ComfyUI custom node packs, which add specialised operations to ComfyUI image-generation workflows.

In plain words
What is it for?
Use it to find packs for tasks such as face detail, pose control, segmentation, upscaling, animation, prompt utilities, model loading, or workflow automation.
Why use it?
It narrows a stated image-generation need to relevant node packs instead of making you search the registry manually.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the comfy plugin — 42 skills, 11 commands, 4 agents, 2 hooks shipped together

Good fit Use it to find packs for tasks such as face detail, pose control, segmentation, upscaling, animation, prompt utilities, model loading, or workflow automation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/artokun/comfyui-mcp/researcher
Install

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.

Clone the repo
git clone --depth 1 https://github.com/artokun/comfyui-mcp

Made for: Claude Code.

Or install comfy, the plugin that ships this one along with the rest of its 42 skills, 11 commands, 4 agents, 2 hooks.

Wrote 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.

agentmods badge for comfy-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/artokun/comfyui-mcp/researcher/github.svg)](https://agentmods.dev/agents/artokun/comfyui-mcp/researcher)
Your own site
<a href="https://agentmods.dev/agents/artokun/comfyui-mcp/researcher"><img src="https://agentmods.dev/badge/agents/artokun/comfyui-mcp/researcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for comfy-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/artokun/comfyui-mcp/researcher"><img src="https://agentmods.dev/badge/agents/artokun/comfyui-mcp/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00795
Opus 5 $0.00011 $0.00398
Sonnet 5 $0.00004 $0.00159
Haiku 4.5 $0.00002 $0.00080

Measured 9d ago against content hash 75ed910954a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

comfy-researcher scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugin/agents/researcher.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an autonomous discovery agent for ComfyUI custom node packs. You have access to ComfyUI MCP tools (mcp__comfyui__*) for searching the registry, inspecting node packs, and generating cached skills.

Your Mission

Given a problem statement, you will discover candidate custom node packs and return a ranked recommendation. You are the DISCOVERY angle. Find the right pack for the user's need. For deep analysis of one known pack, delegate to comfy-explorer instead of duplicating its work.

Workflow

Step 1: Translate the Problem

  • Extract the core capability the user needs, such as face detail, pose control, segmentation, upscaling, animation, prompt utilities, model loading, or workflow automation
  • Turn that into 2-4 short registry search queries
  • Keep the original user goal visible when ranking; do not optimize only for popularity

Step 2: Search the Registry

  • Use mcp__comfyui__search_custom_nodes with action: "search" for each query
  • Shortlist 3-6 candidates with clear relevance
  • Prefer actively maintained packs with strong descriptions, useful node coverage, install count signal, and a repository URL
  • Models, not nodes. If the user needs a checkpoint, LoRA, embedding, or VAE (not a custom node pack) and the official Civitai MCP is connected (mcp__civitai__* tools present), prefer that server's own model search for discovery and hand the returned model-version id to mcp__comfyui__download_model with action:"download_civitai". Fall back to mcp__comfyui__download_model with action:"search" (HuggingFace) when it isn't connected. See the civitai skill for the full handoff.

Step 3: Evaluate Candidates

  • Use mcp__comfyui__search_custom_nodes with action: "details" for each shortlisted pack
  • Record: pack id, name, repository, latest version, installs, node types, and any license or compatibility notes
  • For the strongest candidates, call mcp__comfyui__list_packs with action: "generate_skill" to get deeper node/workflow context; rely on its cache and use refresh: true only when stale results would materially change the recommendation
  • Optionally use WebSearch or WebFetch for community signal, examples, maintenance concerns, or known pitfalls

Read the full file on GitHub · 57 lines

Changes

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.

  1. 9d ago First seen · 57 lines · 22 tokens per session scan A 75ed910954a4

Subscribe to this mod's changes

comfy-researcher is an agent published in the GitHub repository artokun/comfyui-mcp (730 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 795 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

image-visual-qa

Vision QA for generated article images. Reads every PNG in images.json, scores 13 defect classes (composition, anatomy, garbled text, empty labels, brand drift, content mismatch, contrast, AI-look, chart legibility), rewrites prompts and triggers targeted regeneration (max 2 rounds), writes image-qa-report.json. Never…

XuanRanL/loamwright-SEO-Skill · 83 tokens

image-curator

After batch-job-poller downloads images + image-post-processor finishes WebP/srcset, this agent polishes alt text per image, generates captions, replaces [IMAGE-SLOT-N] placeholders in draft.md, injects ImageObject schema. Final image step (Stage 27f).

XuanRanL/loamwright-SEO-Skill · 61 tokens

PAM

Promotion & Advertising Manager for OpenLayer. Finds the target audience, plans and drafts promotional posts for the forums and communities where Photoshop + AI users actually are, and improves the project's discoverability — README, GitHub topics, landing page, meta tags, keywords. Use when asking "where should we…

MehranMarxian/OpenLayer · 105 tokens

WFL

Researches new ComfyUI models, workflows, and custom nodes, and reports which ones are worth adding to OpenLayer. Use when asking "what's new that we should support", evaluating a specific model or node pack for inclusion, checking whether a preset has been superseded, or before planning a release that adds generation…

MehranMarxian/OpenLayer · 78 tokens

quality-reviewer

Reviews generated creative for brand consistency, visual quality, copy accuracy, and platform compliance before approval queue.

indranilbanerjee/socialforge · 24 tokens

carousel-builder

Renders multi-slide carousels from HTML/CSS templates using Playwright. Handles slide content injection, brand styling, and PDF assembly.

indranilbanerjee/socialforge · 31 tokens