← 返回 Skills 市场
chldong

Kuaipu Skill

作者 chldong · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
273
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kuaipu-skill
功能描述
自动化快普系统登录、验证码识别、自动操作和审批流程查询等。
使用说明 (SKILL.md)

快普系统自动登录技能

该技能使用浏览器自动化和验证码识别技术,实现快普系统的自动登录和审批流程查询。

功能特性

  • 自动读取配置文件中的登录信息
  • 使用 Selenium 进行浏览器自动化操作
  • 集成 ddddocr 进行验证码识别
  • 完整的登录流程自动化
  • 从主页提取业务催办列表
  • 自动识别审批项目的当前审批人
  • 空列表处理,显示"我的所有申请全部通过了"
  • 保存操作过程的截图和HTML到项目目录

安装

自动从 SKILLS.sh 安装

npx skills add chldong/kuaipu-skill

手动安装

# 克隆仓库
git clone https://github.com/chldong/kuaipu-skill.git
cd kuaipu-skill

# 安装依赖
uv pip install selenium==4.41.0 webdriver-manager==4.0.2 ddddocr==1.5.2

# 配置环境变量
cp .env.example .env
# 编辑 .env 文件,填写快普系统登录信息

使用方法

# 运行快普登录技能
kuaipu-skill login

# 查看登录状态
kuaipu-skill status

# 退出登录
kuaipu-skill logout

# 查看待审批流程
kuaipu-skill shenpi

配置说明

技能会自动读取 .env 文件中的以下配置:

  • kuaipu_url: 快普系统登录地址
  • kuaipu_user: 登录用户名
  • kuaipu_pass: 登录密码

工作流程

登录流程

  1. 读取配置文件中的登录信息
  2. 打开快普系统登录页面
  3. 自动填写用户名和密码
  4. 识别并填写验证码
  5. 提交登录表单
  6. 验证登录是否成功
  7. 保存登录状态(cookie)
  8. 访问系统主页面

审批流程查询

  1. 检查登录状态,如未登录则自动执行登录
  2. 访问系统主页面
  3. 查找主页上的"业务催办"方框
  4. 提取业务催办列表的主题、时间和当前审批人
  5. 显示催办列表信息
  6. 如果催办列表为空,显示"我的所有申请全部通过了"

故障排除

  • 确保 .env 文件配置正确
  • 确保网络连接正常
  • 确保 Chrome 浏览器已正确安装
  • 如遇到验证码识别失败,可尝试多次运行
  • 重要:必须使用 ddddocr==1.5.2 版本,新版本存在导入冲突问题

项目结构

kuaipu-skill/
├── SKILL.md             # 技能配置文件
├── kuaipu-skill.sh      # Bash 执行脚本
├── kuaipu_skill.py      # Python 核心脚本
├── README.md            # 项目说明
└── .env.example         # 环境变量示例

版本变更

v0.2 (2026-03-09)

  • 新增业务催办列表提取功能
  • 新增审批人识别功能
  • 新增空列表处理
  • 优化信息提取和格式化

v0.1 (2026-02-11)

  • 初始版本
  • 实现自动登录功能
  • 实现验证码识别
  • 实现登录状态管理
安全使用建议
This skill appears to do what it says: automate login and extract approval info using Selenium and local OCR. Before installing, consider: 1) The skill reads plaintext credentials from a .env file—store credentials securely and review that file. 2) It saves screenshots, HTML and a cookies pickle in the skill's tmp/ directory—these can contain sensitive data; delete or protect them if needed. 3) webdriver_manager will download ChromeDriver at runtime and the script runs a headless Chrome instance—run inside an isolated environment or VM if you want extra safety. 4) The included Python script performs web automation; if you need higher assurance, review the full Python file for any unexpected network calls (uploads, external POSTs). Finally, prefer running in a virtualenv as recommended by the SKILL.md.
功能分析
Type: OpenClaw Skill Name: kuaipu-skill Version: 0.1.0 The skill automates login and approval workflows for the Kuaipu system using Selenium and captcha recognition. While the code aligns with its stated purpose, it exhibits several risky behaviors: the shell script (kuaipu-skill.sh) automatically installs Python dependencies without user confirmation, and the Python script (kuaipu_skill.py) uses the insecure 'pickle' module to store and load session cookies locally, which is a known vector for arbitrary code execution if the files are tampered with. It also uses 'webdriver_manager' to download and execute remote driver binaries, which is a high-risk capability in an automated agent environment.
能力评估
Purpose & Capability
Name/description, SKILL.md, shell wrapper and Python code all focus on Selenium-based login automation and ddddocr captcha recognition. Required packages (selenium, webdriver-manager, ddddocr) and the .env-based username/password configuration are proportionate to that purpose.
Instruction Scope
Runtime instructions and the Python script read a local .env file for kuaipu_url/kuaipu_user/kuaipu_pass, drive a browser to that URL, save screenshots/HTML/cookies to a tmp directory, and extract approval information from the page. These actions are expected for the stated goal but do involve handling credentials and saving potentially sensitive screenshots/cookies to disk.
Install Mechanism
No registry install spec is enforced by the package itself (instruction-only install guidance). The project expects pip installs from PyPI and uses webdriver_manager which will download ChromeDriver into a local cache (e.g., /tmp/.wdm). This is typical for Selenium-based tools but does perform network downloads at runtime (driver binary).
Credentials
The skill does not request unrelated secrets or system credentials. It reads a local .env with only kuaipu_url, kuaipu_user, kuaipu_pass. Environment usage is minimal (an optional KUAIPU_VERBOSE) and aligns with the feature set.
Persistence & Privilege
The skill does not request always: true and does not attempt to modify other skills or system-wide agent settings. It writes temporary files and a cookies pickle under the skill directory's tmp folder, which is expected behavior for session management and debugging.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kuaipu-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kuaipu-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
kuaipu-skill v0.2 - 新增业务催办列表提取功能 - 新增审批人识别功能 - 支持空列表处理,显示“我的所有申请全部通过了” - 优化主页信息提取与格式化
元数据
Slug kuaipu-skill
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Kuaipu Skill 是什么?

自动化快普系统登录、验证码识别、自动操作和审批流程查询等。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 273 次。

如何安装 Kuaipu Skill?

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

Kuaipu Skill 是免费的吗?

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

Kuaipu Skill 支持哪些平台?

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

谁开发了 Kuaipu Skill?

由 chldong(@chldong)开发并维护,当前版本 v0.1.0。

💬 留言讨论