Legal Scene F1 Consultation logo

Legal Scene F1 Consultation

Community
moyupeng0422
legal-scene-F1-consultation

咨询场景子skill(F1,融合模式改造自「法律问题研究分析」skill,含简单咨询/深度咨询/咨询意见书三层,v3 拆层——骨架+layers/f1-1-quick|f1-2-memo|f1-3-opinion 按需加载)。由总skill(legal-mcp-router)识别到 L2=F1 后分发本子skill 执行。职责=内容产出:L3复杂度分层判断 → 五阶段研究流程(问题拆解→法律依据检索→裁判规则与案例检索→交叉校验与IRAC综合分析→报告生成)→ 输出快答/研究备忘录(8章报告)/咨询意见书。所有工具参数/预算/止损/打卡纪律引用总skill references(7个法律MCP体系),本skill不重复维护。知识产权案件专项检索策略见 references/ip-strategies.md。

Add to TypingMind

Overview

Publishermoyupeng0422
Repositorylegal-tools
Skill namelegal-scene-F1-consultation
Stars
42
Forks
10
Bundled files
8
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by moyupeng0422 on GitHub. Read the source before you install it.

Installation

Install the Legal Scene F1 Consultation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/moyupeng0422/legal-tools/tree/main/法律MCP路由Skill/subskills/legal-scene-F1-consultation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Legal Scene F1 Consultation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Legal Scene F1 Consultation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Legal Scene F1 Consultation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

F1 咨询子skill(legal-scene-F1-consultation · 融合模式 · v3 拆层)

定位:内容产出器。总skill 完成 L1/L2 识别后,以子agent 方式启动本skill 执行。 执行权/决策权边界(与总skill 分工,违反即越权):

  • 本skill(子agent)有:L3复杂度判断、调用方案设计、按批准方案执行、步骤汇报、输出检索报告草稿
  • 总skill(主agent)有:方案审核/批准、纠错/换MCP/升级决策、输出审核、打卡、对账 来源:融合改造自「法律问题研究分析」skill(五阶段研究流程/IRAC框架/8章报告模板/质量校验清单/工作原则/IP专项策略留核;3-MCP 调用层换腹为 7-MCP 速查卡引用)。原 F1 首版(2026-08-14)的 L3 分层/功能编排/预算止损注记/坑位引用保留于各层流程内。 v3 拆层(2026-08-27,abtest-F1-20260827 优化;同日复测后修订):本 SKILL.md 为骨架(判层+总览+衔接协议+纪律),三层流程详情按层加载——F1.1 → layers/f1-1-quick.md(主agent 直执行,不读本骨架不启子agent);F1.2 → layers/f1-2-memo.md(子agent);F1.3 → layers/f1-2-memo.md + layers/f1-3-opinion.md(子agent)。判层后只读对应层文件,禁读其余 layers(总skill 分发协议加载纪律)。 不应触发的场景(由总skill 路由把关):单纯查企业工商信息(企查查MCP)、纯事实查询无需法律分析、文件格式转换、非中国法律问题、案例对比与裁判预测为主意图(→A2)。

一、L3 复杂度分层 × 模式选择(进入即做,决定整套编排)

对用户需求做三层分类(若判断不唯一,取更深的层级,宁可多研究不可漏):

层判断线索(命中任一)对应研究流程加载文件输出
F1.1 简单咨询问题明确、单一法条/时效查询("时效多久""某条怎么规定")、简单是非问轻量 5 步(主agent 直执行,总skill 轻量分发协议;详见 layers/f1-1-quick.md)layers/f1-1-quick.md(主agent 直读,不读本骨架)对话内快答,不落文件
F1.2 深度咨询陌生领域/跨领域、需搭知识框架、类案研究、客户带具体案号来("这个(2022)鲁0191民初3255号案子你看看")Phase 1-5 全量layers/f1-2-memo.md研究备忘录(8章报告,落盘 Obsidian)
F1.3 咨询意见书书面意见、正式答复、出具意见、客户要求正式交付Phase 1-5 全量 + 功能6权威案例强化 + 功能8防幻觉核验 + 模板切换为意见书layers/f1-2-memo.md + layers/f1-3-opinion.md正式意见书

三层递进:F1.2 = F1.1 + 深度检索;F1.3 = F1.2 + 权威案例 + 防幻觉。接到需求先定层,再读对应 layer 文件按其流程执行。

二、研究流程总览(Full 模式主干,F1.2/F1.3 适用)

换腹声明:以下流程中所有 MCP 调用,工具参数按 ../../references/parameter-cards/ 功能速查卡执行(f1法条精准/f2语义找法条/f3精准找案例/f5类案检索/f6权威案例/f7时效核验/f8引用校验/f9法条下钻);可用 MCP 与预算按 ../../data/user-profile.json;升级顺序与档位按 ../../references/upgrade-table.md 与 ../../references/credit-dictionary.json 字典原文(功能路径以速查卡/upgrade-table 定序为唯一依据,路径外工具不得擅自引入——总skill 红线第7条;禁凭记忆写档位)。原 skill 写死的 3 库工具名(flk_search / faxin_case_search / rmfyalk_search 等)一律以速查卡为准。

用户提出法律问题
      │
      ▼
[Phase 1] 问题理解与拆解
      │  识别类型 → 提取要素 → L3定层 → 制定检索计划 → 向用户确认方向
      │  ★ 退出机制:非中国法律问题直接终止(上报总skill)
      │  ★ F1.1 不走本主干(轻量 5 步见 layers/f1-1-quick.md)
      ▼
[Phase 2] 法律依据检索(多源并行)
      │  功能1法条精准定位核心法条原文 + 功能2语义兜底 + 功能7时效核验
      │  ★ 知识产权案件:加载 references/ip-strategies.md 获取预制检索策略
      ▼
[Phase 3] 裁判规则与案例检索(多源并行)
      │  功能5类案检索(裁判规则)+ 功能6权威案例(指导性/参考案例)
      │  + 功能3精准找案例(客户带案号时)+ 功能9法条下钻(陌生领域搭框架)
      ▼
[Phase 4] 交叉校验与综合分析
      │  核实法条准确性 → 比对裁判规则 → 识别分歧 → [verify] 标记 → IRAC框架
      │  ★ F1.3 在本 Phase 完成后强制功能8防幻觉核验
      ▼
[Phase 5] 报告生成
      加载 references/report-template.md(F1.2)/ 意见书模板(F1.3)→ 填充 → 保存

Phase 详解见 layers/f1-2-memo.md 第三节。

三、与总skill 的衔接协议(子agent 执行规范)

① 方案设计:按任务列"工具×参数×预估次数"(功能编号表述),估算预算 → 提交总skill审核
   (预算对照 ../../references/credit-dictionary.json 字典原文;收费项标注,威科/超限须用户确认)
   ⚠️ 方案须按下方"方案提交模板"四段结构化呈现,差异点逐条列举(不许省略或合并叙述)
② 方案批准后执行:每次MCP调用后立即 ../../scripts/log_usage.py 写日志(18字段),自己累计对照上限
   ⚠️ F1.1 快答虽不落文件,log_usage 记账 + ③步骤汇报不豁免
③ 步骤汇报:每个检索环节(Phase 2 法律依据跑完 / Phase 3 规则案例跑完)向总skill 汇报——
   用了哪些工具/结果概要/累计消耗/有无空结果(只传摘要,不传检索全文)
   ⚠️ 末尾必附自查行:"本阶段调用___次 = usage_log 新增___条"(不等即自查漏记,补齐再汇报;
   retest-C2 教训:13 次调用漏记 1 条,靠人工数 jsonl 才发现)
④ 遇问题立即上报:错误类型+现场信息,不自行瞎猜重试(400改参/401刷新凭据等决策归总skill)
⑤ 输出草稿 → 提交总skill 输出审核(来源清晰/可追溯回查/已校验三维度)→ 通过后交付,不通过按补正指令修正(≤2次)

F1.1 轻量模式:无子agent 环节——主agent 直接执行 layers/f1-1-quick.md(轻量分发协议,总skill references/lightweight-protocol.md):备案制、打卡 3 项、免 verify_usage;记账/来源标注/止损红线不豁免。本节衔接协议仅适用 F1.2/F1.3。

方案提交模板(①环节必填,2026-08-27 立——覆盖约定留痕从自由发挥变为结构化必填,主agent 审核逐项打勾;来源:retest-F1-20260827 建议3):

【方案设计书】任务ID:___
一、判层结论:F1.__(依据:___——命中 layer 判层线索中的哪些特征)
二、调用清单(每行一次调用,档位引 credit-dictionary 原文,禁凭记忆):
   | # | 工具(MCP.tool) | 关键参数 | 预估次数 | 档位 | 小计 |
三、预算合计:___分(北大法宝___/元典___/威科___次;收费项是否需用户确认:___)
四、与总skill 默认规则的差异点清单(对照本skill 第四节覆盖约定逐条;无差异写"无"):
   | # | 覆盖对象 | 差异内容 | 依据(覆盖约定#) | 是否需主agent 批准 |

主agent 审核对第四段逐条打勾放行(子skill 覆盖约定优先,红线/预算硬约束不可覆盖)。

禁止:自行决定换MCP/升级/改预算;未经批准调用收费项;编造"该法条不存在/无此类规定"(空结果≠无数据,须上报);引入速查卡路径外的工具(含免费工具)——路径内全灭须上报主agent 批准(总skill 红线第7条)。

四、覆盖约定声明(subskill 覆盖约定优先机制,2026-08-27 立)

本skill 存在与总skill 默认规则不同的覆盖约定,子agent 提交方案时须列出,主agent 按"子skill 覆盖约定优先"放行(红线/预算硬约束不可覆盖):

#覆盖对象约定内容理由
1upgrade-table 4.2 确定型"命中即止"(功能1法条)F1.2/F1.3:关键结论(决定答复方向的法条/案号)须 ≥2 个独立数据源——法条:功能1 路径命中后,按 f1 卡交叉段交叉(范围=最核心 1-2 条非逐条;降档原则:主源为额度层时交叉优先免费源);案号:按 f3 卡案号核验路径免费层双源,源间矛盾或全空才升级北大法宝 fulltext(25分)——双源一致但与客户描述不符→如实报告+提示核实,不升级。F1.1:不覆盖(默认单源+来源标注;结果存疑才交叉,交叉时同款路径)咨询场景防幻觉是交付底线——"确定型即停"防的是同源重复检索,交叉验证防的是单源偏差,二者边界:即停=不重复检索同一数据源;交叉=关键结论换独立数据源验证。交叉计入方案默认编排(不另设预算池)

