从0到1

影刀

Officev2.2.0
By 从0到1Updated 2026-05-113 versions · latest released 2026-03-13yingdao@clawhub_yflmq001/yingdao
Process Automation

According to AlphaMoat, as of 2026-09, 影刀 has 2,358 downloads and 3 stars — ranked #4,207 of 5,078 AI skills overall, and #317 of 435 in Office.

Installs
188
Downloads
2.4K
Stars
3
Overall Rank
#4,207
Top 83% overall · Top 73% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗301.2K1-
SkillHub ↗1882.4K3—

Platforms count differently and update at different times.

What this skill does

Requires requests and protected YINGDAO_ACCESS_KEY_ID and YINGDAO_ACCESS_KEY_SECRET environment credentials. The wrapper describes token handling, task lists and details, execution records, starting tasks with parameters and polling outputs. Starting a job can trigger real automation, so obtain explicit human approval for production schedules and use dedicated least-privileged credentials. Avoid logging URLs or parameters containing secrets and rotate exposed keys. Use vetted locked dependencies for production rather than an unpinned requests installation.

Profile published 2026-10-27

What you can do with it

  • read-only inspection of Yingdao task execution records

When to use it

  • When you need read-only inspection of Yingdao task execution records.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Find execution records for the named order-sync task and report status without starting a job.

Monthly Trend

Downloads2.4K
1671.3K2.5K2026-03 · Downloads 3292026-05 · Downloads 6942026-06 · Downloads 8312026-07 · Downloads 1.1K2026-08 · Downloads 1.6K2026-09 · Downloads 2.4K26-0326-09
Stars3
1232026-03 · Stars 12026-05 · Stars 12026-06 · Stars 22026-07 · Stars 12026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.4K—3
2026-081.6K+52.9%3
2026-071.1K+26.7%1
2026-06831+19.7%2
2026-05694—1
2026-03329—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.4 KB · ClawHub v2.2.0
---
name: yingdao
description: 影刀 RPA API 封装,支持鉴权/任务查询/执行/结果获取。需配置环境变量 YINGDAO_ACCESS_KEY_ID、YINGDAO_ACCESS_KEY_SECRET 作为 API 凭证。
meta:
  version: "2.2-python"
  provider: "yingdao"
  auth_type: "access_token"
  token_ttl: 7200
  endpoints:
    auth: "https://api.yingdao.com"
Show all (111 lines)
    business: "https://api.winrobot360.com"
requires:
  env:
    - YINGDAO_ACCESS_KEY_ID
    - YINGDAO_ACCESS_KEY_SECRET
primary_credential: env
publisher: "从0到1"
homepage: "https://clawhub.ai/yflmq001/yingdao"
---

# 影刀 RPA Skill

## 能力
- 🔐 鉴权:自动获取/刷新 accessToken
- 📋 任务:列表查询/详情获取/执行记录
- 🚀 执行:启动任务 + 动态传参 + 幂等控制
- 📊 结果:轮询状态 + 提取输出参数

## 安装方式

通过 ClawHub 安装:

```bash
clawhub install yingdao
```

### 依赖

本技能包依赖 Python 库 `requests`,安装技能后请确保已安装:

```bash
pip install -r requirements.txt
# 或
pip install "requests>=2.28.0"
```

安装完成并配置环境变量后即可使用(见下方「环境变量配置」)。

## 🐍 Python 模块使用

从包入口导入:`from active_skills.yingdao import YingdaoAPI, get_client, list_tasks, get_task_logs, YingdaoError, TokenExpiredError`。更多用法与参数说明见 `yingdao_api` 模块及各类、方法的 docstring。

### 最小示例

```python
from active_skills.yingdao import get_client, list_tasks, get_task_logs
client = get_client()
tasks = list_tasks(keyword="挂车")
logs = get_task_logs("挂车")
```

### API 速查

| 方法 / 函数 | 说明 |
|-------------|------|
| `YingdaoAPI` | 客户端类,支持 list_schedules、get_schedule_detail、get_task_records、get_today_records、start_task、query_task_result、find_task_by_name |
| `get_client()` | 从环境变量创建客户端 |
| `list_tasks(keyword, enabled)` | 查询任务列表 |
| `get_task_logs(task_name)` | 按任务名获取近期执行记录 |

## 接口速查(原始 API)

| 接口 | 方法 | 路径 | 关键参数 | 返回 |
|------|------|------|----------|------|
| 鉴权 | GET | `/oapi/token/v2/token/create` | accessKeyId, accessKeySecret | accessToken, expiresIn |
| 任务列表 | POST | `/oapi/dispatch/v2/schedule/list` | key, enabled, page, size | scheduleUuid, scheduleName |
| 任务详情 | POST | `/oapi/dispatch/v2/schedule/detail` | scheduleUuid | robotUuid, params, cron |
| 执行记录 | POST | `/oapi/dispatch/v2/task/list` | sourceUuid, cursorDirection, size | dataList, hasData, nextId |
| 启动任务 | POST | `/oapi/dispatch/v2/task/start` | scheduleUuid, params | taskUuid |
| 查询结果 | POST | `/oapi/dispatch/v2/task/query` | taskUuid | status, outputs |

## 参数规范

### 传参格式(task/start)
```json
{
  "scheduleUuid": "sched_xxx",
  "scheduleRelaParams": [{
    "robotUuid": "app_xxx",
    "params": [{"name": "order_id", "value": "ORD123", "type": "str"}]
  }]
}
```

## 环境变量配置

在使用前,需要设置以下环境变量:

```bash
export YINGDAO_ACCESS_KEY_ID="your_access_key_id"
export YINGDAO_ACCESS_KEY_SECRET="your_access_key_secret"
```

## 错误处理

异常类型:`YingdaoError`(通用)、`TokenExpiredError`(令牌过期)。调用时用 try-except 捕获即可,详见 `yingdao_api` 模块。

## Installation

安装与依赖见上文「安装方式」「依赖」「环境变量配置」。

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.