Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Condense a scholarly legal article by moving nonessential detail from the body into substantive footnotes while preserving every word and keeping the argument self-sufficient.
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .claude/skills/footnote-relegator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .claude/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandlerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .agents/skills/footnote-relegator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .agents/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .cursor/skills/footnote-relegator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .cursor/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lawve-ai/awesome-legal-skills.git --path skills/footnote-relegator-seth-chandler--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .gemini/skills/footnote-relegator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .gemini/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .github/skills/footnote-relegator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .github/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lawve-ai/awesome-legal-skills footnote-relegator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/footnote-relegator-seth-chandler .opencode/skills/footnote-relegator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "footnote-relegator" agent skill from https://github.com/lawve-ai/awesome-legal-skills/tree/main/skills/footnote-relegator-seth-chandler into .opencode/skills/footnote-relegator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "footnote-relegator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
footnote-relegatorCondense a scholarly legal article by moving nonessential detail from the body into substantive footnotes while preserving every word and keeping the argument self-sufficient.
Footnote Relegator is an agent skill from lawve-ai/awesome-legal-skills. Condense a scholarly legal article by moving nonessential detail from the body into substantive footnotes while preserving every word and keeping the argument self-sufficient. Handles Markdown and Word (.docx), integrates moved material with existing notes, measures a user-specified relegation fraction (25% by default), and delivers a move-by-move memo. Use when asked to "push detail into footnotes," "relegate to footnotes," "footnote the caveats," "move the digressions down," or tighten a dense draft without…
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts (for example `README.md`, `resources/demotion-rubric.md` and `resources/integration-rules.md`).
It sits in Documents & Office, covering Word documents, Document parsing and Markdown. It works with Microsoft Word. The repository describes itself as: A curated list of awesome Agent Skills for automating legal work. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 045f738. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpandocFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Footnote Relegator loads about 3.5k tokens when it runs. Until then it costs about 184 tokens; SKILL.md has 1,814 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from lawve-ai/awesome-legal-skills at commit 045f738, republished under its Apache-2.0 licence (© lawve-ai). 1,814 words, ~3,533 tokens.
.claude/skills/footnote-relegator/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Take a scholarly article and make it two-tiered: a leaner main text that carries the argument, and substantive footnotes that carry the detail. Nothing is deleted — text is moved, near-verbatim, from body to notes.
The body must remain self-sufficient. A reader who never glances at a footnote should follow every step of the argument and lose nothing essential. Footnotes carry enrichment, qualification, and apparatus — never a load-bearing move. Every candidate demotion must pass this test in both directions:
The complementary test for the footnote side: each note must stand alone. A reader who does drop down should find a self-contained mini-discussion, not a fragment that only makes sense mid-paragraph.
Before promising output formats, check what the host can actually do.
.docx or
tracked changes. Offer Markdown plus the relegation memo; if the only input is .docx,
ask the user for Markdown or another source the host can read faithfully.For Markdown input, scripts/ledger.py is optional but preferred. If Python 3 is not
available, perform its conservation, word-count, and note-reference checks manually and
say that the automated check did not run.
pandoc article.docx -t markdown -o article.md
(footnotes arrive as [^n] — verify they did). Keep the original .docx
untouched; you will need it for output.target_words = fraction × body_words. Land within about two percentage
points of the requested fraction — this is a commitment the user gave a
number for, not a vibe. scripts/ledger.py measures this for you; run it
at the end, but you can also run it mid-edit to check progress.Walk the text sentence by sentence. Mark each unit protected or
relegable using resources/demotion-rubric.md. Read that file before
classifying — the protected list (thesis moves, chain-of-reasoning steps,
definitions used later, primary evidence, topic sentences) and the relegable
taxonomy (qualifications, compressed history, literature placement, source
criticism, counterexamples, secondary examples, methodological asides) with
worked micro-examples live there.
Build a demotion ledger before touching the text — a table of candidate units: the text (or its first words), word count, rubric category, destination (new note vs. merge into existing note N), and anchor sentence. Select candidates until the ledger sums to the target, preferring:
If the article simply lacks enough relegable material to hit the fraction without breaking the body (rare, but real for very lean texts), stop short, and report the achieved fraction and the reason rather than demoting load-bearing prose.
For each ledger entry, in document order:
Read resources/integration-rules.md before this step. In brief: demoted
prose joins an existing citation-only note at the same anchor rather than
stacking a second flag on one sentence; same-subject textual notes merge;
footnote references inside demoted text fold into the destination note (no
notes-on-notes); numbering renumbers automatically in both Markdown and Word.
Run the ledger script:
python scripts/ledger.py original.md revised.md --fraction 0.25It reports achieved fraction vs. target, body/note word deltas, and — most important — a lost-text check: any sentence that left the body and cannot be found (near-verbatim) in a footnote is flagged. A flagged sentence means you deleted instead of moved; fix it. Then re-read the revised body only, start to finish, for flow — the machine checks conservation, only reading checks seamlessness.
.md with [^n] notes, plus the
relegation memo..docx with real auto-numbered Word
footnotes, and (b) a tracked-changes redline of the original. See
resources/word-redline.md for the full pipeline; the redline uses
scripts/docx_redline.py against the unpacked original.Name outputs after the source: article-relegated.md / .docx,
article-redline.docx, article-relegation-memo.md.
After the capability preflight succeeds, the clean .docx can come from pandoc using the original as a style reference, then a typography pass — pandoc's footnote style references are often undefined in real-world documents, leaving full-size baseline note calls:
pandoc revised.md -o article-draft.docx --reference-doc=article.docx
python scripts/polish_footnotes.py article-draft.docx article-relegated.docxThe redline is real Word tracked changes produced by editing the original
document's XML — deletions wrapped in <w:del>, inserted note references in
<w:ins>, notes added to word/footnotes.xml. This preserves the author's
formatting exactly and lets them accept/reject each demotion in Word.
resources/word-redline.md has the step-by-step pipeline including a
host-capability fallback when dedicated Word verification tools are unavailable. Warn the user up front if the document contains pre-existing
tracked changes, comments, or cross-reference fields: pre-existing tracked
changes must be accepted (by the user) before relegation; fields referring to
moved text will need manual attention.
resources/demotion-rubric.md — protected vs. relegable taxonomy with
examples. Read before Step 2.resources/integration-rules.md — how demoted text merges with existing
citation and textual footnotes. Read before Step 5.resources/word-redline.md — the .docx redline pipeline and its verification
fallback. Read before
producing Word output.resources/worked-example.md — a short before/after with its ledger and
memo entries. Read if calibration feels uncertain, or the user asks what
the output will look like.scripts/ledger.py — standard-library Markdown word accounting, conservation,
and footnote-reference checks. Run in Step 6 when Python 3 is available.scripts/docx_redline.py — standard-library OOXML tracked-change editor. Read
resources/word-redline.md, then run only for Word redline output.scripts/polish_footnotes.py — standard-library .docx typography pass for
a pandoc-produced clean copy. Run only for Word clean-copy output.If the user also has the tentacle-footnote-finder skill, the two compose:
that skill finds body sentences that deserve expansion footnotes; this one
moves existing body text down. The rubric here deliberately shares its
vocabulary (qualification, literature placement, source criticism, …). Do not
confuse the tasks: this skill writes footnotes only out of the author's own
existing words.
This companion is optional. Its absence does not change this skill's workflow or outputs.
The demotion method is jurisdiction-neutral: it preserves an author's doctrine, citations, and terminology rather than resolving legal questions. Citation forms, court rules, and substantive propositions remain the author's and must be checked under the source's actual jurisdiction. For that reason, catalogue jurisdiction is International.
Copyright 2026 Seth J. Chandler. This original work is released under the Apache License
2.0. See LICENSE for the full terms and NOTICE for origin, code, and disclaimer details.
The package contains three Python scripts. They use only the standard library, make no
network calls, spawn no subprocesses, and perform no dynamic evaluation. ledger.py is
read-only; docx_redline.py writes only inside the caller-named unpacked document directory;
and polish_footnotes.py uses a temporary directory and writes or replaces only the
caller-named output file.
© lawve-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts) in skills/footnote-relegator-seth-chandler of lawve-ai/awesome-legal-skills.
Open the folder on GitHubat commit 045f738
Footnote Relegator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Footnote Relegator this skilllawve-ai/awesome-legal-skills | 847 | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| MineruNebutra/MinerU-Skill | 123 | — | ~504 | Automated safety check: Pass | MIT | |
| Doc To Markdowndaymade/claude-code-skills | 1.5k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Markdown Converterintellectronica/agent-skills | 295 | 4 repos | ~492 | Automated safety check: Pass | CC0-1.0 | |
| Word to Markdown Convertergithub/awesome-copilot | 40k | — | ~1.6k | Automated safety check: Pass | MIT |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Nebutra/MinerU-Skill
An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.
daymade/claude-code-skills
Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.
intellectronica/agent-skills
Convert documents and files to Markdown using markitdown. An agent skill from intellectronica/agent-skills.
github/awesome-copilot
Converts Word .docx files to Markdown with a bundled script before analysis, extracting embedded images and handling whole folders alongside the PDF and Excel converters.
mitsuhiko/agent-stuff
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using uvx markitdown, optionally it can summarize
lawve-ai/awesome-legal-skills
U.S. An agent skill from lawve-ai/awesome-legal-skills.
lawve-ai/awesome-legal-skills
Practitioner skill for advising on EU Regulation 2023/2854 (Data Act).
lawve-ai/awesome-legal-skills
Calendar litigation and arbitration deadlines from a scheduling order.
lawve-ai/awesome-legal-skills
Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.
lawve-ai/awesome-legal-skills
Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.
lawve-ai/awesome-legal-skills
Audits a website for compliance with Azerbaijan's Law on Personal Data No.
Works with
Categories
Condense a scholarly legal article by moving nonessential detail from the body into substantive footnotes while preserving every word and keeping the argument self-sufficient. Footnote Relegator is an agent skill from lawve-ai/awesome-legal-skills. Condense a scholarly legal article by moving nonessential detail from the body into substantive footnotes while preserving every word and keeping the argument self-sufficient.
Footnote Relegator fits situations like: asked to push detail into footnotes; relegate to footnotes; footnote the caveats; move the digressions down.
Run `npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a claude-code`. Or copy the skill folder (skills/footnote-relegator-seth-chandler in lawve-ai/awesome-legal-skills) into .claude/skills/footnote-relegator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a codex`. Or copy the skill folder (skills/footnote-relegator-seth-chandler in lawve-ai/awesome-legal-skills) into .agents/skills/footnote-relegator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lawve-ai/awesome-legal-skills --skill footnote-relegator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/footnote-relegator, .gemini/skills/footnote-relegator, .github/skills/footnote-relegator and .opencode/skills/footnote-relegator in your project.
Going by SKILL.md and its folder, Footnote Relegator needs Python for the scripts in its folder and the command-line tools its instructions call (python and pandoc). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Footnote Relegator is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Footnote Relegator: Markitdown (ImCa0/just-laws, 781 stars), Mineru (Nebutra/MinerU-Skill, 123 stars), Doc To Markdown (daymade/claude-code-skills, 1.5k stars) and Markdown Converter (intellectronica/agent-skills, 295 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lawve-ai (a GitHub organization) maintains it in lawve-ai/awesome-legal-skills, which has 847 GitHub stars. The repository holds 154 skills in this directory. The repository was last updated on October 2, 2026.
Source: lawve-ai/awesome-legal-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.