skills/legal/oilfield-msa/SKILL.md
Drafts a Master Service Agreement for upstream oilfield services (Operator-Contractor). Covers knock-for-knock indemnification, anti-indemnity statute compliance (TX, LA, WY, NM), work order framework, HSE, insurance minimums, and IP/data ownership. Use when drafting oilfield MSAs, drilling service agreements, well service contracts, or upstream operator-contractor master agreements.
npx skillsauth add casemark/skills oilfield-msaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Drafts a litigation-tested MSA for the operator-contractor relationship in upstream oil and gas, with knock-for-knock indemnification compliant with state anti-indemnity statutes.
Collect before drafting:
Determine all states where services will be performed. This drives indemnification drafting — anti-indemnity statutes vary dramatically and can void entire provisions.
Produce a complete MSA with these 14 articles, adapting detail to engagement scope:
| # | Article | Key Contents | |---|---------|-------------| | 1 | Parties & Recitals | Legal names, entity types, acknowledgment of hazardous operations | | 2 | Definitions | See defined terms below | | 3 | Scope & Work Orders | MSA as framework (no volume commitment); WO incorporation; MSA controls unless WO explicitly modifies | | 4 | Performance Standards | Good-and-workmanlike; qualified personnel; fit-for-purpose equipment; Contractor holds permits | | 5 | Term & Termination | Initial term + renewal; convenience (30-90 days notice); cause (HSE violations, uninsured, insolvency, uncured breach at 30 days); WO survival; wind-down | | 6 | Compensation & Payment | Rates per WO (day rate/unit/lump sum/cost-plus); monthly invoicing; Net-30; dispute holdback; late interest (1.5%/mo or legal max); escalation; audit rights | | 7 | Insurance | See insurance table below | | 8 | Indemnification | Knock-for-knock — see below | | 9 | HSE | OSHA (29 CFR), EPA (40 CFR), DOT (49 CFR), BSEE (offshore), state O&G commissions; written HSE program; pre-job safety meetings; PPE; qualifications (HAZWOPER, H2S, well control); Operator stop-work authority; incident reporting (4 hrs phone / 24 hrs written); more-stringent-controls-apply | | 10 | Confidentiality | Broad definition; reasonable-care; need-to-know; standard exceptions; return/destroy on termination; 3-5 year survival; well/reservoir data is Operator property | | 11 | Reps & Warranties | Mutual: organization, authority, enforceability, no conflicts. Contractor: licensed, experienced, qualified, equipment maintained, insured, compliant. Disclaim implied warranties | | 12 | Intellectual Property | Pre-existing IP retained; work product under Operator direction → Operator owns; Contractor innovations → Operator gets perpetual royalty-free license; well/operational data → Operator property | | 13 | Governing Law & Disputes | Match governing law to jurisdiction (TX, LA, OK, CO, or ND); litigation or AAA arbitration; jury waiver; equitable relief carve-out; executive negotiation prerequisite (15-day meet, 30-day resolution) | | 14 | General Provisions | Force majeure (mitigation duty, termination at 60-180 days); assignment (affiliate/M&A exceptions); notices; severability; entire agreement; no waiver; independent contractor; FCPA/export/OFAC; survival |
Include these defined terms at minimum:
| Term | Scope | |------|-------| | Services | Drilling, completion, stimulation, workover, intervention, equipment rental, maintenance, support | | Work Order | Written authorization: scope, location, personnel, equipment, timeline, deliverables, compensation | | Oilfield Operations | Exploration, development, drilling, completion, production, workover, maintenance, abandonment | | Indemnified Parties | Party + parent/subs/affiliates + officers, directors, employees, agents, contractors, subcontractors | | Personnel | All employees, agents, contractors, subcontractors of a party | | Equipment | Tools, machinery, vehicles, apparatus used in Services | | Hazardous Materials | Substances regulated under environmental laws including petroleum, chemicals, waste | | Force Majeure Event | Beyond reasonable control: natural disaster, war, terrorism, pandemic, government action | | Confidential Information | All non-public information disclosed by either party |
| Coverage | Minimum Limit | |----------|--------------| | Commercial General Liability | $5M per occurrence / $10M aggregate | | Automobile Liability (owned/non-owned/hired) | $1M per accident | | Workers' Compensation | Statutory (per state) | | Employer's Liability | $1M per accident / $1M disease per employee / $1M disease policy limit | | Pollution Liability | $5M per occurrence and aggregate | | Excess/Umbrella Liability | $10M over CGL, Auto, Employer's |
Policy requirements: Operator + affiliates as additional insured (all except WC); primary and non-contributory; waiver of subrogation; 30-day cancellation notice; occurrence basis; A.M. Best A- VII minimum.
Mutual indemnity model:
| Risk | Borne By | Scope | |------|----------|-------| | Contractor Personnel injury/death | Contractor | Regardless of fault, except Operator's sole negligence or willful misconduct | | Contractor Equipment/property damage | Contractor | Regardless of fault, except Operator's sole negligence or willful misconduct | | Operator Personnel injury/death | Operator | Regardless of fault, except Contractor's sole negligence or willful misconduct | | Operator property damage | Operator | Regardless of fault, except Contractor's sole negligence or willful misconduct | | Third-party claims | Comparative fault | Each party indemnifies for proportionate fault | | Contractor breach / law violations | Contractor | Full indemnity |
Anti-indemnity statute compliance (CRITICAL):
Include a savings clause: indemnities enforceable to fullest extent permitted by law; prohibited provisions deemed modified to minimum extent for compliance.
| Statute | Citation | Restriction | |---------|----------|-------------| | Louisiana Oilfield Indemnity Act | La. R.S. 9:2780 [VERIFY] | Voids indemnity for indemnitee's negligence causing death/bodily injury | | Texas Oilfield Anti-Indemnity Act | Tex. Civ. Prac. & Rem. Code Ch. 127 [VERIFY] | Voids indemnity for indemnitee's negligence; mutual indemnity with insurance OK | | Wyoming | Wyo. Stat. § 30-1-131 [VERIFY] | Voids broad-form indemnity in oilfield contracts | | New Mexico | N.M. Stat. Ann. § 56-7-2 [VERIFY] | Voids indemnity for indemnitee's negligence in certain contracts |
Indemnification procedures: prompt written notice (failure doesn't relieve unless material prejudice); indemnifying party controls defense with acceptable counsel; no settlement admitting fault without consent; indemnified party cooperates.
Include a blank Work Order form with fields for: Operator, Contractor, services description, well/location, jurisdiction, start date, duration, personnel, equipment, deliverables, compensation structure (day rate / unit price / lump sum / cost-plus), rate schedule, reimbursable expense threshold, special terms / MSA modifications, and representative contact info for both parties.
tools
Audits the complete in-scope medical-record universe in a litigation matter and produces an attorney-facing, Bates-cited analysis of treatment gaps, missing records or providers, baseline coverage, material billing or production mismatches, and complaint evolution. Use when asked to find missing medical records, analyze treatment gaps or first-care timing, identify absent providers, assess whether a production is complete, or prepare a records-request target list. Use medical-record-chronology instead when the primary request is a chronological clinical narrative.
development
Drafts a legally compliant Private Placement Memorandum for Regulation D offerings (Rule 506(b)/506(c)), covering full disclosure framework including risk factors, capitalization, securities terms, use of proceeds, and investor qualification requirements. Enforces SEC anti-fraud compliance under Section 10(b)/Rule 10b-5, blue sky law considerations, and accredited investor verification under Rule 501. Use this skill when drafting PPMs, offering memorandums, Reg D disclosure documents, or private offering circulars for issuers raising capital from sophisticated investors. Also trigger when the user mentions private placement disclosure, offering memorandum, Reg D fundraising, or accredited investor verification. Even if the user just says "PPM" or "draft our offering memo," use this skill.
data-ai
Generates structured privacy and data protection law briefings across US, EU, UK, and other jurisdictions. Organizes by jurisdiction with compliance deadlines, enforcement actions, and legislative changes. Use when preparing privacy law briefings, compliance updates, regulatory change summaries, or data protection landscape reviews.
testing
Generates structured summaries of prior art references for patent prosecution, validity analysis, and freedom-to-operate assessments. Maps disclosures to claim elements with precise citations. Use when summarizing prior art, analyzing patent landscapes, mapping references to claims, or preparing office action responses.