Insert, format, and cross-reference academic citations in Word (.docx) documents. Supports GB/T 7714-2015 (Chinese), IEEE, and APA 7th.
Insert, format, and cross-reference academic citations in Word (.docx) documents.
Use this skill when the user asks to:
All commands support --json for structured output.
# Full pipeline (recommended)
python scripts/insert_refs.py fix --input paper.docx --format gbt7714
# Analyze current state
python scripts/insert_refs.py analyze --input paper.docx --json
# Change format
python scripts/insert_refs.py reformat --input paper.docx --format ieee
# Reorder references
python scripts/insert_refs.py reorder --input paper.docx
# Add hyperlinks
python scripts/insert_refs.py hyperlink --input paper.docx
# Validate
python scripts/insert_refs.py validate --input paper.docx --format gbt7714 --json
| Format | Flag | Ordering |
|--------|------|----------|
| GB/T 7714-2015 (Chinese) | gbt7714 | Sequential [1] |
| IEEE (Engineering/CS) | ieee | Sequential [1] |
| APA 7th (Social Sciences) | apa7 | Author-Year alphabetical |
analyze --json first to understand the document statefix --format <name> for the full pipelinevalidate --jsonscripts/insert_refs.pyscripts/formats/scripts/utils/.trae/skills/academic-ref-inserter/SKILL.mdpip install python-docx
Python 3.8+ required.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/academic-ref-inserter · pinned to the source commit
git clone https://github.com/fuwenhao12/academic-ref-inserter.git
cd academic-ref-inserter
git checkout dfa079ec9be76d30a2053522fdc8bb7fc986c136
mkdir -p ".claude/skills/academic-ref-inserter"
cp -r ".kimi/skills/academic-ref-inserter" ".claude/skills/academic-ref-inserter"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit dfa079ec9be7. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
Instructs shell/process/package operations that run commands on the host.
Evidence: pip install· fingerprint 7944ec554efca445