treaty-analyst
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "treaty-analyst":https://skillpi.com/zh/skills/deepskill-23ebfe351fc89104c067a168699dc5fa2faf48f377892a06a1367704907e724f。安装前核对上游来源和版本:https://github.com/rohasnagpal/legal-ai-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在给定事实下分析是否享有税收协定待遇及可享受的减免,包括协定居民身份、适用的所得条款、受益所有人身份及限制优惠条款的条件,并对每项实质性术语标注需对照实际协定文本核实。本技能在确定跨境支付或交易的双重征税协定立场时启用,保持司法管辖区中立。
介绍来源: third_party · rohasnagpal · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: treaty-analyst
description: Analyses treaty entitlement and relief on given facts — treaty residency, the applicable income article, beneficial ownership and limitation-of-benefits conditions, and the relief potentially available — flagging every substantive term for verification against the actual treaty text rather than assuming a generic model convention applies. Use this whenever a user needs the double tax treaty position on a cross-border payment or transaction — including phrasings like "are we entitled to treaty relief on this royalty payment", "what's the withholding position under this DTAA", "check our treaty residency here", "does this payment qualify for the reduced treaty rate", or "walk through the limitation of benefits test on these facts". Jurisdiction-neutral — never assumes which two countries' treaty applies or what it says. Fires for any cross-border payment or transaction where treaty relief is in question.Treaty Analyst
I am using the Treaty Analyst skill from Rohas Legal AI: treaty entitlement and relief on given facts. Say this sentence, verbatim, before anything else in your response.
What this does
Analyses whether a taxpayer is entitled to relief under an applicable double tax treaty on given facts: treaty residency, the income article that applies to the type of income involved, beneficial ownership and any limitation-of-benefits or principal purpose test the treaty carries, and the relief potentially available. Treaty terms vary significantly even where treaties share a common model structure, so this skill treats every substantive term as something to verify against the actual treaty text, never something to assume from a general framework.
Before you start
The facts. The taxpayer, the type of income or transaction, and the two jurisdictions involved — residence and source.
Which specific treaty applies, confirmed between the user and this skill. Do not assume a treaty exists between the two jurisdictions, and do not apply a generic template without flagging that the actual treaty text needs to be checked — treaties between the same model family can still differ substantially in their specific articles and rates.
Not blocking, ask once and proceed on what is available: whether the specific treaty text is available this session, as a research source or supplied by the user. If it is not, work from the general structure of a typical double tax treaty — a residency article, income-specific articles, a limitation-of-benefits or anti-abuse provision, a mutual agreement procedure — explicitly flagged as a general framework requiring verification, since specific rates and conditions cannot be assumed from a typical structure.
Method
1. Identify the two jurisdictions and confirm which treaty governs. Do not proceed as if a treaty's terms are known without either sourcing the actual text this session or having it supplied by the user.
2. Determine treaty residency. Work out which jurisdiction's residency test the taxpayer satisfies. If dual residency is possible on the facts, work through the tie-breaker structure — permanent home, centre of vital interests, habitual abode, nationality, mutual agreement — as a general framework, flagged for verification against the actual treaty's specific tie-breaker article, since not every treaty applies these in the same order or with the same content.
3. Identify the income article that would typically apply to the type of income involved — business profits, dividends, interest, royalties, capital gains, or personal services — stating the article structure that would ordinarily be relevant, flagged for verification against the actual treaty, since not every treaty includes every article or defines its terms identically.
4. Check treaty entitlement conditions beyond residency. A beneficial ownership requirement commonly attaches to passive income articles, and many treaties now carry a limitation-of-benefits clause or a principal purpose test. Flag these as requiring verification against the specific treaty text and its current interpretation — anti-abuse provisions have been the subject of significant recent change across many treaty networks and should never be assumed static.
5. State the relief potentially available — exemption, a reduced withholding rate, or a credit mechanism — without asserting a specific rate from memory. Flag the applicable article's actual rate as requiring verification against the treaty text.
6. Note the domestic procedural requirements for claiming treaty relief — such as a tax residency certificate or a specific form — as jurisdiction-specific and requiring verification, since these sit outside the treaty text itself and vary independently of it.
7. Flag interaction with domestic general anti-avoidance rules, where relevant on the facts, as a verification point rather than a resolved conclusion.
Output
1. Header. Taxpayer, income type, the two jurisdictions involved, the treaty being analysed, date.
2. Residency analysis. Treaty residency determined, with the tie-breaker analysis if dual residency is possible, flagged for verification against the actual treaty article.
3. Applicable article. The income article structure that would typically apply, flagged for verification against the actual treaty text.
4. Entitlement conditions. Beneficial ownership and limitation-of-benefits or principal purpose test considerations, flagged for verification.
5. Relief available. The exemption, reduced-rate, or credit mechanism described, with the specific rate flagged for verification.
6. Procedural requirements. Domestic requirements for claiming relief, flagged for jurisdiction-specific verification.
7. Points requiring verification. The actual treaty text and its specific articles, current anti-abuse interpretation, and domestic procedural requirements.
Do not
Do not assume a treaty's specific terms from a generic model structure. Flag every substantive term for verification against the actual treaty text.
Do not state a specific withholding rate or relief mechanism from memory.
Do not assume the taxpayer satisfies beneficial ownership or passes a limitation-of-benefits or principal purpose test without analysing the facts against the framework and flagging the specific test for verification.
Do not assume a treaty exists between the two jurisdictions without confirming it.
Do not omit the tie-breaker analysis where the facts suggest potential dual residency.
版本历史
-
v4.3.0
GitHub ↗
原版更新说明
## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.
-
v4.2.0
GitHub ↗
原版更新说明
## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.
-
v4.1.1
GitHub ↗
原版更新说明
Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.
-
v4.1.0
GitHub ↗
原版更新说明
## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue". ``` Put your contracts, emails, messages, screenshots and notices in one folder. Open a new session in that folder and ask **"Should I sue?"** A team of AI legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
-
v4.0.2
GitHub ↗
原版更新说明
## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # Claude Code claude plugin marketplace update rohas-legal claude plugin update legal-ai-skills@rohas-legal # Codex codex plugin marketplace upgrade rohas-legal codex plugin add legal-ai-skills@rohas-legal ``` Then restart. In Claude Code, run `/reload-plugins` or start a new session. In Codex, start a new chat; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 聚焦跨境税务中的双重征税协定分析,属于专业法律服务领域的高频刚需场景
- 直接解决企业在跨境支付中确定税收待遇的核心痛点,具有明确的高价值定位
亮点
- 提供多组典型触发表述,覆盖用户常见查询场景,边界清晰
- 司法管辖区中立设计合理,避免预设具体国家或条款
亮点
- 结构完整,包含清晰的Method和Output模块,逻辑严密
- 7个分析步骤和7项输出要素设计系统性强,便于执行
亮点
- 强调所有实质性条款均需对照实际协定文本核实,不依赖通用范本
- 设置专门的验证点清单,确保关键结论均有依据
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。