Loading...
Loading...
Use when asked to generate legal contracts, agreements, or documents from templates with variable substitution and formatting.
npx skill4agent add dkyazzentwatwa/chatgpt-skills contract-generatorfrom contract_generator import ContractGenerator
# Generate from template
generator = ContractGenerator()
generator.load_template('templates/nda.docx')
generator.set_variables({
'party1_name': 'Acme Corp',
'party2_name': 'John Smith',
'effective_date': '2024-03-14',
'jurisdiction': 'California'
})
generator.save('nda_acme_smith.docx')# Generate single contract
python contract_generator.py --template nda.docx --vars vars.json --output contract.docx
# Batch generate from CSV
python contract_generator.py --template nda.docx --csv parties.csv --output-dir contracts/