Generate NDA
Follow the document-rules skill (${CLAUDE_PLUGIN_ROOT}/skills/document-rules/SKILL.md) and the document-generator skill (${CLAUDE_PLUGIN_ROOT}/skills/document-generator/SKILL.md): the first holds the mandatory rules, the second the generation process. Read both before Step 1.
Generate a professional Non-Disclosure Agreement with standard legal clauses and signature blocks.
Arguments
Format: [--type <mutual|unilateral>] [--party1 <name>] [--party2 <name>]
- --type: NDA type -- mutual (default, both parties bound) or unilateral (one-way)
- --party1: Disclosing party name (optional)
- --party2: Receiving party name (optional)
Parse from "$ARGUMENTS".
Process
Plugin directory: Scripts and templates live under
${CLAUDE_PLUGIN_ROOT}(Claude Code substitutes it with the installed plugin path). Use it as is; do not search for the plugin.Check dependencies:
node "${CLAUDE_PLUGIN_ROOT}/scripts/check_deps.js"If
readyis false, show what is missing and ask permission to run the listedinstallCommands. (readycovers Node, the npm modules and the Playwright browser; pandoc and the PDF engines are optional extras listed inmissing.)Gather required data from user:
- NDA type: mutual (default) or unilateral
- Date and jurisdiction (governing law)
- Party 1 (Disclosing Party): name, address, representative, title
- Party 2 (Receiving Party): name, address, representative, title
- Optional customization:
- Definition of confidential information (default provided)
- Term duration (default: 2 years)
- Survival period (default: 3 years)
- Additional clauses
- Most clauses have professional defaults -- only ask for party info and customizations
Read template:
cat "${CLAUDE_PLUGIN_ROOT}/templates/nda_template.json"Build JSON input: Set
"type": "nda"and"ndaType": "mutual"or"unilateral". Default clauses are built-in -- only override if user requests specific wording. Write to.doc_input.json.Generate PDF:
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_pdf.js" /absolute/path/.doc_input.jsonDeliver result: Show file path and size. Remind user this is a template -- recommend legal review before signing.
Example Usage
/document-generator-ops:generate-nda --type mutual --party1 "Acme Corp" --party2 "TechStart Inc"
/document-generator-ops:generate-nda --type unilateral
/document-generator-ops:generate-nda