TopRank Skills

Home / Claw Skills / 文档 / travel_subsidy
Official OpenClaw rules 36%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 travel_subsidy 技能。 若已安装,则直接安装 travel_subsidy 技能。

Overview

Skill Key
attorneytao/travel-subsidy
Author
attorneytao
Source Repo
openclaw/skills
Version
-
Source Path
skills/attorneytao/travel-subsidy
Latest Commit SHA
6ff0fc34cee44542fc15a3ad5853b22aa002ccab

Extracted Content

SKILL.md excerpt

# 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. `计算完成,开始拆分补助相关文件和...

Related Claw Skills

edholofy

dojo.md

★ 4

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 required.

lethehades

wps-macos-helper

★ 1

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

capt-marbles

firecrawl

★ 0

Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.

caqlayan

Tweet Processor

★ 0

Tweet Processor Skill

carev01

md-docs-search

★ 0

Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.

camelsprout

duckdb-en

★ 0

DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".