Academic ref inserter

From fuwenhao12/academic-ref-inserter · View interactive version

Academic ref inserter is an AI agent skill from the GitHub repository fuwenhao12/academic-ref-inserter. Insert, format, and cross-reference academic citations in Word (.docx) documents. Supports GB/T 7714-2015 (Chinese), IEEE, and APA 7th.

How to use this skill

Skill file

Academic Reference Inserter

Insert, format, and cross-reference academic citations in Word (.docx) documents.

When to Use

Use this skill when the user asks to:

CLI Reference

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

Supported Formats

| 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 |

Workflow

  1. Always run analyze --json first to understand the document state
  2. Choose format based on user's target journal
  3. Run fix --format <name> for the full pipeline
  4. Validate with validate --json
  5. Report summary to user

File Locations

Requirements

pip install python-docx

Python 3.8+ required.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.