city-public-opinion-monitor:Six-Step Closed-Loop Monitoring Skill for Urban Public Opinion

Foreword

Urban management departments and government affairs teams often need to monitor keywords and regional public opinion across multiple channels such as news, social media, forums, and government announcements. Manual aggregation struggles to form a fixed workflow of “collection — analysis — clustering — early warning — forecasting — reporting,” and sentiment annotation and risk levels lack a unified standard. Below we introduce the SkillHub community Skill city-public-opinion-monitor, which consolidates the above steps into a SKILL capability that Agents can invoke. The tag shows requires_api_key=false, meaning it can be installed and used as instructed without relying on an additional API Key.

What Is This

city-public-opinion-monitor (coordinate @user_f37e97ba/city-public-opinion-monitor) is an urban public opinion intelligent monitoring and analysis Skill designed for urban management departments and government agencies. Version 1.0.0, classified as professional, source community, maintained by publisher user_f37e97ba.

One-line positioning: A full-pipeline public opinion analysis tool covering the six-step closed loop of “collection → analysis → clustering → early warning → forecasting → reporting.” After being enabled in Agents that support Skills such as Cursor and Claude Code, it drives each step through natural-language tasks.

Core Features

The following capabilities are all drawn from the SkillHub official page documentation, summarized in the order of the closed loop.

Multi-source Data Collection

Supports channels such as news media, social media, online forums, and government announcements; automatically collects public opinion data by keyword, geographic region, and time range. The collector is extensible via a unified interface, making it easy to integrate new sources in the future.

Intelligent Sentiment Analysis

Performs four-dimensional sentiment annotation on text: positive / neutral / negative / sensitive; each tag includes the basis for the judgment, supports manual spot-checking, and emphasizes full-process auditability. The sentiment analysis engine supports three modes—dictionary, ML, LLM—with pluggable switching.

Topic Hotspot Clustering

Extracts discussion hotspots based on TF-IDF, TextRank, and LDA, and generates topic distributions and a hotspot timeline.

Five-level Risk Early Warning

Quantifies scoring across five dimensions: spread heat, negative ratio, acceleration, influencer participation, and cross-platform diffusion; outputs level 1–5 risk ratings with response recommendations. Risk assessment is quantified and traceable.

Trend Forecasting

Combines the SIR propagation model with sentiment curves to analyze the future trajectory of public opinion.

Automatic Report Generation

Supports structured output types such as daily reports, weekly reports, special reports, and monthly reports.

Installation and Activation

The Skill follows the standard SKILL.md format. The official installation guide is: first read the SkillHub installation documentation, then install this Skill.

1. Verify SkillHub CLI

Check whether skillhub is already installed on the machine:

command -v skillhub && skillhub --version

If not installed, follow the documentation to perform a full installation (CLI + default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install to the Current Agent’s skills Directory

When installing, you must use --dir to point to the skills directory recognized by the current Agent; installing to the default ./skills/ may not be loaded by the Agent. Common paths are as follows (subject to the SkillHub documentation):

Environment skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Example in Cursor:

skillhub install @user_f37e97ba/city-public-opinion-monitor --dir ~/.cursor/skills/

You can also use natural language to have the Agent install according to the same documentation. The official prompt is:

请根据 https://skillhub.cn/install/skillhub.md,安装 @user_f37e97ba/city-public-opinion-monitor。

After installation, restart or refresh the Agent as required by the client to activate the Skill. Public documentation does not separately list additional configuration files or environment variable fields for this Skill; specific collection sources, dictionary, and model switching methods are governed by the SKILL.md in the installation package.

Typical Usage

The official page does not provide standalone CLI subcommand examples. The usage pattern is: after installing and enabling the Skill, describe monitoring tasks in the conversation, and the Agent organizes the six-step workflow according to the Skill’s guidance. You can structure prompts based on the following task types (the description must match the actual monitoring scope, keywords, and geographic region):

  1. Daily monitoring: Specify the monitoring region, keywords, and time window, and request collection of multi-source data with output of sentiment distribution and hotspot topics.
  2. Emergency event tracking: Specify event keywords and start/end times, request hotspot clustering, and provide risk levels with response recommendations.
  3. Policy or event support: Centering on a policy name or event theme, request scoring across dimensions such as negative ratio and cross-platform diffusion, along with trend forecasting.
  4. Periodic reports: Explicitly request generation of structured reports such as daily, weekly, special, or monthly reports.

If auditable conclusions are needed for sentiment analysis, you can request that the annotation basis be displayed in the task, and specify whether to use the dictionary, ML, or LLM mode (subject to support within the Skill).

Applicable Scenarios and Notes

Who it’s for

  • Daily urban public opinion monitoring and emergency event public opinion tracking;
  • Aggregation of public feedback after policy releases;
  • Public opinion support for major events;
  • Public opinion risk assessment and decision-support auxiliary analysis.

Usage Notes

  • Data collection scope, compliance, and platform service terms must be assessed by the user; the Skill describes capabilities and workflows and does not replace legal and editorial standards.
  • Sentiment and risk scoring depend on model and rule configurations; important decisions should be combined with manual spot-checking and local institutional requirements.
  • The SkillHub page shows this package as requires_api_key=false; if future versions or submodules integrate external services, refer to the installation package documentation.
  • Community source (community); for upgrades and issue feedback, follow updates to @user_f37e97ba/city-public-opinion-monitor on SkillHub.

Conclusion

city-public-opinion-monitor connects multi-source collection, sentiment analysis, hotspot clustering, five-level early warning, trend forecasting, and multi-type reporting into a repeatable public opinion analysis pipeline, emphasizing auditability and a pluggable analysis engine. To try it out or view details, open the SkillHub page:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye