# Format Chinese Legal Footnotes With a Rule Engine

> Generates, checks and rewrites Chinese legal footnotes from a deterministic rule engine, so the same citation always comes out identical.

Format Chinese Legal Footnotes With a Rule Engine is a paid AI agent skill on Agensi by siyu liu. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [siyu liu](https://www.agensi.io/creators/siyu-liu)
- Version: 0.3.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/format-chinese-legal-footnotes-with-a-rule-engine
- Tags: legal-compliance, legal-research, academic-writing, citation-generator, word-automation

## What it does

- Generates footnotes from a rule engine, not a model guess
- Covers 69 document types and the manual's 150 clauses
- Returns the same output for the same citation every time
- Audits a whole paper and reports every irregular note
- Rewrites every footnote in a document to the standard form

## Who it's for

- **Law students and legal scholars:** Make sure your thesis or paper follows the exact Handbook rules every time. Try: "Check the footnotes in my law thesis for any formatting errors."
- **Law firm associates and paralegals:** Format citations for formal reports and legal documents without manual typing. Try: "Format this citation for Zhang Xinbao, Tort Law, 5th edition, Renmin University Press, 2020."
- **Legal journal editors:** Quickly verify that submitted manuscripts match the official citation manual. Try: "Rewrite all footnotes in this Word doc to follow the official manual style."

## About this skill

Citation errors in Chinese legal writing are hard to spot and easy to repeat: the publisher is in the wrong place, the edition is missing, the punctuation between elements is wrong. Asking a language model to format them from memory gets a different answer each time, and some of those answers are invented.

This skill separates the two jobs. The model reads your material, fills the fields and explains the result. The footnote text itself comes from a rule engine that encodes the manual: 69 document types, all 150 clauses. The same citation produces the same footnote, character for character, and every line can be checked back against the clause it follows.

**Three ways to use it**

1. One footnote for one sentence. 2. An audit of an existing paper, listing every note that departs from the standard. 3. A batch rewrite: it produces a corrected copy and leaves your original file alone.

**Where it refuses**

When a field is missing, it asks. It does not invent a plausible publisher, year or page number, because a confident wrong citation is worse than a gap.

## Known limitations

Only works with real Word footnotes or Markdown tags. It cannot read footnotes typed as plain superscript numbers.

## Technical details

Built with a deterministic rule engine in Python using standard libraries. It reads and writes .docx (via footnotes.xml) and .md files. The core logic covers 150 clauses from the Handbook of Legal Citation (2nd ed). It uses a JSON/YAML rule set to ensure output consistency across different sessions. Functions include cite, doc-check, and doc-rewrite via a CLI script.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Format Chinese Legal Footnotes With a Rule Engine skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Format Chinese Legal Footnotes With a Rule Engine do?

Generates, checks and rewrites Chinese legal footnotes from a deterministic rule engine, so the same citation always comes out identical.

### Which AI agents support Format Chinese Legal Footnotes With a Rule Engine?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Format Chinese Legal Footnotes With a Rule Engine?

Connect your AI agent to Agensi through MCP, then ask it to use Format Chinese Legal Footnotes With a Rule Engine on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
