Skip to main content
skill CX Codex

audit-expert — Claude Code skill: what it does, how to install

audit-expert guides code security reviews, vulnerability checks, and compliance audits for SOC 2, GDPR, HIPAA, and PCI-DSS.

Apache-2.0 188 installs ★ 45 updated 2026-10-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add personamanagmentlayer/pcl --skill audit-expert -a claude-code
Open on GitHub

What audit-expert does

The skill adds structured guidance for security audits, static code review, and regulatory assessments. It relies on standard industry frameworks, including OWASP ASVS, NIST, CIS Controls, and ISO 27001/27002, to catch auth bypasses, injection flaws, and access control gaps.

It structures the workflow into distinct steps: scoping, vulnerability identification, risk rating, and remediation tracking. Findings get logged with standard metadata, tracking CVSS scores, CWE references, exact code locations, and severity levels.

Tool execution is restricted to file operations (Read, Write, Edit) and specific Bash commands matching git:*, grep:*, and find:*.

What it helps with

  • review application source code for injection and authentication flaws
  • generate structured vulnerability reports with CVSS ratings
  • verify system requirements against SOC 2, GDPR, or PCI-DSS criteria

Example prompts for the agent

  • Run a security review on the authentication flow and output a CVSS report
  • Audit our data storage routines against GDPR and SOC 2 requirements
  • Scan controllers with grep to inspect user input sanitization

How to install audit-expert

1Skills CLI (Vercel)

npx skills add personamanagmentlayer/pcl --skill audit-expert -a claude-code

2Manually: put the files in place

~/.claude/skills/audit-expert/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/audit-expert/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about audit-expert

How to install audit-expert in Claude Code?

Run npx skills add personamanagmentlayer/pcl --skill audit-expert -a claude-code in your terminal.

What does audit-expert do?

It equips the agent with methodologies for compliance reviews, vulnerability assessments, and standard audit report formatting.

What CLI utilities does this skill require?

The configuration limits command line access to git, grep, and find alongside basic file reading and editing tools.

Source text

SKILL.md · Apache-2.0
---
name: audit-expert
version: 1.1.0
description: >-
  Expert-level security auditing, compliance, code review, and vulnerability assessment.
  Use when the user mentions compliance, security review, code review, vulnerability
  assessment, SOC 2, or GDPR, or when the task involves Audit Types, Audit Frameworks,
  Audit Process, or Authentication Review.
category: security
tags:
  [
    audit,
    compliance,
    security-review,
    code-review,
    vulnerability-assessment,
    soc2,
    gdpr,
  ]
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash(git:*, grep:*, find:*)
---

# Audit Expert

Expert guidance for security auditing, compliance assessments, code reviews, vulnerability assessments, and regulatory compliance (SOC 2, GDPR, HIPAA, PCI-DSS).

## Core Concepts

### Audit Types

- **Security Audit**: Vulnerability assessment, penetration testing
- **Code Audit**: Code review, static analysis, security patterns
- **Compliance Audit**: SOC 2, GDPR, HIPAA, PCI-DSS, ISO 27001
- **Infrastructure Audit**: Configuration review, access control
- **Process Audit**: SDLC, change management, incident response

### Audit Frameworks

- OWASP ASVS (Application Security Verification Standard)
- NIST Cybersecurity Framework
- CIS Controls
- ISO 27001/27002
- SOC 2 Trust Service Criteria

### Audit Process

1. Planning and scoping
2. Information gathering
3. Vulnerability identification
4. Risk assessment
5. Reporting
6. Remediation tracking
7. Follow-up verification

## Audit Reporting

### Security Audit Report Template

```javascript
class SecurityAuditReport {
  constructor() {
    this.findings = [];
    this.summary = {
      critical: 0,
      high: 0,
      medium: 0,
      low: 0,
      info: 0,
    };
  }

  addFinding(finding) {
    this.findings.push({
      id: this.findings.length + 1,
      severity: finding.severity,
      title: finding.title,
      description: finding.description,
      location: finding.location,
      recommendation: finding.recommendation,
      references: finding.references || [],
      cvssScore: finding.cvssScore,
      status: 'open',
      discoveredAt: new Date(),
    });

    this.summary[finding.severity]++;
  }

  generateReport() {
    return {
      reportDate: new Date(),
      auditor: 'Security Team',
      scope: this.scope,
      summary: this.summary,
      findings: this.findings.sort(
        (a, b) =>
          this.severityWeight(b.severity) - this.severityWeight(a.severity)
      ),
      recommendations: this.generateRecommendations(),
    };
  }

  severityWeight(severity) {
    const weights = { critical: 5, high: 4, medium: 3, low: 2, info: 1 };
    return weights[severity] || 0;
  }

  generateRecommendations() {
    return [
      'Address all critical and high severity findings immediately',
      'Implement security code review process',
      'Conduct regular penetration testing',
      'Provide security training for developers',
      'Establish vulnerability disclosure program',
    ];
  }
}

// Usage
const audit = new SecurityAuditReport();

audit.addFinding({
  severity: 'critical',
  title: 'SQL Injection in User Search',
  description: 'User search endpoint concatenates user input into SQL query',
  location: 'src/controllers/users.js:45',
  recommendation: 'Use parameterized queries or ORM with proper escaping',
  references: ['CWE-89', 'OWASP A03:2021'],
  cvssScore: 9.8,
});

const report = audit.generateReport();
```

