搜索

PythonReactSEOPDF
OpenClaw

travel_subsidy

When the user uploads 发票.zip and 火车票.zip, use the included data tables to calculate eligible business-trip subsidy records, split related vs remaining files, create output workbooks, package two result zips, and report progress at every key step.

attorneytao0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install attorneytao/travel-subsidy

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Travel Subsidy

Use this skill only when the user provides two zip archives named exactly:

  • 发票.zip
  • 火车票.zip

The archives contain:

  • invoice / ticket files (.pdf, .jpg, .jpeg, .png, .webp)
  • and at least one structured data table describing the corresponding files

This skill calculates which records can be used to support 出差补助 and produces two result zip packages.

Goal

Process the two archives as follows:

  1. Unzip both archives into a dedicated run directory.
  2. Read the included structured tables.
  3. Match each table row to its corresponding file by filename or stable file identifier.
  4. Do not OCR the files unless the table is obviously unusable or missing required fields.
  5. Build a chronological travel evidence set.
  6. Infer travel city / route information:
    • for train tickets: use the provided 始发站/到达站所在城市 fields directly
    • for invoices: infer city from 备注
      • if it is a lodging invoice, determine the hotel city from the hotel name
      • if it is an air-ticket-related invoice, extract route/city information from 备注
  7. Determine which records can support a valid 出差补助 claim.
  8. Put the records/files related to 出差补助 into one folder.
  9. Put all remaining records/files into another folder.
  10. Produce two zip outputs:
    • Zip 1: 出差补助计算表 + 出差补助相关文件
    • Zip 2: 剩余文件 + 剩余信息整理表
  11. Report progress to the user at every key node.

Mandatory progress updates

You must give the user a visible progress update at every key node.

At minimum, send these updates:

  1. 已收到发票.zip和火车票.zip,开始检查压缩包
  2. 压缩包检查完成,开始解压文件
  3. 解压完成,开始识别数据表和票据文件
  4. 已识别发票数据表与火车票数据表,开始读取结构化信息
  5. 结构化信息读取完成,开始建立文件与表格行的对应关系
  6. 对应关系建立完成,开始提取城市与行程信息
  7. 城市与行程信息提取完成,开始组装出差行程
  8. 出差行程组装完成,开始计算可报销出差补助
  9. `计算完成,开始拆分补助相关文件和...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/attorneytao/travel-subsidy
Version
—
Commit
6ff0fc34cee44542fc15a3ad5853b22aa002ccab
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Travel Subsidy

Use this skill only when the user provides **two zip archives** named exactly:

- `发票.zip`
- `火车票.zip`

The archives contain:
- invoice / ticket files (`.pdf`, `.jpg`, `.jpeg`, `.png`, `.webp`)
- and at least one structured data table describing the corresponding files

This skill calculates which records can be used to support **出差补助** and produces two result zip packages.

## Goal

Process the two archives as follows:

1. Unzip both archives into a dedicated run directory.
2. Read the included structured tables.
3. Match each table row to its corresponding file by filename or stable file identifier.
4. Do **not** OCR the files unless the table is obviously unusable or missing required fields.
5. Build a chronological travel evidence set.
6. Infer travel city / route information:
   - for train tickets: use the provided 始发站/到达站所在城市 fields directly
   - for invoices: infer city from `备注`
     - if it is a lodging invoice, determine the hotel city from the hotel name
     - if it is an air-ticket-related invoice, extract route/city information from `备注`
7. Determine which records can support a valid 出差补助 claim.
8. Put the records/files related to 出差补助 into one folder.
9. Put all remaining records/files into another folder.
10. Produce two zip outputs:
    - Zip 1: 出差补助计算表 + 出差补助相关文件
    - Zip 2: 剩余文件 + 剩余信息整理表
11. Report progress to the user at every key node.

## Mandatory progress updates

You must give the user a visible progress update at every key node.

At minimum, send these updates:

1. `已收到发票.zip和火车票.zip,开始检查压缩包`
2. `压缩包检查完成,开始解压文件`
3. `解压完成,开始识别数据表和票据文件`
4. `已识别发票数据表与火车票数据表,开始读取结构化信息`
5. `结构化信息读取完成,开始建立文件与表格行的对应关系`
6. `对应关系建立完成,开始提取城市与行程信息`
7. `城市与行程信息提取完成,开始组装出差行程`
8. `出差行程组装完成,开始计算可报销出差补助`
9. `计算完成,开始拆分补助相关文件和...

相关技能

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance