- Home
- Skills
- Productivity
- Add Real Word Footnotes to DOCX Files
Add Real Word Footnotes to DOCX Files
by siyu liu
Turns placeholder markers in a .docx into genuine Word footnote objects at the bottom of each page, formatted to a citation manual and checked against Word before delivery.
$3
What it does
- Inserts true Word footnotes instead of fake superscript numbers
- Numbers notes as 1 2 3 or circled digits, your choice
- Formats citations to the Chinese Legal Citation Manual
- Checks the finished file opens in Word without a corruption warning
- Edits an existing file in place so layout stays untouched
- Exports a PDF and page images so you can see the result
Who it's for
Law students writing graded papers
Gets page footnotes and citation format right before the paper is handed in.
Try asking: “Add real footnotes to my case analysis paper and check the format.”
Editors repairing academic Word files
Converts fake superscript notes into real footnotes without disturbing layout.
Try asking: “Turn these superscript numbers into real page footnotes.”
Researchers preparing a submission
Normalises citation style across a whole manuscript and verifies the file.
Try asking: “Check every footnote in this manuscript against the citation manual.”
Add Real Word Footnotes to DOCX Files
Example session with this skill installed
My case analysis paper has superscript numbers in the text pretending to be footnotes. Turn them into real Word footnotes, number them 1 2 3, and check the file still opens in Word.
- Read your context and instructions
- Compiled the add real word
A new .docx with notes at the bottom of each page, Word reporting the correct footnote count, a check that no placeholder markers remain, and a PDF export for a visual pass over the layout.
Connects securely to your tools. The creator never sees your data.
About this skill
Most AI-generated Word files fake footnotes: a superscript number in the body and a list of notes at the end. Word itself does not see those as footnotes, so the count is zero, cross-references break, and converting to PDF leaves the notes in the wrong place.
This skill injects real footnote objects at the OOXML level, which is the only way to do it because python-docx has no footnote API.
What you get
- Genuine
w:footnoteentries: Word reports a correct footnote count, cross-references work, notes sit at the bottom of the page they belong to. - Three footnote styles injected into the document template, because the default python-docx template has none and the numbers otherwise lose their superscript.
- Footnote numbering as 1 2 3 or circled 1 2 3, switchable.
- Citation formatting and checking against the Chinese Legal Citation Manual (2nd edition, 150 clauses, 69 document types).
- Verification that the finished file opens in Word without the corrupted-file warning, plus a PDF export and page images so the layout can be inspected.
- A rewrite path that edits an existing .docx in place instead of rebuilding it, so fonts, margins, headers and numbering survive untouched.
Why the rules matter
The skill carries the failure modes already hit in production: dangling relationship ids that make Word report a corrupt file, footnote properties inserted in the wrong place inside the section properties, relationship id clashes between body and footnotes, and the long-URL justification bug that stretches Chinese text into unreadable gaps.
Scope
Written for Chinese academic and legal documents. The footnote mechanics are language-neutral, but the citation rules follow the Chinese Legal Citation Manual.
Citation formatting follows the Chinese Legal Citation Manual, 2nd edition; other house styles are not implemented. Word-based verification requires Windows with Word installed. Footnote numbering restarts are not handled per section.
Built for AI agents that can run Python locally: Claude Code, Codex CLI, Cursor, Cline, WorkBuddy and similar. The agent reads a .docx, writes word/footnotes.xml, the footnotes relationship part, the content-type override, the document relationships and three footnote styles, then repacks the archive. Output goes to a new path; the original file is not modified. Setup: Python 3.10 or newer with python-docx, lxml, pywin32 and pymupdf. The verification step opens Word through COM, so it needs Microsoft Word on Windows; the injection itself does not. Ships SKILL.md plus three scripts: inject_footnotes.py, verify_with_word.py and audit_ai_tone.py.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3.10+python-docx, lxml, pymupdfWord on Windows (verification only)
- Optional
- pywin32
The injection runs anywhere Python runs. Opening Word to verify the result needs Windows with Microsoft Word installed.
Permissions
File Scopes
Runs local Python scripts and opens Microsoft Word via COM on Windows to verify the output.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.