Borrowing it
Nothing to install: this file belongs to MieMieeeee/ComfyUI-Mie-Package-Launcher. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MieMieeeee/ComfyUI-Mie-Package-Launcher/main/AGENTS.mdgit clone --depth 1 https://github.com/MieMieeeee/ComfyUI-Mie-Package-LauncherWrote 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/instructions/miemieeeee/comfyui-mie-package-launcher/agents-md)<a href="https://agentmods.dev/instructions/miemieeeee/comfyui-mie-package-launcher/agents-md"><img src="https://agentmods.dev/badge/instructions/miemieeeee/comfyui-mie-package-launcher/agents-md/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.
<a href="https://agentmods.dev/instructions/miemieeeee/comfyui-mie-package-launcher/agents-md"><img src="https://agentmods.dev/badge/instructions/miemieeeee/comfyui-mie-package-launcher/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.06361 | $0.06361 |
| Opus 5 | $0.03180 | $0.03180 |
| Sonnet 5 | $0.01272 | $0.01272 |
| Haiku 4.5 | $0.00636 | $0.00636 |
Grade A, and why
ComfyUI-Mie-Package-Launcher AGENTS.md 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — 给 AI agent 的操作指南
本文件是 agent 操作本启动器的入口。完整 CLI 契约见
cli.md。
这是什么
ComfyUI 启动器(PyQt5,Windows)。无参数启动 = GUI 图形界面;带子命令 = headless CLI, 复用 GUI 同一套启动/停止路径,适合自动化、监控、开机自启。
支持多环境:一个 ComfyUI 根目录 + python 路径的组合 = 一个「环境」,config 里可存多组。 同时只能运行一个环境,切换前必须先停止当前服务(CLI 会拒绝重复 start,GUI 会提示)。
怎么调用
agent / 自动化推荐 ComfyUI启动器-CLI.cmd:和下面 ComfyUI启动器.exe 行为完全等价(参数 + 退出码透传),但名字带 -CLI,对监控脚本 / NSSM / systemd / GitHub Actions 更友好。必须和 ComfyUI启动器.exe 同目录。
# 打包版(部署/运维场景,agent 通常用这个)—— exe 会自动切到自身所在目录找配置
ComfyUI启动器.exe <command> [--json] [-v]
# 开发版(从仓库根目录跑)
python __main__.py <command> [--json] [-v]
- 无子命令 →
ComfyUI启动器.exe(裸跑)会启动 GUI;ComfyUI启动器-CLI.cmd(裸跑)会转发到help,不弹窗口。 - 未知子命令或仅传 flags(如
frobnicate、--json单独)→ wrapper exit 1 + stderr 一行[ComfyUI启动器-CLI] ERROR: ...,不弹 GUI。 - 所有子命令都支持
--json(输出单行 JSON,便于解析)和-v/--verbose(可叠加-vv)。
子命令速查(agent 最常用)
| 目的 | 命令 | 判断方式 |
|---|---|---|
| 健康检查 | status --json |
退出码 0=在跑 / 3=未跑 / 1=异常;或解析 .running |
| 启动 | start |
阻塞到 /system_stats 就绪;加 --no-wait 立即返回 |
| 停止 | stop |
幂等,未跑也退 0;加 --force 直接 taskkill /F |
| 重启 | restart |
stop 旧 + start 新 |
| 看配置 | info --json |
.comfyui_path .python_path .port .launcher_version .environments .active_env_id |
| 看日志 | logs comfyui -n 100 --no-follow |
comfyui / launcher / webui 三选一;务必带 --no-follow |
| 更新内核 | update comfyui --dry-run 然后 update comfyui |
先 dry-run 看会做什么 |
| webui 工作台(非核心,可选服务) | webui status / webui start / webui info |
与 ComfyUI 平级的服务;退出码多了 6(ComfyUI 未跑) / 7(未安装) / 8(依赖缺失);详见 webui --help |
| 整合包更新(v1.1.0+) | package show <path-or-url> --json → package apply <path-or-url> --auto-yes |
加载 UP 主写的 manifest(本地文件/HTTPS URL),show 看 diff,apply 执行;退出码 5(部分失败) / 9(前置不兼容) / 10(manifest 无效) / 11(源不可达);model 项永远需用户手动下载 |
| 查帮助 | help / help <command> / <command> --help |
— |
agent 默认不传
--env。start/restart/info/update/logs接受可选的--env ENV_ID覆盖本次调用的环境,仅供跨环境自动化脚本用;status/stop不接受--env(作用于「当前在跑的那个」)。切环境是 GUI 的事,agent 不要主动切。
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.
- 2d ago Changed · +63 tokens per session 0d8d1779b0ff
- 10d ago First seen · 193 lines · 6,298 tokens per session scan A 5b61c75194ec
ComfyUI-Mie-Package-Launcher AGENTS.md is an instructions file published in the GitHub repository MieMieeeee/ComfyUI-Mie-Package-Launcher (273 stars, last pushed 3d ago), licensed Apache-2.0. It adds 6,361 tokens to every session, about $0.0318 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.