五、纪律与预算(引用总skill,不重复)

  • 打卡:总skill 统一打卡(□1-□9;F1.1 轻量模式缩至 3 项),本skill 只负责步骤汇报提供依据
  • 预算:北大法宝≤500分/任务、元典≤50分/任务、威科逐次确认(总skill 批准方案中下发) ⚠️ 功能6 预算与止损(2026-08-14 P0修正,源自严格版重测超限):北大法宝 caseGrade 检索空结果也计费25分,且追求指导性/公报档位常需2次+检索——方案预算至少预留2次(50分);caseGrade 空结果即止损,改走免费源(RMFYALK 参考案例 / 法信裁判规则),勿为"补强档位"继续在北大法宝上重试
  • 止损:同工具失败≤2次即停上报;401类先刷新凭据(pitfall #29/#32);空 1 次即按路径升级,勿同工具换词重试(pitfall #34 教训)
  • 坑位:每次调用前对照 pitfall-checklist(重点:功能2勿用威科除非关键语义难题、get_case_list 案号放 fulltext、条号格式三态、北大法宝禁用AGG(pitfall #15)、f6 用 key_content 勿用 keyword(#16))

六、工作原则

  1. 法条不凭记忆:所有引用法条必须通过 MCP 检索确认,不依赖记忆中可能过时的内容
  2. 多源交叉验证:关键结论至少有 2 个独立数据源支持,单源信息可能存在偏差(分层执行口径见第四节覆盖约定)
  3. 如实呈现分歧:不同来源对同一问题的观点可能存在分歧,必须如实标注而非选择性引用
  4. 标记不确定性:无法通过 MCP 确认的内容用 [verify] 标记,让用户知道哪些需要进一步验证
  5. 分层输出:核心法条和关键案例优先呈现,辅助性内容放在附录或折叠区域
  6. 区分事实与判断:法条原文和案例裁判要点是事实,对法律适用的分析是判断,二者须明确区分

七、免责声明

每份研究报告(F1.2/F1.3)必须附带以下声明:

⚠️ 本报告基于公开法律数据库检索结果生成,受数据库覆盖范围、时效性和检索关键词限制。报告中的法律分析供研究参考,不构成法律意见。具体法律问题请结合案件全部事实和证据,由执业律师出具正式法律意见。

八、参考文件(随迁资产 + v3 拆层,按需加载)

文件加载时机内容
layers/f1-1-quick.md判层=F1.1F1.1 轻量流程(5步)+ 三要素快答模板 + 转全流程触发条件
layers/f1-2-memo.md判层=F1.2/F1.3Phase 1-5 详解 + F1.2 八章备忘录模板 + 质量校验清单
layers/f1-3-opinion.md判层=F1.3意见书增量:功能8防幻觉核验 + 五部分意见书模板
references/ip-strategies.mdPhase 2(知识产权案件)专利/商标/著作权/商业秘密专项检索策略(功能编号×检索词组)
references/report-template.mdPhase 5(F1.2)完整的 Obsidian 研究报告模板(8章)
references/citation-url-rules.mdPhase 5(F1.2/F1.3)引用来源 URL 构造与链接放置规范(源自原 skill CLAUDE.local.md,含7-MCP适配规则)
scripts/generate_report.jsDOCX 可选JSON → DOCX 报告生成脚本(本子skill 自主管理,不属总skill MCP 管控范围)

references/scripts 由源 skill「法律问题研究分析」全量随迁(2026-08-26):report-template.md / generate_report.js 字节一致未做换腹编辑;ip-strategies.md 做了手术换腹;citation-url-rules.md 为新增。DOCX 生成步骤详见 layers/f1-2-memo.md 第五节。

变更归档注记(自 registry 迁入 2026-08-27)

原注册表 note 全文照抄,溯源零丢失(registry 已瘦身,运行字段不受影响):

融合模式(2026-08-26 合并,v2.0.0):以「法律问题研究分析」skill 为主体重构——Quick/Full 映射为 F1.1/F1.2/F1.3 L3分层,五阶段研究流程(问题拆解→法律依据→裁判规则与案例→交叉校验+IRAC→报告生成)/8章报告模板/质量校验清单/工作原则/IP专项策略留核;原3-MCP调用层换腹为7-MCP速查卡引用(f1/f2/f3/f5/f6/f7/f8/f9)。references/scripts 全量随迁(ip-strategies.md 手术换腹,report-template.md 正文一致+头部说明,generate_report.js 字节一致),新增 citation-url-rules.md(源自原skill CLAUDE.local.md,含7-MCP适配)。原 F1 首版(2026-08-14 WorkBuddy 产出)的 L3分层/功能编排/预算止损注记(caseGrade空结果止损等)/坑位引用保留于各层流程内。留痕:discussions/2026-08-26-F1合并.md。总skill识别L2=F1即分发本skill

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Legal Scene F1 Consultation AI skill do?

咨询场景子skill(F1,融合模式改造自「法律问题研究分析」skill,含简单咨询/深度咨询/咨询意见书三层,v3 拆层——骨架+layers/f1-1-quick|f1-2-memo|f1-3-opinion 按需加载)。由总skill(legal-mcp-router)识别到 L2=F1 后分发本子skill 执行。职责=内容产出:L3复杂度分层判断 → 五阶段研究流程(问题拆解→法律依据检索→裁判规则与案例检索→交叉校验与IRAC综合分析→报告生成)→ 输出快答/研究备忘录(8章报告)/咨询意见书。所有工具参数/预算/止损/打卡纪律引用总skill references(7个法律MCP体系),本skill不重复维护。知识产权案件专项检索策略见 references/ip-strategies.md。

Why use Legal Scene F1 Consultation on TypingMind?

Because you install it once and use it with any model. Legal Scene F1 Consultation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Legal Scene F1 Consultation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/moyupeng0422/legal-tools/tree/main/法律MCP路由Skill/subskills/legal-scene-F1-consultation. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Legal Scene F1 Consultation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Legal Scene F1 Consultation?

As many as you like. As long as a model supports skills, you can use Legal Scene F1 Consultation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Legal Scene F1 Consultation AI skill free?

It is published on GitHub by moyupeng0422. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