← 返回 Skills 市场
chrisis58

kmdr - Kmoe Manga Downloader

作者 chrisis58 · GitHub ↗ · v1.0.0-a0 · MIT-0
cross-platform ⚠ suspicious
88
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kmdr
功能描述
Kmoe 漫画下载器。支持搜索漫画、下载漫画、管理凭证池等。当用户想要从 Kmoe 网站下载漫画、搜索漫画、管理下载账号配额时触发此 skill。
使用说明 (SKILL.md)

\r \r

kmdr - Kmoe 漫画下载器\r

\r

概述\r

\r kmdr 是一个用于从 Kmoe 网站下载漫画的命令行工具。此 skill 教导如何使用 kmdr 完成漫画搜索、下载、账号管理等任务。\r \r

环境准备\r

\r

安装 kmdr\r

\r

pip install --pre "kmoe-manga-downloader>=1.4.0.a0,\x3C2.0.0"\r
```\r
\r
验证安装:\r
\r
```bash\r
kmdr --mode toolcall version\r
```\r
\r
如果命令不存在,说明 kmdr 未安装或未添加到 PATH。\r
\r
### 登录配置\r
\r
#### 检测登录状态\r
\r
```bash\r
kmdr --mode toolcall status\r
```\r
\r
- 返回 `code: 0` → 已登录,可继续操作\r
- 返回 `code: 21` 或 `code: 23` → 未登录或凭证失效,需配置凭证\r
\r
#### 配置凭证\r
\r
**方式一(推荐):用户自行登录**\r
\r
在终端中执行:\r
\r
```bash\r
kmdr login -u \x3Cusername> [-p \x3Cpassword>]\r
```\r
\r
如果不提供 `-p` 参数,将交互式提示输入密码。凭证将安全存储在本地配置文件中,不会暴露给智能体。\r
\r
**方式二:智能体代为登录**\r
\r
如果用户确认当前环境安全,可提供用户名和密码,由智能体执行登录命令。\r
\r
⚠️ **风险提示**:凭证将出现在对话历史中,请确认环境安全后再选择此方式。\r
\r
## 调用方式\r
\r
你的所有命令都应使用 `--mode toolcall` 参数以获取结构化的 JSON 输出:\r
\r
```bash\r
kmdr --mode toolcall \x3Ccommand> [options]\r
```\r
\r
值得注意的是,当你向用户建议手动执行命令时,不要包含 `--mode toolcall` 参数,以便用户使用默认的交互式的输出格式。\r
\r
## 主要命令\r
\r
### 搜索漫画\r
\r
```bash\r
kmdr --mode toolcall [--fast-auth] search \x3Ckeyword> [-p \x3Cpage>] [-m]\r
```\r
\r
- `\x3Ckeyword>`: 搜索关键字(必需)\r
- `-p, --page`: 页码,默认为 1\r
- `-m, --minimal`: 仅返回书名和链接\r
\r
**使用场景**:用户想要搜索特定漫画、查找某作者的作品、发现新漫画。\r
\r
### 下载漫画\r
\r
```bash\r
kmdr --mode toolcall [--fast-auth] download [options]\r
```\r
\r
关键选项:\r
- `-l, --book-url \x3Curl>`: 漫画详情页 URL\r
- `-d, --dest \x3Cpath>`: 下载保存路径,默认从配置中读取,如果没有配置则是当前目录\r
- `-v, --volume`: 指定下载卷号(如 `1,2,3` 或 `1-5` 或 `all`)\r
- `-P, --use-pool`: 启用凭证池自动故障转移\r
\r
**使用场景**:用户想要下载指定漫画、批量下载多个卷。\r
\r
### 登录和状态\r
\r
```bash\r
kmdr --mode toolcall login -u \x3Cusername> -p \x3Cpassword>\r
kmdr --mode toolcall status\r
```\r
\r
**使用场景**:用户需要登录账号、查看剩余配额。\r
\r
### 凭证池管理\r
\r
```bash\r
kmdr --mode toolcall pool add -u \x3Cusername> -p \x3Cpassword>\r
kmdr --mode toolcall pool list [--refresh]\r
kmdr --mode toolcall pool use \x3Cusername>\r
kmdr --mode toolcall pool remove \x3Cusername>\r
```\r
\r
**使用场景**:用户需要管理多个账号、切换默认账号、查看所有账号配额。\r
\r
### 配置管理\r
\r
```bash\r
kmdr --mode toolcall config --set \x3Ckey>=\x3Cvalue>\r
kmdr --mode toolcall config --list\r
kmdr --mode toolcall config --clear\r
```\r
\r
可配置项:`dest`, `proxy`, `num_workers`, `retry`, `callback`, `format`\r
\r
**使用场景**:用户需要设置下载路径、配置代理、调整并发数。在更新配置后,请使用 `config --list` 验证更改是否生效。\r
\r
## 输出格式\r
\r
详细输出格式请参阅 [./references/output-format.md](./references/output-format.md)。\r
\r
### 结果类型\r
\r
- `{"type": "result", "code": 0, ...}`: 最终结果\r
- `{"type": "progress", ...}`: 进度更新(仅下载命令)\r
\r
### 错误处理\r
\r
错误通过 `code` 字段表示,详细状态码请参阅 [./references/error-codes.md](./references/error-codes.md)。\r
\r
## 示例场景\r
\r
详细示例请参阅 [./assets/examples/](./assets/examples/) 目录。\r
\r
### 典型工作流\r
\r
1. **检查环境** → 确认已安装并登录(参见"环境准备")\r
2. **搜索** → `kmdr --mode toolcall --fast-auth search "漫画名称"`\r
3. **获取详情** → 从搜索结果中获取 `url` 字段\r
4. **预估下载** → `kmdr --mode toolcall --fast-auth download -l \x3Curl> -v \x3Cvolume> --explain`\r
5. **确认配额** → 根据预估消耗决定是否继续(若消耗较大需向用户确认)\r
6. **下载** → `kmdr --mode toolcall --fast-auth download -l \x3Curl> -v \x3Cvolume> [-d \x3Cpath>]`\r
\r
## 注意事项\r
\r
1. **认证要求**:大部分操作需要先登录或配置有效的 cookies\r
2. **配额限制**:下载会消耗账号配额,建议在下载前检查配额状态\r
3. **搜索结果过滤**:用户提供的关键词可能会多个相似结果(相同书名),请查看默认的下载路径\r
    - 如果本地有参考 → 自动选择匹配版本\r
    - 如果本地无参考 → 列出选项供用户选择\r
4. **代理配置**:如果遇到被屏蔽的内容,可以单独配置代理:`kmdr download -p \x3Cproxy_server> -l \x3Curl> -v \x3Cvolume>`\r
\r
## 快速参考\r
\r
| 命令 | 用途 | 示例 |\r
|------|------|------|\r
| `search` | 搜索漫画 | `kmdr --mode toolcall [--fast-auth] search "fate"` |\r
| `download --explain` | 预估下载计划 | `kmdr --mode toolcall [--fast-auth] download -l \x3Curl> -v \x3Cvolume> --explain` |\r
| `download` | 下载漫画 | `kmdr --mode toolcall [--fast-auth] download -l \x3Curl>` |\r
| `login` | 登录账号 | `kmdr --mode toolcall login -u user -p pass` |\r
| `status` | 查看配额 | `kmdr --mode toolcall status` |\r
| `pool list` | 列出凭证 | `kmdr --mode toolcall pool list` |\r
| `config` | 配置设置 | `kmdr --mode toolcall config --set dest=/downloads` |
安全使用建议
This skill appears to be what it says: a wrapper/guide for the kmdr CLI. Before using: 1) Prefer manual login in your terminal rather than pasting username/password into the chat — the skill warns that credentials will appear in conversation. 2) If you install the CLI, verify the PyPI package/project repository (the SKILL.md suggests installing a pre-release) and consider installing in a virtualenv. 3) Be aware kmdr stores cookies/credentials locally — check where those files live and secure them. 4) If you must let the agent perform login, only do so in a trusted environment and be prepared that credentials may be retained in chat history.
功能分析
Type: OpenClaw Skill Name: kmdr Version: 1.0.0-a0 The kmdr skill bundle contains high-risk capabilities, most notably a configuration option to set a 'callback' command that executes upon download completion (found in references/commands.md), which presents a potential Remote Code Execution (RCE) vector. Additionally, the tool manages sensitive user credentials and passwords through its 'login' and 'pool' management features (SKILL.md). While these features are consistent with the stated purpose of a manga downloader requiring authentication, the ability to execute arbitrary shell commands via callbacks and the handling of plaintext credentials in a tool-calling environment represent significant security risks without further sandboxing.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md documents using the 'kmdr' CLI (kmoe-manga-downloader) to search, download, and manage account pools on Kmoe. There are no unrelated requirements (no cloud credentials, no unrelated binaries).
Instruction Scope
Instructions stay within the downloader's scope (search, download, status, pool, config). However the skill explicitly permits the agent to perform login on behalf of the user and warns credentials will appear in the conversation; that is within the stated purpose but raises a sensitive-data exposure risk. The SKILL.md also recommends running 'pip install --pre' for the CLI (see install note).
Install Mechanism
The skill is instruction-only (no registry install). It instructs users to 'pip install --pre "kmoe-manga-downloader>=1.4.0.a0,<2.0.0"'. Because installation is manual (not performed by the skill), risk is limited, but asking to install a pre-release package without a homepage or trusted source increases trust burden — verify the package/project before installing.
Credentials
The skill declares no required environment variables or config paths. The documented behavior requires storing cookies/credentials locally (kmdr manages a credential pool) which is proportional to a downloader that needs account authentication. There are no unrelated secrets requested by the skill itself.
Persistence & Privilege
No 'always: true' flag, no install-time modifications or requests to alter other skills or system-wide settings. The skill does permit autonomous invocation by default (platform normal), but it does not request elevated persistence or privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kmdr
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kmdr 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0-a0
Initial release of kmdr skill for Kmoe Manga Downloader: - Introduces commands for searching and downloading content from Kmoe, as well as managing multiple accounts and download quotas. - Provides guides for environment setup, credential configuration, and proxy usage. - Supports both manual and agent-assisted authentication workflows. - All outputs use structured JSON with detailed error and progress reporting. - Includes quick reference tables and workflow examples for ease of use.
元数据
Slug kmdr
版本 1.0.0-a0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

kmdr - Kmoe Manga Downloader 是什么?

Kmoe 漫画下载器。支持搜索漫画、下载漫画、管理凭证池等。当用户想要从 Kmoe 网站下载漫画、搜索漫画、管理下载账号配额时触发此 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 88 次。

如何安装 kmdr - Kmoe Manga Downloader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kmdr」即可一键安装,无需额外配置。

kmdr - Kmoe Manga Downloader 是免费的吗?

是的,kmdr - Kmoe Manga Downloader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

kmdr - Kmoe Manga Downloader 支持哪些平台?

kmdr - Kmoe Manga Downloader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 kmdr - Kmoe Manga Downloader?

由 chrisis58(@chrisis58)开发并维护,当前版本 v1.0.0-a0。

💬 留言讨论