compare-markets

compare-markets is a command for Claude Code from Aznatkoiny/zAI-Skills. It costs 14 tokens per session (1,216 once invoked), scanned A, original, MIT.

A comparison tool for scoring real estate markets using economic, demographic, housing, and rental data.

In plain words
What is it for?
It helps assess job and population growth, migration, incomes, prices, rents, vacancies, rent growth, and new housing supply.
Why use it?
It brings many market indicators together so you can compare locations using the same framework.

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 It helps assess job and population growth, migration, incomes, prices, rents, vacancies, rent growth, and new housing supply.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/aznatkoiny/zai-skills/compare-markets
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 compare-markets

README.md
[![agentmods](https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/compare-markets/github.svg)](https://agentmods.dev/commands/aznatkoiny/zai-skills/compare-markets)
Your own site
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/compare-markets"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/compare-markets/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 compare-markets

Your own site · 80×15
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/compare-markets"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/compare-markets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,216 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.00014 $0.01216
Opus 5 $0.00007 $0.00608
Sonnet 5 $0.00003 $0.00243
Haiku 4.5 $0.00001 $0.00122

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

Security

Grade A, and why

compare-markets 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 6d 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/compare-markets.md · 94 lines

How it starts

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

Compare Real Estate Markets

Markets to compare (may be empty): $ARGUMENTS

Instructions

When this command is invoked, perform a comparative market analysis:

1. Collect Market List

If $ARGUMENTS contains a comma-separated list of markets (e.g., "Austin, Phoenix, Nashville"), use those. Otherwise use AskUserQuestion to gather 2-5 markets to compare:

  • City or metro area names
  • Example: "Austin, TX", "Phoenix Metro", "Nashville-Davidson"

2. Load Reference Material

Read the market analysis reference: the references/market-analysis.md file from the real-estate-investment skill in this plugin

3. Gather Market Data

For each market, collect the following data points:

Economic Indicators:

  • Job growth rate (past 3 years, YoY)
  • Major employers and industry diversity
  • Unemployment rate
  • Median household income

Demographic Trends:

  • Population growth rate (past 5 years)
  • Net migration (domestic and international)
  • Age demographics (working-age population %)

Real Estate Metrics:

  • Median home price and rent
  • Rent-to-price ratio
  • Vacancy rate
  • Rent growth rate (past 3 years)
  • Supply pipeline (units under construction per 1,000 population)
  • Days on market

Data Collection Method:

Pull data from the real-estate-data MCP server first (tools surface as mcp__real-estate-data__<name>):

  • mcp__real-estate-data__get_redfin_market_snapshotthe free market-data backbone for this command: call it once per market to get a parsed snapshot of median sale price, price growth, inventory, days on market, and months of supply (no key needed)
  • mcp__real-estate-data__get_fred_series — national/regional economic context: mortgage rates (MORTGAGE30US), unemployment, CPI series to frame affordability and cycle timing (requires FRED_API_KEY — the key is free to obtain)
  • mcp__real-estate-data__get_census_demographics — population, median income, median rent, vacancy rate, owner/renter split by state/county/tract (requires CENSUS_API_KEY — the key is free to obtain)
  • mcp__real-estate-data__get_census_housing_stats — median home value and housing-stock age distribution (requires CENSUS_API_KEY)
  • mcp__real-estate-data__get_redfin_market_data — download URLs and column guide for the full Redfin market tracker TSVs, when the snapshot is not granular enough (no key needed; download and filter with Bash)
  • mcp__real-estate-data__get_rentcast_market_data — ZIP-level median rent, rent growth, and vacancy (requires RENTCAST_API_KEY; free tier, 50 requests/month)
  • mcp__real-estate-data__get_mashvisor_neighborhood — neighborhood investment score, cash-on-cash, cap rate (requires MASHVISOR_API_KEY, paid)
  • mcp__real-estate-data__get_airdna_market_stats — market-level STR ADR/occupancy if comparing STR markets (requires AIRDNA_API_KEY, paid)

Read the full file on GitHub · 94 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. 6d ago First seen · 94 lines · 14 tokens per session scan A 7d90587223e9

Subscribe to this mod's changes

compare-markets is a command published in the GitHub repository Aznatkoiny/zAI-Skills (9 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,216 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-09-03.