legal-document-formatting

legal-document-formatting is a skill for Claude Code from vivy-yi/Greater-China-Legal. It costs 143 tokens per session (1,047 once invoked), scanned A, original, no licence file.

A format guide for drafting civil or criminal judgments and identifying the correct type of court document before writing it.

In plain words
What is it for?
Use it to draft or format civil and criminal judgments and other court decisions.
Why use it?
It helps place the required sections in the expected seven-part order and apply the format for the relevant kind of judgment.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to draft or format civil and criminal judgments and other court decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/greater-china-legal/legal-document-formatting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vivy-yi/Greater-China-Legal --skill legal-document-formatting
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/Greater-China-Legal

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for legal-document-formatting

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/greater-china-legal/legal-document-formatting/github.svg)](https://agentmods.dev/skills/vivy-yi/greater-china-legal/legal-document-formatting)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/greater-china-legal/legal-document-formatting"><img src="https://agentmods.dev/badge/skills/vivy-yi/greater-china-legal/legal-document-formatting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for legal-document-formatting

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/greater-china-legal/legal-document-formatting"><img src="https://agentmods.dev/badge/skills/vivy-yi/greater-china-legal/legal-document-formatting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,047 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.01047
Opus 5 $0.00072 $0.00524
Sonnet 5 $0.00029 $0.00209
Haiku 4.5 $0.00014 $0.00105

Measured 12d ago against content hash 76365107e785, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

legal-document-formatting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/legal-documents/legal-document-formatting/SKILL.md · 153 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 153 lines · 143 tokens per session scan A 76365107e785

Subscribe to this mod's changes

legal-document-formatting is a skill published in the GitHub repository vivy-yi/Greater-China-Legal (35 stars, last pushed 23d ago), with no licence file. It adds 143 tokens to every session and 1,047 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

audit-export

Export the full CocoAudit trail as a stakeholder-ready compliance document.

Snowflake-Labs/cocoplus · 15 tokens

compliance

Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions)…

ericrisco/rsc-harness · 96 tokens

generate-fillable-contract-html

A generator for Chinese HTML templates with fill-in fields for contracts, quotations, and authorization letters. The fields are marked so a later HTML-to-Word conversion can identify and fill them.

rojim666/SztuCode · 52 tokens

performing-soc2-type2-audit-preparation

Automates SOC 2 Type II audit preparation including gap assessment against AICPA Trust Services Criteria (CC1-CC9), evidence collection from cloud providers and identity systems, control testing validation, remediation tracking, and continuous compliance monitoring. Covers all five TSC categories (Security…

adriannoes/awesome-agentic-ai · 112 tokens

gdpr-compliance

Implement GDPR data protection requirements. Configure consent management, data subject rights, and privacy by design. Use when processing EU personal data.

BagelHole/DevOps-Security-Agent-Skills · 31 tokens

pci-dss-compliance

Implement PCI DSS requirements for payment card data. Configure cardholder data environment and security controls. Use when processing payment cards.

BagelHole/DevOps-Security-Agent-Skills · 30 tokens