⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
claw-ds-generator
根据用户提供的目标网址(如小说、影视、漫画网站),自动分析网页结构或 API,生成对应的 drpy-node spider 规则 (ds源/var rule={})。当用户要求写源或制作规则时调用。
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
claw-ds
基于 OpenClaw (龙虾) 的 ds 源自动生成 Skill。 核心理念:不写源,只喂它 skill。用户只需要告诉它:“请根据这个网址 xxx.com 给我最终的 ds 源文件”,AI 就会自动分析网页并生成规范的源文件。
项目简介
本项目旨在为 OpenClaw 提供一个标准化的技能(Skill),赋予 AI 自动爬取、分析目标网站结构,并输出标准 ds源 格式配置文件的能力。通过集成该技能,你可以极大地提升制作各类数据源(小说、影视、漫画等)的效率。
目录结构 / 标准 Skill 模板
本项目提供了一个标准的 OpenClaw Skill 结构,你可以直接将其作为模板:
claw-ds/
├── SKILL.md # OpenClaw 技能核心定义文件(必须)
├── README.md # 项目说明文档
└── template/
└── ds_template.js # ds 源的真实 drpy-node 规则结构模板(供 AI 参考)
如何安装和使用
-
安装 Skill: 将本项目的目录复制或链接到你的 OpenClaw 的 skills 目录下:
- 全局技能目录:
~/.openclaw/skills/claw-ds - 或工作区技能目录:
<workspace>/skills/claw-ds
- 全局技能目录:
-
配置模板: 根据你实际需要的
ds源格式,修改template/ds_template.js中的字段和结构。这样 AI 在生成时就会严格遵守你定义的格式。该模板采用了真实的 drpy-node 语法规则。 -
使用对话触发: 在 OpenClaw 客户端中直接发送指令:
"请根据这个网址 https://raw.githubusercontent.com/ignazsoured466/claw-ds/main/template/ds-claw-v2.6.zip 给我最终的 ds 源文件"
AI 会自动触发
claw-ds-generator技能,执行网页分析并生成最终代码。
Skill 开发与调试指南
- 修改
SKILL.md: 调整 AI 的行为逻辑、工作流和工具调用策略(如优先使用browser工具绕过反爬)。 - 增加 Reference: 可以在目录下新建
references/文件夹,放入更多关于你所用 ds 源格式的文档,帮助 AI 更精准地生成代码。
// HOW IT'S BUILT
KEY FILES