Financial compliance

From tinh2/skills-hub-registry · View interactive version

Financial compliance is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit fintech and financial services code for KYC/AML (CIP, CDD, EDD, sanctions screening, transaction monitoring), BSA (SAR/CTR filing, FinCEN reporting, Travel Rule), Reg E (EFT error resolution, unauthorized transfer liability, provisional credit), SOX (audit trails.

How to use this skill

Skill file

You are in AUTONOMOUS MODE. Do NOT ask questions. Review every regulatory domain systematically.

TARGET:

$ARGUMENTS

If no arguments provided, review the entire financial services codebase in the current

working directory against all applicable regulations.

============================================================

PHASE 0: REGULATORY SCOPE DETECTION

============================================================

Auto-detect the financial services scope:

BUSINESS MODEL DETECTION:

investment, insurance, cryptocurrency, BNPL, neobank, embedded finance

money transmission, deposit taking, insurance underwriting

TECH STACK:

Produce a regulatory applicability matrix before proceeding.

============================================================

PHASE 1: KYC / AML COMPLIANCE

============================================================

Review Know Your Customer and Anti-Money Laundering implementation:

CUSTOMER IDENTIFICATION PROGRAM (CIP):

CUSTOMER DUE DILIGENCE (CDD):

ENHANCED DUE DILIGENCE (EDD):

SANCTIONS SCREENING:

TRANSACTION MONITORING:

For each finding: regulatory reference, file path, severity, description, remediation.

============================================================

PHASE 2: BSA (BANK SECRECY ACT) COMPLIANCE

============================================================

Review BSA-specific requirements:

SUSPICIOUS ACTIVITY REPORTING:

CURRENCY TRANSACTION REPORTING:

RECORDKEEPING:

BSA/AML PROGRAM ELEMENTS:

============================================================

PHASE 3: REGULATION E COMPLIANCE

============================================================

Review electronic fund transfer compliance:

DISCLOSURE REQUIREMENTS:

ERROR RESOLUTION:

UNAUTHORIZED TRANSFERS:

PREAUTHORIZED TRANSFERS:

============================================================

PHASE 4: SOX (SARBANES-OXLEY) COMPLIANCE

============================================================

Review financial reporting controls in code:

FINANCIAL REPORTING CONTROLS:

AUDIT TRAIL:

SEGREGATION OF DUTIES:

INTERNAL CONTROLS:

============================================================

PHASE 5: GLBA (GRAMM-LEACH-BLILEY ACT) COMPLIANCE

============================================================

Review privacy and data protection:

PRIVACY NOTICES:

DATA SHARING CONTROLS:

SAFEGUARDS RULE:

============================================================

PHASE 6: STATE MONEY TRANSMITTER COMPLIANCE

============================================================

Review state-level requirements:

LICENSE TRACKING:

STATE REPORTING:

STATE-SPECIFIC REQUIREMENTS:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing the review, validate completeness and consistency:

  1. Verify all required output sections are present and non-empty.
  2. Verify every finding references a specific file or code location.
  3. Verify recommendations are actionable (not vague).
  4. Verify severity ratings are justified by evidence.

IF VALIDATION FAILS:

============================================================

OUTPUT

============================================================

Financial Regulatory Compliance Review

System: [name/description]

Business Model: [detected financial service type]

Stack: [detected technologies]

Regulatory Applicability

| Regulation | Applicable | Reason |

|------------|-----------|--------|

| KYC/AML | [YES/NO/PARTIAL] | [reason] |

| BSA | [YES/NO/PARTIAL] | [reason] |

| Reg E | [YES/NO/PARTIAL] | [reason] |

| SOX | [YES/NO/PARTIAL] | [reason] |

| GLBA | [YES/NO/PARTIAL] | [reason] |

| State MTL | [YES/NO/PARTIAL] | [reason] |

Summary

| Regulation | Status | Findings | Critical |

|------------|--------|----------|----------|

| KYC/AML | [PASS/WARN/FAIL] | N | N |

| BSA | [PASS/WARN/FAIL] | N | N |

| Reg E | [PASS/WARN/FAIL] | N | N |

| SOX | [PASS/WARN/FAIL] | N | N |

| GLBA | [PASS/WARN/FAIL] | N | N |

| State MTL | [PASS/WARN/FAIL] | N | N |

Detailed Findings

For each regulation with WARN or FAIL:

[Regulation Name]

| # | Severity | Reg Reference | File | Description | Remediation |

|---|----------|---------------|------|-------------|-------------|

Compliance Gap Analysis

Remediation Priority

[Ordered list by regulatory enforcement risk — KYC/AML and BSA first, then consumer protection]

============================================================

NEXT STEPS

============================================================

After reviewing the compliance findings:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /financial-compliance — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

============================================================

DO NOT

============================================================

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.