Introduction¶
When conducting industry research or policy tracking, it’s often necessary to gather articles scattered across ministry websites, central media outlets, and news portals into local storage before passing them to a model for summarization or database entry. Manual searching and per-site collection is costly and prone to missing newly published articles. General search engines can fill some gaps, but for “specified sources + keyword filtering + deduplication and storage” workflows, you usually have to write and maintain your own scripts.
Below is the SkillHub community Skill “Article Crawler” (@user_6ed3129a/capoocat, v1.0.0). It embeds crawling logic for Chinese government and news websites, keyword filtering, and local directory structure into SKILL.md and crawler_skill.py, allowing Agents to trigger collection by scenario in conversations, or to run the script directly after installing dependencies.
What Is This¶
“Article Crawler” is a community Skill submitted by publisher CAPOOCAT (SkillHub account user_6ed3129a), categorized as data-analysis, with the subcategory web scraping; the tag requires_api_key=false means no additional API Key is needed.
Official description (in English, consistent with the SkillHub page):
Crawls Chinese government and news websites for AI, digitalization, and informatization articles. Invoke when user needs to collect articles about artificial intelligence, digital transformation, or technology policy from Chinese official sources.
The name field in the Skill package is web-crawler, and the display name is “Article Crawler”. Currently only version 1.0.0 exists; SkillHub page statistics (as of page display) show approximately 2252 downloads and 39 installations.
- SkillHub page: https://www.skillhub.cn/skills/user_6ed3129a/capoocat
- API coordinate page: https://api.skillhub.cn/user_6ed3129a/capoocat
Core Features¶
Based on the SKILL.md, README.md, and crawler_skill.py in the Skill package, the verified capabilities are as follows.
Multi-Source Crawling¶
Government websites (listed in SKILL.md, with a subset enabled by default in the script) include domains of the National Energy Administration, Ministry of Industry and Information Technology, Cyberspace Administration of China, National Development and Reform Commission, Department of Economy and Information Technology of Sichuan Province, National Informatization Expert Advisory Committee, etc.
News websites include Xinhuanet, People’s Daily Online, CCTV News, Guancha.cn, The Paper, etc. The run() method in crawler_skill.py currently defaults to polling: National Energy Administration, Ministry of Industry and Information Technology, Xinhuanet, and The Paper, with different single-crawl limits set for each source.
Keyword Inclusion and Exclusion¶
The inclusion side covers Chinese-English mixed keywords such as “artificial intelligence, digitalization, informatization, intelligence, AI, algorithm, big data, cloud computing, digital economy, digital transformation”.
The exclusion side filters out document-type titles unrelated to policy information, such as procurement bidding, public announcements, and penalties, reducing noise.
Storage and Deduplication¶
After running, the following are generated in the working directory:
original_articles/: full textarticle_links/: links and metadataai_summaries/: summary directory (described in Skill documentation; whether it’s written depends on subsequent workflow)crawled_links.json: crawled URLs, used for skipping duplicates
The script includes HTTP retry, publication date parsing, and incremental saving by sequence number; the if __name__ == "__main__" entry defaults to target_count=10.
Agent Trigger Conditions¶
When a user needs to collect articles on artificial intelligence, digital transformation, and technology informatization policies from Chinese official or mainstream media sources, the Agent loads this Skill according to SKILL.md description and executes the collection workflow (specific steps are determined by the Agent after reading the Skill instructions).
Installation and Activation¶
Method 1: SkillHub CLI (Recommended)¶
First check or install the skillhub CLI according to the SkillHub installation instructions. When installing the Skill, you must use --dir to point to the current Agent’s skills directory, otherwise the default ./skills/ may not be recognized.
command -v skillhub && skillhub --version
If the CLI is not installed, use the official script (full installation includes default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install this Skill to the corresponding directory, for example for Cursor:
skillhub install @user_6ed3129a/capoocat --dir ~/.cursor/skills/
Common paths for other clients (excerpted from the same installation document): Claude Code ~/.claude/skills/; Codex ~/.codex/skills/ or .agents/skills/ under the project. After installation, restart or refresh the Agent according to each client’s requirements to activate the Skill.
Method 2: Page Prompt or Zip¶
The installation prompt provided by the SkillHub detail page is: according to https://skillhub.cn/install/skillhub.md, install @user_6ed3129a/capoocat. You can also download the Zip:
https://api.skillhub.cn/api/v1/download?slug=@user_6ed3129a/capoocat
After unzipping, place the entire Skill directory into the skills path mentioned above.
Python Dependencies¶
The Skill documentation declares dependencies on requests, beautifulsoup4, and lxml. No requirements.txt is included in the package, so you need to install them yourself:
pip install requests beautifulsoup4 lxml
Typical Usage¶
In Agent Conversations¶
According to the official description, when you need to collect AI / digitalization / technology policy articles from Chinese government or news sources, you can directly state your intention, for example:
Please use the Article Crawler Skill to scrape recent articles related to "artificial intelligence" and "digitalization" from the Ministry of Industry and Information Technology and Xinhuanet, and save them to the current project directory.
After loading @user_6ed3129a/capoocat, the Agent should call crawler_skill.py according to SKILL.md or organize output according to the steps within the Skill.
Running the Script Directly¶
Enter the Skill installation directory and execute (the path depends on your actual location under --dir; the Trae example in README.md is .trae/skills/web-crawler/crawler_skill.py):
python crawler_skill.py
By default, it crawls 10 articles and prints progress; after completion, the terminal will prompt the paths of original_articles/ and article_links/. To change sources or keywords, modify the sources list in run() according to README.md, or adjust keywords / exclude_keywords in the class.
Applicable Scenarios and Considerations¶
Suitable for: Policy and industry researchers, teams needing to regularly archive AI/digitalization reports from ministries and central media; developers hoping to delegate “multi-site crawling + keyword filtering + local JSON deduplication” to an Agent for unified scheduling.
Limitations and considerations:
- Compliance and site rules: Target sites are mostly mainstream media and government websites; please comply with each site’s robots and terms of service, and control frequency; the script uses a fixed
User-Agentand retry, and production environments should add rate limiting and exception monitoring. - Documentation and filenames: The example command in
SKILL.mdispython gov_crawler.py, but the actual entry in the v1.0.0 package iscrawler_skill.py; use the files in the package as the standard. - Inconsistent source lists: The sites listed in
SKILL.mdare more than the defaultsourcesincrawler_skill.py; extending sources requires code modification. - No API Key:
requires_api_key=false, but the runtime environment still needs access to external networks and Python dependencies. - SkillHub overview is empty: The page’s
overviewMdhas no additional long-form text; details are based on the three files in the Zip.
The SkillHub security scan result is displayed as “Safe, no risks” on the detail page (security reports from Keen and Sanbu are linked in the page JSON); before installation, you are still advised to review the network request logic in crawler_skill.py yourself.
Conclusion¶
“Article Crawler” encapsulates the collection workflow for AI, digitalization, and informatization information from government and news websites into an installable Agent Skill: keyword filtering, deduplication, and directory structure are clearly defined within the package, and it can be triggered via conversation or run directly with python crawler_skill.py. To install or check versions, open the SkillHub detail page: https://www.skillhub.cn/skills/user_6ed3129a/capoocat .