# Document parsing

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.

Read each contract in the repository in Word or PDF form for the weekly renewal sweep.

## Method
1. Sweep {{contract_repo_path}} for contracts not yet in the renewal tracker.
2. Convert each file to full text, keeping clause references for later citation.
3. Locate the sections most likely to hold term, renewal, and notice language to speed extraction.
4. Skip and log any file that fails to parse rather than dropping it from the sweep silently.
5. Hand parsed text to the renewal-clause-extraction skill.

## Rules
- A parse failure is logged for manual follow-up, never silently excluded from the tracker.
- Keep clause references so a flagged deadline can be re-confirmed against the source text.
- Contract repository folder location (set on first run, then stored in memory).
- Re-parse only contracts new since the last sweep, not the full repository every week.

## Output
Full text and clause references for each newly-swept contract, handed to the renewal-clause-extraction skill.
