Taiwan Government Open Data
Use this skill when the user wants to discover, inspect, compare, or inventory datasets listed on data.gov.tw.
For tasks that explicitly operate the data.gov.tw website in the Codex in-app browser, route to the focused UI skills:
$tw-gov-data-search for keyword, advanced, facet, provider, category, format, API-service, sorting, pagination, and result-export workflows.
$tw-gov-data-dataset for a /dataset/<nid> page, file/API resources, DCAT vocabulary, related datasets, and metadata freshness.
$tw-gov-data-news for current news, upload/removal notices, open-data updates, RSS, and news exports.
The API-oriented procedures below remain for metadata retrieval tasks where non-browser access is explicitly allowed; they do not override a site-level or user request to use only the in-app browser.
This skill is for dataset discovery and metadata inspection, not schema validation. Do not use schema.gov.tw for this skill unless the user explicitly changes scope.
When To Use This Skill
- The user wants datasets from
data.gov.tw
- The user wants dataset metadata, update times, formats, or providers
- The user wants resource download links or access URLs
- The user wants to compare candidate datasets
- The user wants a recent-change list or a bulk dataset inventory
When Not To Use This Skill
- Do not validate field values against government schema rules
- Do not infer or enforce
schema.gov.tw URIs
- Do not analyze the actual data rows until the correct dataset resource has been identified
- Do not promise that two datasets share the same field standard unless the source explicitly says so
- Do not assume every resource URL is hosted by
data.gov.tw; many resources point to external agency systems
Data Sources
Prefer data.gov.tw APIs over page scraping.
See API quick reference for endpoint selection and common metadata fields.
See prompt examples for representative user intents this skill should handle.
See maintenance guidance for when this skill should be reviewed or updated.
- Prefer the live site-facing APIs on
https://data.gov.tw/api/front
- Use dataset export for bulk inventory tasks
- Treat the published
api/v1/rest cross-platform spec as documented but not operational until re-verified
- Avoid page scraping unless the APIs do not expose the needed view
Default Workflow
- Clarify the user goal from the request.
- Choose the API path:
- If the user wants keyword search or candidate discovery, use
api/front/dataset/list.
- If the user wants a bulk inventory, use
api/front/dataset/export?format=json.
- If the user already has a dataset page id (
nid), use search results, export data, or a page-backed API only if needed.
- Retrieve the minimum data needed first.
- Summarize the results before expanding into more datasets.
- When listing candidate datasets, include why each one is relevant.
- When available, surface resource links, file formats, update times, provider, and field descriptions.
Response Priorities
When presenting a dataset, prioritize:
- title
- provider or agency
- last updated time
- update frequency
- dataset description
- key fields
- available resource formats
- download or access URLs
When comparing datasets, highlight:
- topic overlap
- update freshness
- machine-readable formats
- whether the resource appears to be downloadable files or service endpoints
Typical User Intents
- "幫我找空氣品質相關的政府資料"
- "列出最近 7 天異動的交通資料集"
- "比較這幾份資料哪份比較適合分析"
- "幫我整理某個資料集有哪些下載格式"
- "找某個機關目前公開了哪些資料集"
- "把某主題的資料集做成盤點清單"
Output Guidance
For a single dataset, provide a concise summary.
For multiple datasets, prefer a short ranked list. Each item should explain:
- what the dataset is
- why it is relevant
- what formats or resource URLs are available
For bulk inventory tasks, provide:
- the selection rule used
- the total count when available
- a compact list or table-ready summary
Cautions
- One dataset may contain multiple resources.
- Different resources under the same dataset may have different formats, encodings, and update times.
- Some datasets expose service endpoints, while others expose downloadable files.
- Always identify the correct resource URL before attempting downstream data work.
Mutating Operations
The formal cross-platform specification includes write operations such as create, update, and delete for metadata.
Do not use mutating endpoints unless the user explicitly asks to publish, edit, or remove dataset metadata and the environment is clearly authorized for that action.
1---2name: tw-gov-data3description: Search, inspect, compare, and summarize datasets from data.gov.tw. Use when the user wants Taiwan government open datasets, dataset metadata, resource download links, provider information, update times, formats, recent changes, or bulk dataset inventory from data.gov.tw.4---56# Taiwan Government Open Data78Use this skill when the user wants to discover, inspect, compare, or inventory datasets listed on `data.gov.tw`.910For tasks that explicitly operate the data.gov.tw website in the Codex in-app browser, route to the focused UI skills:1112- `$tw-gov-data-search` for keyword, advanced, facet, provider, category, format, API-service, sorting, pagination, and result-export workflows.13- `$tw-gov-data-dataset` for a `/dataset/<nid>` page, file/API resources, DCAT vocabulary, related datasets, and metadata freshness.14- `$tw-gov-data-news` for current news, upload/removal notices, open-data updates, RSS, and news exports.1516The API-oriented procedures below remain for metadata retrieval tasks where non-browser access is explicitly allowed; they do not override a site-level or user request to use only the in-app browser.1718This skill is for dataset discovery and metadata inspection, not schema validation. Do not use `schema.gov.tw` for this skill unless the user explicitly changes scope.1920## When To Use This Skill2122- The user wants datasets from `data.gov.tw`23- The user wants dataset metadata, update times, formats, or providers24- The user wants resource download links or access URLs25- The user wants to compare candidate datasets26- The user wants a recent-change list or a bulk dataset inventory2728## When Not To Use This Skill2930- Do not validate field values against government schema rules31- Do not infer or enforce `schema.gov.tw` URIs32- Do not analyze the actual data rows until the correct dataset resource has been identified33- Do not promise that two datasets share the same field standard unless the source explicitly says so34- Do not assume every resource URL is hosted by `data.gov.tw`; many resources point to external agency systems3536## Data Sources3738Prefer `data.gov.tw` APIs over page scraping.3940See [API quick reference](references/API.md) for endpoint selection and common metadata fields.41See [prompt examples](references/EXAMPLES.md) for representative user intents this skill should handle.42See [maintenance guidance](references/MAINTENANCE.md) for when this skill should be reviewed or updated.4344- Prefer the live site-facing APIs on `https://data.gov.tw/api/front`45- Use dataset export for bulk inventory tasks46- Treat the published `api/v1/rest` cross-platform spec as documented but not operational until re-verified47- Avoid page scraping unless the APIs do not expose the needed view4849## Default Workflow50511. Clarify the user goal from the request.522. Choose the API path:53 - If the user wants keyword search or candidate discovery, use `api/front/dataset/list`.54 - If the user wants a bulk inventory, use `api/front/dataset/export?format=json`.55 - If the user already has a dataset page id (`nid`), use search results, export data, or a page-backed API only if needed.563. Retrieve the minimum data needed first.574. Summarize the results before expanding into more datasets.585. When listing candidate datasets, include why each one is relevant.596. When available, surface resource links, file formats, update times, provider, and field descriptions.6061## Response Priorities6263When presenting a dataset, prioritize:6465- title66- provider or agency67- last updated time68- update frequency69- dataset description70- key fields71- available resource formats72- download or access URLs7374When comparing datasets, highlight:7576- topic overlap77- update freshness78- machine-readable formats79- whether the resource appears to be downloadable files or service endpoints8081## Typical User Intents8283- "幫我找空氣品質相關的政府資料"84- "列出最近 7 天異動的交通資料集"85- "比較這幾份資料哪份比較適合分析"86- "幫我整理某個資料集有哪些下載格式"87- "找某個機關目前公開了哪些資料集"88- "把某主題的資料集做成盤點清單"8990## Output Guidance9192For a single dataset, provide a concise summary.9394For multiple datasets, prefer a short ranked list. Each item should explain:9596- what the dataset is97- why it is relevant98- what formats or resource URLs are available99100For bulk inventory tasks, provide:101102- the selection rule used103- the total count when available104- a compact list or table-ready summary105106## Cautions107108- One dataset may contain multiple resources.109- Different resources under the same dataset may have different formats, encodings, and update times.110- Some datasets expose service endpoints, while others expose downloadable files.111- Always identify the correct resource URL before attempting downstream data work.112113## Mutating Operations114115The formal cross-platform specification includes write operations such as create, update, and delete for metadata.116117Do not use mutating endpoints unless the user explicitly asks to publish, edit, or remove dataset metadata and the environment is clearly authorized for that action.