S01-来源类型检测

Detects the source platform, export format, and encoding of bibliometric data files.

Updated May 18, 2026
One-click install
npx skills add https://github.com/heyixue511-creator/ai --skill s01-heyixue511-creator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: S01-来源类型检测
Source: https://github.com/heyixue511-creator/ai/tree/main/My-Own-Skills-main/%E6%96%87%E7%8C%AE%E8%AE%A1%E9%87%8F%E5%88%86%E6%9E%90%E6%8A%80%E8%83%BD/S01-%E6%9D%A5%E6%BA%90%E7%B1%BB%E5%9E%8B%E6%A3%80%E6%B5%8B
Command: npx skills add https://github.com/heyixue511-creator/ai --skill s01-heyixue511-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Bibliometric datasets exported from platforms like Web of Science, CNKI, Scopus, and PubMed use completely different field structures, encodings, and record separators. Without identifying the source first, every downstream parsing and cleaning step fails or produces corrupted results. ## Core Features & Use Cases - Platform Fingerprint Detection: Identifies Web of Science, CNKI, Scopus, PubMed/MEDLINE, Dimensions, IEEE Xplore, ProQuest, Wanfang, VIP, and Google Scholar by matching file signatures and field labels. - Encoding and Format Analysis: Detects file encoding (UTF-8, GBK, UTF-16, etc.), line endings, record separators, and export format variants (plain text, CSV, Excel, BibTeX, RIS, EndNote, RefWorks). - Structural Validation: Samples records from the head, middle, and tail of the file to verify field completeness, separator consistency, and detect mixed-source merged datasets. - Use Case: You receive a CNKI export file with GBK encoding and Chinese field labels. The skill identifies it as a CNKI custom export, reports the field mapping, and routes the correct parsing rules to downstream cleaning skills. ## Quick Start Analyze the attached literature data file and tell me which platform it was exported from, its format, and its encoding.

Frequently Asked Questions about S01-来源类型检测

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

FAQPage Schema
How do I identify which database a bibliometric export file came from?▼

Check the file's fingerprint markers: Web of Science files start with "FN Clarivate Analytics Web of Science", Scopus CSVs begin with "Authors,Title,Year" columns, and PubMed MEDLINE files use tags like "PMID-". This skill automates that matching across ten platforms.

How to detect the encoding of a CNKI or Wanfang export file?▼

Chinese database exports typically use GBK, GB2312, or UTF-8 with BOM encoding. The skill samples the file's first 100 lines to determine encoding, line endings, and whether Chinese field labels like 标题 or 作者 are present.

What export formats does Web of Science support for bibliometric analysis?▼

Web of Science supports full record plain text (.txt with two-letter field tags like PT, AU, TI), tab-delimited text, BibTeX (.bib), and citation formats (.ciw/.ris). The plain text full record is the most complete, including cited references (CR field).

Why does my literature file show garbled characters when opened?▼

Garbled text usually means an encoding mismatch, such as opening a GBK-encoded CNKI file as UTF-8. The detection report flags encoding anomalies with specific line numbers so you can convert the file before parsing.

Can this detect if a dataset was merged from multiple sources?▼

Yes. The skill checks whether a single file contains field formats from different platforms, duplicate records with identical titles and years but different structures, and filenames suggesting merges like "merged_" or "combined_".