← 返回 Skills 市场
NexPix — Cloudflare Image Generation
作者
finndottllc-ui
· GitHub ↗
· v1.0.0
· MIT-0
140
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install nexpix
功能描述
AI image generation via Cloudflare Workers AI (free tier, FLUX models) with premium EvoLink fallback. Use when generating images from text prompts, creating...
安全使用建议
Things to verify before installing:
- Metadata mismatch: the registry claimed no credentials, but SKILL.md and the code require a Cloudflare Workers AI token and optionally an EvoLink API key. Expect the skill to read those from CF_WORKERS_AI_TOKEN or ACCESS/cloudflare-workers-ai.env and ACCESS/evolink.env. If you don't want it reading files in ~/.openclaw/workspace/ACCESS, do not install or inspect code first.
- Hard-coded Cloudflare account: nexpix.js contains a hard-coded CF_ACCOUNT_ID. Confirm whether you must replace it with your own account id; otherwise API calls may be directed to someone else's account (privacy/cost implications).
- Auto-attach behavior: the skill prints MEDIA:<path> and saves images to ~/.openclaw/media/. OpenClaw will auto-attach/send those images to the active channel (Discord/Telegram). If automatic upload of generated images is undesirable, avoid enabling integration or modify the code to require explicit upload.
- Secrets handling and permissions: store tokens with least privilege and check ACCESS/ files' permissions. Consider using environment variables instead of loose files in workspace if you prefer.
- Unknown origin: no homepage and the repository/author are minimal; if you need higher assurance, review the full nexpix.js (the provided file was truncated in output) and any EvoLink endpoints to ensure no hidden endpoints or unexpected data exfiltration occur.
- Test safely: run the skill in an isolated environment (throwaway account, container, or VM) and monitor outbound network traffic before giving it production credentials.
If you want, I can (a) scan the remaining truncated part of nexpix.js for EvoLink calls and unexpected hosts, (b) produce a list of exact files/lines that read secrets or print MEDIA:, or (c) suggest minimal code edits to remove the hard-coded account id and make token requirements explicit.
功能分析
Type: OpenClaw Skill
Name: nexpix
Version: 1.0.0
The NexPix skill bundle is a legitimate tool for generating images using Cloudflare Workers AI and the EvoLink API. The code in `nexpix.js` correctly implements routing logic, quota tracking, and secure credential handling by reading from the expected OpenClaw `ACCESS/` directory. While it contains a hardcoded Cloudflare Account ID as a default, this does not pose a security risk as API tokens are validated by Cloudflare against the specific account. The shell script `scripts/deploy-worker.sh` uses standard `wrangler` commands for deployment, and the `SKILL.md` instructions are strictly aligned with the stated image generation purpose without any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
The SKILL.md and nexpix.js clearly require a Cloudflare Workers AI token (CF_WORKERS_AI_TOKEN or ACCESS/cloudflare-workers-ai.env) and optionally EVOLINK_API_KEY; however registry metadata lists no required env vars/credentials. Reading/writing under ~/.openclaw/workspace/ACCESS and a workspace tracking file is beyond what the registry summary indicated. The hard-coded CF_ACCOUNT_ID in the code (c52d61bc44ff08ef8c10e06bd007a27c) is unexpected and may route API calls to a third-party account instead of a user's account.
Instruction Scope
Runtime instructions and code read secret files from ACCESS/, read environment variables, perform outbound HTTPS requests to Cloudflare/EvoLink, save images to ~/.openclaw/media/, and log usage to workspace/notes/image-gen-tracking.json. SKILL.md explicitly tells the skill to print MEDIA:<absolute_path> to trigger OpenClaw auto-attach — that can cause generated images to be automatically uploaded/sent to active channels. These I/O and network actions are within image-generation purpose, but SKILL.md grants broad discretion (auto-fallbacks, quota checks) and the combination with auto-attach and secret-file access is sensitive.
Install Mechanism
There is no install spec (instruction-only), and included files are local JS and a small deploy script. The deploy script uses npx wrangler (standard) but doesn't download arbitrary archives or run obscure installers. Overall install risk is low, though code will be written to disk when the skill is installed.
Credentials
The skill actually requires a Cloudflare Workers AI token and optionally an EvoLink API key and reads them from env or ACCESS/*.env files, yet the metadata advertised no required env vars. The hard-coded CF_ACCOUNT_ID hardwires a specific Cloudflare account id, which is disproportionate and suspicious unless documented and intended. The skill will read secret files from ~/.openclaw/workspace/ACCESS, which is reasonable for a service token but should have been declared in metadata.
Persistence & Privilege
The skill does not set always:true and does not modify other skills. It writes tracking and media files into the user's home (~/.openclaw), which is expected for a media tool, and relies on OpenClaw's MEDIA: auto-attach behavior. Autonomous invocation is allowed (platform default); combined with the auto-attach behavior and secret access, this increases the blast radius if the skill is invoked automatically.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nexpix - 安装完成后,直接呼叫该 Skill 的名称或使用
/nexpix触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Free tier image gen (FLUX) + premium fallback (EvoLink). CLI, API, Discord/Telegram integration.
元数据
常见问题
NexPix — Cloudflare Image Generation 是什么?
AI image generation via Cloudflare Workers AI (free tier, FLUX models) with premium EvoLink fallback. Use when generating images from text prompts, creating... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 140 次。
如何安装 NexPix — Cloudflare Image Generation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nexpix」即可一键安装,无需额外配置。
NexPix — Cloudflare Image Generation 是免费的吗?
是的,NexPix — Cloudflare Image Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
NexPix — Cloudflare Image Generation 支持哪些平台?
NexPix — Cloudflare Image Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 NexPix — Cloudflare Image Generation?
由 finndottllc-ui(@finndottllc-ui)开发并维护,当前版本 v1.0.0。
推荐 Skills