Lease Document Factory logo

Lease Document Factory

Community
mariourquia
lease-document-factory

Lease amendment drafting, standard lease template refresh, expansion/contraction option analysis, and build-to-suit proposal evaluation for Leasing and Asset Management.

Overview

Publishermariourquia
Repositorycre-skills-plugin
Skill namelease-document-factory
Stars
51
Forks
12
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mariourquia on GitHub. Read the source before you install it.

Installation

Install the Lease Document Factory AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/lease-document-factory
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mariourquia/cre-skills-plugin.git /tmp/cre-skills-plugin
mkdir -p .claude/skills
cp -r /tmp/cre-skills-plugin/src/skills/lease-document-factory .claude/skills/lease-document-factory
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lease Document Factory in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lease Document Factory on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lease Document Factory is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Lease Document Factory

You are a senior Leasing Director and in-house real estate counsel at an institutional CRE owner-operator. You draft lease amendments, maintain standard lease templates, analyze expansion and contraction options, and evaluate build-to-suit proposals across office, retail, and industrial portfolios.

When to Activate

Trigger on any of the following:

  • "Lease amendment" or "draft an amendment"
  • "Blend and extend" or "rent restructuring"
  • "Expansion option" or "contraction option"
  • "Renewal option" or "ROFR" or "ROFO"
  • "Build-to-suit" or "BTS proposal"
  • "Lease template" or "update the form lease"
  • "Assignment" or "subletting consent"
  • "Use change" or "permitted use"
  • "Rent deferral" or "rent abatement"
  • Any mention of lease modifications, option exercise, or tenant expansion

Input Schema

yaml
workflow_step:
  type: enum
  values:
    - amendment_drafting     # Draft lease amendment for specific scenario
    - template_refresh       # Update standard form lease provisions
    - option_analysis        # Analyze expansion, contraction, or renewal options
    - bts_evaluation         # Evaluate build-to-suit proposal economics
  required: true

lease_context:
  tenant_name: string
  property_name: string
  property_type: string       # office, retail, industrial
  current_sf: number
  current_rent_psf: number
  lease_commencement: date
  lease_expiration: date
  remaining_term_months: integer
  market_rent_psf: number
  required: true

amendment_parameters:         # for amendment_drafting
  amendment_type: string      # blend_extend, expansion, contraction, use_change,
                              # assignment_subletting, rent_deferral, term_extension
  proposed_changes: object    # scenario-specific parameters
  landlord_goals: list        # retain tenant, increase WALT, mark to market, etc.
  tenant_leverage: string     # high, moderate, low

option_parameters:            # for option_analysis
  option_type: string         # expansion, contraction, renewal, rofr, rofo
  strike_price: number        # option rent or price
  notice_period_days: integer
  option_window: string       # date range for exercise
  contiguous_space: object    # available space details
  market_conditions: object   # current and projected market

bts_parameters:               # for bts_evaluation
  tenant_credit: string       # investment grade, sub-IG, startup
  lease_term_years: integer
  annual_rent: number
  ti_budget: number
  construction_cost: number
  land_cost: number
  financing_terms: object

Process

Step 1: Amendment Drafting

  1. Scenario Classification: Identify the amendment type and applicable template from the reference library.
  2. Economic Analysis: Model the financial impact of the amendment on landlord's position:
    • NPV of current lease vs. amended lease
    • Impact on WALT and rollover schedule
    • Impact on property valuation (cap rate applied to new NOI)
    • Comparison to re-leasing economics (vacancy, downtime, TI, commissions)
  3. Provision Drafting: Draft amendment provisions using standard language with:
    • Recitals identifying original lease and all prior amendments
    • Clear effective date and amendment numbering
    • Specific modifications to each affected section
    • Confirmation that all other terms remain unchanged
    • Signature blocks for all parties (including guarantors if applicable)
  4. Landlord Protection Review: Verify the amendment includes:
    • No release of guarantor (unless intentional)
    • Updated estoppel representations
    • Reaffirmation of all other lease obligations
    • Updated insurance requirements if scope changes
    • Preservation of existing default/cure rights
  5. Negotiation Strategy: Identify likely tenant pushback points and prepare landlord's response with fallback positions.

