track-tariff-trends
できること
このスキルは、ある国の平均関税率が長年どう変わったかを示します。1つの貿易相手国や1つの品目グループに焦点を当てることもでき、貿易政策を研究している人向けです。
使う場面
- ✓ある国の関税が時間とともにどう変わったかを尋ねられたとき。
- ✓ある国が別の国にかける平均的な関税を知りたいとき。
- ✓繊維や機械などの品目グループの平均関税を尋ねられたとき。
スキルのリンク
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/track-tariff-trends/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ある国の機械に対する平均関税が、過去10年間でどう変わったかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、リクエストに基づいて2つのデータ系列のどちらかを選びます。すべての品目にはWTOの平均を、貿易相手国や品目グループが選ばれたときはWorld Bankの貿易データを使い、どちらも約定税率であることを明記します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
track-tariff-trends
Use this skill when the user asks about a country's average tariff: how its MFN applied rate evolved, what it charges on average on goods from a given partner or in a product group such as textiles or machinery, or the optional US effective-rate snapshot (FRED customs duties / goods imports).
Two series, chosen by the parameters:
- No partner and no product group: the WTO MFN applied average over all products (
TP_A_0010), seeded, usually up to the latest year WTO publishes. - A partner and/or a product group: the effectively applied average (preferences included) from World Bank WITS (UNCTAD TRAINS), simple and import-weighted. Data ends in 2023 for most reporters; for the US, preferences are only reported through 2021.
Both are schedule rates. Neither includes Section 301, Section 232 or other unilateral duties; for what the US charges today on a product, use lookup-us-import-duty.
Entitlement: this operation is Pro-gated (entitlement tier ≥ 1). A key on the free tier receives empty data (upstreamUnavailable: true) from the browser path, or 403 when the gateway enforces the premium RPC.
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-tariff-trends
Parameters
| Name | In | Required | Shape | Notes |
|---|---|---|---|---|
reporting_country |
query | no | 3-digit UN M49 (840 = US) |
Empty defaults to 840. Malformed → HTTP 400. The EU is 918. WTO codes 251, 579, 699, 757 (France, Norway, India, Switzerland) also work. |
partner_country |
query | no | 3-digit UN M49 | The exporting partner. Empty or 000 (World) with no product group selects the MFN series; any other partner selects the WITS series. The EU is not a partner; name a member state. |
product_sector |
query | no | empty / all / WITS group |
Empty or all = all products. A WITS group selects the WITS series: an HS section (01-05_Animal, 06-15_Vegetable, 16-24_FoodProd, 25-26_Minerals, 27-27_Fuels, 28-38_Chemicals, 39-40_PlastiRub, 41-43_HidesSkin, 44-49_Wood, 50-63_TextCloth, 64-67_Footwear, 68-71_StoneGlas, 72-83_Metals, 84-85_MachElec, 86-89_Transport, 90-99_Miscellan) or AgrRaw, Chemical, Food, Fuels, manuf, OresMtls, Textiles, Transp. Case-insensitive. Anything else → NOT_COVERED. |
years |
query | no | integer 0–30 | Lookback window inclusive of both endpoints (10 → 11 calendar years). 0 → default 10. The seed holds 30 years; every window is sliced from the same key. |
jmespath |
query | no | JMESPath, ≤ 1024 chars | Server-side projection. |
Response shape
{
"datapoints": [
{
"reportingCountry": "United States of America",
"partnerCountry": "World",
"productSector": "All products",
"year": 2024,
"tariffRate": 3.4,
"boundRate": 0,
"indicatorCode": "TP_A_0010"
}
],
"effectiveTariffRate": { "sourceName": "…", "tariffRate": 2.5 },
"fetchedAt": "2026-08-09T12:00:00Z",
"upstreamUnavailable": false,
"unavailableReason": "TARIFF_TREND_UNAVAILABLE_REASON_UNSPECIFIED",
"coverageStartYear": 2014,
"coverageEndYear": 2024
}
tariffRate is the simple average: MFN applied on TP_A_0010, effectively applied on AHS-SMPL-AVRG (the WITS series; check indicatorCode). weightedRate is the import-weighted average on the WITS series, 0 on TP_A_0010 and 0 where there were no imports in that group from that partner. partnerCountry echoes the requested partner code (World when none), and productSector names the group. boundRate is reserved (always 0). effectiveTariffRate is US-wide and only accompanies the MFN series.
A WITS answer, US imports from China, all products:
{ "reportingCountry": "840", "partnerCountry": "156", "productSector": "All products", "year": 2023,
"tariffRate": 3.584, "weightedRate": 2.77, "boundRate": 0, "indicatorCode": "AHS-SMPL-AVRG" }
unavailableReason is the closed TariffTrendUnavailableReason enum — NOT_COVERED leaves upstreamUnavailable: false (a permanent coverage answer, also used when WITS has no data for a pair, Taiwan included)
よくある質問
これは米国が今かけている関税を示しますか?
いいえ。スキルは、これらの税率にはSection 301、Section 232、その他の一方的な関税が含まれないと述べており、現在の米国の輸入関税は別の検索を使うよう案内しています。
データはどのくらい新しいですか?
多くの報告国のデータは2023年までで、米国の優遇データは2021年までです。
無料で使えますか?
いいえ。スキルは、この操作にはProレベルのWorldMonitorのキーが必要だと述べています。
詳細
作者による元の説明
Retrieve a country's average applied tariff over time — the MFN rate on all products, or the rate it applies on goods from one partner and/or in one product group — plus the optional US effective tariff rate. Use when the user asks how a country's tariffs have changed, or what it charges another country on average. For one product between two countries, use lookup-bilateral-tariff.
repo: koala73/worldmonitor
人気
- GitHubのスター
- 90k
- ランキング
- #1361
- ライセンス
- 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出力もできます。