安装步骤会从 npm 获取并执行第三方 CLI
原文依据:2 处文档建议全局安装,或使用 `npx -y` 直接获取并执行 `@runcomfy/cli`。Skill 没有固定版本或包完整性值,因此执行的是当时注册表提供的代码。
如果包、发布账户或依赖被入侵,安装代码会以当前用户权限运行;全局安装还会持久修改用户的 Node.js 工具环境。
文档提供未固定版本的全局 npm 安装和自动确认的 npx 执行方式;两者都会信任 npm 当时提供的包代码。它们被描述为一次性操作员设置,而非每次生成都会自动执行,但若用户照做,第三方包仍会在本机运行。用户可要求固定版本与完整性信息。
```bash# 1. Install (one of — see runcomfy-cli skill for details)npm i -g @runcomfy/cli # global installnpx -y @runcomfy/cli --version # zero-install# 2. Sign in (interactive — opens browser)runcomfy login# or in CI / containers:export RUNCOMFY_TOKEN=<token-from-runcomfy.com/profile>查看另外 1 个位置
- **Generated-file size cap**: the CLI aborts any single download > 2 GiB.- **Scope of bash usage**: declared `allowed-tools: Bash(runcomfy *)`. The skill never instructs the agent to run anything other than `runcomfy <subcommand>` — `npm` / `npx` / `export RUNCOMFY_TOKEN=...` lines are one-time setup for the operator, not commands the skill executes on each call.