← 返回 Skills 市场
252
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install robots-txt-gen
功能描述
Generate, validate, and analyze robots.txt files for websites. Use when creating robots.txt from scratch, validating existing robots.txt syntax, checking if...
安全使用建议
This skill appears to do only what it says: generate, validate, and test robots.txt files. Things to keep in mind before installing or running it:
- The tool may fetch remote robots.txt files over HTTP(S) when you use validate --url; only point it at sites you trust or expect to inspect.
- It will read any local file path you pass to --file, so avoid pointing it at unrelated sensitive files (it expects robots.txt content but will read whatever path you give it).
- There are no credentials requested and no installer downloads, which reduces risk. If you plan to run the script on sensitive systems, review the full script in your environment (the provided excerpt looked consistent, but always verify the complete file shipped with the skill).
- If you want extra caution, run the script in a sandboxed environment or container first.
功能分析
Type: OpenClaw Skill
Name: robots-txt-gen
Version: 1.0.0
The skill provides tools for managing robots.txt files but contains functional vulnerabilities. Specifically, scripts/robots_txt_gen.py implements a remote validation feature using urllib.request.urlopen that is susceptible to Server-Side Request Forgery (SSRF) due to a lack of URL sanitization. Additionally, the generate command allows writing to arbitrary file paths via the --output flag. While these features align with the stated purpose, the absence of input validation on URLs and file paths presents a security risk that could be exploited via prompt injection.
能力评估
Purpose & Capability
Name/description, SKILL.md examples, and the included Python script all implement robots.txt generation, validation, and testing. There are no environment variables, unrelated binaries, or config paths requested that would be out of scope for this functionality.
Instruction Scope
Runtime instructions tell the agent to run the bundled Python script with file or URL inputs. The script reads local files and can fetch remote robots.txt via HTTP(S) (used by the validate --url flow), both of which are expected for this tool. It does not instruct the agent to read unrelated system files, credentials, or transmit data to unexpected endpoints.
Install Mechanism
This is instruction-only / script-only with no install spec. No downloads or package installs are requested, so nothing is written to disk by an installer beyond running the included script — low install risk.
Credentials
The skill requires no environment variables, credentials, or config paths. The script performs network fetches of user-specified URLs and reads user-specified local files, which is proportional to its stated purpose.
Persistence & Privilege
The skill does not request persistent or elevated privileges and always:false. It does not modify other skills or global agent configuration based on the provided materials.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install robots-txt-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/robots-txt-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of robots-txt-gen.
- Generate, validate, and analyze robots.txt files via command line.
- Supports platform presets for WordPress, Next.js, Django, Rails, Laravel, static sites, SPAs, and ecommerce.
- Validate both local and remote robots.txt files for syntax and warnings.
- Test if URLs are allowed or blocked for specific user-agents.
- Optionally generate rules to block known AI crawlers with the --block-ai flag.
元数据
常见问题
Robots.txt Generator 是什么?
Generate, validate, and analyze robots.txt files for websites. Use when creating robots.txt from scratch, validating existing robots.txt syntax, checking if... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 252 次。
如何安装 Robots.txt Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install robots-txt-gen」即可一键安装,无需额外配置。
Robots.txt Generator 是免费的吗?
是的,Robots.txt Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Robots.txt Generator 支持哪些平台?
Robots.txt Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Robots.txt Generator?
由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。
推荐 Skills