Skip to content
FunCoding

Search

Search docs, Skills and MCP

civitai

Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

AI 与智能体797plugin/skills/civitai/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/artokun/comfyui-mcp/civitai/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Civitai + comfyui-mcp

comfyui-mcp has native Civitai search built in (download_model action:"search_civitai") plus the local half of the loop: download, wire, queue, tag. The full flow (find, install, generate) needs no other server and no API key, and works on every backend, including small local models behind the compact router.

The built-in flow (default path)

download_model({ action: "search_civitai", query, types: ["LORA"], base_models: ["Flux.1 D"] })
        │                    each hit: model_id · model_version_id · trigger words
        ▼
download_model({ action: "download_civitai", model_version_id, target_subfolder: "loras" })
        │
        ▼
list_local_models({ action: "list" })  →  panel_add_node loader / generate_image   # use it
  • ALWAYS filter base_models when the user's checkpoint family is known. A Flux LoRA will not load on an SDXL checkpoint (see model-compatibility). CivitAI labels: Flux.1 D, SDXL 1.0, SD 1.5, Pony, Illustrious, Wan Video.
  • target_subfolder must match the model type: checkpoints, loras, vae, controlnet, embeddings, upscale_models, and so on.
  • Results are SFW-only by default (nsfw: true to opt in).
  • Each hit carries trigger words. Put them in the prompt after installing.
  • Prefer model_version_id over model_id. A Civitai page can list several versions and the user usually means a specific one.

Search needs no API key. CIVITAI_API_TOKEN (from civitai.com/user/account) unlocks gated/early-access downloads and gated search results. Set it once, in panel Settings under "Set CivitAI token…" or in env.

Recipes

"Find me a good anime LoRA for Flux and install it"

  1. download_model({ action: "search_civitai", query: "anime style", types: ["LORA"], base_models: ["Flux.1 D"] }).
  2. Present the top 3 to 5 with name, creator, base model, downloads, and the version id. Let the user pick.
  3. download_model({ action: "download_civitai", model_version_id, target_subfolder: "loras" }).
  4. In the panel, panel_add_node a LoraLoader, panel_set_widget the lora_name, wire it between checkpoint and sampler, and use the hit's trigger words in the prompt. Headless: generate_image(action="image") / build the workflow.

"Download this Civitai page for me" (user pastes a URL)

  • Parse the modelVersionId from the URL if present; otherwise pass the model id from the URL to action:"download_civitai" (it resolves the latest version). A raw civitai.com/api/download/... URL also works via action:"download" with CIVITAI_API_TOKEN set.

Optional: the official Civitai MCP (community surface)

For features beyond search and install (browsing example images and their generation params, collections, posting, reviews, bounties), pair the official remote server. It is no longer auto-bundled; add it once:

claude mcp add --transport http civitai https://mcp.civitai.com/mcp \
  --header "Authorization: Bearer YOUR_CIVITAI_API_KEY"

Then mcp__civitai__* tools appear alongside comfyui-mcp's. Its discovery results hand off identically (modelVersions[].id → action:"download_civitai").

That server also exposes write/social tools (post, comment, review, DM, follow). Those publish on the user's behalf, so show what you're about to post and get an explicit yes first. This skill covers discovery, local install, and generation; don't post or message without being asked.

See also

  • model-registry for curated direct download URLs (HF + Civitai notes)
  • model-compatibility for base-model / VAE / CLIP pairing (why a LoRA won't load)
  • prompt-engineering because Civitai image params are a prompt goldmine

Sources

Similar Skills

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents