Install
openclaw skills install tongbanHelp users with Shanghai government service questions using public Shanghai "一网通办" service-guide data. Use when the user asks about 上海办事, 一网通办, 办事指南, 去哪办, 哪个部门, 线上办理, 线下窗口, 个人事项, 法人事项, or wants to identify the right Shanghai department, service item, online/offline path, or next step for a described need.
openclaw skills install tongbanUse this skill to map a user's Shanghai service need to likely municipal departments and public service items. Prefer the bundled reference data first; browse the official site only when the local data is insufficient or the user needs current policy confirmation.
个人 for residents, household registration, certificates, social security, medical insurance, housing, travel, public services, or personal permits.法人 for companies, organizations, licenses, filings, annual inspection, tax, investment, trade, construction, intellectual property, or employer services.references/index.md for department and common keyword orientation.references/service_items.jsonl for exact item records. Search with rg over Chinese keywords and department names.references/required_items.json and references/required-items.md; these are user-specified must-include item names that may not appear in the public municipal item-list API.references/departments.json to expand department abbreviations to official names and codes.个人 or 法人)st_net)references/index.md: compact human-readable index and examples.references/service_items.jsonl: one normalized service item per line. Key fields include department_name, department_short_name, department_code, role, item_name, subitem_name, item_type, st_net, item_id, item_code, source_url, guide_url, and detail_status.references/departments.json: municipal department names, short names, and codes.references/required_items.json and references/required-items.md: user-specified required item names. Use these as coverage guarantees, but distinguish official_status=matched from official_status=needs_verification.st_net is 是.official_status=needs_verification, say the item is included as a required alias/name but was not found in the current public municipal item-list dataset; ask the user to verify on "一网通办", "随申办", or 021-12345 before acting.Use the scripts only when the user asks to refresh or rebuild the data:
python3 scripts/fetch_zwdt.py --output references/raw_items.json
python3 scripts/normalize_data.py --input references/raw_items.json --output references/service_items.jsonl
python3 scripts/build_reference.py --input references/service_items.jsonl --output-dir references
python3 scripts/validate_data.py --items references/service_items.jsonl --departments references/departments.json
The fetcher uses public pages and APIs only, does not log in, and does not submit government service forms.