Agent skill

Legal Skill Evaluation

by cat-xierluo in cat-xierluo/legal-skills

法律 Skill 分层质量评测工具。消费 skill-lint 的通用质量结论,再用三份测试材料、通用六维度、场景微调和律师 taste 评估法律产出,并定位最小修复单元。本技能应在审查、回归验证或发布验收法律 Skill 时使用。不要用于代替通用 Skill lint、正式法律意见或跨场景排名。

CC-BY-NC-4.0Auto-check passedAgent Workflows

Install Legal Skill Evaluation

skills CLI
$ npx skills add cat-xierluo/legal-skills --skill legal-skill-evaluation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cat-xierluo/legal-skills legal-skill-evaluation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-skill-evaluation .claude/skills/legal-skill-evaluation && rm -rf skills-src

Use ~/.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/

Facts

Skill name
legal-skill-evaluation
GitHub stars
720
Token cost
~2.2k tokens
SKILL.md length
487 words
Files
185 (incl. scripts, references, assets)
Skills in repo
62
Repo updated
First seen
Licence
CC-BY-NC-4.0

At a glance

法律 Skill 分层质量评测工具。消费 skill-lint 的通用质量结论,再用三份测试材料、通用六维度、场景微调和律师 taste 评估法律产出,并定位最小修复单元。本技能应在审查、回归验证或发布验收法律 Skill 时使用。不要用于代替通用 Skill lint、正式法律意见或跨场景排名。

  • Works in 5 steps: 被测 Skill 目录与本次候选版本; → 单一法律场景、声称交付物和目标读者; → 三份脱敏测试材料及已知关注点; → …
  • Tasks that involve Agent evaluation and testing
  • SKILL.md covers 适用与边界, 三档评测模式, 输入 and 安全规则, plus 7 more sections
  • Tasks that involve Linting and formatting

What it does

Legal Skill Evaluation is an agent skill from cat-xierluo/legal-skills. 法律 Skill 分层质量评测工具。消费 skill-lint 的通用质量结论,再用三份测试材料、通用六维度、场景微调和律师 taste 评估法律产出,并定位最小修复单元。本技能应在审查、回归验证或发布验收法律 Skill 时使用。不要用于代替通用 Skill lint、正式法律意见或跨场景排名。

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 186 other files, including scripts, reference files and assets (for example `CHANGELOG.md`, `assets/capability-suite-false-verified.json` and `assets/evaluation-package-false-pass.json`).

It sits in Agent Workflows, covering Agent evaluation and testing and Linting and formatting. It works with Git.

When your agent uses it

  • Tasks that involve Agent evaluation and testing
  • Tasks that involve Linting and formatting

Example prompts

  • “/legal-skill-evaluation”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 被测 Skill 目录与本次候选版本;
  2. 单一法律场景、声称交付物和目标读者;
  3. 三份脱敏测试材料及已知关注点;
  4. 每份材料由候选 Skill 真实运行得到的产出;
  5. 可选:skill-lint 报告、旧版评测包、历史失败样本和外部签发收据。

What it can do on your machine

