treaty-analyst

treaty-analyst is a skill for Claude Code, Codex from rohasnagpal/legal-ai-skills. It costs 171 tokens per session (1,194 once invoked), scanned A, original, MIT.

A legal analysis tool for checking whether a taxpayer can claim reduced tax or other relief under a specific double-tax treaty. It examines residency, the relevant income rule, ownership requirements, and anti-abuse conditions against the actual treaty text.

In plain words
What is it for?
It is for reviewing cross-border income, identifying the applicable treaty article, and assessing whether treaty relief may be available.
Why use it?
It helps avoid applying a generic treaty model or assuming that two countries have an applicable treaty. It highlights facts and treaty terms that need verification.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the vclo-by-rohas plugin — 50 skills shipped together

Good fit It is for reviewing cross-border income, identifying the applicable treaty article, and assessing whether treaty relief may be available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohasnagpal/legal-ai-skills/treaty-analyst
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 rohasnagpal/legal-ai-skills --skill treaty-analyst
Clone the repo
git clone --depth 1 https://github.com/rohasnagpal/legal-ai-skills

Made for: Claude Code, Codex.

Or install vclo-by-rohas, the plugin that ships this one along with the rest of its 50 skills.

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 treaty-analyst

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/treaty-analyst/github.svg)](https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/treaty-analyst)
Your own site
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/treaty-analyst"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/treaty-analyst/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 treaty-analyst

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/treaty-analyst"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/treaty-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 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.
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.00171 $0.01194
Opus 5.5 $0.00068 $0.00478
Sonnet 5.5 $0.00034 $0.00239
Haiku 4.5 $0.00017 $0.00119

Measured 1mo ago against content hash 83ce65c8a138, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

treaty-analyst 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 1mo 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.

plugins/vclo-by-rohas/skills/treaty-analyst/SKILL.md · 65 lines

How it starts

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

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.

Read the full file on GitHub · 65 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 65 lines · 171 tokens per session scan A 83ce65c8a138

Subscribe to this mod's changes

treaty-analyst is a skill published in the GitHub repository rohasnagpal/legal-ai-skills (204 stars, last pushed 1mo ago), licensed MIT. It adds 171 tokens to every session and 1,194 once invoked, about $0.0007 per session on Opus 5.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-09-21.

Related

treaty-analyst compared with skills from other repositories

treaty-analyst next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
treaty-analystrohasnagpal/legal-ai-skillsSkill2041mo agoMITA171Claude Code, Codex
fintech-agreement-drafting-stephane-boghossianlawve-ai/awesome-legal-skillsSkill93921d agononeA205Claude Code
billing-cycle-manager-scott-margettslawve-ai/awesome-legal-skillsSkill93921d agononeA162Claude Code, Codex
budget-and-fee-manager-scott-margettslawve-ai/awesome-legal-skillsSkill93921d agononeA205Claude Code, Codex
indian-foreign-investment-approval-assessment-siddhi-kudalkarlawve-ai/awesome-legal-skillsSkill93921d agononeA103Claude Code, Codex
new-designation-screening-testlawve-ai/awesome-legal-skillsSkill93921d agononeA146Claude Code, Codex
billable-time-stephane-boghossianlawve-ai/awesome-legal-skillsSkill93921d agononeA219Claude Code