Skip to content

CSlawyer1985/legal-skillhub / skills/anythingbutlaw

AnythingButLaw

Verified

法外功夫 — Non-legal business skills for lawyers. Decision analysis, game theory, contract design, accounting, finance, microeconomics, law & economics, statistics, and regression analysis distilled into deep, actionable frameworks for legal practice. Each domain includes formulas with LaTeX notation, worked examples, adversarial checklists, and book-aligned structure. | 律师必备的非法律商业技能深度参考:决策分析、博弈论、合同设计、会计、金融、微观经济学、法经济学、统计分析、多元回归。每章都包含完整公式推导、worked examples、对抗清单与经典判例。当用户涉及和解谈判、合同激励、财务尽调、企业估值、损害赔偿计算、反垄断分析、统计证据评估、歧视诉讼回归分析、hold-up、效率违约、Daubert 动议等场景时触发。

INSTALL.md

View on GitHub
# Installation Guide | 安装指南

## Claude Code (Recommended)

```bash
# Clone the repo into your Claude Code skills directory
git clone https://github.com/TracyWang95/AnythingButLaw.git ~/.claude/skills/AnythingButLaw
```

That's it. The skill will be available next time you start a Claude Code session.

## Verify Installation

Ask Claude:

```
"A plaintiff has a 60% chance of winning $500K. Trial costs $80K. 
Is a $250K settlement offer reasonable?"
```

If the skill is working, Claude will:
1. Build a decision tree
2. Calculate the expected value ($300K + $80K = $380K vs $250K settlement)
3. Discuss risk aversion
4. Recommend the settlement

## Manual Install

If you prefer not to use git:

1. Download the repository as a ZIP file from GitHub
2. Extract it
3. Copy the `AnythingButLaw` folder to `~/.claude/skills/`

## Requirements

- Claude Code CLI or Claude Code Desktop
- No Python dependencies required (pure markdown skill)

## Project Structure

```
AnythingButLaw/
├── SKILL.md                    # Main entry point — Claude reads this first
├── references/                 # Domain knowledge — loaded on demand
│   ├── decision-analysis.md    # Decision trees, expected value, risk aversion
│   ├── game-theory.md          # Nash equilibrium, moral hazard, adverse selection
│   ├── contracting.md          # 6 contract types, incentives, risk allocation
│   ├── accounting.md           # Financial statements, GAAP, ratios, fraud
│   ├── finance.md              # PV/FV, DCF, CAPM, valuation, EMH
│   ├── microeconomics.md       # Supply/demand, elasticity, monopoly, externalities
│   ├── economic-analysis.md    # Breach remedies, settlement theory, criminal law
│   ├── statistics.md           # Hypothesis testing, z-tests, Daubert
│   └── multivariate-statistics.md  # Regression, dummy variables, omitted bias
├── examples/                   # Worked analysis examples
├── README.md                   # English documentation
├── README_ZH.md                # 中文文档
├── INSTALL.md                  # This file
└── LICENSE                     # MIT
```

## How It Works

1. **SKILL.md** is always loaded into Claude's context (~500 lines). It contains the routing logic and cross-cutting principles.
2. When you ask a question, Claude reads SKILL.md and determines which **reference files** are relevant.
3. Claude reads only the needed reference files, keeping context usage efficient.
4. Complex problems may trigger multiple reference files (e.g., a merger question might need `finance.md` + `contracting.md` + `game-theory.md`).
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall