Skip to content

Repository files navigation

Austrian Legal Claude

Open-Source KI-Rechtsassistent fuer oesterreichisches Recht
Open-source AI legal assistant for Austrian law

Installation | Commands | Legal Areas | Testing | Contributing


34 specialized skills covering every major area of Austrian law — from contracts to court, from tenancy disputes to tax audits, from asylum proceedings to personal insolvency.

Tested against 14 real and simulated OGH (Supreme Court) cases with a 93.6% accuracy score.

Keine Rechtsberatung / Not legal advice. This tool provides preliminary legal analysis. It does not replace consultation with a licensed Austrian attorney (Rechtsanwalt). See Disclaimer.


Why This Exists

Legal help in Austria is expensive. A first consultation costs EUR 150-300. A contract review costs EUR 500-2,000. Most people sign contracts they don't understand, miss limitation periods, and enter disputes without knowing their rights.

Austrian Legal Claude changes that. It gives everyone access to structured Austrian legal analysis — instantly, for free, in German or English.


Installation

Prerequisites

  • Claude Code (CLI, Desktop, or IDE extension)
  • Python 3.8+ (only needed for PDF report generation)

One-Line Install

git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude
./install.sh

Manual Install

If you prefer to install manually or are on Windows:

# 1. Clone the repo
git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude

# 2. Copy the orchestrator
mkdir -p ~/.claude/skills/austrian-legal
cp legal/SKILL.md ~/.claude/skills/austrian-legal/SKILL.md

