expatriate-tax-planning

expatriate-tax-planning is a skill for Claude Code, Codex from guoliang1114-boop/AriaAI. It costs 41 tokens per session (2,171 once invoked), scanned A, original, MIT.

A planning guide for taxes and social insurance when employees work across China and another country. It covers tax residence, tax treaties, income classification, foreign-tax credits, and cross-border social insurance.

In plain words
What is it for?
Use it to gather facts, assess residence status, classify income, analyze treaty treatment, and prepare a tax-planning memorandum.
Why use it?
Cross-border pay can be taxed by more than one country, and the applicable rules depend on travel days, employment arrangements, and treaty terms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to gather facts, assess residence status, classify income, analyze treaty treatment, and prepare a tax-planning memorandum.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guoliang1114-boop/ariaai/expatriate-tax-planning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add guoliang1114-boop/AriaAI --skill expatriate-tax-planning
Clone the repo
git clone --depth 1 https://github.com/guoliang1114-boop/AriaAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for expatriate-tax-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/guoliang1114-boop/ariaai/expatriate-tax-planning/github.svg)](https://agentmods.dev/skills/guoliang1114-boop/ariaai/expatriate-tax-planning)
Your own site
<a href="https://agentmods.dev/skills/guoliang1114-boop/ariaai/expatriate-tax-planning"><img src="https://agentmods.dev/badge/skills/guoliang1114-boop/ariaai/expatriate-tax-planning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for expatriate-tax-planning

Your own site · 80×15
<a href="https://agentmods.dev/skills/guoliang1114-boop/ariaai/expatriate-tax-planning"><img src="https://agentmods.dev/badge/skills/guoliang1114-boop/ariaai/expatriate-tax-planning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.02171
Opus 5 $0.00020 $0.01086
Sonnet 5 $0.00008 $0.00434
Haiku 4.5 $0.00004 $0.00217

Measured 12d ago against content hash 9a49339f154b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

expatriate-tax-planning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/expatriate-tax-planning/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

外籍人员税务筹划

When To Use

  • 企业派遣员工赴中国或从中国派遣至境外工作
  • 外籍个人在华取得所得需进行税务规划
  • 需要判定税收居民身份及适用税收协定待遇
  • 跨境社保缴纳安排优化
  • 境外已纳税额的税收抵免计算

Tools

  • 双边税收协定数据库(国家税务总局)
  • 社保缴纳基数及费率查询
  • IIT计算器(综合所得/分类所得)
  • 外汇管理局跨境支付规则查询

Framework

OECD Model Tax Convention

依据OECD范本及UN范本,确定跨境所得的征税权分配:

  • Article 15 — 受雇所得:183天规则、报酬由居民国雇主支付、常设机构负担
  • Article 16 — 董事费
  • Article 19 — 政府服务
  • Article 23 — 消除双重征税方法(抵免法/免税法)

中国个人所得税法(2018修订)

  • 居民个人:在中国境内有住所,或无住所而一个纳税年度内在中国境内居住累计满183天
  • 非居民个人:无住所且不满足上述条件
  • 六年规则:无住所个人连续六年满足居民条件且未单次离境超30天,全球征税;否则仅就境内所得及境外所得境内支付部分征税(财税〔2019〕35号)

社会保障双边协定

中国已与德、韩、丹、芬、加、日等国签署社保互免协定。协定通常规定:

  • 派遣期限(通常24-60个月)内可继续在母国缴纳社保
  • 需开具参保证明

Workflow

1. 事实收集
   ├─ 派遣期限、岗位、薪酬结构
   ├─ 出入境记录(183天计算)
   └─ 母国社保及税务状况

2. 居民身份判定
   ├─ 住所标准(户籍、家庭、经济利益中心)
   ├─ 183天居住天数计算
   └─ 六年规则适用性

3. 所得性质分类
   ├─ 工资薪金(境内/境外支付)
   ├─ 数月奖金/股权激励
   ├─ 董事费、顾问费
   └─ 住房、子女教育等实物福利