Read from SKILL.md and the folder at commit db2c58c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Skill Evaluation loads about 2.2k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 487 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (CC-BY-NC-4.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 487 words (~2,229 tokens).

name
legal-skill-evaluation
version
0.8.13
license
CC-BY-NC
author
杨卫薪律师(微信ywxlaw)
homepage
https://github.com/cat-xierluo/legal-skills

Read the full SKILL.md on GitHub

Files

SKILL.md and 184 other files (scripts, references, assets) in skills/legal-skill-evaluation of cat-xierluo/legal-skills.

  • SKILL.md
  • CHANGELOG.md
  • LICENSE.txt
  • assets/capability-suite-false-verified.json
  • assets/evaluation-package-false-pass.json
  • assets/evaluation-package-historical-omission.json
  • assets/evaluation-package-legal-near-miss.json
  • assets/evaluation-package-missing-dimension.json
  • assets/evaluation-package-out-of-scope-false-pass.json
  • assets/evaluation-package-scope-mismatch.json
  • assets/evaluation-package-stale-candidate.json
  • assets/evaluation-package-unbound-false-pass.json
  • assets/evaluation-package-valid.json
  • assets/semantic-attachment-limit-omission.md
  • assets/semantic-objective-false-verdict.md
  • config/capability-run-receipts.example.json
  • config/evaluation-package.example.json
  • config/instruction-stability-contract.json
  • evals
  • … and 166 more

Open the folder on GitHubat commit db2c58c

Compare with similar skills

Legal Skill Evaluation 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.

Legal Skill Evaluation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Skill Evaluation this skillcat-xierluo/legal-skills720—~2.2kAutomated safety check: PassCC-BY-NC-4.0
Zed Configwcygan/dotfiles194—~930Automated safety check: PassNone
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
CodeGraph Agent Evalcolbymchenry/codegraph74k—~950Automated safety check: PassMIT
Procoder Commit Gateazrtydxb/procoder211—~3.7kAutomated safety check: PassApache-2.0
Levyra Context EfficiencyLUC4N3X/Levyra-deepsound591—~1.3kAutomated safety check: NotesGPL-3.0

Similar skills

  • Zed Config

    wcygan/dotfiles

    Zed editor configuration expert. An agent skill from wcygan/dotfiles.

    194 GitHub stars~930 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • CodeGraph Agent Eval

    colbymchenry/codegraph

    Benchmarks how much CodeGraph helps a coding agent on a real repository, comparing runs with and without it for a chosen local or published version.

    74k GitHub stars~950 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Procoder Commit Gate

    azrtydxb/procoder

    Applies Procoder's senior-developer discipline in a repository: run the commit gate, format through the binary and work through specs, plans and todos.

    211 GitHub stars~3.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Levyra Context Efficiency

    LUC4N3X/Levyra-deepsound

    A skill your agent uses for genuinely high-volume Levyra work such as builds, tests, lint, logs, broad searches, dependency output, Git/GitHub or CodeRabbit inspection, CI diagnostics, agent setup…

    591 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Validates OpenHarness features by running real multi-turn agent loops with live LLM calls against an unfamiliar codebase, checking actual tool execution.

    16k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check: notes

More from cat-xierluo/legal-skills

All 62 skills in this repo
  • Elements-Style Complaint Generator

    cat-xierluo/legal-skills

    Converts a lawyer's ordinary complaint or a described case into the Supreme People's Court's elements-style Word template, with layout checks on the result.

    721 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Lecture Performance Review

    cat-xierluo/legal-skills

    Analyzes raw lecture transcripts for verbal tics, pacing, time use and promise follow-through, with optional slide-by-slide comparison and cross-session tracking.

    721 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • De-AI Polish for Chinese Articles

    cat-xierluo/legal-skills

    Detects and rewrites machine-sounding patterns in the body text of Chinese articles while keeping the author's facts, headings and legal terms intact.

    721 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • GitHub Star Manager

    cat-xierluo/legal-skills

    Finds GitHub projects mentioned in articles or screenshots and stars them, tracks updates to your starred repos, and builds an HTML dashboard to browse them.

    721 GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes
  • Legal Harness Initializer

    cat-xierluo/legal-skills

    Sets up or incrementally updates AGENTS.md and CLAUDE.md for legal professionals, with a minimal safety baseline and a check that a new session loads and follows the rules.

    721 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Moot Court Simulation Builder

    cat-xierluo/legal-skills

    Chinese-language skill that organizes a case file into a multi-role mock trial with judge, parties and clerk, producing a transcript, issue review and a to-strengthen list.

    721 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Legal Skill Evaluation

What does Legal Skill Evaluation do?

法律 Skill 分层质量评测工具。消费 skill-lint 的通用质量结论,再用三份测试材料、通用六维度、场景微调和律师 taste 评估法律产出,并定位最小修复单元。本技能应在审查、回归验证或发布验收法律 Skill 时使用。不要用于代替通用 Skill lint、正式法律意见或跨场景排名。. Legal Skill Evaluation is an agent skill from cat-xierluo/legal-skills.

When should I use Legal Skill Evaluation?

Legal Skill Evaluation fits situations like: tasks that involve Agent evaluation and testing; tasks that involve Linting and formatting.

How do I install Legal Skill Evaluation in Claude Code?

Run `npx skills add cat-xierluo/legal-skills --skill legal-skill-evaluation -a claude-code`. Or copy the skill folder (skills/legal-skill-evaluation in cat-xierluo/legal-skills) into .claude/skills/legal-skill-evaluation in your project. Claude Code loads it when a task matches its description.

How do I install Legal Skill Evaluation in Codex?

Run `npx skills add cat-xierluo/legal-skills --skill legal-skill-evaluation -a codex`. Or copy the skill folder (skills/legal-skill-evaluation in cat-xierluo/legal-skills) into .agents/skills/legal-skill-evaluation in your project. Codex loads it when a task matches its description.

Can I use Legal Skill Evaluation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cat-xierluo/legal-skills --skill legal-skill-evaluation -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-skill-evaluation, .gemini/skills/legal-skill-evaluation, .github/skills/legal-skill-evaluation and .opencode/skills/legal-skill-evaluation in your project.

What does Legal Skill Evaluation need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Skill Evaluation is instructions for the agent only. Our summary lists: Python 3.

Does Legal Skill Evaluation access the network?

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.

Is Legal Skill Evaluation safe to install?

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.

What licence does Legal Skill Evaluation use?

Legal Skill Evaluation is published under the CC-BY-NC-4.0 licence (declared in SKILL.md).

How many tokens does Legal Skill Evaluation use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 23k tokens, read only when the agent opens those files.

What are the alternatives to Legal Skill Evaluation?

Skills that share tags, products or a category with Legal Skill Evaluation: Zed Config (wcygan/dotfiles, 194 stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars), CodeGraph Agent Eval (colbymchenry/codegraph, 74k stars) and Procoder Commit Gate (azrtydxb/procoder, 211 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Skill Evaluation?

cat-xierluo (a GitHub user) maintains it in cat-xierluo/legal-skills, which has 720 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 10, 2026.

Source: cat-xierluo/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.