# Renewal-clause extraction

A reusable skill the "Never miss a renewal notice window again" recipe pulls in. Add it once and every agent on the team can use it.

Identify the notice window, auto-renewal trigger, and term length in every contract on the weekly sweep.

## Method
1. Read the parsed contract text from the document-parsing skill.
2. Locate the term-length clause and record the current contract end date.
3. Locate the auto-renewal clause and record its trigger condition.
4. Locate the notice-window clause and record how many days before the end date notice is required.
5. Where a contract has no auto-renewal clause, record that explicitly rather than leaving the field blank.
6. Pass the extracted dates to the deadline-diff-policy skill for comparison against last week's snapshot.

## Rules
- Extract the notice-window length from the clause text itself, never from a template assumption.
- A missing auto-renewal clause is recorded as none, distinct from an unparsed field.
- Contract types out of scope for this sweep, such as NDAs (set on first run, then stored in memory).
- Every extracted date must cite the clause it came from, for the re-confirmation step before alerting.

## Output
Per contract: term length, auto-renewal trigger or none, notice-window length, current end date, each with a clause citation.
