Ljg Is
lijigang/ljg-skills
把一个名词或概念写成可使用的理解:先用普通话讲清它是什么、与相邻概念差在哪里,再说明它怎样运作、会改写什么判断,最后给出面对它时的行动抓手。USE WHEN 用户问 X 是什么、怎么理解、意味着什么、为什么重要、以后怎样判断或使用;尤其适合技术概念、制度、产品、角色、方法、规范与实践。NOT FOR 单纯查事实、公式证明、逐步操作教程、纵向因果深挖(用 ljg-think)或母题结构(用…
系统性检索中国大陆现行有效的法律、行政法规、司法解释、指导性案例,并按引用规范 输出。Use when 用户问"根据什么法律""法律怎么规定""这样做违法吗""能不能告" "查一下相关法条/司法解释/指导性案例"等需要查找并引用具体法律依据的问题。
$ npx skills add open-octo/octo-agent --skill legal-search -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install open-octo/octo-agent legal-search --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/open-octo/octo-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/skills/experts/legal-search .claude/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .claude/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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/open-octo/octo-agent/tree/main/internal/skills/experts/legal-searchType 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 open-octo/octo-agent --skill legal-search -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install open-octo/octo-agent legal-search --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/internal/skills/experts/legal-search .agents/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .agents/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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 open-octo/octo-agent --skill legal-search -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install open-octo/octo-agent legal-search --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/internal/skills/experts/legal-search .cursor/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .cursor/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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/open-octo/octo-agent.git --path internal/skills/experts/legal-search--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 open-octo/octo-agent --skill legal-search -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install open-octo/octo-agent legal-search --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/internal/skills/experts/legal-search .gemini/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .gemini/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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 open-octo/octo-agent legal-searchInstalls 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 open-octo/octo-agent --skill legal-search -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/internal/skills/experts/legal-search .github/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .github/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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 open-octo/octo-agent --skill legal-search -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install open-octo/octo-agent legal-search --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-octo/octo-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/internal/skills/experts/legal-search .opencode/skills/legal-search && 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-search" agent skill from https://github.com/open-octo/octo-agent/tree/main/internal/skills/experts/legal-search into .opencode/skills/legal-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-search", 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-search系统性检索中国大陆现行有效的法律、行政法规、司法解释、指导性案例,并按引用规范 输出。Use when 用户问"根据什么法律""法律怎么规定""这样做违法吗""能不能告" "查一下相关法条/司法解释/指导性案例"等需要查找并引用具体法律依据的问题。
Legal Search is an agent skill from open-octo/octo-agent. 系统性检索中国大陆现行有效的法律、行政法规、司法解释、指导性案例,并按引用规范 输出。Use when 用户问"根据什么法律""法律怎么规定""这样做违法吗""能不能告" "查一下相关法条/司法解释/指导性案例"等需要查找并引用具体法律依据的问题。 不用于单纯的法律概念科普(那种问题直接回答即可,不需要加载本技能)。
Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `PROVENANCE.md`).
The repository describes itself as: Open-source, single-binary, self-hosted AI agent — your models and data stay on your machine. A coding agent on par with Claude Code and a personal assistant lighter than… The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bbae80e. 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 Search loads about 996 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 202 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.
The full file from open-octo/octo-agent at commit bbae80e, republished under its MIT licence (© open-octo). 202 words, ~996 tokens.
.claude/skills/legal-search/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.系统性地找到、核实、引用现行有效的中国大陆法律依据,而不是凭印象说"法律规定 大概是这样"。核心纪律:只引用你真正检索到、能看到原文的规范,检索不到就 如实说检索不到,不用训练知识里的印象填空。
按效力层级从高到低系统检索,遇到冲突时高位阶优先:
| 层级 | 制定机关 | 效力 |
|---|---|---|
| 法律 | 全国人大及其常委会 | 最高(低于宪法) |
| 行政法规 | 国务院 | 低于法律 |
| 司法解释 | 最高人民法院、最高人民检察院 | 具有法律效力,各级法院必须适用 |
| 部门规章 | 国务院各部委 | 低于行政法规 |
| 地方性法规/地方政府规章 | 省级/设区市人大、政府 | 仅在其行政区域内有效 |
| 指导性案例 | 最高人民法院/最高人民检察院发布 | 具有参照效力(应参照,非强制适用) |
| 典型案例 | 最高人民法院等发布 | 仅供参考,不具法律约束力 |
不要混淆"司法解释"(有法律效力)和"指导性案例"(有参照效力)——这是最常见 的检索错误之一。
优先用这些,不臆测某条规定的具体内容:
| 渠道 | 网址 | 用途 |
|---|---|---|
| 国家法律法规数据库 | flk.npc.gov.cn | 法律、行政法规官方原文 |
| 全国人大官网 | www.npc.gov.cn | 法律文本 |
| 国务院官网 | www.gov.cn | 行政法规原文 |
| 中国裁判文书网 | wenshu.court.gov.cn | 公开裁判文书 |
| 人民法院案例库 | rmfyalk.court.gov.cn | 最高法权威案例 |
| 最高人民法院官网 | www.court.gov.cn | 司法解释、指导性案例、典型案例 |
| 北大法宝 | www.pkulaw.cn | 综合法规数据库(部分内容需订阅) |
检索失败、找不到权威原文时,明确告诉用户"未能检索到官方原文",不要退而用训练 知识里的印象替代——这比"检索不到"更容易造成错误依赖。
每一条法律依据都必须包含以下要素,不能只写"根据XX法规定":
| 要素 | 说明 | 示例 |
|---|---|---|
| 文件名称 | 完整名称 | 《中华人民共和国劳动合同法》 |
| 文号 | 制定机关和文件编号 | 主席令第65号 |
| 生效时间 | 何时生效/最近一次修订 | 2008年1月1日起施行 |
| 条款编号 | 具体到条(能到款、项更好) | 第四十七条 |
| 原文引用 | 逐字引用条文原文,不要转述 | "经济补偿按劳动者在本单位工作的年限,每满一年支付一个月工资的标准向劳动者支付……" |
| 效力状态 | 有效/已修改/已废止 | 有效 |
引用司法解释时额外标注发布机关和文号格式(如"法释〔2020〕17号");引用地方性 规定时标注适用的行政区域范围(如"仅适用于上海市")。
这是最重要的纪律:绝不编造案例(案号、案情、裁判结果都不能编)。
每个案例引用必须包含:案例名称、案例类型(指导性案例/典型案例/公报案例/公开 判决书)、来源(发布机关或收录平台)、发布/判决日期、裁判要点(逐字或准确概括 原文)、相关法条、效力说明。
来源优先级(从高到低):
| 优先级 | 来源 | 效力 |
|---|---|---|
| 最高 | 最高人民法院指导性案例 | 具有参照效力,各级法院审理类似案件应参照 |
| 高 | 最高人民法院公报案例 | 具有参考价值 |
| 高 | 最高人民检察院指导性案例 | 具有参照效力 |
| 中 | 中国裁判文书网公开判决 | 需核实真实性(有真实案号和判决日期) |
| 低 | 律师事务所专业文章中援引的案例 | 仅作参考,需核实 |
| 禁止 | 匿名来源、社交媒体、未经核实的案例、学术论文中未标注案号的案例 | 不可使用 |
禁止行为:
检索不到真实案例支撑某个论点时,如实说"未检索到可靠的支撑案例",不要为了让 分析看起来完整就编一个。
标注法条之间的引用关系,帮助使用者理解规范体系:
格式:→ 引用关系:《劳动合同法》第87条 → 《劳动合同法》第47条(经济补偿计算标准)
遇到规范之间不一致:
| 事项 | 期限 | 依据 |
|---|---|---|
| 普通民事诉讼时效 | 3年 | 民法典第188条 |
| 最长权利保护期 | 20年(自权利受损之日起) | 民法典第188条 |
| 劳动仲裁时效 | 1年(拖欠劳动报酬在劳动关系存续期间不受此限) | 劳动争议调解仲裁法第27条 |
| 民事判决上诉期限 | 15日(裁定10日) | 民事诉讼法相关规定 |
| 再审申请期限 | 6个月(判决生效后) | 民事诉讼法相关规定 |
| 执行申请期限 | 2年(判决生效后) | 民事诉讼法相关规定 |
这张表是快速参考起点,不是最终依据——引用到正式文书/意见前,务必按上面的 检索渠道核对现行有效条文,法律修订会改变期限和条号。
| 错误 | 说明 | 正确做法 |
|---|---|---|
| 混淆司法解释和指导性案例 | 前者有法律效力,后者有参照效力,不是一回事 | 引用前确认文件性质 |
| 引用已失效/被修改的条文 | 法律会修订,旧版本条号和内容可能已变 | 核查效力状态,标注生效/修订时间 |
| 把地方性规定当全国通行规则 | 地方性法规只在本行政区域有效 | 标注适用范围 |
| 把部门规章误认成行政法规 | 制定机关不同,效力层级不同 | 按制定主体正确区分 |
| 遗漏新旧法替代关系 | 未说明法律变更的时间节点 | 标注变更时间和过渡适用规则 |
| 把典型案例当指导性案例引用 | 效力完全不同 | 引用前核实案例类型 |
结论表达要标注确定性强度("高概率成立""存在争议""证据/依据不足无法判断"),
不用"必然""一定"这类绝对化表达。检索到的内容作为背景/依据呈现,具体到某个
争议的论证构建交给 legal-reasoning 技能;本技能负责把"依据是什么"这一步
做扎实。
legal-reasoning;批量文档审查用
legal-due-diligence。© open-octo, 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 2 other files in internal/skills/experts/legal-search of open-octo/octo-agent.
Open the folder on GitHubat commit bbae80e
Legal Search 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 Search this skillopen-octo/octo-agent | 125 | — | ~996 | Automated safety check: Pass | MIT | |
| Ljg Islijigang/ljg-skills | 7.5k | — | ~671 | Automated safety check: Pass | MIT | |
| Conflict ResolutionTHUYRan/Legal-Skills-Chinese | 874 | — | ~5.5k | Automated safety check: Pass | None | |
| Other Legal RetrievalTHUYRan/Legal-Skills-Chinese | 874 | — | ~5.2k | Automated safety check: Pass | None | |
| Case RetrievalTHUYRan/Legal-Skills-Chinese | 874 | — | ~6.7k | Automated safety check: Pass | None | |
| Light Idea CritiqueLight0305/Light-skills | 640 | — | ~4.7k | Automated safety check: Pass | MIT |
lijigang/ljg-skills
把一个名词或概念写成可使用的理解:先用普通话讲清它是什么、与相邻概念差在哪里,再说明它怎样运作、会改写什么判断,最后给出面对它时的行动抓手。USE WHEN 用户问 X 是什么、怎么理解、意味着什么、为什么重要、以后怎样判断或使用;尤其适合技术概念、制度、产品、角色、方法、规范与实践。NOT FOR 单纯查事实、公式证明、逐步操作教程、纵向因果深挖(用 ljg-think)或母题结构(用…
THUYRan/Legal-Skills-Chinese
当AI智能体在法律推理过程中遇到以下情形时触发本技能:(1)多个法律条文均可适用于同一事实(法条竞合);(2)不同证据之间存在矛盾或不一致(证据矛盾);(3)案件存在多个争议焦点需要确定审理或分析顺序(争点优先级排序);(4)不同法律渊源(法律、法规、司法解释、地方性法规等)对同一问题作出不同规定(法源冲突);(5)当事人主张与法律适用之间存在张力需要协调。本技能是法律推理的核心枢纽能力,几乎所…
THUYRan/Legal-Skills-Chinese
当智能体需要检索法律条文、司法解释、典型案例之外的辅助性法律信息时触发此技能。具体包括但不限于:立法背景资料(草案说明、审议报告、立法机关答记者问)、监管案例与行政处罚决定、地方指导意见与会议纪要、部门规章的起草说明与政策解读、行业标准与技术规范、法律实施情况报告、人大常委会执法检查报告、白皮书与政策文件、学术通说与权威教材观点、域外法律比较资料等。当用户问题涉及'为什么这样规定''立法目的是什…
THUYRan/Legal-Skills-Chinese
当用户需要查找与当前法律问题相关的类似案例、相关判决、裁判规则时触发此技能。典型触发场景包括:用户明确要求查找类似案例或判例;需要通过既往裁判支撑法律论点;进行案件预判需要参考同类判决;撰写法律文书需要引用权威案例;分析某一法律问题的司法实践趋势;对比不同法院、不同时期对同一问题的裁判立场。关键词包括但不限于:类似案例、相关判决、判例检索、裁判规则、同类案件、指导性案例、典型案例、司法观点、裁判…
Light0305/Light-skills
Light 科研主线第 4 步·审 idea:以顶会审稿人标准严审 idea,撞车/无创新 fatal flaw 一票否决(critical 门), 逼出真能发表的 idea。何时用:用户问"这 idea 行不行/够不够新/能不能发""帮我严审/挑刺/找致命问题" / idea 定稿前把关 / 收到 idea-generation 的候选要审 / 怀疑撞车(被人做过)。触发词:审 idea /…
CronusL-1141/AI-company
CC 与 Codex(或两个各自独立运行的 CC 会话)之间用 OS 信道留言、查未读、被新消息唤醒。触发:要跨 harness 把结论交给对端、给对端留言或清未读、用户问"能不能让 Claude 和 Codex 互相沟通"。不适用于派子 agent 或 workflow 内部协作——那是 Agent 与 SendMessage,信道对同会话的子 agent 没有意义。
open-octo/octo-agent
Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu, Volcengine, Stability, FLUX, Ideogram, MiniMax, and more), search openly-licensed…
open-octo/octo-agent
Create, read, and edit Excel (.xlsx) spreadsheets programmatically with openpyxl — cell values, formulas, styling (fonts/fills/borders/alignment/number formats), merged cells, multiple sheets…
open-octo/octo-agent
Design guidance for any HTML/Markdown file shown in octo's Artifacts panel — reports, dashboards, architecture/system diagrams, generated UIs, slide-style pages, 3D scenes.
open-octo/octo-agent
Review local code changes. An agent skill from open-octo/octo-agent.
open-octo/octo-agent
AI-driven multi-format SVG content generation system. An agent skill from open-octo/octo-agent.
open-octo/octo-agent
Configure octo's global settings through guided conversation — set up AI model endpoints (providers, API keys, models), adjust agent defaults (reasoning effort, permission mode, coauthor, workspace…
系统性检索中国大陆现行有效的法律、行政法规、司法解释、指导性案例,并按引用规范 输出。Use when 用户问"根据什么法律""法律怎么规定""这样做违法吗""能不能告" "查一下相关法条/司法解释/指导性案例"等需要查找并引用具体法律依据的问题。. Legal Search is an agent skill from open-octo/octo-agent.
Legal Search fits situations like: 用户问根据什么法律法律怎么规定这样做违法吗能不能告 查一下相关法条/司法解释/指导性案例等需要查找并引用具体法律依据的问题.
Run `npx skills add open-octo/octo-agent --skill legal-search -a claude-code`. Or copy the skill folder (internal/skills/experts/legal-search in open-octo/octo-agent) into .claude/skills/legal-search in your project. Claude Code loads it when a task matches its description.
Run `npx skills add open-octo/octo-agent --skill legal-search -a codex`. Or copy the skill folder (internal/skills/experts/legal-search in open-octo/octo-agent) into .agents/skills/legal-search 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 open-octo/octo-agent --skill legal-search -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-search, .gemini/skills/legal-search, .github/skills/legal-search and .opencode/skills/legal-search in your project.
SKILL.md names no scripts, command-line tools or credentials: Legal Search 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.
Legal Search is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 996 tokens (SKILL.md is roughly 4k 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 Search: Ljg Is (lijigang/ljg-skills, 7.5k stars), Conflict Resolution (THUYRan/Legal-Skills-Chinese, 874 stars), Other Legal Retrieval (THUYRan/Legal-Skills-Chinese, 874 stars) and Case Retrieval (THUYRan/Legal-Skills-Chinese, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
open-octo (a GitHub organization) maintains it in open-octo/octo-agent, which has 125 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 10, 2026.
Source: open-octo/octo-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.