Master Agreement Generator
affaan-m/ECC
Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.
Draft complete civil or criminal judgments based on the document-production standards of Chinese people's courts.
$ npx skills add THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install THUYRan/Legal-Skills-Chinese legal-document-formatting --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/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .claude/skills && cp -r skills-src/English/skills/legal-document-formatting .claude/skills/legal-document-formatting && 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 "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .claude/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formattingType 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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install THUYRan/Legal-Skills-Chinese legal-document-formatting --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .agents/skills && cp -r skills-src/English/skills/legal-document-formatting .agents/skills/legal-document-formatting && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .agents/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install THUYRan/Legal-Skills-Chinese legal-document-formatting --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/English/skills/legal-document-formatting .cursor/skills/legal-document-formatting && 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 "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .cursor/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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/THUYRan/Legal-Skills-Chinese.git --path English/skills/legal-document-formatting--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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install THUYRan/Legal-Skills-Chinese legal-document-formatting --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/English/skills/legal-document-formatting .gemini/skills/legal-document-formatting && 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 "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .gemini/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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 THUYRan/Legal-Skills-Chinese legal-document-formattingInstalls 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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .github/skills && cp -r skills-src/English/skills/legal-document-formatting .github/skills/legal-document-formatting && 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 "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .github/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install THUYRan/Legal-Skills-Chinese legal-document-formatting --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/English/skills/legal-document-formatting .opencode/skills/legal-document-formatting && 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 "legal-document-formatting" agent skill from https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/legal-document-formatting into .opencode/skills/legal-document-formatting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-document-formatting", 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.
legal-document-formattingDraft complete civil or criminal judgments based on the document-production standards of Chinese people's courts.
Legal Document Formatting is an agent skill from THUYRan/Legal-Skills-Chinese. Draft complete civil or criminal judgments based on the document-production standards of Chinese people's courts. Use this skill when the user asks to "draft a judgment", "generate a judicial document", "write a civil judgment", "write a criminal judgment", "prepare a document from the case file", or provides case-file materials and requests a judgment document. While drafting each section, autonomously invoke atomic skills (e.g., dispute-issue identification, statutory retrieval, deductive reasoning…
Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Legal & Compliance, covering Policy and terms drafting.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c31ef1f. 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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.
Legal Document Formatting loads about 10k tokens when it runs. Until then it costs about 141 tokens; SKILL.md has 4,638 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); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 4,638 words (~10,251 tokens).
“Convert case-file materials into format-compliant civil or criminal judicial documents. This skill does not itself perform statutory retrieval or evidence evaluation; rather, while drafting each section of the document, it identifies what legal judgment is currently required, explicitly invokes the…”
Just SKILL.md in English/skills/legal-document-formatting of THUYRan/Legal-Skills-Chinese.
Open the folder on GitHubat commit c31ef1f
Legal Document Formatting 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 |
|---|---|---|---|---|---|---|
| Legal Document Formatting this skillTHUYRan/Legal-Skills-Chinese | 874 | — | ~10k | Automated safety check: Pass | None | |
| Master Agreement Generatoraffaan-m/ECC | 277k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Pii Contract Analyzegregmos/PII-Shield | 150 | — | ~8.9k | Automated safety check: Notes | MIT | |
| Privacy Eukimlawtech/korean-privacy-terms | 587 | — | ~968 | Automated safety check: Pass | Apache-2.0 | |
| Agents In The Teamborghei/Claude-Skills | 891 | — | ~4.2k | Automated safety check: Pass | MIT | |
| Terms Of Service Generatorzubair-trabzada/ai-legal-claude | 1.8k | — | ~2.9k | Automated safety check: Pass | None |
affaan-m/ECC
Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.
gregmos/PII-Shield
Universal legal document processor with PII anonymization. An agent skill from gregmos/PII-Shield.
kimlawtech/korean-privacy-terms
EU 사용자 대상 서비스용 Privacy Notice·Terms of Service·Consent Modal·Cookie Banner 자동 생성.
borghei/Claude-Skills
Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.
zubair-trabzada/ai-legal-claude
Generates complete, GDPR/CCPA-compliant Terms of Service for a website or SaaS product, with plain English summaries for each section
zebbern/claude-code-guide
Audit Terms of Service, user agreements, and privacy policies for consumer risks, producing a structured report that flags unfair clauses, data traps, and liability issues.
THUYRan/Legal-Skills-Chinese
A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.
THUYRan/Legal-Skills-Chinese
Case full-lifecycle planning skill. An agent skill from THUYRan/Legal-Skills-Chinese.
THUYRan/Legal-Skills-Chinese
Legal abductive reasoning skill for generating and evaluating the most reasonable explanatory hypotheses when evidence is incomplete or facts are ambiguous.
THUYRan/Legal-Skills-Chinese
Teleological interpretation skill (目的解释). An agent skill from THUYRan/Legal-Skills-Chinese.
THUYRan/Legal-Skills-Chinese
A skill your agent uses when the user needs to track or be reminded of hearing schedules, enforcement schedules, evidence-submission deadlines, appeal deadlines, service deadlines, preservation…
THUYRan/Legal-Skills-Chinese
Trigger this skill when the AI agent must handle any of the following situations: 1.
Categories
Draft complete civil or criminal judgments based on the document-production standards of Chinese people's courts. Legal Document Formatting is an agent skill from THUYRan/Legal-Skills-Chinese. Draft complete civil or criminal judgments based on the document-production standards of Chinese people's courts.
Legal Document Formatting fits situations like: the user asks to draft a judgment; generate a judicial document; write a civil judgment; write a criminal judgment.
Run `npx skills add THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a claude-code`. Or copy the skill folder (English/skills/legal-document-formatting in THUYRan/Legal-Skills-Chinese) into .claude/skills/legal-document-formatting in your project. Claude Code loads it when a task matches its description.
Run `npx skills add THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a codex`. Or copy the skill folder (English/skills/legal-document-formatting in THUYRan/Legal-Skills-Chinese) into .agents/skills/legal-document-formatting 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 THUYRan/Legal-Skills-Chinese --skill legal-document-formatting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-document-formatting, .gemini/skills/legal-document-formatting, .github/skills/legal-document-formatting and .opencode/skills/legal-document-formatting in your project.
SKILL.md names no scripts, command-line tools or credentials: Legal Document Formatting is instructions for the agent only.
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. Review the folder before installing.
No licence was found for Legal Document Formatting or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 10k tokens (SKILL.md is roughly 41k 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 Legal Document Formatting: Master Agreement Generator (affaan-m/ECC, 277k stars), Pii Contract Analyze (gregmos/PII-Shield, 150 stars), Privacy Eu (kimlawtech/korean-privacy-terms, 587 stars) and Agents In The Team (borghei/Claude-Skills, 891 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
THUYRan (a GitHub user) maintains it in THUYRan/Legal-Skills-Chinese, which has 874 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on August 22, 2026.
Source: THUYRan/Legal-Skills-Chinese on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.