## Best Practices

### Audit Preparation

1. Define scope and objectives
2. Gather documentation
3. Review previous audit findings
4. Prepare audit checklist
5. Schedule with stakeholders

### During Audit

1. Follow systematic approach
2. Document all findings
3. Collect evidence
4. Maintain objectivity
5. Communicate preliminary findings

### Post-Audit

1. Prepare detailed report
2. Present findings to stakeholders
3. Develop remediation plan
4. Track remediation progress
5. Schedule follow-up audit

## Anti-Patterns to Avoid

❌ **Auditing own code**: Use independent reviewers
❌ **Incomplete scope**: Define clear boundaries
❌ **No follow-up**: Track remediation to completion
❌ **Generic findings**: Provide specific, actionable recommendations
❌ **Ignoring context**: Consider business requirements
❌ **No prioritization**: Rank findings by risk and impact

## Reference Documentation

Detailed material lives alongside this skill and is read on demand:

- [Compliance Auditing](references/COMPLIANCE_AUDITING.md) — GDPR Compliance Checklist, SOC 2 Compliance Audit, PCI-DSS Compliance

## Reference Documentation

Detailed material lives alongside this skill and is read on demand:

- [Security Code Review](references/SECURITY_CODE_REVIEW.md) — Authentication Review, SQL Injection Review, Authorization Review, XSS and Output Encoding Review

## Resources

- OWASP ASVS: https://owasp.org/www-project-application-security-verification-standard/
- NIST Framework: https://www.nist.gov/cyberframework
- CIS Controls: https://www.cisecurity.org/controls/
- SOC 2: https://www.aicpa.org/interestareas/frc/assuranceadvisoryservices/aicpasoc2report.html
- GDPR: https://gdpr.eu/
- PCI-DSS: https://www.pcisecuritystandards.org/

© personamanagmentlayer · Apache-2.0 · personamanagmentlayer/pcl

Similar skills

All skills for Security →
security-compliance-audit aj-geddes security-compliance-audit is a Claude Code skill that audits compliance with SOC 2, GDPR, HIPAA, PCI-DSS, and ISO 27001. It checks controls, policies, and procedures before certification or an annual review. CX Codex +1 676installs sparkfinderoven-security-compliance-skills reason-machines sparkfinderoven-security-compliance-skills is a Claude Code skill for security checks and compliance reviews. It responds to requests about OWASP findings, dependency CVEs, GDPR, SOC 2, threat modeling, and incident response. CX Codex +1 763installs awesome-claude-code-security-compliance-suite reason-machines The awesome-claude-code-security-compliance-suite skill checks code and dependencies for security issues, supports GDPR audits, and builds threat models. Use it for security work inside coding agents. CX Codex +1 736installs dd-audit-compliance-report datadog-labs dd-audit-compliance-report is a Claude Code skill that generates Datadog audit reports for SOC 2 and PCI DSS. It runs on requests for auditor evidence or control compliance checks. CX Codex +1 561installs ai-agent-audit-specialist davila7 ai-agent-audit-specialist designs tamper-evident audit trails and compliance mappings for AI coding tools under HIPAA, SOC 2, and EU AI Act rules. CX Codex 148installs enterprise-security-reviewer Alysson Franklin enterprise-security-reviewer — a Claude subagent that reviews B2B SaaS projects against SOC 2, GDPR and ISO 27001, checks tenant isolation, and preps the codebase for an audit. ★ 1,013repo stars

From the same set104

The whole set →
cicd-expert cicd-expert guides CI/CD pipeline architecture, container builds, vulnerability scans, and Kubernetes release strategies. CX Codex +1 192installs terraform-expert terraform-expert — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that gives the agent deep Terraform knowledge: modules, remote state, and resource lifecycle. CX Codex +1 190installs go-expert go-expert — a skill that hands your coding agent Go conventions: goroutines, channels, context cancellation, error wrapping. Useful when you touch backend code. CX Codex +1 190installs monitoring-expert monitoring-expert — a skill for setting up monitoring, metrics and alerting with Prometheus, Grafana, Loki and distributed tracing. Builds observability from scratch or clarifies the three pillars of observation. CX Codex +1 189installs typescript-expert typescript-expert — a skill for expert-level TypeScript 5.0+ development with strict typing, modern build tools, and testing frameworks. CX Codex +1 187installs ai-architect-expert ai-architect-expert — a skill for AI system design: training pipelines, feature stores, model registries and serving with metrics. Useful when a prototype outgrows the notebook. CX Codex +1 185installs qa-expert qa-expert — a skill for test automation, QA strategy, and defect management across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. CX Codex +1 184installs istio-expert The istio-expert skill helps manage Istio traffic, mTLS, and observability in Kubernetes. Use it to inspect a mesh or work through access policies. CX Codex +1 184installs

Project sponsors

Companies that keep this analytics open