rental-analysis

Compute cash flow, cap rate, IRR, and NPV for rent-vs-sell property decisions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/JoshuaOliphant/claude_code_files --skill rental-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rental-analysis
Source: https://github.com/JoshuaOliphant/claude_code_files/tree/main/skills/rental-analysis
Command: npx skills add https://github.com/JoshuaOliphant/claude_code_files --skill rental-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, requests, numpy, numpy-financial, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps homeowners analyze whether to rent out their property or sell, by delivering automated financial analyses, clear reports, and investment-ready metrics that save time and reduce complexity.

Core Features & Use Cases

  • Automated rental analysis: Calculates cash flow, NOI, cap rate, IRR, and NPV for rental properties.
  • Rent vs Sell decision support: Compares scenarios over a hold period and provides a clear recommendation.
  • Plain-language reports: Generates markdown reports with explanations suitable for non-experts.

Quick Start

  1. Prepare your property data in assets/property_template.yaml or your own YAML config.
  2. Run the analysis: uv run scripts/analyze_rental.py <config_file.yaml>
  3. Review the generated report (report.md) that includes Property Overview, Monthly Cash Flow, Key Metrics, Break-even, and Rent-vs-Sell sections.

Frequently Asked Questions about rental-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide whether to rent or sell my property?

Rent-vs-sell analysis compares financial outcomes of both options by calculating cash flow, cap rate, IRR, and NPV across your hold period. This Skill automates those calculations and generates a clear recommendation based on your property data and market assumptions.

What financial metrics does rental property analysis include?

Rental analysis computes monthly cash flow, net operating income (NOI), cap rate, internal rate of return (IRR), net present value (NPV), and break-even timelines. Each metric is explained in plain language to support your investment decision.

How do I prepare property data for rental analysis?

Prepare your property details in a YAML configuration file—include purchase price, rental income, expenses, mortgage terms, and hold period. The Skill includes a template to guide your data structure; run the analysis script with your config file to generate a markdown report.

Can I compare rental scenarios across different hold periods?

Yes. The Skill evaluates rent-vs-sell outcomes across multiple hold periods and scenarios, computing metrics like IRR and NPV for each timeframe to show how your decision changes as your holding duration varies.

What output does the rental analysis generate?

The Skill generates a markdown report with property overview, monthly cash flow breakdown, key investment metrics, break-even analysis, and rent-vs-sell comparisons. Reports include citations and plain-language explanations for non-financial audiences.

Does this analysis work with web-based property comparables?

Yes. The Skill supports optional web comps lookup via API requests to gather market data, which feeds into your rental valuation and rent-vs-sell comparison alongside your manual property inputs.