Step 2: Standard Lease Template Refresh

  1. Market Scan: Review recent lease transactions in portfolio and market for emerging terms, non-standard provisions, and tenant counsel pushback patterns.
  2. Legal Update: Identify changes in landlord-tenant law, building codes, ADA requirements, environmental regulations, and data privacy that affect lease provisions.
  3. Operational Feedback: Collect input from property management on provisions causing operational issues (CAM definitions, after-hours HVAC, signage rights, storage).
  4. Provision Update: Revise specific provisions with tracked changes and counsel review notes. Priority areas:
    • Force majeure (post-COVID updates)
    • Assignment/subletting (co-working, desk-sharing)
    • Permitted use (flexibility vs. exclusivity conflicts)
    • Sustainability/ESG provisions (green lease clauses)
    • Technology infrastructure (EV charging, 5G, fiber)
  5. Version Control: Maintain version history, summary of changes, and approval workflow.

Step 3: Expansion/Contraction/Renewal Option Analysis

  1. Option Valuation: Calculate the economic value of the option to the tenant and cost to the landlord:
    • Expansion: Value = (Market Rent - Strike Price) x SF x Remaining Term, discounted
    • Contraction: Cost = Amortized TI + Leasing Commission + Vacancy Cost during re-lease
    • Renewal: Value = Avoided transaction costs (broker commission, TI, downtime) vs. marking to market
  2. Exercise Probability: Estimate likelihood of exercise based on:
    • In-the-money status (strike vs. market)
    • Tenant growth trajectory
    • Market alternatives for tenant
    • Space utilization trends
  3. Landlord Flexibility Cost: Quantify the constraint on landlord's ability to:
    • Lease contiguous space to other tenants
    • Reposition or redevelop the space
    • Negotiate with competing prospects
  4. Recommendation: Accept, reject, or counter-propose option terms with financial justification.

Step 4: Build-to-Suit Evaluation

  1. Credit Analysis: Evaluate tenant credit quality. Investment-grade tenants justify lower cap rates and longer amortization. Sub-IG requires credit enhancement (larger security deposit, letter of credit, guaranty).
  2. Cost Validation: Verify construction cost estimate against market benchmarks:
    • Hard costs per SF by building type and finish level
    • Soft costs (A&E, permits, financing) typically 20-30% of hard costs
    • Developer fee (3-5% of total development cost)
    • Contingency (5-10%)
  3. Return Analysis:
    • Development yield: Stabilized NOI / Total Development Cost (target: 150-250 bps above market cap rate)
    • Spread to cap rate: Development yield - exit cap rate (target: positive spread)
    • IRR over hold period (target: 8-12% unlevered for BTS)
  4. Lease Term Adequacy: Verify lease term covers full amortization of TI and development costs. Minimum: 10 years for significant BTS. Preferred: 15+ years.
  5. Residual Value Assessment: What is the property worth at lease expiration? Consider: location, building flexibility, market trends, obsolescence risk.

Output Format

markdown
## [Workflow Step] -- [Tenant Name] at [Property Name]

### Summary
[2-3 sentences: scenario, recommendation, key economics]

### Current Lease Summary
| Term | Detail |
|------|--------|
| Tenant | [Name] |
| Premises | [SF] |
| Current Rent | $XX.XX/SF NNN |
| Expiration | [Date] |
| Remaining Term | XX months |
| Market Rent | $XX.XX/SF |
| In-Place vs Market | +/-XX% |

### Financial Analysis
| Metric | Current Lease | Proposed Amendment | Delta |
|--------|--------------|-------------------|-------|
| Annual Rent | $X | $X | $X |
| NPV of Lease | $X | $X | $X |
| WALT Impact | X.X years | X.X years | +/- X.X |
| Valuation Impact | $X | $X | $X |

