Token导航 LogoToken导航

Agent Skill · 开发

tax-filing(报税)

tax-filing 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tax-filing 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 4,161。

总安装 8,893周安装 382GitHub Stars 1下载 3,117核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.2.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tax-filing(报税)
来源仓库:https://github.com/irreel/tax-filing
安装命令:
openclaw skills install tax-filing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tax-filing

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

tax-filing 协助完成美国联邦所得税申报流程,引导填写 IRS 表格。支持公民、居民与非居民纳税人,提供步骤式指导。在 OpenClaw 中用于开发报税辅助类应用或界面组件。安装命令:openclaw skills install tax-filing,依赖美国税务数据库。

仅适用于美国税务体系,其他地区用户慎用。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tax-filing;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tax-filing 怎么安装?

在终端执行 openclaw skills install tax-filing。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tax-filing 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tax-filing 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

tax-filing 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tax-filing 用的人多吗?

公开数据是累计安装 8,893 次,近一周安装 382 次,下载 3,117 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tax-filing 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
tax-filing

报税 · 本页

8,8931需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
tax-filing
description
>
version
0.2.0

Tax Filing

A guided workflow for preparing US federal income tax returns. This skill covers all filer types — US citizens, resident aliens (RA), and nonresident aliens (NRA) — by first determining the correct filer type, then routing to the appropriate forms and procedures. Both citizen/RA and NRA workflows are fully self-contained in this skill, including PDF form field mappings, cross-form validation, and the safe update_form.py script.

Step 1: Gather Source Documents

Before anything else, ask the user what documents they have. Common source docs:

DocumentWhat it tells you
W-2Wages, federal/state tax withheld, employer HSA contributions
1099-NECContractor / self-employment income
1099-INTBank interest
1099-DIVDividends (qualified and ordinary)
1099-BStock/crypto sales (proceeds and cost basis)
1099-MISCOther income (royalties, rents, etc.)
1099-SA / 5498-SAHSA distributions and contributions
1098Mortgage interest paid
1098-TTuition paid (education credits)
I-94Travel history (needed for NRA determination)

If the user has an I-94 or mentions a visa type, that's a strong signal they may be NRA — proceed to Step 2 with that in mind.

Step 2: Determine Filer Type

This is the critical routing decision. Read references/filing-status.md for the full decision tree. The short version:

  1. US citizen or green card holder → Resident. File Form 1040. Go to Step 3a.
  2. Visa holder (F-1, J-1, H-1B, OPT, etc.) → Apply the Substantial Presence Test (SPT):

- Count days present: current year days + (1/3 × prior year days) + (1/6 × two years ago days) - If total ≥ 183 → Resident alien (unless an exemption applies). File Form 1040. Go to Step 3a. - F-1 and J-1 students are exempt from SPT for their first 5 calendar years. They remain NRA. File Form 1040-NR. Go to Step 3b. - If total < 183 → Nonresident alien. File Form 1040-NR. Go to Step 3b.

  1. Dual-status (changed status mid-year) → complex case. Note it for the user and suggest professional review for the transition period.

Ask the user directly if unclear. Don't assume.

Step 3a: Citizen / Resident Alien Workflow (Form 1040)

Read references/form-routing.md to determine which schedules and forms are needed based on the user's income types. For field-level details on individual schedule lines and common pitfalls, read references/common-schedules.md when filling specific forms.

Workflow

  1. Determine filing status — Single, MFJ, MFS, HOH, QSS (see references/filing-status.md)
  2. Map income to forms — Use the routing table in references/form-routing.md
  3. Standard vs. itemized deduction — 2025 standard deduction: $15,000 (Single), $30,000 (MFJ). Itemize only if total Schedule A deductions exceed this.
  4. Calculate key amounts from source docs:

- Total wages (sum of all W-2 Box 1) - Total interest/dividends (1099-INT/DIV) - Net self-employment income (1099-NEC minus expenses → Schedule C → Schedule SE) - Capital gains/losses (1099-B → Form 8949 → Schedule D) - Above-the-line deductions (HSA, student loan interest, SE tax deduction → Schedule 1) - AGI = Total income - Adjustments - Taxable income = AGI - Deduction (standard or itemized)

  1. Fill PDF forms — Use scripts/update_form.py (bundled with this skill) or write equivalent code following the three critical rules:

- Never write to the same path as input - Always use auto_regenerate=False - Iterate all pages

  1. Cross-validate — Check the validation rules below
  2. Final review — Re-extract all fields and confirm consistency

Cross-Form Validation Rules (Form 1040)

  1. W-2 Box 1 (all) → 1040 Line 1a (total wages)
  2. Schedule 1 Line 11 → 1040 Line 8 (additional income)
  3. Schedule 1 Line 26 → 1040 Line 10 (adjustments)
  4. 1040 Line 9 (total income) = Line 1z + Line 8
  5. 1040 Line 11 (AGI) = Line 9 - Line 10
  6. 1040 Line 13 = standard deduction or Schedule A total
  7. 1040 Line 15 (taxable income) = Line 11 - Line 13 - Line 14
  8. Schedule C Line 31 (net profit) → Schedule SE Line 2
  9. Schedule SE Line 13 (SE tax) → Schedule 2 Line 4
  10. Schedule D Line 16 or 21 → 1040 Line 7 (capital gain/loss)
  11. W-2 Box 2 (all) → 1040 Line 25a (federal tax withheld)
  12. Estimated payments (1040-ES) → 1040 Line 26

Common Mistakes (Citizen/RA)

  • Forgetting to file Schedule SE when you have 1099-NEC income (self-employment tax is separate from income tax)
  • Using the wrong cost basis from 1099-B (check Box 1e — if blank, you must calculate it yourself via Form 8949)
  • Double-counting employer HSA contributions (W-2 Box 12 Code W) — these go on Form 8889 Line 9, not Line 2
  • Missing the $3,000 capital loss limit — net losses over $3,000 carry forward, they don't all deduct in one year
  • Filing as Single when Head of Household applies (HOH has a larger standard deduction and lower tax brackets)

Step 3b: Nonresident Alien Workflow (Form 1040-NR)

This section covers the complete NRA filing workflow. For NRA-specific field-to-line mappings, see references/form-field-maps.md. For PDF recovery procedures, see references/pypdf-recovery.md.

Critical pypdf Rules

These rules prevent data loss. Violating them will corrupt PDF files. The bundled scripts/update_form.py enforces all three automatically — use it instead of writing update logic from scratch.

  1. NEVER write output to the same path as input. PdfReader uses lazy reading — if you write to the same file, you truncate it while the reader still holds references into it. Page annotations (already in memory) may survive, but the AcroForm catalog gets corrupted during the partial read/write overlap. Always write to a temp path first, then copy.
  1. Always use auto_regenerate=False when calling update_page_form_field_values(). The default True removes /AP (appearance stream) entries from each field. Without appearance streams, some PDF viewers render the field as blank even though the /V value is correct — the data is there but invisible.
  1. Iterate all pages when updating fields, even if you think fields are on page 1. Some IRS forms silently split fields across pages — if you only update page 0, fields on page 1 will be silently skipped with no error.
  1. If a PDF gets corrupted (field tree broken but annotation values survive):

- Check annotations directly: page.get("/Annots") → annot.get("/V") - Rebuild the AcroForm /Fields array from page annotations - Read references/pypdf-recovery.md when you see this symptom — it has the full step-by-step repair procedure

Core Update Function

A bundled script at scripts/update_form.py encodes all three critical rules above plus post-write verification. Use it for all form updates:

# CLI usage — fix a field
python scripts/update_form.py Form1040NR.pdf /tmp/Form1040NR_fixed.pdf --set "f1_53=5000"

# Fix multiple fields and clear one
python scripts/update_form.py Form8843.pdf /tmp/Form8843_fixed.pdf \
    --set "f1_14=338" "f1_17=338" --clear "f1_15"
# Or import as a library in your own script
from scripts.update_form import update_form
import shutil

update_form("Form.pdf", "/tmp/Form_fixed.pdf", {"f1_53": "5000"}, clear_fields=["f1_65"])
shutil.copy("/tmp/Form_fixed.pdf", "Form.pdf")  # only then overwrite original

The script automatically verifies that fields survived the write and warns if the output looks corrupted. Ensure pypdf is available: pip install pypdf --break-system-packages.

Field Discovery Workflow

Before modifying any form, always extract and map fields first.

Step 1: Extract all field names and values

reader = PdfReader("Form.pdf")
fields = reader.get_form_text_fields()
for name, value in sorted(fields.items()):
    short = name.split(".")[-1].replace("[0]", "")
    print(f"{short} = {value}")

Step 2: Map fields to line numbers via Y-position Before this step, read references/form-field-maps.md for the expected field-to-line table — it covers 1040-NR, 8843, Schedule NEC, Schedule OI, Form 8833, Form 8889, and Schedule 1. Use it as a reference while verifying the Y-position analysis below.

IRS PDFs use positional layout. Extract annotation rectangles to determine which line a field corresponds to:

page = reader.pages[0]
annots = page.get("/Annots")
field_positions = []
for annot_ref in annots:
    annot = annot_ref.get_object()
    t = str(annot.get("/T", ""))
    v = annot.get("/V", "")
    rect = annot.get("/Rect", [])
    ft = str(annot.get("/FT", ""))
    if ft == "/Tx":  # text fields only
        y = float(rect[1]) if rect else 0
        x = float(rect[0]) if rect else 0
        field_positions.append((y, x, t, v))
# Sort by Y descending = top of page to bottom (matches line order)
for y, x, t, v in sorted(field_positions, reverse=True):
    short = t.split(".")[-1].replace("[0]", "")
    print(f"Y={y:.0f} X={x:.0f} {short} = {v}")

Compare the Y-position ordering against the physical form layout to create a definitive field-to-line map.

Step 3: Check checkboxes and radio buttons

all_fields = reader.get_fields()
for name, field in sorted(all_fields.items()):
    v = field.get("/V", "")
    ft = field.get("/FT", "")
    if ft == "/Btn":
        short = name.split(".")[-1].replace("[0]", "")
        print(f"{short} = {v} (button)")

NRA Form Suite Overview

A typical NRA (F-1 OPT) filing includes these forms. See references/form-field-maps.md for complete field-to-line mappings.

FormPurposeKey Fields
1040-NRMain returnIncome lines, AGI, tax, withholding, refund
Schedule 1Additional income/adjustmentsContractor income (Line 8h), HSA deduction
Schedule NECTax on non-effectively-connected incomeDividends, capital gains, NEC tax
Schedule OIOther informationVisa type, country, treaty claims, days present
Form 8843Statement for exempt individualsDays of presence, visa status, exclusion days
Form 8833Treaty-based return positionTreaty article, exemption amount
Form 8889HSAContributions, employer contributions, deduction

NRA Workflow Steps

  1. Gather source docs (W-2, 1099s, 5498-SA, I-94)
  2. Extract all fields from all filled PDFs
  3. Build field-to-line maps using Y-position analysis and references/form-field-maps.md
  4. Calculate key NRA amounts:

- Total wages (W-2 Box 1) → 1040-NR Line 1a - Treaty-exempt income → Line 1k (requires Form 8833) - Net wages = Line 1a minus Line 1k → Line 1z - Contractor income (1099-NEC) → Schedule 1 Line 8h → 1040-NR Line 8 - HSA deduction → Form 8889 → Schedule 1 → 1040-NR Line 10 - AGI = Line 9 (total ECI) - Line 10 (adjustments) - NRA cannot take standard deduction (must itemize or take $0) - Non-effectively connected income (dividends, capital gains) → Schedule NEC at flat rates

  1. Fill PDF forms using scripts/update_form.py (different output path!)
  2. Cross-validate every number against source docs and between forms (see rules below)
  3. Apply fixes using the safe update function
  4. Re-extract and verify all fields after each fix
  5. Final verification: read every form one more time and confirm consistency

Cross-Form Validation Rules (NRA / Form 1040-NR)

After filling, validate these consistency checks:

  1. W-2 Box 1 → 1040-NR Line 1a (wages)
  2. Schedule 1 Line 10 → 1040-NR Line 8 (additional income from Sch 1)
  3. 1040-NR Line 1a minus treaty exempt = Line 1z (if treaty applies)
  4. 1040-NR Line 9 (total ECI) = Line 1z + Line 8 (or sum of all income lines)
  5. 1040-NR Line 11a (AGI) = Line 9 - Line 10 (adjustments)
  6. Schedule NEC total tax → 1040-NR Line 23a
  7. Form 8843 Line 4b = Schedule OI current year days (days to exclude)
  8. Form 8843 Lines 4a days must match Schedule OI for each year
  9. W-2 Box 2 → 1040-NR Line 25a (federal tax withheld)
  10. Form 8833 exemption amount → 1040-NR Line 1k (treaty exempt income)

Common NRA Mapping Errors

Watch for these — they are the most frequent mistakes when auto-filling:

  • Contractor income on Line 5b (pensions) instead of Line 8 (additional income from Schedule 1)
  • Wages duplicated on both Line 1a and Line 1h (Line 1h is "other earned income", not a repeat)
  • AGI placed on Line 6 (reserved/future use) instead of Line 11a
  • Treaty exempt amount missing from Line 1k when Form 8833 is filed
  • Line 1z left empty — should equal total of Lines 1a through 1h minus exempt
  • Days of presence wrong on Form 8843 — must match I-94 travel history exactly, not assume 365

US-China Tax Treaty Quick Reference

This section covers the US-China treaty as a concrete example. Similar treaties exist for other countries (e.g., India Article 21(2), South Korea Article 21(1)) — verify article numbers and rates against the specific treaty if your country differs.

For Chinese nationals on F-1 visa:

  • Article 20(c): $5,000 exemption on wages/scholarship for students — reported on Line 1k of 1040-NR, requires Form 8833
  • Article 9(2): 10% rate on dividends (vs 30% default) — reported on Schedule NEC
  • IRC 871(i)(2)(A): Bank deposit interest is exempt for NRAs — do NOT report on any form
  • IRC 871(a)(2): Capital gains taxed at 30% flat if present 183+ days — reported on Schedule NEC

Workflow Summary

  1. Gather source documents from the user
  2. Determine filer type (citizen / RA / NRA) and filing status
  3. Route to the correct workflow (3a for 1040, 3b for 1040-NR)
  4. Identify required forms and schedules
  5. Calculate amounts from source documents
  6. Fill PDF forms safely (different output path, auto_regenerate=False, iterate all pages)
  7. Cross-validate all numbers between forms
  8. Final review — re-extract every form and confirm consistency

平台分布

OpenClaw

74.69%
按下载量换算2,328

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills