agentleFS
Comfy-OrgComfy-Org/comfy-skills/AGENTS.md

comfy-skills

AGENTS.md252 starsChanged 20 days agoMITView on GitHub

Comfy Cloud skills and plugins for AI coding agents: the Agent Skills, slash commands, and MCP connection that let an agent generate images, video, audio, and 3D, search models/nodes/templates, and run ComfyUI workflows through the hosted Comfy Cloud service. Everything here is plain Markdown (command/skill files plus JSON manifests) — there is no application code, build step, or compiled artifact. This repo has no package manifest, test suite, or lint config. The one check the project runs is Claude Code's…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run them from the repo root.

    line 20
  2. Very specific:

    Write stable *steering* (the approach) and tell the agent to *discover* current options at run time via the tools (search_templates with …

    line 61
  3. Very specific:

    claude-code/ is canonical; skills/ is frozen: Prefer editing the plugin under claude-code/.

    line 69
  4. Very specific:

    Leave that file's code samples valid.

    line 91

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Comfy Cloud skills and plugins for AI coding agents: the Agent Skills, slash commands, and MCP connection that let an agent generate images, video, audio, and 3D, search models/nodes/templates, and run ComfyUI workflows through the hosted Comfy Cloud service. Everything here is plain Markdown (command/skill files plus JSON manifests) — there is no application code, build step, or compiled artifact.

Commands

This repo has no package manifest, test suite, or lint config. The one check the project runs is Claude Code's plugin-manifest validator (README "Contributing"):

claude plugin validate ./claude-code       # comfy-cloud
claude plugin validate ./claude-code-sdk   # comfy-sdk

Run them from the repo root. comfy-cloud points agents at the hosted MCP server (https://cloud.comfy.org/mcp); it does not run a server. comfy-sdk ships no MCP server.

Directory map

  • claude-code/ — the comfy-cloud plugin for chat, Cowork, and Claude Code. Edit the plugin here.
    • claude-code/skills/<name>/SKILL.md — Agent Skills. name matches the folder. Descriptions are triggers. Bodies add guidance on top of the MCP server's tools and prompts. They must not assume a local install or an API key in chat.
    • claude-code/commands/ — slash commands for Cowork and Claude Code. In chat, command files also load as skills, so do not put jokes or shell-only pranks here. rickroll is not in this folder.
    • claude-code/.mcp.json — hosted connector (https://cloud.comfy.org/mcp), kept in sync with mcpServers in plugin.json.
    • claude-code/.claude-plugin/plugin.json — plugin metadata. name stays comfy-cloud.
  • claude-code-sdk/ — the comfy-sdk plugin: one skills/comfy-sdk/SKILL.md and metadata only. Keep it a single file. Do not add an MCP server here.
  • .claude-plugin/marketplace.json — marketplace manifest so /plugin marketplace add Comfy-Org/comfy-skills resolves both plugins.
  • skills/ — legacy flat files for the deprecated comfy-cloud-mcp curl installer. Frozen. Also the snapshot source for Comfy Cloud MCP prompts (refresh-skills mirrors skills/*.md). Do not add SKILL.md trees here and do not edit these files when changing the plugin.
  • There is no techniques/ directory on main. Recipe files that exist today are skills/technique-*.md. The MCP server serves them through its technique tool. Do not copy those recipes into the plugin. combine-people is a slash command only, not a second skill.
  • openclaw/comfy/SKILL.md — the OpenClaw-format skill for the hosted MCP.
  • assets/ — static assets (the README logo).
  • .github/workflows/ — CI (see below).

Conventions and gotchas

  • Authoring rule — steer the approach, defer the specifics (README has the full version). A skill or command is frozen on the user's machine at install time, so it must never hard-code facts that rot: template names, live model names, node ids. Write stable steering (the approach) and tell the agent to discover current options at run time via the tools (search_templates with tag, search_nodes with typed params) instead of pasting today's catalog inline. If you catch yourself typing a literal model/template/node name into a command, point the agent at the tool that returns the current set instead.
  • Skills and commands are thin Markdown. Skills use name and description frontmatter under claude-code/skills/<name>/SKILL.md. Commands use a short description under claude-code/commands/. Keep prose clear, and avoid emoji.
  • claude-code/ is canonical; skills/ is frozen. Prefer editing the plugin under claude-code/. Don't build new work on the legacy skills/ layout, and don't rewrite it — production MCP prompts are rendered from those files.
  • comfy-cli skills live elsewhere. The comfy, comfy-debug, comfy-build, etc. agent skills are no longer in this repo — they ship bundled inside comfy-cli (comfy_cli/skills/) and install via comfy skills install. Don't re-add them here.
  • Commit style — Conventional Commits with an optional scope, matching the git history: feat(generate-video): …, fix(generate-audio): …, chore: …, docs(openclaw): …. Land changes via pull request.
  • Public repo. This repository is public; keep everything committed here fit for a world-readable audience (no secrets, no private internal detail).

CI

  • .github/workflows/detect-unreviewed-merge.yml runs on every push to main: a SOC 2 compliance check that flags merges landing without an approving review (it calls a reusable workflow in Comfy-Org/github-workflows and opens a tracking issue). It is not a build/test/lint gate — it does not validate the plugin or block PRs — so it stays green regardless of content changes.
  • .github/workflows/sdk-skill-smoke.yml runs on pull requests. It checks that claude-code-sdk/skills/comfy-sdk/SKILL.md still matches the published SDKs. Leave that file's code samples valid. claude plugin validate above is still the manual pre-push check for both plugins.

Deeper docs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.