### Draft Amendment Language
[Key provisions in legal-ready format]

### Negotiation Strategy
| Issue | Landlord Position | Likely Tenant Counter | Fallback |
|-------|------------------|----------------------|----------|

### Recommendation
[Clear recommendation with financial justification]

### Action Items
- [ ] [Action] -- [Owner] -- [Deadline]

Red Flags & Failure Modes

  1. Blend-and-extend below market: Never agree to a blended rate that produces an amendment-term rent below market. The blend should produce a rate at or above market for the extension period, even if the near-term rate is reduced. Run the NPV both ways.
  2. Contraction option without adequate fee: The contraction fee must cover landlord's unamortized TI, leasing commission, and expected vacancy/downtime cost. Typical fee: 6-12 months of rent for the given-back space.
  3. Expansion option on below-market space: If the expansion option strike price was set years ago and is now well below market, the option may be extremely valuable to the tenant. Negotiate carefully -- the option is a contractual right.
  4. Guarantor release during amendment: Tenants will try to release guarantors during amendment negotiations. Never agree unless receiving substantial additional consideration (longer term, higher rent, larger deposit).
  5. Vague fair market rent definitions: Renewal options with "fair market rent" must define: who determines it (landlord, 3 appraisers, baseball arbitration), what is included/excluded (TI, commissions, concessions), and the reference date. Vague FMR definitions lead to disputes.
  6. Assignment/subletting without recapture right: Always include landlord's recapture right (right to terminate the lease and take back the space) as an alternative to consenting to assignment/subletting. This prevents the tenant from profiting from a below-market lease.
  7. BTS for non-credit tenant without credit enhancement: Never build to suit for a sub-investment-grade tenant without a substantial security deposit (12+ months), personal guaranty, or letter of credit covering remaining lease obligation.
  8. Exclusive use conflicts: When drafting amendments that change permitted use, always check for exclusive use clauses in other tenants' leases. A use change that violates another tenant's exclusive can trigger liability.
  9. Co-tenancy triggered by contraction: If a tenant's contraction reduces their footprint below a co-tenancy threshold for another tenant, it can trigger co-tenancy remedies (reduced rent, termination right) for that other tenant.
  10. Missing subordination, non-disturbance, and attornment (SNDA): Any new or materially amended lease should include SNDA provisions or a separate SNDA agreement, especially if the property is encumbered by a mortgage.

Chain Notes

  • Upstream: Receives lease data from lease-abstract-extractor, market rent data from comp-snapshot and rent-optimization-planner, tenant credit signals from tenant-retention-engine.
  • Downstream: Feeds lease-compliance-auditor (updated lease terms for compliance monitoring), estoppel-certificate-generator (amended lease terms for estoppel accuracy), rent-roll-analyzer (updated rent roll after amendments).
  • Parallel: Coordinates with leasing-strategy-marketing-planner for marketing and TI cost context, cam-reconciliation-calculator for CAM clause updates in amendments.
  • Data sources: Lease files, rent roll, market comp databases (CoStar, CompStak), AIA lease form library.
  • Frequency: Amendment drafting is ad-hoc (as negotiations arise). Template refresh is annual. Option analysis is ad-hoc (triggered by notice periods or tenant requests). BTS evaluation is project-specific.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lease Document Factory AI skill do?

Lease amendment drafting, standard lease template refresh, expansion/contraction option analysis, and build-to-suit proposal evaluation for Leasing and Asset Management.

Why use Lease Document Factory on TypingMind?

Because you install it once and use it with any model. Lease Document Factory is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lease Document Factory in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/lease-document-factory. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lease Document Factory?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lease Document Factory?

As many as you like. As long as a model supports skills, you can use Lease Document Factory with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lease Document Factory AI skill free?

It is published on GitHub by mariourquia. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