analyze-deal

analyze-deal is a command for coding agents from DataSift-Ty-Personal/SiftStack. It costs 8 tokens per session (524 once invoked), scanned A, original, MIT.

A complete analysis of an investment property, combining property details, photos, comparable sales, renovation estimates, and deal calculations. Comparable sales are recently sold properties used to estimate a property's value; GLA means gross living area.

In plain words
What is it for?
Use it to assess a property for a flip or wholetail sale, review its condition from photos, find comparable sales, estimate renovation costs, and calculate total costs and potential deal returns.
Why use it?
It brings the main parts of an investment decision into one workflow instead of leaving the user to combine separate research, repair estimates, and financial calculations. It can also research basic property information when only an address is supplied.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the deal-analyzer plugin — 3 skills, 1 command shipped together

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.

agentmods
npx agentmods add commands/datasift-ty-personal/siftstack/analyze-deal
Clone the repo
git clone --depth 1 https://github.com/DataSift-Ty-Personal/SiftStack

Or install deal-analyzer, the plugin that ships this one along with the rest of its 3 skills, 1 command.

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/datasift-ty-personal/siftstack/analyze-deal.svg)](https://agentmods.dev/commands/datasift-ty-personal/siftstack/analyze-deal)
Your own site
<a href="https://agentmods.dev/commands/datasift-ty-personal/siftstack/analyze-deal"><img src="https://agentmods.dev/badge/commands/datasift-ty-personal/siftstack/analyze-deal.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.00524
Opus 5 $0.00004 $0.00262
Sonnet 5 $0.00002 $0.00105
Haiku 4.5 $0.00001 $0.00052

Measured 5d ago against content hash 03607d5a1a05, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

plugins/deal-analyzer/commands/analyze-deal.md · 26 lines

What it actually says

Run the complete deal-analyzer skill workflow for the property specified by $ARGUMENTS.

Load the deal-analyzer skill from ${CLAUDE_PLUGIN_ROOT}/skills/deal-analyzer/SKILL.md and follow its pipeline:

  1. Intake — Gather property details from the argument, uploaded photos, and any context the user has provided. If only an address is given, research the property online (Zillow, Redfin, county records) to get GLA, bed/bath, year built, and any available photos.

  2. Photo Analysis — If the user has uploaded property photos, analyze them room-by-room following the condition assessment checklist. If no photos are available, note this and widen contingency.

  3. Comp Analysis — Execute the full comping workflow using the real-estate-comping skill methodology. Generate comp Excel workbook.

  4. Rehab Estimate — Execute the full rehab estimation using the rehab-estimator skill methodology. Feed in comp findings (Bucket B finishes, renovation premium). Generate rehab Excel workbook.

  5. Deal Math — Calculate all-in costs for both flip and wholetail exits including financing, holding, buying, and selling costs. Use default cost assumptions from SKILL.md unless the user provides specific numbers. Calculate hold time dynamically: Rehab Duration + Bucket B median DOM + 30 days closing.

  6. Offer Strategy — Calculate MAO using both the 75% Rule and 70% Rule. Compare exits using the Profit Per Month tiebreaker: if both exits are profitable, recommend whichever has higher profit/month (with $20K absolute profit override for full rehab). Present both options — the investor decides.

  7. Deliverables — Present the in-context summary (including ARV confidence level with every ARV figure), then link all generated files. The output MUST end with the disclaimer: "This analysis is for educational and estimation purposes only. It does not constitute investment, financial, or legal advice. Actual costs, values, and returns may differ materially. Verify all assumptions with local professionals before making investment decisions."

If the user hasn't provided a purchase price, ask for it before running deal math. If they don't have one yet, still run comping + rehab and provide both MAO figures (75% and 70%) as their target offer range.

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. 5d ago First seen · 26 lines · 8 tokens per session scan A 03607d5a1a05

Subscribe to this mod's changes

analyze-deal is a command published in the GitHub repository DataSift-Ty-Personal/SiftStack (21 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 524 once invoked, about $0.0000 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-30.