lookup-bilateral-tariff
できること
このスキルは、ある製品を、ある国が別の国から輸入するときに払う特定の関税を見つけます。2か国間の関税を確認する輸入者、輸出者、研究者向けです。
使う場面
- ✓特定の製品を2国間で輸入するとき、どの関税がかかるかを尋ねられたとき。
- ✓貿易協定によって関税が下がるかを知りたいとき。
- ✓同じ製品について、異なる輸出国からの関税を比べているとき。
スキルのリンク
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この6桁の品目コードを、ドイツが日本から輸入する場合、どの関税がかかりますか? 貿易協定で下がりますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、品目コードと2か国を指定して二国間関税のサービスを呼び出します。一般税率と、適用される優遇税率があればそれを報告し、その税率に含まれないものを明記します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
lookup-bilateral-tariff
Use this skill when the user asks what tariff a specific product (a 6-digit HS subheading) pays when country A imports it from country B, or whether a trade agreement lowers that rate.
Entitlement: this operation is Pro-gated (entitlement tier ≥ 1). API Starter and API Business keys qualify. A free caller receives empty data with upstreamUnavailable: true, or 403 when the gateway enforces the premium RPC.
What the rate does not include. TRAINS records the MFN schedule and the preferential schedules each importer files. It does not record unilateral additional duties (US Section 301, 232 or IEEPA tariffs), anti-dumping or countervailing duties, or safeguards. For pairs subject to those measures, say that the rate understates what importers pay. For the current US duty on a product, including Section 301 and 232 duties, use lookup-us-import-duty instead; TRAINS has no US preferences after 2021.
Authentication
Server-to-server callers (agents, scripts, SDKs) MUST present an API key in the X-WorldMonitor-Key header. Authorization: Bearer … is for MCP/OAuth or Clerk JWTs — not raw API keys.
X-WorldMonitor-Key: wm_0123456789abcdef0123456789abcdef01234567
Issue a key at https://www.worldmonitor.app/pro.
Endpoint
GET https://api.worldmonitor.app/api/trade/v1/get-bilateral-tariff
Parameters
| Name | In | Required | Shape | Notes |
|---|---|---|---|---|
reporting_country |
query | yes | 3-digit UN M49 (840 = US) |
The importer. EU member states are answered from the EU schedule (918); the response names it in filingReporter. |
partner_country |
query | yes | 3-digit UN M49 (484 = Mexico) |
The exporter. 000 returns the MFN rate only. |
hs_code |
query | yes | 6 digits | HS subheading in the importer's nomenclature for that year. |
year |
query | no | integer 0–2100 | 0 selects the latest year TRAINS lists for the importer, usually one with preferential schedules on file. |
jmespath |
query | no | JMESPath, ≤ 1024 chars | Server-side projection. |
Response shape
{
"reportingCountry": "840",
"partnerCountry": "484",
"hsCode": "870323",
"filingReporter": "840",
"year": 2021,
"nomenclature": "H5",
"basis": "APPLIED_TARIFF_BASIS_PREFERENTIAL",
"appliedRate": { "rate": 0, "minRate": 0, "maxRate": 0, "tariffLines": 1, "nonAdValoremLines": 0 },
"mfnRate": { "rate": 2.5, "minRate": 2.5, "maxRate": 2.5, "tariffLines": 1, "nonAdValoremLines": 0 },
"preferentialRate": { "rate": 0, "minRate": 0, "maxRate": 0, "tariffLines": 1, "nonAdValoremLines": 0 },
"groupPreferences": [
{ "groupCode": "A41", "groupName": "Caribbean Basin Economic Recovery Act: USA 2014", "rate": { "rate": 0 } }
],
"source": "UNCTAD TRAINS via World Bank WITS",
"sourceUrl": "https://wits.worldbank.org/API/V1/SDMX/V21/datasource/TRN/reporter/840/partner/all/product/870323/year/2021/datatype/reported",
"upstreamUnavailable": false,
"unavailableReason": "BILATERAL_TARIFF_UNAVAILABLE_REASON_UNSPECIFIED"
}
Read basis before quoting appliedRate:
PREFERENTIAL— a partner-specific preferential rate is on file and is lower than MFN.MFN— the importer filed preferential schedules that year and none names this partner for this product, so MFN applies.groupPreferenceslists preferences granted to partner groups (GSP lists, regional agreements); membership is not resolved, so check whether the partner belongs before relying on one.MFN_PREFERENCES_NOT_REPORTED— the importer filed no preferential schedules for that year. Only the MFN rate is known; the rate actually applied may be lower.year=0picks the latest year TRAINS lists, which can itself be MFN-only, so retry with an explicit earlieryearthat has preferences on file (for the US, 2021 or earlier).
Rates are simple averages, in percent, across the importer's national tariff lines under the HS6 code. When mfnRate.nonAdValoremLines is above 0, specific duties are left out of that average; mfnAveRate then carries the ad valorem equivalent and appliedRate uses it when MFN applies.
unavailableReason is the closed BilateralTariffUnavailableReason enum — NOT_COVERED (no TRAINS row for that importer, product and year) leaves upstreamUnavailable: false; UPSTREAM_UNAVAILABLE sets it true.
Worked example
curl -s --get -H "X-WorldMonitor-Key: $WM_API_KEY" \
'https://api.worldmonitor.app/api/trade/v1/get-bil
よくある質問
税率に含まれないものは何ですか?
米国のSection 301やSection 232の関税、反ダンピング関税、セーフガードは含まれないと、スキルは述べています。
米国の関税にはどのスキルを使うべきですか?
現在の米国の関税については、別の米国輸入関税のスキルを使うよう述べています。
有料プランが必要ですか?
はい。この操作はProに限定されていると、スキルは述べています。無料のキーでは空のデータか403の応答になります。
詳細
作者による元の説明
Look up the applied tariff on one HS6 product imported by one country from another (MFN, partner-specific preferential, and the best available applied rate), from UNCTAD TRAINS via World Bank WITS. Use when the user asks what duty a specific product pays between two specific countries.
repo: koala73/worldmonitor
人気
- GitHubのスター
- 90k
- ランキング
- #1347
- ライセンス
- AGPL-3.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
chokepoint-check
90kエージェントが、ホルムズ海峡、スエズ運河、マラッカ海峡などの主要な海上の要衝で、現在の輸送の混乱を報告できるよう支援します。通過隻数とリスクレベルを含みます。
conflict-pulse
90kエージェントが、場所ごとに最近の武力紛争や混乱の事件を、死者数の推定、日付、一致するニュース報道とともに要約できるよう支援します。
country-briefing
90kエージェントが、1つの国について、不安定さのスコア、渡航勧告、制裁の影響、経済指標を含むリスクの概要を作成できるよう支援します。
hazard-watch
90kエージェントが、世界中または特定の場所の近くで、最近の地震、山火事、その他の自然災害を、場所、時刻、深刻度とともに一覧にできるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。