Not in the top 1,000 by GitHub stars
Zechang-Xiong/chinese-reference-formatter-skill
Codex skill for formatting Chinese academic references and BibTeX
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Local scripts
First observation → 85ff8fb75334
No earlier version was observed for comparison.
Heat
1.7- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
How it works
chinese-reference-formatter-skill
When your agent uses it
根据中英文文献题名核验公开元数据,生成通用中文参考文献和 BibTeX。Use for Chinese academic references, GB/T 7714-style bibliography formatting, and citation completion from literature titles.
What it loads into context
Frontmatter
153 tokensAlways available to the agent
SKILL.md
1,399 tokensWhen the skill is activated
Reference documents
6,161 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Workflow
- Search Sources
- Formatting
- Conflict Rules
- Common Mistakes
Scripts executed separately
scripts/format_reference.pyscripts/package_skill.pyscripts/test_format_reference.pyscripts/test_package_skill.pyscripts/test_skill_content.py
Files
.github/workflows/ci.ymlasset780 bytes.github/workflows/release.ymlasset730 bytes.gitignoreasset61 bytesCHANGELOG.mddoc1,971 bytesLICENSEasset1,070 bytesREADME.mddoc14,699 bytesSKILL.mdcore6,210 bytesSKILL.mdcore6,210 bytesSKILL.mdcore6,210 bytesSKILL.mdcore6,210 bytesSKILL.mdcore6,210 bytesSKILL.mdcore6,210 bytesagents/openai.yamlasset252 bytesexamples/metadata.jsonasset1,124 bytesreferences/chinese-reference-rules.mddoc6,015 bytesrequirements-dev.txtdoc47 bytesscripts/format_reference.pyruns22,917 bytesscripts/package_skill.pyruns2,046 bytesscripts/test_format_reference.pyruns17,830 bytesscripts/test_package_skill.pyruns1,242 bytesscripts/test_skill_content.pyruns2,287 bytes
Read SKILL.md
# Chinese Reference Formatter
## Overview
Convert one or more Chinese or English reference titles into 通用中文论文参考文献条目 and BibTeX. Verify bibliographic metadata from public sources before formatting; do not invent missing references. When search is unavailable, explain that verification cannot be completed; do not describe unverified input as confirmed.
The formatter implements the common numeric templates in the reference file. It is not a complete implementation of GB/T 7714—2015 or GB/T 7714—2025. For a specified edition or institutional style, compare the requested rules with the output and adapt it before claiming compliance. See the reference file for version scope.
## Workflow
1. Read `references/chinese-reference-rules.md` before formatting.
2. For each input title, search public metadata sources and compare title, authors, year, venue, DOI/ISBN/URL.
3. Prefer DOI, publisher, university repository, official journal, official conference, official standards, or patent pages over aggregators.
4. If no DOI or official page exists, require a strong title match plus matching author/year/venue from at least one credible source.View the complete source on GitHubSkills included
- chinese-reference-formatter-skill
Repository facts
- License
- MIT
- Created
- May 7, 2026
- Last pushed
- Sep 15, 2026
- Forks
- 5
- Open issues
- 0
- Project activity
- Active
Before you install
Local scriptsAutomated signals, not a guarantee
Checked Nov 7, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 5 notes
SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 81 network referencesin 7 files: scripts/test_format_reference.py:33 README.md:9 examples/metadata.json:6 and 4 more
- No hidden or obfuscated text
- No instruction overrides
- 5 executable scriptsin 5 files: scripts/format_reference.py:1 scripts/package_skill.py:1 scripts/test_format_reference.py:1 and 2 more
- No access to secrets
- No requests to vote in Hot
Show all 86 signals by file
README.md
- Network accessline 9
<p> <img alt="Codex Skill" src="https://img.shields.io/badge/Codex-Skill-111827"> - Network accessline 10
<img alt="Codex Skill" src="https://img.shields.io/badge/Codex-Skill-111827"> - Network accessline 11
<img alt="GB/T 7714 style" src="https://img.shields.io/badge/GB%2FT%207714-style-2f6f4e"> - Network accessline 12
<img alt="BibTeX output" src="https://img.shields.io/badge/output-BibTeX-8b5e34"> - Network accessline 13
<img alt="Python stdlib" src="https://img.shields.io/badge/Python-stdlib-3776ab"> - Network accessline 52
GB/T 7714—2025 已于 2026 年 7 月 1 日实施,日期见[国家标准官方记录](https://openstd.samr.gov.cn/bzgk/std/newGbInfo?hcno=C6CE52E55AC09B9C79A20AEA77CEDD14)。学校或期刊指定版本时,以其要求为准,需要 Agent 对照相应规则调整输出。当前不包含著者—出版年制、正文引文管理或 2025 版全部文献类型的完整实现。 - Network accessline 79
booktitle = {International Conference on Learning Representations}, year = {2017}, url = {https://openreview.net/forum?id=SJU4ayYgl} - Network accessline 80
year = {2017}, url = {https://openreview.net/forum?id=SJU4ayYgl} } - Network accessline 81
url = {https://openreview.net/forum?id=SJU4ayYgl} - Network accessline 84
核验来源:https://openreview.net/forum?id=SJU4ayYgl - Network accessline 97
核验来源:https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html - Network accessline 112
核验来源:https://www.lis.ac.cn/CN/Y2000/V44/I2 - Network accessline 134
git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git ~/.codex/skills/chinese-reference-formatter-skill - Network accessline 140
git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git "$CODEX_HOME/skills/chinese-reference-formatter-skill" - Network accessline 159
从 [GitHub Releases](https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/releases) 下载已发布版本的 ZIP,解压后把 `chinese-reference-formatter-skill` 整个目录放入目标 Agent 的 skills 目录。也可以从源码运行 `python3 scripts/package_skill.py` 生成同样的安装包。需要同时保留 `s - Network accessline 248
"booktitle": "International Conference on Learning Representations", "year": 2017, "url": "https://openreview.net/forum?id=SJU4ayYgl", - Network accessline 249
"year": 2017, "url": "https://openreview.net/forum?id=SJU4ayYgl", "sources": ["https://openreview.net/forum?id=SJU4ayYgl"] - Network accessline 250
"url": "https://openreview.net/forum?id=SJU4ayYgl", - Network accessline 251
"sources": ["https://openreview.net/forum?id=SJU4ayYgl"] - Network accessline 341
| 平台 | 分发方式 | | --- | --- | | [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 | - Network accessline 342
| --- | --- | | [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 | | [SkillsMP](https://skillsmp.com/docs/faq) | 官方说明从 GitHub 自动索引,要求有效的 `SKILL.md` 与 `claude-skills` 或 `claude-code-skill` topic;标签配置在 GitH - Network accessline 343
| [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 | - Network accessline 344
| [SkillsMP](https://skillsmp.com/docs/faq) | 官方说明从 GitHub 自动索引,要求有效的 `SKILL.md` 与 `claude-skills` 或 `claude-code-skill` topic;标签配置在 GitHub 仓库设置中。 | - Network accessline 357
git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git ~/.codex/skills/chinese-reference-formatter-skill - Network accessline 368
[](https://www.star-history.com/#Zechang-Xiong/chinese-reference-formatter-skill&Date)
SKILL.md
- Network accessline 7
author: Zechang-Xiong version: "1.1.1" repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill - Network accessline 8
version: "1.1.1" repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill tags: chinese-references, bibliography, bibtex, gb-t-7714, academic-writing - Network accessline 9
repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill - Network accessline 67
"pages": "1-10", "doi": "10.xxxx/example", "url": "https://example.org", - Network accessline 68
"doi": "10.xxxx/example", "url": "https://example.org", "access_date": "2026-05-07", - Network accessline 69
"url": "https://example.org", - Network accessline 70
"access_date": "2026-05-07", "sources": ["https://source.example"] } - Network accessline 71
"sources": ["https://source.example"]
examples/metadata.json
- Network accessline 6
"booktitle": "International Conference on Learning Representations", "year": 2017, "url": "https://openreview.net/forum?id=SJU4ayYgl", - Network accessline 7
"year": 2017, "url": "https://openreview.net/forum?id=SJU4ayYgl", "sources": ["https://openreview.net/forum?id=SJU4ayYgl"] - Network accessline 8
"url": "https://openreview.net/forum?id=SJU4ayYgl", - Network accessline 9
"sources": ["https://openreview.net/forum?id=SJU4ayYgl"] - Network accessline 16
"year": 2017, "pages": "2980-2988", "sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"] - Network accessline 17
"pages": "2980-2988", "sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"] }, - Network accessline 18
"sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"] - Network accessline 27
"issue": "2", "pages": "5-8,95", "sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"] - Network accessline 28
"pages": "5-8,95", "sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"] } - Network accessline 29
"sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"]
references/chinese-reference-rules.md
- Network accessline 7
GB/T 7714—2025 was published on 2025-12-02 and took effect on 2026-07-01. See the [official standard record](https://openstd.samr.gov.cn/bzgk/std/newGbInfo?hcno=C6CE52E55AC09B9C79A20AEA77CEDD14).
scripts/format_reference.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 369
if "/OL" in mark and kind not in {"online", "web"}: access = clean(item.get("access_date")) url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "") - Network accessline 370
access = clean(item.get("access_date")) url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "") reference = strip_trailing_period(reference) - Network accessline 371
url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "")
scripts/package_skill.py
- Executable scriptline 1
#!/usr/bin/env python3
scripts/test_format_reference.py
- Executable scriptline 1
Executable file - Network accessline 33
assert "journal =" not in output assert "10.48550" not in output assert "核验来源:https://openreview.net/forum?id=SJU4ayYgl" in output - Network accessline 35
assert "核验来源:https://openreview.net/forum?id=SJU4ayYgl" in output - Network accessline 87
"published_date": "2001-12-19", "access_date": "2002-04-15", "url": "http://www.creader.com/news/200112-19/200112-190019.html", - Network accessline 88
"access_date": "2002-04-15", "url": "http://www.creader.com/news/200112-19/200112-190019.html", } - Network accessline 89
"url": "http://www.creader.com/news/200112-19/200112-190019.html", - Network accessline 93
assert ( "萧玉. 出版业信息化驶入快车道[EB/OL]. (2001-12-19)[2002-04-15]. http://www.creader.com/news/200112-19/200112-190019.html." - Network accessline 94
"萧玉. 出版业信息化驶入快车道[EB/OL]. (2001-12-19)[2002-04-15]. http://www.creader.com/news/200112-19/200112-190019.html." - Network accessline 146
"year": 2026, "access_date": "2026-09-14", "url": "https://example.org/paper", - Network accessline 147
"access_date": "2026-09-14", "url": "https://example.org/paper", **fields, - Network accessline 148
"url": "https://example.org/paper", - Network accessline 152
reference = output.splitlines()[0] assert f"[{mark}]" in reference assert "[2026-09-14]. https://example.org/paper." in reference - Network accessline 153
assert f"[{mark}]" in reference assert "[2026-09-14]. https://example.org/paper." in reference assert "urldate = {2026-09-14}" in output - Network accessline 154
assert "[2026-09-14]. https://example.org/paper." in reference - Network accessline 168
"mark": "J/OL", "access_date": "2026-09-14", "doi": "https://doi.org/10.1234/example", - Network accessline 169
"access_date": "2026-09-14", "doi": "https://doi.org/10.1234/example", } - Network accessline 170
"doi": "https://doi.org/10.1234/example", - Network accessline 173
assert output.splitlines()[0] == ( "标准参考文献:[1] 示例论文[J/OL]. 示例期刊, 2026, 4(2):1-9[2026-09-14]. " "https://doi.org/10.1234/example. DOI:10.1234/example." - Network accessline 174
"标准参考文献:[1] 示例论文[J/OL]. 示例期刊, 2026, 4(2):1-9[2026-09-14]. " "https://doi.org/10.1234/example. DOI:10.1234/example." ) - Network accessline 175
"https://doi.org/10.1234/example. DOI:10.1234/example." - Network accessline 289
"status": "ambiguous", "note": "年份存在冲突。", "sources": ["https://example.org/a", "https://example.org/b"], - Network accessline 290
"note": "年份存在冲突。", "sources": ["https://example.org/a", "https://example.org/b"], } - Network accessline 291
"sources": ["https://example.org/a", "https://example.org/b"], - Network accessline 293
) assert "年份存在冲突。" in output assert "核验来源:https://example.org/a; https://example.org/b" in output - Network accessline 294
assert "年份存在冲突。" in output assert "核验来源:https://example.org/a; https://example.org/b" in output assert "BibTeX" not in output - Network accessline 295
assert "核验来源:https://example.org/a; https://example.org/b" in output - Network accessline 339
def test_url_and_doi_preserve_machine_readable_characters(): url = "https://example.org/a_b?first=1&second=50%25" - Network accessline 340
url = "https://example.org/a_b?first=1&second=50%25" - Network accessline 476
"type": "web", "title": "Example", "url": "https://example.org", - Network accessline 477
"title": "Example", "url": "https://example.org", "published_date": "2026-01-01", - Network accessline 478
"url": "https://example.org",
scripts/test_package_skill.py
- Executable scriptline 1
Executable file
scripts/test_skill_content.py
- Executable scriptline 1
Executable file - Network accessline 36
assert "license: MIT" in skill_md assert ( "repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill" - Network accessline 37
assert ( "repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill" in skill_md - Network accessline 38
"repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill" - Network accessline 46
# https://agentskills.io/specification includes compatibility as an optional field.
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Declared and executed: 1 fact
- Contacts doi.org, which SKILL.md, the README and the plugin manifest do not mentionscripts/format_reference.py:371High confidence
Signal confidence: 76 facts
- Network access in prose of documentationREADME.md:9Low confidence
- Network access in prose of documentationREADME.md:10Low confidence
- Network access in prose of documentationREADME.md:11Low confidence
- Network access in prose of documentationREADME.md:12Low confidence
- Network access in prose of documentationREADME.md:13Low confidence
- Network access in prose of documentationREADME.md:52Low confidence
- Network access in code of documentationREADME.md:79Low confidence
- Network access in code of documentationREADME.md:80Low confidence
- Network access in code of documentationREADME.md:81Low confidence
- Network access in code of documentationREADME.md:84Low confidence
- Network access in code of documentationREADME.md:97Low confidence
- Network access in code of documentationREADME.md:112Low confidence
- Network access in code of documentationREADME.md:134Low confidence
- Network access in code of documentationREADME.md:140Low confidence
- Network access in prose of documentationREADME.md:159Low confidence
- Network access in code of documentationREADME.md:248Low confidence
- Network access in code of documentationREADME.md:249Low confidence
- Network access in code of documentationREADME.md:250Low confidence
- Network access in code of documentationREADME.md:251Low confidence
- Network access in prose of documentationREADME.md:341Low confidence
- Network access in prose of documentationREADME.md:342Low confidence
- Network access in prose of documentationREADME.md:343Low confidence
- Network access in prose of documentationREADME.md:344Low confidence
- Network access in code of documentationREADME.md:357Low confidence
- Network access in prose of documentationREADME.md:368Low confidence
- Network access in the frontmatter of the SKILL.mdSKILL.md:7Low confidence
- Network access in the frontmatter of the SKILL.mdSKILL.md:8Low confidence
- Network access in the frontmatter of the SKILL.mdSKILL.md:9Low confidence
- Network access in code of the SKILL.mdSKILL.md:67High confidence
- Network access in code of the SKILL.mdSKILL.md:68High confidence
- Network access in code of the SKILL.mdSKILL.md:69High confidence
- Network access in code of the SKILL.mdSKILL.md:70High confidence
- Network access in code of the SKILL.mdSKILL.md:71High confidence
- Network access in prose of documentationreferences/chinese-reference-rules.md:7Low confidence
- Executable script in code of a file that runsscripts/format_reference.py:1High confidence
- Network access in code of a file that runsscripts/format_reference.py:369High confidence
- Network access in code of a file that runsscripts/format_reference.py:370High confidence
- Network access in code of a file that runsscripts/format_reference.py:371High confidence
- Executable script in code of a file that runsscripts/package_skill.py:1High confidence
- Executable script in code of a testscripts/test_format_reference.py:1Low confidence
- Network access in code of a testscripts/test_format_reference.py:33Low confidence
- Network access in code of a testscripts/test_format_reference.py:35Low confidence
- Network access in code of a testscripts/test_format_reference.py:87Low confidence
- Network access in code of a testscripts/test_format_reference.py:88Low confidence
- Network access in code of a testscripts/test_format_reference.py:89Low confidence
- Network access in code of a testscripts/test_format_reference.py:93Low confidence
- Network access in code of a testscripts/test_format_reference.py:94Low confidence
- Network access in code of a testscripts/test_format_reference.py:146Low confidence
- Network access in code of a testscripts/test_format_reference.py:147Low confidence
- Network access in code of a testscripts/test_format_reference.py:148Low confidence
and 26 more
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Compatible | Standard SKILL.md SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.