Skip to content

Contracts & Legal

MSA, SOW, NDA templates and compliance documentation

Overview

Legal document templates, contract management, and compliance documentation. Ensures consistent legal protection and streamlined contracting process.

Structure

09-contracts-legal/
├── msa-templates/        # Master Service Agreement templates
├── sow-templates/        # Statement of Work templates
├── nda-templates/        # Non-Disclosure Agreement templates
├── compliance/           # Compliance addenda and certifications
└── insurance/            # Insurance certificates and requirements

Subdirectories

msa-templates/

Master Service Agreement templates by engagement type.

Template Variants: | Template | Use Case | Key Terms | |----------|----------|-----------| | msa-standard.md | Standard engagements | Net 30, standard liability | | msa-enterprise.md | Large clients | Custom SLAs, expanded liability | | msa-government.md | Public sector | FOIA compliance, specific clauses | | msa-healthcare.md | Healthcare clients | BAA attachment, HIPAA terms |

Key Sections: - Services description - Payment terms - Intellectual property - Confidentiality - Limitation of liability - Indemnification - Term and termination

sow-templates/

Statement of Work templates by service pillar.

Available Templates: | Service | Template | Typical Scope | |---------|----------|---------------| | Compliance Assessment | sow-compliance.md | Gap analysis, remediation plan | | vCISO | sow-vciso.md | Monthly hours, deliverables | | Penetration Testing | sow-pentest.md | Scope, methodology, reporting | | IT Strategy | sow-strategy.md | Assessment, roadmap | | Cloud Migration | sow-cloud.md | Phases, milestones |

SOW Structure: 1. Project Overview 2. Scope of Work 3. Deliverables 4. Timeline and Milestones 5. Assumptions and Dependencies 6. Pricing and Payment 7. Acceptance Criteria

nda-templates/

Non-Disclosure Agreement templates.

Available Templates: - nda-mutual.md — Mutual NDA (standard) - nda-one-way.md — One-way receiving party - nda-employee.md — Employee confidentiality - nda-contractor.md — Contractor/vendor NDA

compliance/

Compliance-related legal documents.

Documents: - baa-template.md — Business Associate Agreement (HIPAA) - dpa-template.md — Data Processing Addendum (GDPR) - security-addendum.md — Security requirements attachment - subprocessor-list.md — Approved subprocessors

Compliance Certifications: - SOC 2 Type II (if applicable) - Insurance certificates - Background check documentation

insurance/

Insurance documentation and requirements.

Required Coverage: | Coverage Type | Minimum | Purpose | |---------------|---------|---------| | Professional Liability (E&O) | $1M | Errors and omissions | | Cyber Liability | $1M | Data breach coverage | | General Liability | $1M | General business | | Workers Compensation | State minimum | Employee coverage |

Contract Workflow

┌─────────────┐   ┌─────────────┐   ┌─────────────┐   ┌─────────────┐
│  DRAFT      │ → │   REVIEW    │ → │  NEGOTIATE  │ → │  EXECUTE    │
│ Use template│   │ Legal review│   │ Redlines    │   │ Sign & file │
└─────────────┘   └─────────────┘   └─────────────┘   └─────────────┘

Approval Requirements: | Contract Value | Approval Level | |----------------|----------------| | <$25K | Sales + Delivery Lead | | $25K-$100K | Director approval | | >$100K | Executive approval | | Non-standard terms | Legal review required |

Contract Metrics

Metric Target Frequency
Contract Turnaround <5 days Per contract
Redline Resolution <3 rounds Per contract
Template Usage 90%+ Monthly
Legal Review Time <48 hours Per review
Signature Time <72 hours Per contract

Skills Integration

Primary Skill: Content Library Engine

The content-library-engine skill manages legal document templates and workflows.

Invoke: Load when creating contract templates, managing versions, or setting up approval workflows.

Key Subskills: - @template-system.md — Contract template management - @approval-workflows.md — Multi-stage contract approval - @personalization-tokens.md — Dynamic client/project insertion - @lifecycle-states.md — Document state management

SDK Integration

from content_engine import TemplateEngine, ApprovalWorkflow
from content_engine.legal import ContractGenerator, RedlineTracker

# Generate SOW from template
template_engine = TemplateEngine()
sow = template_engine.render(
    template="sow-vciso-template",
    variables={
        "client_name": "Acme Healthcare",
        "effective_date": "2024-02-01",
        "monthly_hours": 20,
        "rate": 250,
        "term_months": 12,
        "deliverables": [
            "Monthly security report",
            "Quarterly risk assessment",
            "Annual security roadmap"
        ],
        "assumptions": [
            "Client provides access to systems",
            "Key stakeholder availability"
        ]
    }
)

# Contract approval workflow
workflow = ApprovalWorkflow(
    stages=[
        {"role": "sales", "action": "submit", "required": True},
        {"role": "delivery_lead", "action": "review", "required": True},
        {"role": "legal", "action": "review", "condition": "non_standard_terms"},
        {"role": "director", "action": "approve", "condition": "value > 25000"}
    ]
)
await workflow.submit(sow)

# Track redlines
tracker = RedlineTracker()
tracker.add_version(sow, version="v1", source="sbk")
tracker.add_version(client_sow, version="v2", source="client")
comparison = tracker.compare("v1", "v2")
# Returns: list of changes with risk assessment

Subskills Reference

Subskill Purpose Template
@template-system.md Contract templates MSA, SOW, NDA
@approval-workflows.md Contract routing Multi-level approval
@personalization-tokens.md Dynamic insertion Client, dates, terms
@lifecycle-states.md Document states Draft → Executed
@legal-compliance.md Compliance checks Required clauses