Skill: agenticio/divorce (version 2.1.0)

--- name: divorce description: Divorce process support with financial inventory, legal preparation, and emotional guidance. Use when user mentions divorce, separation, custody, asset division, or divorce proceedings. Helps organize financial documents, understand process options, prepare for attorney meetings, track deadlines, and navigate parenting plans. NEVER provides legal advice. --- # Divorce Divorce navigation system. Organization through transition. ## Critical Privacy & Safety ### Data Storage (CRITICAL) - **All divorce data stored locally only**: `memory/divorce/` - **Highest privacy protection** - sensitive personal information - **No external sharing** of any kind - **Encrypted storage recommended** (file system level) - User controls all data retention and deletion ### Safety Boundaries - ✅ Organize financial documents - ✅ Explain process types (mediation, collaborative, litigation) - ✅ Prepare for attorney meetings - ✅ Track deadlines and requirements - ❌ **NEVER provide legal advice** - ❌ **NEVER replace** licensed family law attorneys - ❌ **NEVER guarantee** specific outcomes ### Important Note Divorce involves significant legal and financial consequences. This skill provides organizational support only. Always work with a licensed family law attorney for legal guidance. ### Data Structure Divorce data stored locally: - `memory/divorce/financial_inventory.json` - Complete financial picture - `memory/divorce/documents.json` - Document organization - `memory/divorce/process.json` - Process type and timeline - `memory/divorce/attorney_prep.json` - Attorney meeting preparation - `memory/divorce/parenting_plan.json` - Custody and parenting details - `memory/divorce/deadlines.json` - Critical deadlines ## Core Workflows ### Financial Inventory ``` User: "Help me organize my financial documents" → Use scripts/financial_inventory.py → Build complete inventory of assets, debts, accounts, property ``` ### Choose Process Type ``` User: "Should I mediate or go to court?" → Use scripts/compare_process.py --situation "amicable but complex assets" → Explain mediation, collaborative, litigation options ``` ### Prepare for Attorney ``` User: "Prep me for my first attorney meeting" → Use scripts/prep_attorney.py → Organize financial summary, questions, goals ``` ### Track Parenting Plan ``` User: "Help me think through custody arrangements" → Use scripts/parenting_plan.py → Work through physical custody, legal custody, schedules, logistics ``` ### Monitor Deadlines ``` User: "What deadlines do I have coming up?" → Use scripts/check_deadlines.py → Show disclosure deadlines, court dates, response requirements ``` ## Module Reference - **Process Types**: See [references/process-types.md](references/process-types.md) - **Financial Inventory**: See [references/financial-inventory.md](references/financial-inventory.md) - **Attorney Preparation**: See [references/attorney-prep.md](references/attorney-prep.md) - **Parenting Plans**: See [references/parenting-plans.md](references/parenting-plans.md) - **Custody Framework**: See [references/custody.md](references/custody.md) - **Emotional Support**: See [references/emotional-support.md](references/emotional-support.md) ## Scripts Reference | Script | Purpose | |--------|---------| | `financial_inventory.py` | Build financial inventory | | `compare_process.py` | Compare divorce process options | | `prep_attorney.py` | Prepare for attorney meeting | | `parenting_plan.py` | Develop parenting plan | | `check_deadlines.py` | Track critical deadlines | | `log_document.py` | Log gathered document | | `track_expense.py` | Track divorce-related expenses | | `self_care_check.py` | Emotional wellbeing check-in |

path: scripts/financial_inventory.py
content: #!/usr/bin/env python3
"""Build financial inventory for divorce."""
import json
import os
import uuid
import argparse
from datetime import datetime

DIVORCE_DIR = os.path.expanduser("~/.openclaw/workspace/memory/divorce")

def ensure_dir():
    os.makedirs(DIVORCE_DIR, exist_ok=True)

def main():
    parser = argparse.ArgumentParser(description='Build financial inventory')
    parser.add_argument('--type', required=True, 
                        choices=['asset', 'debt', 'account', 'property', 'retirement'],
                        help='Type of financial item')
    parser.add_argument('--description', required=True, help='Description')
    parser.add_argument('--value', type=float, help='Current value')
    parser.add_argument('--joint', action='store_true', help='Jointly owned')
    
    args = parser.parse_args()
    
    item_id = f"FIN-{str(uuid.uuid4())[:6].upper()}"
    
    item = {
        "id": item_id,
        "type": args.type,
        "description": args.description,
        "value": args.value,
        "joint": args.joint,
        "added_at": datetime.now().isoformat()
    }
    
    # Load and save
    inventory_file = os.path.join(DIVORCE_DIR, "financial_inventory.json")
    data = {"items": []}
    if os.path.exists(inventory_file):
        with open(inventory_file, 'r') as f:
            data = json.load(f)
    
    data['items'].append(item)
    
    ensure_dir()
    with open(inventory_file, 'w') as f:
        json.dump(data, f, indent=2)
    
    print(f"✓ Financial item logged: {item_id}")
    print(f"  Type: {args.type}")
    print(f"  Description: {args.description}")
    if args.value:
        print(f"  Value: ${args.value:,.2f}")
    print(f"  Joint: {'Yes' if args.joint else 'No'}")
    
    # Count totals
    total_items = len(data['items'])
    print(f"\n📊 Inventory: {total_items} items logged")

if __name__ == '__main__':
    main()


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)