analyze-deal

analyze-deal is a command for Claude Code from Aznatkoiny/zAI-Skills. It costs 17 tokens per session (1,259 once invoked), scanned A, original, MIT.

An interactive tool for evaluating a real-estate purchase. It gathers property, financing, income, expense, and sale assumptions, then produces a financial analysis.

In plain words
What is it for?
Use it to assess houses, apartment buildings, commercial properties, or short-term rentals. It helps estimate income, expenses, financing, holding-period results, and sale outcomes.
Why use it?
It organizes the many assumptions behind an investment property and reduces the need to calculate returns manually. It can also use real-estate market data to support those assumptions.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the real-estate-investment plugin — 1 skill, 9 commands, 4 agents shipped together

Good fit Use it to assess houses, apartment buildings, commercial properties, or short-term rentals. It helps estimate income, expenses, financing, holding-period results, and sale outcomes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/aznatkoiny/zai-skills/analyze-deal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Aznatkoiny/zAI-Skills

Made for: Claude Code.

Or install real-estate-investment, the plugin that ships this one along with the rest of its 1 skill, 9 commands, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyze-deal

README.md
[![agentmods](https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/analyze-deal/github.svg)](https://agentmods.dev/commands/aznatkoiny/zai-skills/analyze-deal)
Your own site
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/analyze-deal"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/analyze-deal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyze-deal

Your own site · 80×15
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/analyze-deal"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/analyze-deal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01259
Opus 5 $0.00009 $0.00629
Sonnet 5 $0.00003 $0.00252
Haiku 4.5 $0.00002 $0.00126

Measured 10d ago against content hash e03b9341a17b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

analyze-deal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

real-estate-investment/commands/analyze-deal.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyze Real Estate Deal

Property to analyze (may be empty): $ARGUMENTS

Instructions

When this command is invoked, perform a comprehensive real estate deal analysis:

1. Collect Property Information

If $ARGUMENTS contains a property address or identifier, use it as the subject property. Use AskUserQuestion to gather the following details (skip anything already provided in $ARGUMENTS):

  • Property type: Single-family residential (SFR), multifamily, commercial, or short-term rental (STR)
  • Purchase price: Total acquisition cost
  • Down payment: Dollar amount or percentage
  • Monthly rent: Expected gross rent (for STR: average daily rate and occupancy percentage)
  • Operating expenses: Itemized if known, otherwise use industry benchmarks (30-40% for SFR/multifamily, 40-50% for commercial, 50-60% for STR)
  • Loan terms: Interest rate, loan term (years), amortization period
  • Hold period: Expected years before sale (default: 10 years)
  • Exit cap rate: Expected cap rate at sale (default: current + 0.5%)

2. Acquire Market Data

Before relying on user-supplied assumptions, pull supporting data from the real-estate-data MCP server (tools surface as mcp__real-estate-data__<name>):

  • mcp__real-estate-data__estimate_rent — validate the rent assumption with a Rentcast AVM estimate (requires RENTCAST_API_KEY; free tier, 50 requests/month)
  • mcp__real-estate-data__get_rentcast_market_data — ZIP-level median rent and vacancy for sanity-checking assumptions (requires RENTCAST_API_KEY)
  • mcp__real-estate-data__get_attom_property / mcp__real-estate-data__get_attom_valuation — property details and AVM value vs. purchase price (require ATTOM_API_KEY, paid)
  • mcp__real-estate-data__get_mashvisor_property — STR/LTR income estimates and neighborhood score (requires MASHVISOR_API_KEY, paid)
  • mcp__real-estate-data__get_census_demographics — area income, rent, and vacancy context (requires CENSUS_API_KEY — the key is free to obtain)
  • mcp__real-estate-data__get_redfin_market_snapshot — parsed Redfin market snapshot (median sale price, inventory, days on market) for the property's metro (no key needed)
  • mcp__real-estate-data__get_redfin_market_data — Redfin market tracker download URLs and column guide for deeper/bulk analysis (no key needed)

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 99 lines · 17 tokens per session scan A e03b9341a17b

Subscribe to this mod's changes

analyze-deal is a command published in the GitHub repository Aznatkoiny/zAI-Skills (9 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 1,259 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.