Skip to content

CSlawyer1985/legal-skillhub / skills/ai-legal-assistant-pro

ai-legal-assistant-pro

Verified

China legal triage assistant. Input a contract, labor dispute facts, lawsuit-cost question, or draft legal document need; output risk checklist, cost estimate, evidence outline, or editable document skeleton. Boundary: preliminary legal information only, not a lawyer and not formal legal advice.

scripts/calculate_lawsuit_fee.py

View on GitHub
#!/usr/bin/env python3
import sys

def calc(amount: float) -> float:
    if amount <= 10000:
        return 50.0
    if amount <= 100000:
        return amount * 0.025 - 200
    if amount <= 200000:
        return amount * 0.02 + 300
    if amount <= 500000:
        return amount * 0.015 + 1300
    if amount <= 1000000:
        return amount * 0.01 + 3800
    if amount <= 2000000:
        return amount * 0.009 + 4800
    if amount <= 5000000:
        return amount * 0.008 + 6800
    if amount <= 10000000:
        return amount * 0.007 + 11800
    if amount <= 20000000:
        return amount * 0.006 + 21800
    return amount * 0.005 + 41800


def main() -> int:
    if len(sys.argv) != 2:
        print('Usage: calculate_lawsuit_fee.py <claim_amount_rmb>', file=sys.stderr)
        return 2
    try:
        amount = float(sys.argv[1])
    except ValueError:
        print('Claim amount must be a number.', file=sys.stderr)
        return 2
    if amount < 0:
        print('Claim amount must be non-negative.', file=sys.stderr)
        return 2
    fee = calc(amount)
    print(f'Claim amount: {amount:.2f} RMB')
    print(f'Estimated filing fee: {fee:.2f} RMB')
    print('Note: estimate for common PRC civil property disputes only; excludes lawyer fees and other costs.')
    return 0

if __name__ == '__main__':
    raise SystemExit(main())
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall