compliance-specialist — Claude Code subagent: what it does, install
A Claude Code subagent for compliance reviews, risk work, audit preparation, and security governance.
npx claude-code-templates@latest --agent security/compliance-specialistWhat compliance-specialist does
compliance-specialist reviews regulatory obligations and maps them to security controls. It covers SOX, GDPR, HIPAA, PCI-DSS, and SOC 2, while supporting risk evaluation, policy work, audit evidence, and governance tasks.
The subagent can produce gap assessments, risk registers, control matrices, policy documents, requirement mappings, and training material. Its configuration grants Read, Write, Edit, and Bash, so it can inspect and change files and run commands. That access should be considered before using it in a project. Its workflow includes framework mapping, impact review, control documentation, and audit preparation.
What it helps with
- map SOX, GDPR, HIPAA, PCI-DSS, or SOC 2 requirements
- identify gaps in security controls
- prepare evidence for an audit
- build a risk register with mitigation actions
- write security policies and procedures
Example prompts for the agent
- Assess this project against SOC 2 and write a gap report.
- Prepare an audit evidence package and a control matrix.
- Draft security policies and a risk register for this project.
How to install compliance-specialist
1claude-code-templates
npx claude-code-templates@latest --agent security/compliance-specialist2Manually: put the files in place
.claude/agents/compliance-specialist.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/compliance-specialist.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/compliance-specialist.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about compliance-specialist
How do I install compliance-specialist in Claude Code?
Run npx claude-code-templates@latest --agent security/compliance-specialist, then use .claude/agents/compliance-specialist.md.
What does compliance-specialist do?
It reviews regulatory requirements, supports risk assessment, and creates material for policies, governance, and audit preparation.
Which tools can the subagent use?
Its configuration lists Read, Write, Edit, and Bash. Those tools let it work with files and run commands.