Headcount

Skills / Legal & Risk / Regulatory compliance

Skill

Regulatory compliance

Identifies which regulations apply and builds the program that keeps you inside them — obligation mapping, controls, monitoring, and responding to regulators.

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-audit for 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.

More in Legal & Risk