Cold Start Interview
anthropics/claude-for-legal
Run the cold-start interview — learns your AI governance practice and writes ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md from your AI policy, a reference impact…
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.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add cat-xierluo/legal-skills --skill legal-harness-init -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cat-xierluo/legal-skills legal-harness-init --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/cat-xierluo/legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-harness-init .claude/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .claude/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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/cat-xierluo/legal-skills/tree/main/skills/legal-harness-initType 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 cat-xierluo/legal-skills --skill legal-harness-init -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cat-xierluo/legal-skills legal-harness-init --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/legal-harness-init .agents/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .agents/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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 cat-xierluo/legal-skills --skill legal-harness-init -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cat-xierluo/legal-skills legal-harness-init --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/legal-harness-init .cursor/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .cursor/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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/cat-xierluo/legal-skills.git --path skills/legal-harness-init--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 cat-xierluo/legal-skills --skill legal-harness-init -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cat-xierluo/legal-skills legal-harness-init --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/legal-harness-init .gemini/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .gemini/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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 cat-xierluo/legal-skills legal-harness-initInstalls 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 cat-xierluo/legal-skills --skill legal-harness-init -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/legal-harness-init .github/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .github/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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 cat-xierluo/legal-skills --skill legal-harness-init -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cat-xierluo/legal-skills legal-harness-init --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/legal-harness-init .opencode/skills/legal-harness-init && 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-harness-init" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/legal-harness-init into .opencode/skills/legal-harness-init/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-harness-init", 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-harness-initSets 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.
The SKILL.md is in Chinese. It writes a lawyer's stable collaboration requirements into harness instruction files as managed blocks that can be merged safely, separating user-level, project-level and team-level instructions. A detect.sh script finds the current harness by checking known folders, file existence and whether runtime variables exist, without reading their values, configuration text or credentials. Completion has three states: CONFIG_WRITTEN, INSTRUCTIONS_LOADED when a new session reports its load source, and BEHAVIOR_VERIFIED when it passes four behavior probes.
Guide modes are quick, the default, with up to five questions about role, deliverables, allowed, confirm-first and forbidden actions, privacy mode and audit trail; guided, which designs modules one by one; and team, with three governance layers. Parameters cover level, platforms, project type, privacy mode, create, update or append mode and a dry run. It is not for contract review, case analysis, drafting, project scaffolding or skill development. A large set of references, assets and configs is bundled.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f844ebe. 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 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
bashclaudecodexFrom 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 Harness Initializer loads about 2.3k tokens when it runs, and up to ~27k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 471 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 cat-xierluo/legal-skills at commit f844ebe, republished under its MIT licence (© cat-xierluo). 471 words, ~2,259 tokens.
.claude/skills/legal-harness-init/SKILL.md (or your agent's skills folder). This skill also uses 61 other files; get the full folder from GitHub.把法律人的稳定协作要求写成可加载、可增量更新、可验证的 harness 指令。完成不等于“文件已写入”;必须区分:
CONFIG_WRITTEN:文件与受管区块存在。INSTRUCTIONS_LOADED:新会话报告了精确加载来源。BEHAVIOR_VERIFIED:新会话通过四类行为探针。<!-- skill-lint:constraint COMPLETION-STATUS-NO-OVERCLAIM -->
如果无法启动新会话,必须报告 CONFIG_WRITTEN + NOT_VERIFIED,不得声称配置已经生效。
在以下条件同时满足时使用:
不要用于:
.claude/、.codex/、skills、docs 等项目脚手架初始化(改用 project-init);| 参数 | 默认值 | 说明 |
|---|---|---|
--guide-mode | quick | quick / guided / team |
--level | 自动判断 | user / project;team 模式按组织→项目→个人处理 |
--platforms | 当前 runtime + 可写已安装平台 | 平台 key,逗号分隔 |
--runtime | 自动检测 | 调用方明确知道当前平台时传给 detect.sh |
--project-type | 询问 | litigation / transactional / ip / in-house / research;只路由问题,不提供标准答案 |
--privacy-mode | strict | strict / local / team |
--mode | create | create / update / append;三者均只 upsert 受管区块 |
--block-id | 按模块指定 | 稳定 marker id,见“受管区块” |
--dry-run | 否 | 只展示候选 diff,不写入 |
--model | env 白名单探测 | init-environment 受管区块需要时兜底;ANTHROPIC_MODEL / OPENAI_MODEL / CLAUDE_MODEL / GLM_MODEL / MY_MODEL 命中即用 |
--action | init | record-init-env.sh 的操作类型:init / update / append |
--record-init-env | true | write.sh 真实落盘后是否自动调 record-init-env.sh;true / false;批量场景可关 |
--init-action | init | write.sh 自动调 record-init-env.sh 时传的操作类型 |
将旧参数 --preset 解释为 --project-type,并提示新名称;项目类型只决定追问路线,不能替用户填答案。
运行:
bash scripts/detect.sh
# 调用方明确知道当前平台时:
bash scripts/detect.sh --runtime codex读取 schema v3 的:
runtime_candidates:候选平台、信号、置信度、是否可写;current_runtime:只在显式声明或最高置信度唯一命中时设置;harnesses_detected:已安装平台;project_level:AGENTS.md / CLAUDE.md 与 project-init 复合证据。检测脚本只读取已知目录、文件存在性、行数及 runtime 环境变量是否存在,不读取环境变量值、配置正文、Token 或凭证。详见 references/03-harness-detection.md。
默认使用。用一轮最多 5 个问题确认:
strict、local 还是 team 隐私模式?每组答案只解释一句“为何需要”。不要跳过必要安全问题,也不要强迫用户完成全部教学章节。生成 M1、M2、M3、法律安全基线和 M5;项目级再生成最小 M6—M8。
按 M1→M8 逐项引导,参考 references/04-modules.md 与 templates/modules/。用户卡住时给候选维度,不替用户决定,不直接套用范例。
先读取 references/20-team-layering.md,分别确认:
<!-- skill-lint:constraint TEAM-LAYER-PRECEDENCE -->
在平台允许配置的同一治理范围内,冲突时必须遵循法律安全边界/组织强制政策 > 项目具体规则 > 个人偏好;同层冲突请求负责人确认并留痕。AGENTS.md/CLAUDE.md 是持久默认基线,不得把这条团队层规则解释成对平台指令层级或用户当前明确授权的通用改写。
按 references/18-privacy-and-context.md 执行:
strict:AGENTS.md 只写项目代号、类型、阶段、关键时点和规则,不写真实当事人、案号、金额、联系方式或身份号码。local:真实事实写入权限为 0600 且被 .gitignore 排除的 .legal-context.local.md;AGENTS.md 只保留入口和按需读取规则。team:真实事实只进入组织批准的受控团队载体;AGENTS.md 记录载体路径、访问条件和脱敏/对外规则,不记录凭证或高敏个人身份号。<!-- skill-lint:constraint PRIVACY-MINIMUM-CONTEXT -->
M4/M5 必须覆盖四项契约,且项目配置不得直接包含凭证、高敏身份号或与协作无关的可识别案件信息:
回溯载体按事实性质选择,并优先复用项目已有权威来源:
DECISIONS.md 或项目指定决策载体;TASKS.md、期限台账或经授权的日历;CHANGELOG.md 或项目指定交付记录。项目未启用某类文件时先询问或标记待补充,不为形式完整创建空文档。详见 references/06-audit-trail-contract.md。
M6—M8 默认只生成:
# 项目:{项目代号}
- 类型:{项目类型}
- 阶段:{当前阶段}
- 关键时点:{日期 + 事项;未知则写待补充}
- 受控事实入口:{不需要则写“无”}
- 文件结构与权威载体:{沿用项目现有约定}不要默认询问或写入完整当事人、真实案号、金额、统一社会信用代码。确需使用真实事实时,根据隐私模式写入受控载体。项目类型只用于决定下一条必要问题,参见 references/12-module-project-context.md 和 references/13-module-case-facts.md。
若检测到 project-init 复合证据,只补法律安全、回溯和受控上下文入口,不改项目脚手架。
每个模块使用固定 block-id,一次只更新一个逻辑区块:
| 内容 | block-id |
|---|---|
| 角色 | m1-role |
| 工作流 | m2-workflow |
| 协作偏好 | m3-collab-style |
| 法律安全基线(含 M4) | legal-safety-baseline |
| 回溯契约 | m5-traceability |
| 项目上下文 | m6-project-context |
| 受控事实入口 | m7-fact-entry |
| 文件结构 | m8-file-structure |
初始化环境(受 legal-harness-init 自动 append) | init-environment |
<!-- skill-lint:constraint MANAGED-BLOCK-SAFE-UPSERT -->
write.sh 必须自动添加形如 <!-- legal-harness-init:m1-role:start --> 的唯一成对 marker,并按实际目标路径去重;内容临时文件不得自行添加外层 marker。先运行内容校验,再用 --dry-run 展示合并候选 diff。
bash scripts/validate-content.sh \
--file <模块内容文件> \
--privacy-mode <strict|local|team>
bash scripts/write.sh \
--content-file <模块内容文件> \
--level <user|project> \
--platforms <key,key> \
--mode <create|update|append> \
--block-id <稳定-id> \
--privacy-mode <strict|local|team> \
--project-dir <项目路径> \
--dry-run确认 diff 后去掉 --dry-run。脚本必须:
AGENTS.md 时只写一次;.bak.legal-harness-init 及权限/哈希元数据,并为每次变化保存唯一快照;0600;unchanged,不产生新快照。需要回退时:
bash scripts/restore.sh --target <AGENTS.md-or-CLAUDE.md>平台路径与非 AGENTS.md 模式限制见 scripts/README.md。
write.sh 真实落盘后(v0.4.2+)已自动调一次 record-init-env.sh,agent 无需手动串联。如需关闭(如批量脚本场景)传 --record-init-env false 即可。详见 references/22-initialization-environment.md 与 templates/modules/init-environment.md。
write.sh 落盘后会自动调,下面命令仅在 --record-init-env false 或需手动补记时使用:
bash scripts/record-init-env.sh \
--target <项目/AGENTS.md|CLAUDE.md> \
--action <init|update|append> \
[--model <model-name>] \
[--harness <key>] \
[--harness-version <v>] \
[--skill-version <v>] \
[--note "<额外说明>"] \
[--probe-from-session] \
[--dry-run]脚本半自动采集,env 全部命中即可直接调用:
detect.sh 取 current_runtime(schema v3);可用 --harness 显式覆盖claude --version / codex --version(2s 超时,失败 unknown);非 claude/codex 写 n/aANTHROPIC_MODEL / OPENAI_MODEL / CLAUDE_MODEL / GLM_MODEL / MY_MODEL 探测,全部未命中时:v0.5.2+ 若传 --probe-from-session 则从当前 harness session 反查 model——claude-code/qwenwork/qoderwork/myagents(CC 克隆 jsonl,role=assistant.message.model)、codex(turn_context.payload.model)、workbuddy(trace spans toolOutput chat.completion.model);openclaw/orca 暂 not_found;仍未命中时拒绝 append 并要求 --model 兜底(不臆造)SKILL.md frontmatter version 字段读脚本必须:
<!-- skill-lint:constraint INIT-ENVIRONMENT-RECORD-ON-WRITE -->
每次 write.sh 真实落盘(不是 dry-run、不是 needs_confirmation)后都已由 write.sh 自动调一次 record-init-env.sh(v0.4.2+,受 --record-init-env 开关控制)。缺这条记录等同于"配置改了但没记工具环境"。无法获得 model 时不臆造,必须显式传 --model 或回退到 NOT_VERIFIED。
按 references/19-activation-verification.md 新启动目标 harness 会话,确认加载来源,并执行四类探针:权限、保密、信息缺口、回溯载体选择。
将证据保存为本地临时 key=value 文件后运行:
bash scripts/verify.sh \
--target <配置文件> \
--block-id <稳定-id> \
--session-evidence <证据文件>证据必须包含 new_session=true、loaded=true、精确 source_path、与当前配置一致的 config_sha256,以及四项 probe_*=pass 才可报告 BEHAVIOR_VERIFIED。配置变化后旧证据失效;当前写入会话的自报不算加载证据。
运行:
bash scripts/test.sh交付前确认:
CONFIG_WRITTEN 扩大成已加载或行为已验证;NOT_VERIFIED;write.sh 真实落盘后都已 record-init-env.sh 追加一条 init-environment 行;缺记录时报告 INIT_ENV_NOT_RECORDED 而非宣称完成。日常初始化开箱即用,无第三方包。需要 Bash 3.2+ 及常见系统工具:awk、grep、sed、stat、diff、mktemp、shasum 或 sha256sum。正式指令稳定性 checker 另需系统自带或已安装的 Python 3,不需要额外 Python 包。
record-init-env.sh 探测不到 model 时臆造 model 名;必须 --model 兜底或留 unknown 并标 INIT_ENV_NOT_VERIFIED。init-environment 受管区块里的表格行;append-only 由脚本负责。© cat-xierluo, MIT. 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 61 other files (scripts, references, assets) in skills/legal-harness-init of cat-xierluo/legal-skills.
Open the folder on GitHubat commit f844ebe
Legal Harness Initializer 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 Harness Initializer this skillcat-xierluo/legal-skills | 721 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Cold Start Interviewanthropics/claude-for-legal | 9.6k | 3 repos | ~12k | Automated safety check: Pass | Apache-2.0 | |
| Aia Generationanthropics/claude-for-legal | 9.6k | 3 repos | ~6.6k | Automated safety check: Pass | Apache-2.0 | |
| Cold Start Interviewanthropics/claude-for-legal | 9.6k | 2 repos | ~12k | Automated safety check: Pass | Apache-2.0 | |
| Matter Workspaceanthropics/claude-for-legal | 9.6k | 3 repos | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| SEO Analiticaricneves-ai/flowgrammers-skills | 115 | — | ~2.3k | Automated safety check: Pass | MIT |
anthropics/claude-for-legal
Run the cold-start interview — learns your AI governance practice and writes ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md from your AI policy, a reference impact…
anthropics/claude-for-legal
Run an AI impact assessment — structured intake, risk analysis, regulatory classification per regime in scope, policy consistency diff, and recommendation with conditions.
anthropics/claude-for-legal
House cold-start for the litigation plugin — branches by role (in-house, firm associate, solo) and side (plaintiff, defense, both), captures risk calibration, landscape, and house style, and writes…
anthropics/claude-for-legal
Manage matter workspaces — new, list, switch, close, or detach (practice-level).
ricneves-ai/flowgrammers-skills
Skills para otimização de SEO técnico, análise de dados, criação de dashboards e inteligência de negócio para empresas brasileiras.
anthropics/claude-for-legal
Reference: review of an inbound vendor agreement against the team playbook in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md.
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.
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.
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.
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.
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.
cat-xierluo/legal-skills
Creates SVG illustrations for a Markdown article as animated SVG, static SVG or PNG files, and places them in the text at planned positions.
Categories
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. md is in Chinese. It writes a lawyer's stable collaboration requirements into harness instruction files as managed blocks that can be merged safely, separating user-level, project-level and team-level instructions.
Legal Harness Initializer fits situations like: creating a baseline AGENTS.md or CLAUDE.md for a lawyer or legal team; updating managed instruction blocks without overwriting your own text; separating personal, project and organization level agent rules; verifying in a fresh session that confidentiality and permission rules are followed.
Run `npx skills add cat-xierluo/legal-skills --skill legal-harness-init -a claude-code`. Or copy the skill folder (skills/legal-harness-init in cat-xierluo/legal-skills) into .claude/skills/legal-harness-init in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cat-xierluo/legal-skills --skill legal-harness-init -a codex`. Or copy the skill folder (skills/legal-harness-init in cat-xierluo/legal-skills) into .agents/skills/legal-harness-init 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 cat-xierluo/legal-skills --skill legal-harness-init -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-harness-init, .gemini/skills/legal-harness-init, .github/skills/legal-harness-init and .opencode/skills/legal-harness-init in your project.
Going by SKILL.md and its folder, Legal Harness Initializer needs the command-line tools its instructions call (bash, claude and codex). Our summary lists: Bash to run the detection and write scripts; A coding agent harness that reads AGENTS.md or CLAUDE.md.
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.
Legal Harness Initializer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 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 25k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Legal Harness Initializer: Cold Start Interview (anthropics/claude-for-legal, 9.6k stars), Aia Generation (anthropics/claude-for-legal, 9.6k stars), Cold Start Interview (anthropics/claude-for-legal, 9.6k stars) and Matter Workspace (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cat-xierluo (a GitHub user) maintains it in cat-xierluo/legal-skills, which has 721 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.