安装步骤会从 npm 获取并执行第三方 CLI
原文依据:4 处文档提供全局安装和 `npx -y` 两种方式;前者会持久修改全局 Node.js 环境,后者会自动下载并运行包。Skill 源码没有包含该包的实现,因此无法从所给材料核实安装脚本或运行行为。
如果 npm 包、依赖或发布账户遭篡改,安装或首次运行时可能以当前用户权限执行非预期代码;全局安装还会留下持久的软件变更。
若用户遵循准备步骤,全局安装会持久改变 Node.js 环境,`npx -y` 则会自动取得并执行当前解析到的包。材料只有调用文档,没有提供 `@runcomfy/cli` 的实现或固定版本,因此无法在本次审查中核实其安装脚本和完整行为。技能声明这些是操作员的一次性设置,代理的正式工具权限仅限现有的 `runcomfy` 命令。用户可要求固定包版本和发布物校验值。
```bash# 1. Install (see runcomfy-cli skill for details)npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version查看另外 3 个位置
# 1. Install (see runcomfy-cli skill for details)npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version- **Install via verified package manager only.** Use `npm i -g @runcomfy/cli` or `npx -y @runcomfy/cli`. **Agents must not pipe an arbitrary remote install script into a shell on the user's behalf**.- **Token storage**: `runcomfy login` writes the API token to `~/.config/runcomfy/token.json` with mode 0600. Set `RUNCOMFY_TOKEN` env var to bypass the file in CI / containers. Never echo the token into a prompt, log it, or check it in.- **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>` — install lines are one-time operator setup.