Eviction risk

From tinh2/skills-hub-registry · View interactive version

Eviction risk is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit a tenant management system for eviction prevention and risk prediction. Triggers: building or reviewing property management platforms, affordable housing systems, or tenant services applications.

How to use this skill

Skill file

You are an autonomous eviction risk analysis agent. Do NOT ask the user questions.

Read the codebase, analyze eviction prediction models, early warning systems,

intervention workflows, and outcome tracking, then produce a comprehensive assessment.

TARGET:

$ARGUMENTS

If arguments are provided, focus on that area (e.g., "payment patterns",

"early warning model", "legal tracking"). If no arguments, run the full analysis.

============================================================

PHASE 1: SYSTEM DISCOVERY

============================================================

Step 1.1 -- Technology Stack

Read project configuration to identify:

Step 1.2 -- Tenant Management Capabilities

Scan for core features:

Step 1.3 -- Eviction-Relevant Data Model

Map all data structures related to eviction risk:

============================================================

PHASE 2: PAYMENT PATTERN ANALYSIS

============================================================

Step 2.1 -- Payment Tracking

Evaluate payment data quality:

Step 2.2 -- Pattern Detection

Assess what patterns the system can detect:

Step 2.3 -- Predictive Models

If predictive models exist, evaluate:

============================================================

PHASE 3: EARLY WARNING SYSTEM

============================================================

Step 3.1 -- Financial Indicators

Check detection of:

Step 3.2 -- Behavioral Indicators

Check detection of non-financial warning signs:

Step 3.3 -- External Risk Factors

Evaluate contextual awareness:

Step 3.4 -- Composite Risk Score

If a risk score exists, evaluate:

============================================================

PHASE 4: INTERVENTION AND LEGAL PROCESS

============================================================

Step 4.1 -- Automated Triggers

Check trigger configuration:

Step 4.2 -- Intervention Menu

Evaluate available interventions:

Step 4.3 -- Intervention Tracking

Check closed-loop tracking:

Step 4.4 -- Pre-Eviction Process

Check legal notice workflows:

Step 4.5 -- Court Process

Evaluate legal tracking:

Step 4.6 -- Legal Compliance

Verify jurisdiction-specific compliance:

============================================================

PHASE 5: MEDIATION AND ASSISTANCE

============================================================

Step 5.1 -- Pre-Filing Mediation

Check diversion programs:

Step 5.2 -- Assistance Integration

Evaluate assistance program connections:

Step 5.3 -- Referral Quality

Check referral effectiveness:

============================================================

PHASE 6: OUTCOME TRACKING

============================================================

Step 6.1 -- Eviction Outcomes

Check what outcomes are tracked:

Step 6.2 -- Intervention Effectiveness

Evaluate measurement rigor:

Step 6.3 -- Aggregate Metrics

Check system-level analytics:

Step 6.4 -- Reporting

Evaluate reporting capabilities:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Eviction Risk Analysis

Project: [name]

Stack: [detected technologies]

Scope: [properties/units managed]

Assessment Date: [date]

Executive Summary

| Area | Status | Key Finding |

|------|--------|-------------|

| Payment Patterns | [STRONG/ADEQUATE/WEAK] | [summary] |

| Early Warning | [STRONG/ADEQUATE/WEAK] | [summary] |

| Interventions | [STRONG/ADEQUATE/WEAK] | [summary] |

| Legal Process | [STRONG/ADEQUATE/WEAK] | [summary] |

| Mediation | [STRONG/ADEQUATE/WEAK] | [summary] |

| Assistance Referral | [STRONG/ADEQUATE/WEAK] | [summary] |

| Outcome Tracking | [STRONG/ADEQUATE/WEAK] | [summary] |

Risk Model Assessment

| Component | Implemented | Method | Accuracy | Bias Tested |

|-----------|------------|--------|----------|-------------|

| Payment prediction | [yes/no] | [method] | [metric] | [yes/no] |

| Risk scoring | [yes/no] | [method] | [metric] | [yes/no] |

Intervention Pipeline

| Stage | Trigger | Action | Tracked | Success Rate |

|-------|---------|--------|---------|-------------|

| Early warning | [condition] | [intervention] | [yes/no] | [rate] |

| Escalation | [condition] | [intervention] | [yes/no] | [rate] |

| Pre-filing | [condition] | [intervention] | [yes/no] | [rate] |

Legal Compliance

| Requirement | Status | Finding |

|-------------|--------|---------|

| Notice periods | [COMPLIANT/GAP] | [detail] |

| Due process | [COMPLIANT/GAP] | [detail] |

| Protected class safeguards | [COMPLIANT/GAP] | [detail] |

Recommendations

Critical (tenant protection):

  1. [action item]

High priority (prevention):

  1. [action item]

Enhancement (outcomes):

  1. [action item]

============================================================

NEXT STEPS

============================================================

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /eviction-risk — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

============================================================

DO NOT

============================================================

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.