Skywork AI

Skywork Excel

辦公效率v1.0.8
作者:Skywork AI更新於 2026-05-11共 9 個版本 · 最新版本釋出於 2026-04-10skywork-excel@clawhub_gxcun17/skywork-excel
表格處理#CSV#Data Analysis#Spreadsheet#Spreadsheets#Web Search

據 AlphaMoat 統計,截至 2026-09,Skywork Excel 累計下載 3,186 次、獲 21 個星標,在全部 5,078 個 AI 技能中排名第 3,580 位,在「辦公效率」分類(435 個)中排名第 261 位。

累計安裝
262
累計下載
3186
星標
21
全站排名
#3,580
全站前 71% · 「辦公效率」前 60%
平台累計安裝累計下載星標評論
ClawHub ↗97312621-
SkillHub ↗262318621—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

前置:需配置 SKYWORK_API_KEY(https://skywork.ai 獲取)。關鍵規則(⛔):絕不 read 使用者提供的檔案(Excel/PDF/CSV/圖片),檔案路徑經 --files 傳給後端處理;絕不改寫、擴充套件或重新解釋使用者查詢,原樣傳遞(僅允許兩種修改:時間敏感查詢前置 [Current time: 2026-03-14];絕對路徑替換為純檔名)。工作流:任務耗時 5-25 分鐘,用 python3 scripts/excel_api_client.py "user's query" --files ... --language zh-CN 後臺啟動,之後每 60 秒輪詢日誌(禁 while 迴圈),只輸出最新一行狀態(階段|動作|已用秒數),忽略瞬時錯誤(❌、缺引數、心跳),心跳僅作存活訊號不輸出給使用者;[DONE]/All done 後交付 OSS 下載連結與本地絕對路徑(不用 sandbox:// 格式)。多輪續話:用 --session <id>(續"改一下""加個圖"等請求);不帶 --session 則全新開始、丟失全部上下文。錯誤處理:401 表示 key 缺失/失效/過期需更換;複雜任務用 --timeout 1500(預設 900 秒);出現 Insufficient benefit 提示需升級 Skywork 會員。安全:SKYWORK_API_KEY 絕不提交版本庫;token 過期客戶端自動重新整理。

資料釋出於 2026-10-27

可以用來做什麼

  • 建立帶公式、圖表、透視表的 Excel/CSV
  • 分析 Excel/CSV/PDF/圖片檔案併產出儀表盤與視覺化報告
  • PDF 轉 Excel、圖片轉表格等格式轉換與財務模型

什麼時候用

  • 使用者上傳 Excel/CSV/PDF/圖片或請求結構化輸出時觸發
  • 涉及表格、資料分析、圖表、即時資料(股價等)的任務使用

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

把這份銷售資料做成帶圖表的 Excel 報告
分析這張報表,生成一個資料透視表
查一下最新的股價資料幫我做個預測模型

月度資料趨勢

累計下載3186
1250229033292026-03 · 累計下載 13932026-05 · 累計下載 22272026-06 · 累計下載 24452026-07 · 累計下載 27952026-08 · 累計下載 29752026-09 · 累計下載 318626-0326-09
星標21
2021222026-03 · 星標 212026-05 · 星標 212026-06 · 星標 212026-07 · 星標 212026-08 · 星標 212026-09 · 星標 2126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093186—21
2026-082975+6.4%21
2026-072795+14.3%21
2026-062445+9.8%21
2026-052227—21
2026-031393—21

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

7.9 KB · ClawHub v1.0.8
---
name: Skywork Excel
description: "Skywork Excel (skywork) - Use for ANY task involving Excel, spreadsheets, tables, data analysis, or file conversion. Has BUILT-IN web search for real-time data (stocks, rates, stats). Pass user's original query directly without rewriting. Capabilities: (1) Create Excel/CSV with formulas, charts, pivots; (2) Analyze Excel/CSV/PDF/Image files - dashboards, visualizations; (3) Fetch live web data; (4) HTML reports; (5) Convert formats (PDF-to-Excel, image-to-table); (6) Financial models, budgets. Trigger on Excel/CSV/PDF/Image uploads or structured-output requests. Keywords: 'create Excel', 'spreadsheet', 'analyze data', 'chart', 'pivot table', 'dashboard', 'PDF to Excel', 'stock price', 'forecast', '创建Excel', '做表格', '数据分析', '生成图表', '数据透视表', '股价查询', 'Excelを作成', 'データ分析', 'グラフ作成', 'Excel 만들기', '데이터 분석', '차트', 'crear Excel', 'analizar datos', 'créer Excel', 'Excel erstellen', 'Datenanalyse', 'создать Excel', 'анализ данных', 'إنشاء Excel', 'Excel बनाओ', 'สร้าง Excel', 'tạo Excel', 'buat Excel', 'creare Excel'."
metadata:
  openclaw:
    requires:
      bins:
        - python3
      env:
        - SKYWORK_API_KEY
展開全部(共 189 行)
    primaryEnv: SKYWORK_API_KEY
---

# Excel Generator

Generate professional Excel files and data analysis reports using the Skywork Excel backend service.

---
## Prerequisites

### API Key Configuration (Required First)
This skill requires a **SKYWORK_API_KEY** to be configured before use.

If you don't have an API key yet, please visit:
**https://skywork.ai**

For detailed setup instructions, see:
[references/apikey-fetch.md](references/apikey-fetch.md)

---

## 🚫 CRITICAL: Pass Query As-Is, Do NOT Read User Files

- **NEVER use the `read` tool on user-provided files** (Excel, PDF, CSV, images, etc.). Pass file paths via `--files` and let the backend handle reading.
- **Do NOT rewrite, expand, or reinterpret the user's query.** Pass it as-is. The backend agent has its own understanding capabilities.
- **Only two modifications are allowed:**
  1. **Time info**: For time-sensitive queries, prepend current time: `[Current time: 2026-03-14] User request: ...`
  2. **File paths**: Replace absolute paths with filenames only (e.g., `/Users/xxx/report.xlsx` → `report.xlsx`)

---

## Workflow

Excel tasks take 5-25 minutes. Run the script in background and poll the log every 60 seconds.

### Step 1: Start Task

```bash
EXCEL_LOG=/tmp/excel_$(date +%s).log

python3 scripts/excel_api_client.py "user's query" \
  --files "/path/to/file1.xlsx" "/path/to/file2.pdf" \
  --language zh-CN \
  --log-path "$EXCEL_LOG" \
  > /dev/null 2>&1 &

echo "Task started. Log: $EXCEL_LOG"
```

- **`--files`**: Upload user-provided files (Excel, CSV, PDF, Image). Omit if no files.
- **`--language`**: `zh-CN` (default) or `en-US` — match the user's language.
- **`--session <id>`**: For follow-up tasks — see [Multi-Turn Sessions](#multi-turn-sessions).

### Step 2: Monitor Progress

**Execution pattern (required):**
- Run the Step 1 start command in background and note the `EXCEL_LOG` path from the output.
- Then execute the Step 2 monitor command separately every 60 seconds (do not use a while loop).
- **`$EXCEL_LOG` does not persist between exec calls** — Step 2 MUST recover the path (see monitor command below).

**Rules — no exceptions:**
- **Poll every 60 seconds** by calling exec tool repeatedly. Do NOT use a while loop.
- **Show only the last TASK PROGRESS UPDATE block.** Do not output full log (`tail -50`, etc.) or summarize/interpret it.
- **Never restart the task.** The agent handles errors internally and auto-recovers.
- **Ignore transient errors in the log** (`❌`, `Missing parameter`, heartbeat pings, etc.) — the agent retries automatically.
- **Use heartbeat as liveness signal**: check heartbeat lines every poll to confirm the task is still running, but **do NOT output raw heartbeat lines to the user**.

**Every 60 seconds, run:**
```bash
# Recover log path: use the path printed by Step 1, or find the most recent log
EXCEL_LOG=$(ls -t /tmp/excel_*.log 2>/dev/null | head -1)
if [ -z "$EXCEL_LOG" ] || [ ! -f "$EXCEL_LOG" ]; then
  echo "ERROR: Log not found. Ensure Step 1 ran with --log-path."; exit 1
fi
sleep 60
echo "=== Progress Update ==="
grep -A8 "TASK PROGRESS UPDATE" "$EXCEL_LOG" | tail -10
grep -E "\[HEARTBEAT\]" "$EXCEL_LOG" | tail -1
grep -E "\[DONE\]|All done" "$EXCEL_LOG" | tail -1
```

### What to report to user

> **CRITICAL: Output ONLY the current status. Do NOT repeat or accumulate previous status messages. Each update should be a single, fresh line.**

After each log read, output ONLY ONE LINE showing the current status:
```
[Main stage] | [current action] | Elapsed: Xs
```

Example (output only this single line, nothing else):
```
Data Processing | Generating charts | Elapsed: 120s
```

| Progress contains | Main stage |
|------------------|------------|
| "读取" / "read" / "load" | Loading data |
| "分析" / "analysis" | Data analysis |
| "图表" / "chart" / "visualization" | Generating charts |
| "Excel" / "xlsx" | Creating Excel file |
| "HTML" / "报告" / "report" | Generating report |
| "保存" / "save" / "output" | Saving output |

**Stop polling** when log contains `[DONE]` or `✅ All done!` → read final output:
```bash
tail -30 "$EXCEL_LOG"
```

- If NOT done → report progress to user, then call `exec` again after 60 seconds with the same monitor command.
- Repeat until done — keep calling `exec` every 60 seconds until `[DONE]` or `All done` appears.
- Do NOT stop after a single poll.

### Step 3: Deliver Result

After completion, provide the user with **both**:
- **OSS download URL** — cloud link for sharing (show as a clickable hyperlink)
- **Local file path** — absolute path on their machine

Example reply:
```
✅ Report generated!

📥 Download: https://picture-search.skywork.ai/skills/upload/2026-03-14/xxx.xlsx
💾 Local: /Users/xxx/.openclaw/workspace/report.xlsx
```

**Do NOT use** `sandbox://` or `[filename](sandbox://...)` format — these are not clickable. If `oss_url` is unavailable, provide the local path only.

---

## Multi-Turn Sessions

To continue a previous task, use `--session` with the ID printed at the end of the previous run:

```bash
# First turn — no --session needed; session ID is printed at end
python3 scripts/excel_api_client.py "Create a sales report" \
  --language zh-CN --log-path "$EXCEL_LOG" > /dev/null 2>&1 &
# Output: 💡 To continue this conversation, use: --session abc123def456

# Follow-up turn — add --session
python3 scripts/excel_api_client.py "Add a pie chart" \
  --session abc123def456 \
  --language zh-CN --log-path "$EXCEL_LOG" > /dev/null 2>&1 &
```

**When to use `--session`**: User says "continue", "modify", "add a chart", "change colors", "based on the previous...", or references prior output.

**⛔ Without `--session`, the agent starts fresh and loses all previous context.**

---

## Error Handling

| Error | Solution |
|-------|----------|
| `Unauthorized (401)` | `SKYWORK_API_KEY` is missing, invalid, or expired — set or rotate the key in OpenClaw skill `env` |
| `Connection timeout` | Use `--timeout 1500` for complex tasks (default: 900s) |
| `Agent produces wrong output` | Be more specific; use multi-turn to refine iteratively |
| **Insufficient benefit** | See below |

### When benefit is insufficient

Script output may show: `Insufficient benefit. Please upgrade your account at {url}`

Reply in the user's language:
- Convey: "Sorry, Excel/report generation failed. This skill requires upgrading your Skywork membership."
- **Format**: One short sentence + `[Upgrade now →](url)` (or equivalent in user's language)
- **URL**: Extract from the `at https://...` part of the log output

---

## Security Notes

- **Never commit `SKYWORK_API_KEY`** to version control
- Set the key in OpenClaw skill `env` or as an environment variable
- Tokens expire — the client will auto-refresh when needed

「辦公效率」分類下的熱門技能

Skywork AI 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。