Energy compliance

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

Energy compliance is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit energy utility software for NERC CIP cybersecurity, FERC market and tariff compliance, EPA emissions and CEMS reporting, renewable portfolio standards (RPS/REC tracking), pipeline safety (49 CFR 192/195), SCADA security, carbon market compliance, and state PUC/ISO/RTO requirements..

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 energy sector codebase in the current

working directory against all applicable regulations.

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

PHASE 0: REGULATORY SCOPE DETECTION

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

Auto-detect the energy sector scope:

BUSINESS MODEL DETECTION:

trading, pipeline, renewable development, energy storage, EV charging

emissions monitoring, renewable energy credits, wholesale market participation

TECH STACK:

Produce a regulatory applicability matrix before proceeding.

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

PHASE 1: NERC CIP CYBERSECURITY COMPLIANCE

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

Review Critical Infrastructure Protection standards:

CIP-002: BES CYBER SYSTEM CATEGORIZATION:

CIP-005: ELECTRONIC SECURITY PERIMETERS:

CIP-007: SYSTEM SECURITY MANAGEMENT:

CIP-010: CONFIGURATION CHANGE MANAGEMENT:

CIP-011: INFORMATION PROTECTION:

CIP-013: SUPPLY CHAIN RISK MANAGEMENT:

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

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

PHASE 2: FERC COMPLIANCE AND REPORTING

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

Review Federal Energy Regulatory Commission requirements:

MARKET RULES AND TARIFFS:

TRANSMISSION PLANNING:

RELIABILITY STANDARDS:

RATE FILINGS:

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

PHASE 3: EPA EMISSIONS TRACKING

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

Review environmental compliance for emissions:

CONTINUOUS EMISSIONS MONITORING (CEMS):

EMISSIONS REPORTING:

CLEAN AIR ACT COMPLIANCE:

CARBON MARKET COMPLIANCE:

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

PHASE 4: RENEWABLE PORTFOLIO STANDARDS AND CLEAN ENERGY

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

Review renewable energy compliance:

RPS COMPLIANCE:

NET METERING:

CLEAN ENERGY STANDARD:

INTERCONNECTION COMPLIANCE:

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

PHASE 5: PIPELINE SAFETY (49 CFR 192/195)

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

Review natural gas and hazardous liquid pipeline compliance:

INTEGRITY MANAGEMENT (49 CFR 192 Subpart O):

PIPELINE SAFETY MANAGEMENT (API RP 1173):

LEAK DETECTION AND REPAIR:

CONTROL ROOM MANAGEMENT (49 CFR 192.631):

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

PHASE 6: STATE AND REGIONAL REQUIREMENTS

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

Review state-specific energy regulatory requirements:

STATE PUC/PSC COMPLIANCE:

REGIONAL MARKET COMPLIANCE:

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

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

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

Energy Sector Regulatory Compliance Review

System: [name/description]

Business Model: [detected energy sector type]

Stack: [detected technologies]

Regulatory Applicability

| Regulation | Applicable | Reason |

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

| NERC CIP | [YES/NO/PARTIAL] | [reason] |

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

| EPA Emissions | [YES/NO/PARTIAL] | [reason] |

| RPS/Clean Energy | [YES/NO/PARTIAL] | [reason] |

| Pipeline Safety | [YES/NO/PARTIAL] | [reason] |

| State PUC/PSC | [YES/NO/PARTIAL] | [reason] |

Summary

| Regulation | Status | Findings | Critical |

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

| NERC CIP | [PASS/WARN/FAIL] | N | N |

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

| EPA Emissions | [PASS/WARN/FAIL] | N | N |

| RPS/Clean Energy | [PASS/WARN/FAIL] | N | N |

| Pipeline Safety | [PASS/WARN/FAIL] | N | N |

| State PUC/PSC | [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 enforcement risk — NERC CIP penalties first, then FERC, EPA, pipeline safety]

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

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:

### /energy-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.