AnythingButLaw
Description
法外功夫 — Non-legal business skills for lawyers. 9 analytical frameworks (decision analysis, game theory, contract design, accounting, finance, economics, statistics) as a Claude Code AgentSkill.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
法外功夫 AnythingButLaw.skill
*法学院教你法律,但客户的问题从来不只是法律。*
[](LICENSE) [](https://docs.anthropic.com/en/docs/claude-code) [](https://github.com/anthropics/claude-code)
客户问你和解方案的净现值是多少。
对方律师在歧视案中扔出一份回归分析。
尽调中 CFO 的数字对不上,但你说不出哪里不对。
合同条款看着没问题,但激励机制全是坑。
**这些不是法律问题。这些才是律师真正面对的问题。**
**法外功夫** 将九大商业分析框架蒸馏成一个 AI 技能,赋予律师法学院从未教过的非法律超能力。
[知识域](#九大知识域) · [安装](#安装) · [使用](#使用方法) · [示例](#示例) · [为什么做这个](#为什么做这个)
[English](README_EN.md)
它能做什么
法外功夫为 Claude 装备了 **9 大深度分析框架**,覆盖现代法律实务的核心非法律需求。每个框架都包含 **LaTeX 公式推导、worked examples、对抗清单、经典判例、常见陷阱速查表**:
- 构建决策树 用于和解谈判,包含期望值、贝叶斯更新、VOI、效用函数、敏感性分析
- 运用博弈论 识别道德风险、逆向选择、可信 vs 空洞威胁、Rubinstein 讨价还价、重复博弈
- 设计合同 分析 6 种合同类型、委托代理模型、hold-up、关系专用投资、关系型合同
- 解读财务报表 在尽调中发现红旗信号:DuPont 分解、Altman Z-Score、Beneish M-Score
- 计算现值、DCF、WACC、CAPM、Black-Scholes 用于损害赔偿量化和企业估值
- 运行事件研究法 量化证券欺诈的 per-share damages
- 分析市场 运用 HHI、SSNIP、弹性、消费者剩余、掠夺性定价框架支持反垄断工作
- 运用法经济学 评估 Hand 公式、Calabresi-Melamed、Becker 犯罪模型、效率违约
- 评估统计证据 包括假设检验、贝叶斯推理、检察官谬误、Daubert 标准、多重比较校正
- 挑战回归分析 识别遗漏变量、多重共线性、双向因果,使用 IV、DiD、RD 等现代因果推断工具
九大知识域
| # | 域 | 参考文件 | 律师核心场景 |
|---|---|---|---|
| 1 | 决策分析 | decision-analysis.md |
诉讼策略、和解、贝叶斯、VOI、效用函数 |
| 2 | 博弈论与信息 | game-theory.md |
讨价还价、道德风险、逆向选择、承诺机制 |
| 3 | 合同设计 | contracting.md |
委托代理、hold-up、关系型合同、违约救济 |
| 4 | 会计 | accounting.md |
三大报表、DuPont、Altman Z、Beneish M |
| 5 | 金融 | finance.md |
DCF、WACC、CAPM、Black-Scholes、事件研究 |
| 6 | 微观经济学 | microeconomics.md |
HHI、SSNIP、弹性、外部性、Coase 定理 |
| 7 | 法经济学 | economic-analysis.md |
Hand 公式、Calabresi-Melamed、Becker 模型 |
| 8 | 统计分析 | statistics.md |
假设检验、贝叶斯、Daubert、多重比较 |
| 9 | 多元统计 | multivariate-statistics.md |
OLS、IV、DiD、遗漏变量、歧视回归 |
Worked Examples(10 个完整案例
Related Skills
Algorithmic Art
Create generative art using p5.js with seeded randomness, flow fields, and particle systems
Design Brand Guidelines
Apply Anthropic's official brand colors and typography to artifacts
Design Canvas Design
Create beautiful visual art in PNG and PDF documents using design philosophy
Design Frontend Design
Create distinctive, production-grade frontend interfaces with high design quality
Design Slack Gif Creator
Create animated GIFs optimized for Slack's size constraints
Design Theme Factory
Style artifacts with professional themes including 10 pre-set color/font combinations
Design Related Agents
Codemod Runner
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css
Designguru
Expert Design Guidance & Analysis Specialist who provides professional UI/UX insights, design system guidance,
Html Css
| Web standards for semantic markup, maintainable styling, and accessibility. | - | [wshobson/agents](https://