← Back to Skills Marketplace
chldong

Kuaipu Skill

by chldong · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
273
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install kuaipu-skill
Description
自动化快普系统登录、验证码识别、自动操作和审批流程查询等。
README (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)

  • 初始版本
  • 实现自动登录功能
  • 实现验证码识别
  • 实现登录状态管理
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kuaipu-skill
  3. After installation, invoke the skill by name or use /kuaipu-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
kuaipu-skill v0.2 - 新增业务催办列表提取功能 - 新增审批人识别功能 - 支持空列表处理,显示“我的所有申请全部通过了” - 优化主页信息提取与格式化
Metadata
Slug kuaipu-skill
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Kuaipu Skill?

自动化快普系统登录、验证码识别、自动操作和审批流程查询等。 It is an AI Agent Skill for Claude Code / OpenClaw, with 273 downloads so far.

How do I install Kuaipu Skill?

Run "/install kuaipu-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Kuaipu Skill free?

Yes, Kuaipu Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Kuaipu Skill support?

Kuaipu Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Kuaipu Skill?

It is built and maintained by chldong (@chldong); the current version is v0.1.0.

💬 Comments