# 3. Copy all skills
for dir in skills/*/; do
    name=$(basename "$dir")
    mkdir -p ~/.claude/skills/$name
    cp "$dir/SKILL.md" ~/.claude/skills/$name/SKILL.md
done

# 4. Copy agents and references
mkdir -p ~/.claude/skills/austrian-legal/agents
cp agents/*.md ~/.claude/skills/austrian-legal/agents/
mkdir -p ~/.claude/skills/austrian-legal/references
cp references/*.md ~/.claude/skills/austrian-legal/references/

# 5. Copy scripts
mkdir -p ~/.claude/skills/austrian-legal/scripts
cp scripts/*.py ~/.claude/skills/austrian-legal/scripts/

# 6. (Optional) Install PDF dependencies
pip3 install reportlab

Windows Install

git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude

# Copy to Claude Code skills directory
$skillDir = "$env:USERPROFILE\.claude\skills"
Copy-Item -Recurse "legal" "$skillDir\austrian-legal" -Force
Get-ChildItem "skills" -Directory | ForEach-Object {
    Copy-Item -Recurse $_.FullName "$skillDir\$($_.Name)" -Force
}
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\agents" -Force | Out-Null
Copy-Item "agents\*.md" "$skillDir\austrian-legal\agents\" -Force
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\references" -Force | Out-Null
Copy-Item "references\*.md" "$skillDir\austrian-legal\references\" -Force
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\scripts" -Force | Out-Null
Copy-Item "scripts\*.py" "$skillDir\austrian-legal\scripts\" -Force

Verify Installation

After installation, open Claude Code and type:

/recht review

If Claude asks you for a document to review, the installation was successful.

RIS Integration (Recommended)

For live Austrian statute and case law lookup, install the RIS MCP Server:

# In your Claude Code MCP configuration
npm install -g ris-mcp-ts

This gives the skill access to 12 RIS tools covering Bundesnormen, Landesnormen, OGH/VfGH/VwGH Judikatur, and BGBl.


Commands

Case & Dispute Analysis

Command Description DE
/recht review <file> Full contract review with 5 parallel agents Vertragspruefung
/recht risks <file> Deep risk analysis with financial exposure Risikoanalyse
/recht claim <facts> Identify all legal claims from facts Anspruchspruefung
/recht evidence <file> Evaluate evidence strength per ZPO Beweiswuerdigung
/recht costs <amount> Calculate GGG + RATG court/attorney fees Kostenrechner
/recht strategy <facts> Litigation strategy with success probability Prozessstrategie
/recht klage <facts> Draft court filings (Klage, Berufung, etc.) Schriftsatz-Entwurf
/recht verjaehrung <facts> Check all limitation periods Verjaehrungspruefung

Contract Tools

Command Description DE
/recht compare <f1> <f2> Compare two contract versions Vertragsvergleich
/recht plain <file> Translate legal German to plain language Klartext
/recht negotiate <file> Generate counter-proposals Verhandlungsstrategie
/recht missing <file> Find missing clauses Fehlende Klauseln

Compliance & Reporting

Command Description DE
/recht compliance <file> KSchG, DSGVO, MRG, UGB compliance Compliance-Pruefung
/recht report-pdf Generate professional PDF report PDF-Bericht

Tenancy Law (Mietrecht)

Command Description DE
/recht miet <file/facts> MRG analysis, rent limits, Befristung Mietrechtsanalyse
/recht miet-verfahren <facts> Schlichtungsstelle, Raeumungsklage Mietrechtsverfahren

Employment Law (Arbeitsrecht)

Command Description DE
/recht arbeit <file/facts> Contract, KollV, termination analysis Arbeitsrechtsanalyse
/recht arbeit-verfahren <facts> Kuendigungsanfechtung, ASG proceedings Arbeitsrechtsverfahren

Family Law (Familienrecht)

Command Description DE
/recht familie <facts> Divorce, alimony, custody, property division Familienrechtsanalyse
/recht familie-verfahren <facts> Divorce filing, custody proceedings Familienrechtsverfahren

Inheritance Law (Erbrecht)

Command Description DE
/recht erbe <facts> Succession, wills, forced heirship Erbrechtsanalyse
/recht erbe-verfahren <facts> Probate, Pflichtteilsklage Erbrechtsverfahren

Traffic Law (Verkehrsrecht)

Command Description DE
/recht verkehr <facts> Accidents, license, traffic violations Verkehrsrechtsanalyse
/recht verkehr-verfahren <facts> Appeals, damage claims, Einspruch Verkehrsrechtsverfahren

Consumer Protection (Verbraucherrecht)

Command Description DE
/recht verbraucher <facts> Warranty, FAGG withdrawal, KSchG Verbraucherrecht
/recht verbraucher-verfahren <facts> Complaint, Schlichtung, Klage Verbraucherverfahren

Tax Law (Steuerrecht)

Command Description DE
/recht steuer <facts> Income, corporate, VAT analysis Steueranalyse
/recht steuer-verfahren <facts> Tax appeals, Selbstanzeige, BFG Abgabenverfahren

Asylum & Immigration (Asylrecht)

Command Description DE
/recht asyl <facts> Asylum, residence permits, protection Asylanalyse
/recht asyl-beschwerde <facts> Appeal BFA decisions, BVwG Asylbeschwerde

Social Security (Sozialrecht)

Command Description DE
/recht sozial <facts> Pension, unemployment, care allowance Sozialrechtsanalyse
/recht sozial-beschwerde <facts> ASG claims, AMS sanctions Sozialrechtsbeschwerde

Debt & Enforcement (Schulden & Exekution)

Command Description DE
/recht schulden <facts> Debt, insolvency, Existenzminimum Schuldenanalyse
/recht exekution <facts> Enforcement, Lohnpfaendung, Oppositionsklage Exekutionsverfahren

Legal Areas

Area Key Laws Skills
Civil / Contract ABGB, KSchG review, risks, claim, evidence, costs, strategy, klage, verjaehrung
Tenancy MRG, WEG, ABGB miet, miet-verfahren
Employment AngG, ArbVG, AZG, UrlG, GlBG arbeit, arbeit-verfahren
Family EheG, ABGB, KindNamRaeG familie, familie-verfahren
Inheritance ABGB 5. Teil, AussStrG erbe, erbe-verfahren
Traffic EKHG, StVO, KFG, FSG verkehr, verkehr-verfahren
Consumer KSchG, FAGG, PHG verbraucher, verbraucher-verfahren
Tax EStG, KStG, UStG, BAO, FinStrG steuer, steuer-verfahren
Asylum AsylG, FPG, NAG, BFA-VG asyl, asyl-beschwerde
Social Security ASVG, AlVG, BPGG, ASGG sozial, sozial-beschwerde
Debt / Enforcement EO, IO, ZPO schulden, exekution
Compliance DSGVO, DSG, GewO, UGB compliance
Commercial UGB, GmbHG, AktG review, missing, compliance
Criminal StGB, StPO claim, strategy
Administrative AVG, VwGVG, GewO compliance
IP UrhG, MSchG, PatG review, compliance

How It Works

The Flagship: /recht review

5 AI agents analyze your contract in parallel:

Agent Role Weight
Klauselanalyst Maps every clause to Austrian law 20%
Risikobewerter Scores risk against Austrian standards 25%
Compliance-Pruefer Checks KSchG, DSGVO, MRG, UGB 20%
Pflichten-Mapper Maps obligations, deadlines, triggers 15%
Empfehlungsmotor Generates fixes with legal citations 20%

Returns a Vertragssicherheits-Score (0-100) with:

  • Risk dashboard
  • Clause-by-clause analysis with specific citations
  • Formulierungsvorschlaege (copy-paste replacement text)
  • Missing clause detection
  • Prioritized negotiation strategy

RIS Integration

Every skill verifies statute citations via the RIS MCP Server when connected. All outputs include a Quellenstatus block showing verification status:

## Quellenstatus
| Kategorie | Status | Details |
|-----------|--------|---------|
| RIS MCP   | Verfuegbar | Connected |
| Gesetze   | RIS_VERIFIED | 12 Normen geprueft |
| Judikatur | RIS_VERIFIED | 3 Entscheidungen |

Evidence Handling

When you provide documents, the skills automatically:

  • Classify evidence by ZPO hierarchy (Urkunden > Zeugen > Sachverstaendige > Augenschein > Parteienvernehmung)
  • Assess Beweiskraft (probative value)
  • Identify missing evidence
  • Determine Beweislast (burden of proof)
  • Recommend what evidence to gather

Bilingual

  • Input in German or English — output matches your language
  • Legal terms always include German original: "warranty (Gewaehrleistung)"
  • Statutes always in official form: "922 ABGB", not "Section 922 Civil Code"

Testing

The project includes a test framework with 14 cases (9 real OGH decisions + 5 simulated scenarios).

Run Tests

# Validate all test cases load correctly
python tests/run_tests.py tests/ogh/

# Score a skill output against gold standard
python tests/run_tests.py tests/ogh/mietrecht/mietzins-richtwert-01/ \
  --skill-output tests/ogh/mietrecht/mietzins-richtwert-01/skill-output.md \
  --format markdown

Test Results

Dimension Score
Issue Spotting 98.5%
Statute Citation 88.7%
Outcome Alignment 93.6%
Overall 93.6%

Real OGH cases score 97.7% on average.

Add Your Own Test Cases

Create a directory under tests/ogh/<area>/<case-name>/ with:

  • case.json — metadata, gold-standard issues/statutes/holding
  • facts.md — German Sachverhalt (facts only, no holding)
  • gold.md — expected analysis

See existing test cases for the format.


Project Structure

austrian-legal-claude/
├── legal/SKILL.md                    # Main orchestrator (command router)
├── skills/                           # 34 specialized skills
│   ├── recht-review/SKILL.md         # Full contract review (5 agents)
│   ├── recht-miet/SKILL.md           # Tenancy law
│   ├── recht-arbeit/SKILL.md         # Employment law
│   ├── recht-familie/SKILL.md        # Family law
│   ├── recht-erbe/SKILL.md           # Inheritance law
│   ├── recht-verkehr/SKILL.md        # Traffic law
│   ├── recht-verbraucher/SKILL.md    # Consumer protection
│   ├── recht-steuer/SKILL.md         # Tax law
│   ├── recht-asyl/SKILL.md           # Asylum law
│   ├── recht-sozial/SKILL.md         # Social security
│   ├── recht-schulden/SKILL.md       # Debt management
│   ├── recht-exekution/SKILL.md      # Enforcement
│   └── ... (34 skills total)
├── references/                        # Shared protocols and knowledge
│   ├── ris-protocol.md               # RIS verification workflow
│   ├── evidence-protocol.md          # Evidence handling (ZPO hierarchy)
│   ├── ogh-case-presentation.md      # OGH case citation format
│   ├── common-output-rules.md        # Shared output standards
│   ├── zivilrecht-claim-map.md       # Civil law claim taxonomy
│   ├── arbeitsrecht-checklist.md     # Employment law checklist
│   ├── mietrecht-checklist.md        # Tenancy law checklist
│   ├── steuerrecht-issue-map.md      # Tax law issue map
│   ├── asylrecht-procedure-map.md    # Asylum procedure flowchart
│   └── sozialrecht-procedure-map.md  # Social security procedure map
├── agents/                            # 6 parallel analysis agents
├── scripts/generate_legal_pdf.py      # PDF report generator (ReportLab)
├── tests/                             # Test framework + 14 cases
│   ├── run_tests.py                  # Automated test scorer
│   └── ogh/                          # OGH test cases
├── templates/                         # Report templates
├── VISION.md                         # Project vision and roadmap
├── CLAUDE.md                         # Development instructions
├── install.sh                        # One-line installer
├── uninstall.sh                      # Clean uninstaller
└── LICENSE                           # MIT

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Ways to Contribute

  • Add test cases — Download OGH decisions from RIS, extract facts, create gold standards
  • Improve skills — Add procedural depth, fix statute citations, improve Formulierungsvorschlaege
  • Add new legal areas — Follow the advisory + procedural pair pattern
  • Improve the scorer — Better NLP for issue matching, semantic similarity
  • Add KollV data — Collective bargaining agreement specifics (IT-KV, Handel-KV, etc.)
  • Add Landesgesetze — State-specific laws (BauO, NatSchG per Bundesland)
  • Translations — Improve English output quality

Skill Pattern

Every new skill follows this pattern:

---
name: recht-<area>
description: >
  What this skill does, when to trigger it
---

# Step 1: Read the facts/document
# Step 2: RIS Verification
# Step 2b: Evidence Assessment (if provided)
# Step 3: Classify the situation
# Step 4: Systematic analysis (sub-steps 4A, 4B, ...)
# Step 5: Calculate/Score
# Step 6: Present output (structured template)
# Critical Rules
# Quellenstatus block
# Disclaimer

Disclaimer

Deutsch

Dieses Tool dient ausschliesslich der rechtlichen Ersteinschaetzung und Information. Es handelt sich um keine Rechtsberatung im Sinne der RAO. Die Nutzung ersetzt nicht die Konsultation eines zugelassenen Rechtsanwalts. Fuer verbindliche Rechtsauskuenfte wenden Sie sich an die zustaendige Rechtsanwaltskammer oder einen Rechtsanwalt Ihres Vertrauens.

English

This tool provides preliminary legal analysis for educational and informational purposes only. It does not constitute legal advice and does not replace consultation with a licensed Austrian attorney (Rechtsanwalt). For binding legal opinions, contact the Austrian Bar Association or a qualified attorney.


Acknowledgements


License

MIT

About

Open-source Austrian legal AI skill for Claude Code — 34 skills, 14 OGH test cases, RIS integration

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages