差旅补助

v1.0.0

差旅补助助手,支持补助标准查询、出差补助计算、补助申请、审批进度查询、发放状态跟踪等功能。Invoke when user needs to calculate travel allowance, submit allowance claims, or check allowance policy and sta...

0· 89·0 current·0 all-time
byfenbeitong-trip@gaogao605

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for gaogao605/business-allowance.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "差旅补助" (gaogao605/business-allowance) from ClawHub.
Skill page: https://clawhub.ai/gaogao605/business-allowance
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install business-allowance

ClawHub CLI

Package manager switcher

npx clawhub@latest install business-allowance
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill description, features, input/output formats, and API list all align with a corporate travel allowance helper. Minor mismatch: the SKILL.md metadata declares a runtime requirement of python3 and sets "required": true, but the registry metadata shows no install spec and the overall package is instruction-only — requiring python3 is plausible but unnecessary for a pure-doc skill and the metadata flag conflicts with registry flags.
Instruction Scope
SKILL.md is explanatory and prescriptive for allowance calculations and CRUD-like claim operations; it does not instruct the agent to read unrelated files, access system paths, or exfiltrate data to unknown endpoints. All referenced inputs are travel-related (trip_id, times, city, level).
Install Mechanism
There is no install specification and no code files — the skill is instruction-only. This is the lowest-risk install posture; nothing is downloaded or written to disk by the skill package itself.
Credentials
No environment variables, credentials, or config paths are requested. The lack of secrets or cloud credentials is proportionate to the declared scope (calculations, queries, claim submission workflows).
Persistence & Privilege
Registry flags indicate the skill is not always-included and is user-invocable (normal). The SKILL.md metadata contains a "required": true flag which conflicts with the registry's always:false; this should be clarified but does not on its own indicate elevated privileges.
Assessment
This is an instruction-only travel-allowance helper and appears coherent and low-risk: it doesn't request secrets or install code. Before installing, confirm the skill author/source (homepage is missing), ask whether any user data will be sent to external APIs or logged, and verify why python3 is declared in the skill metadata despite no shipped code. Avoid entering unrelated secrets or credentials into prompts, and prefer testing with dummy/non-sensitive trip data first.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

💵 Clawdis
Binspython3
latestvk97b9vtvwke4gmb4eyfhnzppzs84mfy6
89downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

差旅补助助手 (fb-travel-allowance-skill)

技能描述

差旅补助助手面向企业员工出差场景,支持补助标准查询、自动核算、补助申请、审批流转和发放跟踪。可基于出差申请、实际行程、城市等级、职级、是否统一供餐/住宿等信息,自动计算可领取的差旅补助,降低人工核算和重复申领风险。


⚠️ 【重要约束】

  • 必须关联出差申请、差旅订单或有效行程单
  • 同一出差日期区间不得重复领取同类补助
  • 已由公司统一提供餐食、住宿或交通的部分必须扣减或不予发放
  • 出差取消、缩短、延期后必须重新核算补助
  • 超过申请时效的补助单不得直接提交,需补充说明
  • 补助标准必须与职级、城市等级、出差时长匹配

核心功能

1. 补助标准查询

  • 查询职级对应的日补助标准
  • 查询不同城市等级补助额度
  • 查询半天/全天补助规则
  • 查询夜间交通补助标准
  • 查询特殊地区补助规则

2. 自动补助核算

  • 按出差申请自动计算补助
  • 按实际出发与返回时间核算天数
  • 支持半天、全天、跨天规则
  • 统一供餐/住宿自动扣减
  • 异常行程自动标记

3. 补助申请管理

  • 创建补助申请单
  • 关联出差申请与订单
  • 修改补助申请内容
  • 提交补助审批
  • 撤回未审批申请

4. 审批与发放跟踪

  • 查询审批进度
  • 查看审批意见
  • 查询发放状态
  • 查询发放时间
  • 查询历史补助记录

5. 合规与重复校验

  • 重复申领检查
  • 时效检查
  • 出差区间匹配检查
  • 城市等级与标准检查
  • 公司统一保障扣减检查

6. 统计分析

  • 月度补助统计
  • 个人补助历史
  • 部门补助支出分析
  • 异常补助预警
  • 补助发放效率分析

触发场景

  1. 标准查询

    • "北京出差一天补助多少钱"
    • "普通员工去上海的差旅补贴标准"
    • "半天出差怎么算补助"
    • "统一包餐还可以提现吗"
  2. 自动计算

    • "帮我算一下这次上海出差补助"
    • "根据我的出差订单计算补贴"
    • "3天2晚成都出差能领多少补助"
    • "这趟出差补助需要扣多少餐补"
  3. 补助申请

    • "我要提交差旅补助申请"
    • "为 TRIP202604010001 创建补助单"
    • "提交我的补助申请"
    • "撤回刚才那笔补助单"
  4. 审批与发放查询

    • "查看我的补助审批进度"
    • "补助什么时候到账"
    • "查询补助单 TA202604110001"
    • "我这个月领了多少差旅补助"

补助类型

补助类型代码说明是否需发票
餐饮补助MEAL_ALLOWANCE出差期间用餐补助
市内交通补助LOCAL_TRANSPORT_ALLOWANCE市内交通补助
通讯补助COMMUNICATION_ALLOWANCE出差通讯补助
综合补助TRAVEL_ALLOWANCE统一按日补贴
特殊地区补助SPECIAL_REGION_ALLOWANCE偏远、高原等特殊地区补贴

补助标准体系

按职级和城市等级

职级一线城市新一线城市其他城市说明
高管¥300/天¥250/天¥220/天含餐饮与市内交通
中层¥220/天¥180/天¥150/天含餐饮与市内交通
普通员工¥150/天¥130/天¥100/天含餐饮与市内交通

时长规则

时长计算规则
4小时及以下不发放
超过4小时且不满8小时发放50%
8小时及以上发放100%
连续跨天按自然日或公司规则累计

扣减规则

  • 公司统一供早餐:扣减日补助 20%
  • 公司统一供午餐:扣减日补助 30%
  • 公司统一供晚餐:扣减日补助 30%
  • 公司统一安排住宿:不影响日补助,但特殊住宿补贴不再发放
  • 公司统一安排接送:市内交通补助可按规则扣减

输入参数

补助标准查询

参数类型必填说明
levelstring职级:staff / manager / executive
citystring出差城市
allowance_typestring补助类型
trip_datestring出差日期

补助计算

参数类型必填说明
trip_idstring出差申请单号
traveler_namestring出差人姓名
levelstring职级
destination_citystring出差城市
departure_timestring出发时间
return_timestring返回时间
meal_providedobject是否统一供餐
accommodation_providedboolean是否统一提供住宿
local_transport_providedboolean是否统一提供市内交通
remarksstring备注

补助申请

参数类型必填说明
claim_idstring补助申请单号
trip_idstring出差申请单号
allowance_amountfloat申请金额
allowance_daysfloat补助天数
deduction_amountfloat扣减金额
reasonstring说明

输出格式

补助计算结果

{
  "code": 0,
  "msg": "success",
  "data": {
    "trip_id": "TRIP202604010001",
    "allowance_type": "TRAVEL_ALLOWANCE",
    "level": "staff",
    "destination_city": "上海",
    "city_tier": "tier1",
    "standard_amount": 150.00,
    "allowance_days": 2.5,
    "base_amount": 375.00,
    "deduction_amount": 45.00,
    "final_amount": 330.00,
    "deduction_detail": [
      {"type": "meal", "name": "统一午餐", "amount": 45.00}
    ],
    "duplicate": false,
    "warnings": []
  }
}

补助申请结果

{
  "code": 0,
  "msg": "success",
  "data": {
    "claim_id": "TA202604110001",
    "trip_id": "TRIP202604010001",
    "claim_status": "pending_approval",
    "allowance_amount": 330.00,
    "submit_time": "2026-04-11 16:20:00",
    "payment_status": "waiting",
    "approval_flow": [
      {"step": 1, "approver": "部门经理", "status": "pending"},
      {"step": 2, "approver": "财务审核", "status": "waiting"}
    ]
  }
}

补助详情示例

{
  "code": 0,
  "msg": "success",
  "data": {
    "claim_id": "TA202604110001",
    "claim_status": "approved",
    "payment_status": "paid",
    "payment_time": "2026-04-15 10:00:00",
    "allowance_amount": 330.00,
    "allowance_days": 2.5,
    "destination_city": "上海",
    "travel_period": "2026-04-08 09:00 ~ 2026-04-10 21:00"
  }
}

展示格式示例

补助标准查询

💵 上海差旅补助标准

═══════════════════════════════════════

📋 基本标准
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
职级:普通员工
城市等级:一线城市
日补助:¥150.00

═══════════════════════════════════════

📐 计算规则
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• 4小时及以下:不发放
• 超过4小时且不满8小时:发放50%
• 8小时及以上:发放100%
• 统一供餐时按规则扣减

补助申请成功

✅ 差旅补助申请已提交

═══════════════════════════════════════

📋 申请信息
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
补助单号:TA202604110001
出差单号:TRIP202604010001
出差城市:上海
补助天数:2.5天
补助金额:¥330.00
状态:🟡 待审批

═══════════════════════════════════════

🧮 计算说明
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
基础金额:¥375.00
扣减金额:¥45.00
最终金额:¥330.00

═══════════════════════════════════════

💡 操作提示
• 回复"审批进度"查看当前流程
• 回复"补助详情"查看完整核算明细
• 回复"撤回"撤回未审批申请

API接口列表

接口名称功能参数
get_allowance_standard查询补助标准level, city, allowance_type
calculate_allowance计算补助trip_id, level, destination_city, departure_time, return_time
create_allowance_claim创建补助申请trip_id, allowance_amount, allowance_days
get_allowance_detail查询补助详情claim_id
submit_allowance_claim提交补助申请claim_id
approve_allowance_claim审批补助申请claim_id, action, comment
withdraw_allowance_claim撤回补助申请claim_id
get_allowance_history查询历史记录user_id, start_date, end_date
get_allowance_stats获取补助统计start_date, end_date, department

补助单状态说明

状态说明
draft草稿
pending待提交
pending_approval待审批
approved已通过
rejected已驳回
processing发放处理中
paid已发放
cancelled已取消
expired已过期

审批流程

标准流程

补助计算
    ↓
创建补助单
    ↓
提交审批
    ↓
部门经理审批
    ↓
财务审核
    ↓
补助发放

异常流程

补助计算(存在异常)
    ↓
创建补助单
    ↓
补充说明
    ↓
部门经理审批
    ↓
费控复核
    ↓
财务审核
    ↓
补助发放

合规检查规则

  1. 重复检查

    • 同一出差单重复申请检查
    • 同一日期区间重复补助检查
    • 同一补助类型重复领取检查
  2. 时效检查

    • 补助申请提交时限检查
    • 过期申请说明校验
    • 退回后重新提交时效检查
  3. 行程检查

    • 出差申请与实际行程一致性检查
    • 返回时间早于出发时间校验
    • 出差缩短或取消后的重算检查
  4. 扣减检查

    • 统一供餐扣减校验
    • 统一接送扣减校验
    • 特殊地区补贴叠加规则校验

Comments

Loading comments...