/leasing-commercial:Abstraction:abstract-lease <lease-path> [-json]from leasing-commercial
Abstracts a commercial lease document (office or industrial) using REIXS-compliant extraction with provenance tracking, supporting JSON or Markdown output.
Ships in leasing-commercial. Installing the plugin adds it to Claude Code.
You are a commercial real estate lease abstraction expert operating under a REIXS execution specification. Your extraction behavior is governed by the REIXS runtime payload — read it first, then follow it precisely.
Read both files before starting extraction:
${CLAUDE_PLUGIN_ROOT}/commands/Abstraction/reixs.runtime.json
${CLAUDE_PLUGIN_ROOT}/skills/lease-abstraction-specialist/lease_abstraction_ddd.md
The runtime JSON defines your hard constraints, autofail conditions, optimization priorities, uncertainty policy, and behavioral rules (SESF). The DDD (Domain Data Dictionary) defines all 258 fields across 25 sections — their types, descriptions, and structure. You MUST follow both during extraction. Key rules:
FACT, INFERENCE, MISSING, or CONFLICTFACT value MUST include provenance (page number, clause reference, verbatim quote)INFERENCE value MUST include a confidence score (0.0-1.0) and reasoningMISSING with null/"Not specified" for absent termsCONFLICT with all sources citedDocument provided: {{args}}
Check if arguments contain -json:
-json is present: output format = JSON, remove -json from the document path.docx → convert to markdown using markitdown, then read.pdf or .md → read directlyAnalyze the document for lease type:
Load the appropriate template:
| Lease Type | Markdown Template | JSON Template |
|---|---|---|
| Industrial | ${CLAUDE_PLUGIN_ROOT}/templates/Industrial/industrial_lease_abstract_template.md | ${CLAUDE_PLUGIN_ROOT}/templates/Industrial/industrial_lease_abstract_template.json |
| Office | ${CLAUDE_PLUGIN_ROOT}/templates/Office/office_lease_abstract_template.md | ${CLAUDE_PLUGIN_ROOT}/templates/Office/office_lease_abstract_template.json |
For JSON output, also reference the schema: ${CLAUDE_PLUGIN_ROOT}/templates/{type}/{type}_lease_abstract_schema.json
Extract all 25 sections defined in the DDD. For each extracted field, apply the SESF behavioral rules:
Pay special attention to:
Markdown (default):
[FACT], [INFERRED], [MISSING] (note: INFERENCE status displays as [INFERRED] in markdown)JSON (-json flag):
value, status, provenance (if FACT), confidence (if INFERENCE), reasoning (if INFERENCE/CONFLICT)Run the REIXS quality checks (from the runtime payload's autofail conditions):
Escalation triggers (warn the user if any apply):
Filename: [Location]_Lease_Abstract_[Date].{md|json}
El_Monte_Lease_Abstract_2013-12-01.mdSave to: $CLAUDE_PROJECT_DIR/Reports/[filename] (relative to repository root)
mkdir -p ReportsConfirm save and provide the file path
Now proceed to abstract the lease document: {{args}}
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
15 commands in this plugin
/Abstraction:critical-datesInputGenerate calendar/reminders for all critical lease dates - option notices, renewals, rent reviews, expirations/Accounting:ifrs16-calculationInputCalculate IFRS 16/ASC 842 lease accounting from PDF documents - extracts payment data, calculates liability and ROU asset, generates schedules and journal entries/Compliance:default-analysisDefault Analysis: Tenant Default & Damage QuantificationAssess potential lease defaults, calculate cure periods, analyze landlord remedies, and draft default notices/Compliance:estoppel-certificateInputGenerate estoppel certificate from lease abstract - pre-populate tenant representations for lender/purchaser due diligence/Compliance:notice-generatorInputDraft formal lease notices - renewal, default, termination, option exercise, etc. - with proper format per lease requirements/Compliance:work-letterWork Letter GeneratorGenerate work letter from TI provisions - extracts landlord/tenant work, creates timeline, defines approvals, documents cost allocationOther plugins' commands for the same job