← 返回 Skills 市场
546
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install runware-image
功能描述
Generate high-quality images on-demand via the Runware.ai API. This skill is the default image generator. Use it whenever the user asks to "generate an image...
安全使用建议
This skill appears to be a legitimate Runware image CLI, but there are several things to check before installing or allowing it to run autonomously:
- RUNWARE_API_KEY is required at runtime but the registry metadata does not declare any required env vars. Provide the key securely (environment variable or secret manager) and do not store it in the repo. Verify the agent will not accidentally log or transmit the key elsewhere.
- SKILL.md instructs agents to never ask for the API key and to execute the script immediately; the script will prompt for a key if missing. Decide whether you want the agent to run the CLI without clarifying questions—this could cause undesired generations. If unsure, disable autonomous invocation or require explicit user consent before running.
- There are conflicting statements about default save location (SKILL.md says Downloads; README and code use default_output_dir ~/runware_images and the skill writes last_output_dir to skill-config.json). Confirm and, if desired, change the default output path in skill-config.json to a safe location, and be aware the script will persist last_output_dir by writing to the skill's config file.
- The prompt safety check is simple string matching (e.g., blocks 'teen', '13', etc.). This is a basic filter and not a substitute for policy review—inspect validate_prompt if you need stricter or different behavior.
- Review the code yourself (generate_image.py) to ensure there are no additional endpoints or telemetry, and run tests locally (pytest). The project has no external install URLs and uses common Python libs, which reduces supply-chain risk.
If you are comfortable with an agent invoking a local script that will read a .env in the skill directory and write image files to disk, and you will provide RUNWARE_API_KEY via a secure mechanism, the inconsistencies appear to be sloppy documentation rather than malicious behavior. If you need autonomous generation to be tightly controlled, require explicit user approval before the skill executes or correct the metadata and SKILL.md so behavior matches exactly.
功能分析
Type: OpenClaw Skill
Name: runware-image
Version: 1.0.0
The OpenClaw AgentSkills skill bundle is classified as benign. Its primary function is to generate images via the Runware.ai API and save them locally, which aligns with its stated purpose. The `scripts/generate_image.py` file makes legitimate outbound network requests to `api.runware.ai` and writes generated images to the local filesystem (defaulting to `~/runware_images`), which are necessary capabilities for an image generation skill. It also updates `skill-config.json` to remember the last output directory, a benign configuration change. The `SKILL.md` file contains instructions for the agent that are focused on efficient execution and do not exhibit any prompt injection attempts for malicious purposes. There is no evidence of data exfiltration, unauthorized remote control, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
The repository contents (Python CLI script calling https://api.runware.ai/v1/tasks) match the stated purpose of generating images via Runware. However, the registry metadata declares no required environment variables or primary credential while the script clearly requires a RUNWARE_API_KEY. Several documentation claims conflict with the code (e.g., SKILL.md says images save to the user's Downloads folder by default, but the code defaults to a configurable default_output_dir and README refers to ~/runware_images). These mismatches are incoherent and should be clarified.
Instruction Scope
SKILL.md instructs the agent to 'Do NOT ask the user for the RUNWARE_API_KEY' and to 'Execute the script directly' without clarifying questions in most cases. The code, however, will prompt interactively for the API key if none is in the environment and enforces a prompt safety check that may abort generation (e.g., referencing teen/minor words). The instructions therefore overrule or contradict the script behavior and give the agent broad discretion to run the CLI immediately—this is risky and not fully consistent.
Install Mechanism
There is no install spec; this is essentially an instruction + included script bundle. Dependencies are minimal and declared in requirements.txt (requests, python-dotenv, pytest). No external downloads or obscure install URLs are used.
Credentials
The skill requires a Runware API key at runtime (RUNWARE_API_KEY) but the registry metadata lists no required env vars or primary credential—this is an important mismatch. The code loads .env from the skill directory and will also prompt for the key if absent; tests include an integration test gated on RUNWARE_API_KEY. The skill therefore needs a secret to function, and the documentation/inventory should declare that explicitly.
Persistence & Privilege
The skill does not request always:true and does not alter other skills. It does write to its own skill-config.json to persist last_output_dir and will create directories and write image files to the filesystem (default configurable path). This file-system persistence is expected for an image-saving CLI but note it will create and update files in the skill directory and create user output directories.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install runware-image - 安装完成后,直接呼叫该 Skill 的名称或使用
/runware-image触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Secure, on-demand image generation using Runware.ai API.
- Supports text-to-image generation with robust safety checks.
- Executes requests directly, without prompting for clarifications unless absolutely necessary.
- Reads API keys from environment; never requests or stores them from the user.
- Saves generated images to the Downloads folder by default.
- Provides a tested CLI script and clear usage documentation.
- Includes prompt validation and minimal, privacy-focused design.
元数据
常见问题
Generate images using Runware API 是什么?
Generate high-quality images on-demand via the Runware.ai API. This skill is the default image generator. Use it whenever the user asks to "generate an image... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 546 次。
如何安装 Generate images using Runware API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install runware-image」即可一键安装,无需额外配置。
Generate images using Runware API 是免费的吗?
是的,Generate images using Runware API 完全免费(开源免费),可自由下载、安装和使用。
Generate images using Runware API 支持哪些平台?
Generate images using Runware API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Generate images using Runware API?
由 GeekLord(@geeklord)开发并维护,当前版本 v1.0.0。
推荐 Skills