/claude-code-expert:cc-security-compliancefrom claude-code-expert
Configures Claude Code security and compliance: permissions model, settings.json allowlists/denylists, enterprise managed settings, audit logging, secrets handling, and SOC2/HIPAA/GDPR patterns.
Ships in claude-code-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Baseline security + enterprise compliance patterns for Claude Code.
Permissions live in .claude/settings.json:
{
"permissions": {
"allow": ["Read", "Write", "Edit", "Glob", "Grep", "Bash(npm *)"],
"deny": ["Bash(rm -rf /)", "Bash(sudo *)", "Bash(curl * | sh)"],
"ask": ["WebFetch", "Bash(git push *)", "Bash(npm publish *)"]
}
}
allow → tool executes without askingdeny → tool never executesask → user is prompted each time| Mode | Behavior |
|---|---|
ask | Prompt for every tool use |
acceptEdits | Auto-accept Read/Write/Edit; prompt for others |
auto | Minimal prompting |
bypassPermissions | Skip prompts (dangerous; CI only) |
plan | Plan mode — no file writes |
Set via claude --permission-mode <mode> or in settings.json → permissionMode.
Never in repo:
.env files (except .env.example)Where secrets go:
secretstorage, keyring, keychain)Install the protect-sensitive-files hook (via cc_kb_hook_recipe("protect-sensitive-files")) to prevent accidental writes to .env / credentials.
Enterprise deployments log all tool calls for compliance:
{
"hooks": {
"PostToolUse": [
{ "matcher": "*", "hooks": [{ "type": "command", "command": "bash .claude/hooks/audit-log.sh" }] }
]
}
}
audit-log.sh appends JSON lines to a log shipping to SIEM (Splunk, Elastic, Datadog). Key fields: timestamp, session_id, tool_name, tool_input_hash (not raw input if sensitive), decision, duration_ms.
For org-wide enforcement, use managed settings at the OS level:
/Library/Application Support/Claude/managed-settings.jsonC:\ProgramData\Claude\managed-settings.json/etc/claude/managed-settings.jsonManaged settings override user settings. Use for: denylist of dangerous commands, required hooks (audit), forbidden MCP servers.
allow/deny tied to AD/SSO identity..claude/ edits go through PR review.detect-secrets + custom PHI regex in hook.mem_timeline, /cc-memory export).Run security-compliance-advisor agent for a full audit. Minimum checks:
settings.json, .mcp.json, or any committed filedeny list includes destructive commands (rm -rf, sudo, curl|sh)protect-sensitive-files hook installedbypassPermissions outside CI--dangerously-skip-permissions in any committed script| Need | Tool |
|---|---|
| Settings schema | cc_docs_settings_schema |
| Audit checklist | cc_docs_checklist("security") |
| Model for review | cc_docs_model_recommend("security review") → Opus |
| Hook recipe for protection | cc_kb_hook_recipe("protect-sensitive-files") |
permissions.allow: ["*"] → defeats the point.env → committed to git.bypassPermissions in developer default → one typo destroys something.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thelobbi/claude --plugin claude-code-expert21 skills in this plugin
/cc-agentic-patternsSelect and wire an agentic design pattern (reflection, prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer, ReAct, blackboard) into the 5-layer Claude Code stack. Use this skill whenever deciding how to structure a multi-step task, whether to spawn subagents, how to run parallel review, or when to use which pattern. Triggers on: "which pattern", "orchestrate", "parallel review", "self-review", "chain of thought", "eval-optimizer loop", "blackboard", "ReAct", "how to decompose this task"./cc-agent-teamsSelect and coordinate multi-agent teams (topology kits, role-based squads, lifecycle, worktree isolation). Use this skill whenever launching parallel agents, designing a review board, running a debug council, scheduling an orchestrator-workers team, configuring agent tool restrictions, or deciding between solo and team execution. Triggers on: "launch a team", "parallel agents", "review board", "debug council", "architect-implementer-reviewer", "swarm", "multi-agent", "subagents for X", "team topology", "agent lifecycle"./cc-auto-modeAuto mode permission handling — classifier-based approvals, PermissionDenied hook, defer permissionDecision, and autonomy profiles for hands-off Claude Code usageOther plugins' skills for the same job