Install
openclaw skills install gb-citationGenerate Chinese academic citations in strict GB/T 7714-2015 format from journal/book cover images or web links. Triggers when: (1) user sends an image of a...
openclaw skills install gb-citationActivate this skill when ANY of the following is true:
| Input Type | Detection |
|---|---|
| Image (cover) | Message contains image attachment |
| Web link | Message contains URL AND user asks for citation |
| Citation conversion | Message contains an existing citation in APA/Chicago/MLA/Vancouver/Harvard/etc. with or without "/国标引用" or "/gb-cite" |
Use vision to read the screenshot/image. First determine if this is a journal article or a monograph/book:
Journal indicators (most common):
Book/Monograph indicators:
Extract these fields:
Parse the provided citation. Extract:
Reformat all extracted fields into GB/T 7714-2015 sequence format.
Fetch the webpage content. Extract:
<title> tag or page headingIf author/year missing, use GB/T 7714 allowed placeholders:
Before generating citation, check required fields by document type:
| Type | Required Fields |
|---|---|
| Journal article | Authors, Title, Journal, Year, Volume(Issue), Pages/Article No. |
| Book | Authors, Title, Place, Publisher, Year. Edition if not 1st. |
| Conference paper | Authors, Title, Conference name, Place, Year, Pages |
| Thesis (Master/Doctor) | Author, Title, [D/OL], Place, University, Year |
| Newspaper article | Author, Title, Newspaper name, Date, Edition |
| Report | Author, Title, [R/OL], Place, Publisher, Year |
| Standard | Standard number, Standard name, Place, Publisher, Year (or responsible org) |
| Patent | Applicant/Owner, Title, Patent number, Date |
| Database | Database name, URL, Access date |
| Archives | Responsible party, Title, Place, Publisher, Year |
| Map | Cartographer/Responsible party, Title, Place, Publisher, Year |
| Dataset | Creator, Title, Place, Publisher, Year |
| Web document | Authors (or [佚名]), Title, Website, Date (or [无日期]), URL, Access date |
If required fields are missing:
Read references/gb7714-2015.md for complete format rules and examples.
Output format (CRITICAL):
SMITH J D not SMITH J.D.If user sends multiple images or asks for multiple citations:
[1], [2], etc.| Clues | Type |
|---|---|
| "Vol.", "Volume", "卷", 期号, DOI visible | Journal article [J] |
| "Press", "出版社", "Publishing", ISBN, edition | Book [M] |
| "Proceedings", "会议", "Conference", "Symposium" | Conference paper [C] |
| "硕士", "博士", "Master", "Doctoral", "Dissertation" | Thesis [D] or [D/OL] |
| "报", "Times", "Post", "日报", "晚报" | Newspaper article [N] or [N/OL] |
| "Report", "报告", "Technical Report", "White Paper" | Report [R] or [R/OL] |
| "GB/T", "ISO", "Standard", "标准" | Standard [S] or [S/OL] |
| "Patent", "专利", "CN", "US" + number | Patent [P] or [P/OL] |
| "Database", "数据库" | Database [DB/OL] |
| "Archive", "档案" | Archives [A] or [A/OL] |
| "Map", "Atlas", "舆图", "地图" | Map [CM] |
| "Dataset", "数据集" | Dataset [DS] |
| URL, no print identifiers, webpage content | Web document [EB/OL] |
When processing screenshots from academic databases (ScienceDirect, Web of Science, IEEE Xplore, PubMed, etc.):
IEEE Xplore / IEEE Transactions:
ScienceDirect:
Web of Science / Journal page:
PubMed:
MOST screenshots from academic databases are JOURNAL ARTICLES [J]
Only classify as Book [M] if you see:
When converting from APA/Chicago/MLA to GB/T 7714-2015:
Smith, J. D. → SMITH J D张三, 李四 → 张三, 李四Smith, John D. → SMITH J DSmith, John D. → SMITH J DAPA input:
Smith, J. D. (2023). Title of article. Journal Name, 45(3), 123-135. https://doi.org/10.xxxx
GB/T 7714-2015 output:
SMITH J D. Title of article[J]. Journal Name, 2023, 45(3): 123-135.
APA input:
Smith, J. D. (2023). Book title (2nd ed.). Publisher.
GB/T 7714-2015 output:
SMITH J D. Book title[M]. 2nd ed. Place: Publisher, 2023.
APA input:
Smith, J. D. (2023, March 15). Title of webpage. Site Name. URL
GB/T 7714-2015 output:
SMITH J D. Title of webpage[EB/OL]. (2023-03-15)[access-date]. URL.
APA input:
National Information Standards Organization. (2010). Dublin Core metadata element set: ANSI/NISO Z39.85-2012. NISO Press.
GB/T 7714-2015 output:
National Information Standards Organization. Dublin Core metadata element set: ANSI/NISO Z39.85-2012[S]. Baltimore: NISO Press, 2010.
APA input:
Smith, J. D. (2024). Method and apparatus for natural language processing (U.S. Patent No. 10,123,456). U.S. Patent and Trademark Office.
GB/T 7714-2015 output:
SMITH J D. Method and apparatus for natural language processing: US10123456[P]. 2024-01-20.
张三, 李四SMITH J D, WANG X MWILLIAMS-ELLIS ADE MORGAN ALI Jiangning or LI JN全国信息与文献标准化技术委员会, 等 (Chinese) or , et al. (English). after each element in sequence format. Use // before conference name.[EB/OL] and access date [YYYY-MM-DD].DOI:10.xxxx/xxxxx after URL if available.(YYYY-MM-DD) before access date.: before subtitle.;.