4. 协定待遇分析
   ├─ 适用条款识别
   ├─ 征税权分配
   └─ 抵免限额计算

5. 筹划方案设计
   ├─ 薪酬结构优化(现金vs实物)
   ├─ 派遣模式选择(个人派遣vs公司派遣)
   ├─ 社保互免申请
   └─ 税收抵免安排

Output Format

# 外籍人员税务筹划备忘录

## 一、基本情况
| 项目 | 内容 |
|------|------|
| 姓名 | |
| 国籍 | |
| 派遣方向 | 中国→境外 / 境外→中国 |
| 派遣期限 | 起止日期 |
| 在华居住天数 | 过去X年每年天数 |
| 薪酬总额 | 人民币/外币 |

## 二、税收居民身份判定
- 住所标准分析:____
- 183天规则判定:____
- 六年规则判定:____
- 结论:____

## 三、税收协定适用
| 所得类型 | 协定条款 | 征税权分配 | 中国税率 | 母国税率 |
|----------|----------|------------|----------|----------|
| 工资薪金 | Art.15 | | | |
| 董事费 | Art.16 | | | |

## 四、税负测算
| 方案 | 中国IIT | 母国税 | 社保 | 合计 | 节税额 |
|------|---------|--------|------|------|--------|
| 方案一 | | | | | |
| 方案二 | | | | | |

## 五、筹划建议
1. 薪酬结构调整:____
2. 社保安排:____
3. 税收抵免:____
4. 时间节点:____

## 六、实施计划与风险提示

Diagnostic Questions

  1. 员工是否在中国境内有住所(户籍、房产、家属)?
  2. 过去6个纳税年度在华居住天数分别是多少?
  3. 薪酬由哪一方支付?境内还是境外实体?
  4. 是否已适用社保双边互免协定?
  5. 母国对该员工的税务立场如何?
  6. 是否涉及股权激励或递延薪酬?

Verification

  • 核对出入境记录(护照盖章/出入境管理局记录)
  • 验证183天计算的完整性(含入境日、离境日)
  • 确认税收协定文本的适用版本
  • 核实社保互免证明的有效期
  • 比对实际税负与测算差异

Saving

保存路径:/cases/{client}/expatriate-tax-planning/ 文件命名:expat-tax-plan-{employee}-{date}.md 关联文件:薪酬结构表、出入境记录、协定文本

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 197 lines · 41 tokens per session scan A 9a49339f154b

Subscribe to this mod's changes

expatriate-tax-planning is a skill published in the GitHub repository guoliang1114-boop/AriaAI (37 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 2,171 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

domain_aml

Guidance for monitoring cross-border payments for money laundering and sanctions risks. It explains terms such as suspicious transactions and watchlists, which can include sanctioned people or politically exposed persons.

fdueblab/Micro-Agent · 0 tokens

fin-audit-support

Support SOX 404 compliance with control testing methodology, sample selection, and documentation standards. Use when generating testing workpapers, selecting audit samples, classifying control deficiencies, or preparing for internal or external audits.

evolution-foundation/evo-nexus · 47 tokens

fin-sox-testing

Generate SOX sample selections, testing workpapers, and control assessments. Use when planning quarterly or annual SOX 404 testing, pulling a sample for a control (revenue, P2P, ITGC, close), building a testing workpaper template, or evaluating and classifying a control deficiency.

evolution-foundation/evo-nexus · 66 tokens

fin-journal-entry

Prepare journal entries with proper debits, credits, and supporting detail. Use when booking month-end accruals (AP, payroll, prepaid), recording depreciation or amortization, posting revenue recognition or deferred revenue adjustments, or documenting an entry for audit review.

evolution-foundation/evo-nexus · 56 tokens

regulatory_filing

Parse and retrieve SEC/FINRA filings for an entity.

supremeb/Oniva-ai · 17 tokens

expense-review-policy

Review invoices and contracts against accounts-payable policy before human approval.

openai/openai-cookbook · 17 tokens