municipality-data

Collect and maintain municipal contact data from official sites and portals.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/hico-mrmgn/Skills --skill municipality-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: municipality-data
Source: https://github.com/hico-mrmgn/Skills/tree/main/plugins/municipality-data/skills/municipality-data
Command: npx skills add https://github.com/hico-mrmgn/Skills --skill municipality-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires axios, cheerio, iconv-lite, and includes scripts (resource) components.

What problem does it solve?

市区町村の窓口情報(担当課・電話・メール・移住促進URL)を収集・整備するワークフローを提供し、最新の自治体連絡先を一元管理します。

Core Features & Use Cases

  • 自治体サイト・ポータルから担当窓口・電話・メール・移住促進URLを収集・正規化します。
  • 公式データと外部ポータルを統合し、municipalities_master.csv の15フィールド構造に整形します。
  • 具体例: 移住施策の窓口情報を定期更新し、問い合わせ先リストを社内データベースに反映します。

Quick Start

Run the full workflow to fetch and update the municipalities_master.csv from official and portal sources.

Frequently Asked Questions about municipality-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape municipal contact data from government websites automatically?

Scraping municipal contact data involves automating HTTP requests to official government sites and portals, then parsing the HTML to extract department names, phone numbers, and emails into a standardized CSV format.

Can I collect phone numbers and emails for national and prefectural municipalities into a single CSV?

Yes, the workflow aggregates contact details for national and prefectural municipalities into a single CSV file, normalizing data like department names, phone numbers, emails, and migration URLs into a structured schema.

Does this municipal data collection workflow require cheerio and axios?

Yes, the workflow relies on axios to handle HTTP requests to government sites and cheerio to parse the returned HTML, ensuring accurate extraction of municipal contact information.

What is the best way to standardize public information scraped from multiple government portals?

The best way to standardize scraped public information is to use a phased workflow that merges data from official sites and external portals, outputting a unified CSV file with consistent field mapping.

How do I handle character encoding issues when scraping Japanese municipality websites?

To handle character encoding issues when scraping Japanese municipality websites, the workflow uses the iconv-lite dependency to accurately decode text and prevent data corruption in the output CSV.