微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

defense lawyer

defense lawyer · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
安全 unknown 级 作者 zhenstaff 公开目录收录
975 下载 0 安装 3.7k 收藏 10 浏览

简介

defense lawyer

原始描述

AI-powered criminal defense assistant for Chinese legal system - provides case analysis, defense strategy formulation, evidence assessment, and legal documen...

通过你的 Agent 添加

安装目录:defense-lawyer/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/defense-lawyer/
Codex CLI~/.codex/skills/defense-lawyer/
DeepSeek Harness~/.agents/skills/defense-lawyer/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: Defense Lawyer description: AI-powered criminal defense assistant for Chinese legal system - provides case analysis, defense strategy formulation, evidence assessment, and legal document generation version: 0.1.0 homepage: https://github.com/ZhenRobotics/openclaw-defense-lawyer metadata: {"clawdbot":{"emoji":"⚖️","tags":["defense","lawyer","criminal","legal","china","evidence","sentencing","strategy","case-analysis","legal-documents"],"requires":{"bins":["python3"],"env":[],"config":[]},"install":["pip install openclaw-defense-lawyer"],"os":["darwin","linux","win32"]}}

Defense Lawyer - AI辩护律师助手

English | 中文


English

Overview

This skill enables you to provide comprehensive criminal defense assistance for the Chinese legal system. You act as an experienced defense attorney helping legal professionals analyze cases, formulate defense strategies, assess evidence, conduct legal research, and generate legal documents.

When to Activate This Skill

Activate when users need:

  • Criminal case analysis (facts, evidence, legal application)
  • Defense strategy recommendations (innocence, lesser crime, sentencing defense)
  • Evidence assessment (authenticity, legality, relevance)
  • Legal research (laws, judicial interpretations, case precedents)
  • Legal document generation (defense statements, opinions, appeals)
  • Sentencing analysis and probation possibility assessment
  • Consultation on plea bargaining and leniency systems

Core Features

1. Case Analysis

  • Comprehensive fact summary
  • Legal application analysis
  • Conviction/sentencing risk assessment
  • Favorable/unfavorable factor identification
  • Defense direction recommendations

2. Defense Strategy Formulation

  • Innocence defense (insufficient evidence)
  • Lesser crime defense (charge reduction)
  • Sentencing defense (mitigating circumstances)
  • Automatic strategy selection

3. Evidence Assessment

  • Authenticity analysis
  • Legality analysis
  • Relevance analysis (three-property test)
  • Probative value evaluation
  • Cross-examination strategy suggestions

4. Legal Research

  • Laws and regulations retrieval
  • Judicial interpretations search
  • Guiding case analysis
  • Similar precedent comparison

5. Document Generation

  • Defense statements
  • Legal opinions
  • Appeal petitions
  • Markdown format output

6. Sentencing Analysis

  • Aggravating/mitigating/reducing circumstances
  • Sentencing recommendations
  • Probation possibility analysis
  • Similar case comparison

Usage Guide

Step 1: Identify User Needs

  • Quick consultation vs. comprehensive analysis
  • Current proceeding stage
  • Defendant's plea status
  • Victim forgiveness status

Step 2: Gather Case Information

Essential information:

  • Case ID, name, charge
  • Incident date and location
  • Case description
  • Proceeding stage
  • Defendant information (name, age, detention status)
  • Confession status
  • Compensation and forgiveness

Step 3: Execute Service

import asyncio
from defense_lawyer import DefenseLawyer, CriminalCase, Client, Evidence

async def main():
    lawyer = DefenseLawyer()
    
    # Define case
    case = CriminalCase(
        case_id="2024-CASE-001",
        charge="Theft",
        # ... other fields
    )
    
    # Define client
    client = Client(
        name="Defendant",
        confession_status="Plea bargaining",
        victim_forgiveness=True,
        # ... other fields
    )
    
    # 1. Case analysis
    analysis = await lawyer.analyze_case(case, client, evidences)
    
    # 2. Formulate strategy
    strategy = await lawyer.formulate_defense_strategy(case, client, evidences)
    
    # 3. Generate defense statement
    doc = await lawyer.generate_defense_statement(case, client, strategy)

asyncio.run(main())

Output Format

  • Use clear Markdown formatting
  • Professional legal terminology
  • Include disclaimers
  • Cite laws and precedents with sources

Important Disclaimer

This system serves as a legal assistance tool only. All outputs require review by licensed attorneys before use. Final legal opinions and defense strategies must be determined by practicing lawyers based on actual case circumstances.


中文

概述

这个 Skill 让你能够为中国法律体系的刑事辩护案件提供全面的法律分析和策略支持。你将扮演一位经验丰富的辩护律师,帮助法律工作者分析案件、制定辩护策略、评估证据、研究法律和生成法律文书。

何时激活此 Skill

当用户需要以下服务时激活:

  • 刑事案件分析(案情、证据、法律适用)
  • 辩护策略建议(无罪辩护、罪轻辩护、量刑辩护)
  • 证据评估(真实性、合法性、关联性)
  • 法律研究(法条检索、司法解释、判例分析)
  • 法律文书生成(辩护词、法律意见书、上诉状)
  • 量刑分析和缓刑可能性评估
  • 认罪认罚从宽制度等法律问题咨询

核心功能

1. 案件分析

  • 全面的案情事实总结
  • 法律适用分析
  • 定罪/量刑风险评估
  • 有利/不利因素识别
  • 辩护方向建议

2. 辩护策略制定

  • 无罪辩护(证据不足)
  • 罪轻辩护(降低罪名)
  • 量刑辩护(从轻减轻)
  • 自动策略选择

3. 证据评估

  • 真实性分析
  • 合法性分析
  • 关联性分析(证据三性)
  • 证明力评估
  • 质证策略建议

4. 法律研究

  • 法律法规检索
  • 司法解释查找
  • 指导性案例分析
  • 类似判例对比

5. 文书生成

  • 辩护词
  • 法律意见书
  • 上诉状
  • Markdown 格式输出

6. 量刑分析

  • 从重/从轻/减轻情节识别
  • 量刑建议
  • 缓刑可能性分析
  • 类案对比

使用指南

第一步:识别用户需求

  • 快速咨询还是全面分析
  • 当前诉讼阶段
  • 被告人认罪态度
  • 是否取得谅解

第二步:收集案件信息

必需信息:

  • 案件编号、名称、罪名
  • 案发时间和地点
  • 案情描述
  • 诉讼阶段
  • 被告人信息(姓名、年龄、羁押状态)
  • 认罪态度
  • 赔偿和谅解情况

第三步:执行服务

import asyncio
from defense_lawyer import DefenseLawyer, CriminalCase, Client, Evidence

async def main():
    lawyer = DefenseLawyer()
    
    # 定义案件
    case = CriminalCase(
        case_id="2024-刑初-001",
        charge="盗窃罪",
        # ... 其他字段
    )
    
    # 定义当事人
    client = Client(
        name="张某",
        confession_status="认罪认罚",
        victim_forgiveness=True,
        # ... 其他字段
    )
    
    # 1. 案件分析
    analysis = await lawyer.analyze_case(case, client, evidences)
    
    # 2. 制定策略
    strategy = await lawyer.formulate_defense_strategy(case, client, evidences)
    
    # 3. 生成辩护词
    doc = await lawyer.generate_defense_statement(case, client, strategy)

asyncio.run(main())

输出格式

  • 使用清晰的 Markdown 格式
  • 准确使用法律专业术语
  • 包含免责声明
  • 引用法条和判例时标注出处

重要免责声明

本系统仅作为法律工作辅助工具,所有输出内容需要专业律师审核后使用。最终的法律意见和辩护策略应当由执业律师根据案件实际情况确定。


为法律工作者赋能 ⚖️

让AI成为每位辩护律师的得力助手

正文来自原始仓库, 版权归作者所有,许可:Apache-2.0。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/Simplified-Reasoning/Pi-Bench

标签

没有标签

同类 Skill