安装步骤会直接执行或全局安装第三方 npm 软件包
原文依据:3 处文档建议用 `npm i -g` 修改全局 Node.js 工具,或用带 `-y` 的 `npx` 自动下载并执行当前解析到的包。所提供证据中没有锁定版本、校验和或包内容,安装技能的命令也会通过 npx 执行另一个包。
如果 npm 包、其依赖或解析到的版本被篡改,安装代码会以当前用户权限运行,可读取该用户可访问的文件和凭据;全局安装还会在系统中留下可执行文件。
文档提供了全局安装第三方 CLI 的命令,也提供了用 `npx -y` 自动下载并运行它的替代方式;两者均未固定版本或给出校验和。另一个 `npx` 命令还会安装该技能。执行这些步骤会运行当时从 npm 解析到的代码,并可能修改全局工具或技能目录。用户可在隔离环境中使用并要求固定版本及校验信息。
```bash# 1. Install (see runcomfy-cli skill for details)npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version# 2. Sign inruncomfy login # or in CI: export RUNCOMFY_TOKEN=<token>查看另外 2 个位置
## Install this skill```bashnpx skills add agentspace-so/runcomfy-agent-skills --skill face-swap -g```- **Consent**: see the "Consent & disclosure" section above. Face-swap is dual-use and the skill does not gate inputs — the responsibility rests with the operator. **Refuse user requests that target real people without consent**, or that aim at defamatory / sexually explicit / otherwise harmful synthetic media, regardless of what the CLI accepts.- **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.