Agent skill

Legal AI Course Editor

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

整理法律 AI 课程录音转写文字稿,将口语稿转为结构化书面讲义 Markdown。Use when 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记。

CC-BY-NC-4.0Auto-check passed

Install Legal AI Course Editor

skills CLI
$ npx skills add cat-xierluo/legal-skills --skill legal-ai-course-editor -a claude-code

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

GitHub CLI
$ gh skill install cat-xierluo/legal-skills legal-ai-course-editor --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-ai-course-editor .claude/skills/legal-ai-course-editor && 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-ai-course-editor
GitHub stars
720
Token cost
~915 tokens
SKILL.md length
142 words
Files
6 (incl. references)
Skills in repo
62
Repo updated
First seen
Licence
CC-BY-NC-4.0

At a glance

整理法律 AI 课程录音转写文字稿,将口语稿转为结构化书面讲义 Markdown。Use when 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记。

  • Works in 7 steps: :预检输入 → :通读全文,识别课程结构 → :拟定大纲(长稿先确认) → …
  • 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记
  • SKILL.md covers 概述, 依赖, 核心原则(不可妥协) and 工作流程, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Legal AI Course Editor is an agent skill from cat-xierluo/legal-skills. 整理法律 AI 课程录音转写文字稿,将口语稿转为结构化书面讲义 Markdown。Use when 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记。

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `.skill-metadata.yaml`, `CHANGELOG.md` and `references/lecture-notes-template.md`).

When your agent uses it

  • 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记

Example prompts

  • “/legal-ai-course-editor”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. :预检输入
  2. :通读全文,识别课程结构
  3. :拟定大纲(长稿先确认)
  4. :口语转书面整理
  5. :专业内容核对
  6. :按模板生成讲义
  7. :校验与交付

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

    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.

  • 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 AI Course Editor loads about 915 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 36 tokens; SKILL.md has 142 words of instructions outside code blocks.

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

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); files beside SKILL.md 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 142 words (~915 tokens).

name
legal-ai-course-editor
name_en
Legal AI Course Editor
name_zh
法律 AI 课程讲义整理
description_en
Turns raw speech-to-text transcripts of legal AI courses into structured written lecture notes in Markdown. Use when the user provides a raw transcript…
description_zh
整理法律 AI 课程录音转写文字稿,将口语稿转为结构化书面讲义 Markdown。用户提供听悟/FunASR 等转写逐字稿并要求整理成课程讲义或书面稿时使用。
argument-hint
附上转写稿文件路径,可选说明课程主题与讲者
argument-hint-en
Attach the transcript file path, optionally note the course topic and speaker
argument-hint-zh
附上转写稿文件路径,可选说明课程主题与讲者
user-invocable
true
version
1.0.0
license
CC-BY-NC

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/legal-ai-course-editor of cat-xierluo/legal-skills.

  • SKILL.md
  • .skill-metadata.yaml
  • CHANGELOG.md
  • LICENSE.txt
  • references/lecture-notes-template.md
  • references/polishing-guide.md

Open the folder on GitHubat commit db2c58c

Compare with similar skills

Legal AI Course Editor 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 AI Course Editor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal AI Course Editor this skillcat-xierluo/legal-skills720—~915Automated safety check: PassCC-BY-NC-4.0
Testing Course Samplesmicrosoft/ai-agents-for-beginners77k—~1.1kAutomated safety check: NotesMIT
Testing Course Samplesmicrosoft/ai-agents-for-beginners77k—~1.3kAutomated safety check: NotesMIT
Course Upskilling Requestssickn33/agentic-awesome-skills47k1 repos~4kAutomated safety check: PassMIT
Handsontable Cell Editor Developerhandsontable/handsontable22k—~3.8kAutomated safety check: PassCustom licence
Editor Test Harvesterudecode/plate17k—~7.6kAutomated safety check: PassCustom licence

Similar skills

  • Testing Course Samples

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when asked to validate, test, smoke-test, or run the course's notebook and code samples against a live Microsoft Foundry / Azure OpenAI configuration.

    77k GitHub stars~1.1k tokensUpdated 2 days ago
    Testing & QAAuto-check: notes
  • Testing Course Samples

    microsoft/ai-agents-for-beginners

    Official

    Use wen dem ask you to validate, test, smoke-test, or run di course notebook and code samples against live Microsoft Foundry / Azure OpenAI configuration.

    77k GitHub stars~1.3k tokensUpdated 2 days ago
    Testing & QAAuto-check: notes
  • Course Upskilling Requests

    sickn33/agentic-awesome-skills

    Training request register: course, provider, cost, duration, budget line, the three approval steps, service bond and completion evidence.

    47k GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed
  • Handsontable Cell Editor Developer

    handsontable/handsontable

    Guides building a new Handsontable cell editor through its four-state lifecycle, DOM setup, viewport-aware positioning and async validation, matching the grid's existing editor classes.

    22k GitHub stars~3.8k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Mine external editor repositories for portable editor-behavior tests with ClawSweeper-style discipline: multi-pass exhaustive inventory, confidence scoring, framework-specific skip reasons…

    17k GitHub stars~7.6k tokensUpdated yesterday
    Auto-check passed
  • Codebase to Course

    zarazhangrui/codebase-to-course

    Turns a codebase into an interactive single-page HTML course for non-technical learners, with scroll modules, animated diagrams, quizzes and plain-English code translations.

    5.7k GitHub stars~4.4k tokensUpdated 6 mo ago
    EducationAuto-check passed

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

Questions about Legal AI Course Editor

What does Legal AI Course Editor do?

整理法律 AI 课程录音转写文字稿,将口语稿转为结构化书面讲义 Markdown。Use when 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记。. Legal AI Course Editor is an agent skill from cat-xierluo/legal-skills.

When should I use Legal AI Course Editor?

Legal AI Course Editor fits situations like: 用户提供听悟/FunASR 等转写逐字稿,要求整理成课程讲义、学习笔记或书面稿;触发词:整理课程稿、口语转书面、课程讲义、逐字稿整理、课程笔记.

How do I install Legal AI Course Editor in Claude Code?

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

How do I install Legal AI Course Editor in Codex?

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

Can I use Legal AI Course Editor 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-ai-course-editor -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-ai-course-editor, .gemini/skills/legal-ai-course-editor, .github/skills/legal-ai-course-editor and .opencode/skills/legal-ai-course-editor in your project.

What does Legal AI Course Editor need to run?

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

Does Legal AI Course Editor 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 AI Course Editor 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. Review the folder before installing.

What licence does Legal AI Course Editor use?

Legal AI Course Editor is published under the CC-BY-NC-4.0 licence (declared in SKILL.md).

How many tokens does Legal AI Course Editor use?

About 915 tokens (SKILL.md is roughly 3.7k 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 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Legal AI Course Editor?

Skills that share tags, products or a category with Legal AI Course Editor: Testing Course Samples (microsoft/ai-agents-for-beginners, 77k stars), Testing Course Samples (microsoft/ai-agents-for-beginners, 77k stars), Course Upskilling Requests (sickn33/agentic-awesome-skills, 47k stars) and Handsontable Cell Editor Developer (handsontable/handsontable, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal AI Course Editor?

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.