Skill
Regulatory compliance
Identifies which regulations apply and builds the program that keeps you inside them — obligation mapping, controls, monitoring, and responding to regulators.
- Legal & Risk
- regulatory-compliance
- version 1.1.0
- MIT license
- 10 outside sources
When it loads
Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.
Identifies which regulations apply and builds the program that keeps you inside them — obligation mapping, controls, monitoring, and responding to regulators. Use this to work out what applies to your business, stand up a compliance program, prepare for a regulatory exam or certification, respond to a finding, or assess exposure before entering a new market.
Add it to your assistant
This skill ships in the Legal & Risk department, with 7 others.
Claude Code
/plugin marketplace add cbrock84/headcount
/plugin install legal-risk@headcount
ChatGPT and Codex
This department is packaged for the ChatGPT plugin directory and not listed there yet. Until it is, add this repository as a plugin marketplace, or copy plugins/legal-risk/skills/ into .agents/skills/ in your own project.
GitHub Copilot CLI
copilot plugin marketplace add cbrock84/headcount
copilot plugin install legal-risk@headcount
Cursor
The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/legal-risk into ~/.cursor/plugins/local/ and reload the window.
Gemini CLI
Gemini CLI installs one skill at a time:
gemini skills install https://github.com/cbrock84/headcount.git --path plugins/legal-risk/skills/regulatory-compliance
The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.
What the skill tells the assistant
The full text, as it installs. View the source on GitHub.
Compliance failures are rarely defiance. They are almost always an obligation nobody knew applied, in a jurisdiction nobody was watching, discovered by someone external.
This structures the work and names what to ask. Which regulations apply, and what they require, are legal determinations that vary by jurisdiction and change — they belong with qualified counsel. Nothing here substitutes for that.
Start with an obligation map, not a framework
The first question is not "are we SOC 2 compliant" but "what are we actually obliged to do, by whom, and what happens if we do not." Build the map from facts about the business:
- What you sell, and to whom. Selling to regulated customers pulls their obligations onto you through contract even when the regulation does not reach you directly.
- What data you hold. Personal data, health data, payment data and children's data each carry distinct regimes — see
legal-risk:privacy-and-data-protection. - Where you operate and where your customers are. Obligations follow the customer more often than companies expect.
- How you are funded and structured. Public, regulated, or government-adjacent adds regimes.
Distinguish three things that get conflated: law you must follow, certifications you choose to obtain commercially, and contractual commitments you signed. Only the first carries state enforcement; all three carry consequences.
Certifications are evidence, not compliance
SOC 2, ISO 27001 and their equivalents demonstrate that controls exist and operate. They do not establish that you meet any legal obligation, and a clean report is not a defense to a regulator.
Where they earn their cost is commercially — an enterprise prospect makes the certification a condition of the deal, and the certification is what unblocks it. Scope them to what the market asks for rather than to everything, since scope drives cost more than any other decision.
The program is monitoring, not documentation
A compliance program that produces policies and stops is a shelf. What makes it real:
- An owner per obligation — a named person, not a department.
- Controls that produce evidence as a by-product of the work, rather than evidence assembled before an audit. See
finance:internal-controls-and-auditfor the control design pattern. - Monitoring that would detect failure before an external party does, with the frequency matched to how fast the obligation can be breached.
- Horizon scanning. Regulation changes; a map built once is wrong within a year.
When a regulator arrives
Respond promptly, accurately, and narrowly — answer what was asked. Route everything through counsel before it goes out, preserve records from the moment you are aware, and never let an informal conversation become an undocumented commitment.
Findings get root-caused like any other failure. A remediation that consists of retraining people on a process that made the failure easy will produce the same finding next cycle.
Template
assets/policy-template.md is a policy skeleton with an owner, testable rules, an exception route and a compliance check. Use it when writing or rewriting a policy, so it carries the version, owner and acknowledgment record described under Tooling. Fill it in with the person's own facts and keep its headings, so the next person to open one knows where to look. Delete the bracketed prompts as you answer them; a template returned with its prompts intact has not been filled in.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.
Tooling
Compliance automation — Vanta, Drata, Secureframe, Keel GRC, and similar — collects evidence continuously and maps one control across several frameworks. It earns its cost on the second audit far more often than the first.
Policy and attestation lives in those same tools, or in the HRIS, or in Confluence. What matters is that a policy carries a version, an owner, and a record of who acknowledged it.
Never
- Treat a certification as evidence of legal compliance.
- Build a compliance program without a named owner per obligation.
- Assemble control evidence retrospectively for an audit.
- Answer a regulator without counsel reviewing the response.
Company context
Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.
Other departments
A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.
Files it ships with
Loaded only when the skill calls for them.
Sources it checks against
Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.
- Electronic Code of Federal Regulations US Government Publishing Office / NARA
The current text of US federal regulation, updated daily. This is the citation of record — an agency web page summarizing its own rule is not.
- United States Code Office of the Law Revision Counsel, US House of Representatives
The consolidated text of US federal statute, where a regulation's authority is traced back to the law that permits it.
- govinfo US Government Publishing Office
Authenticated federal documents — the Federal Register, bills, the Congressional Record — when the question is what was actually published and when.
- OSHA law and regulations US Occupational Safety and Health Administration
Workplace safety obligation, recordkeeping requirements and the reporting windows for a fatality or serious injury.
- Regulation (EU) 2016/679 — GDPR Publications Office of the European Union
The operative text of the GDPR. EU legal texts are reusable with attribution under the Commission's reuse decision, so this is quotable where a national summary is not.
- Legal Information Institute Cornell Law School
Finding the right provision fast, with plain-language context around it. The underlying law is public domain; LII's annotations and commentary are not — follow through to the primary source before citing.
- FedRAMP baselines and automation content GSA
Which SP 800-53 controls apply at low, moderate and high impact for a cloud service selling to the US federal government, and the evidence each requires.
- SANS Information Security Policy Templates SANS Institute
Starting-point policy language for the policies an auditor expects to exist. Read and adapt; the templates are copyrighted and are not open-licensed.
- ISO/IEC 27001 — Information security management systems ISO
The certifiable ISMS standard enterprise buyers ask for by name. The text is sold, not published — cite the clause number, never the wording.
- Regulation (EU) 2024/1689 — the AI Act Publications Office of the European Union
Whether an AI system is prohibited, high-risk or limited-risk in the EU and what obligations attach. Binding law rather than guidance, and only the Official Journal version is authentic.
More in Legal & Risk
- Chief Legal & Risk Officer
Owns legal, contracts, intellectual property, regulatory compliance, privacy, security governance, enterprise risk, and audit readiness.
- Contract review
Reviews and negotiates commercial agreements — MSAs, SOWs, order forms, NDAs, vendor and data-processing agreements — identifying material risk, proposing positions, and recommend…
- Corporate governance
Maintains the corporate record and the governance machinery — entity records, board and committee support, resolutions and minutes, delegations of authority, insurance, and busine…
- Disputes and legal holds
Handles a dispute from the first sign of it — recognizing when preservation obligations attach, issuing and scoping a legal hold, suspending automatic deletion across every system…
- Enterprise risk
Identifies, assesses, and tracks organizational risk — building and maintaining a risk register, scoring exposure, assigning owners and treatments, and preparing for audit.
- Intellectual property
Covers what the organization owns and what it is only borrowing — trademarks and clearance, copyright and work-for-hire, patents and trade secrets, open-source license obligations…
- Privacy and data protection
Assesses and improves how personal data is collected, used, shared, and retained — data mapping, lawful basis, consent, processor agreements, subject rights, and breach obligations.