Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

ai_audit

No security coverage
View on drupal.org

AI Audit provides a one-click technical audit of any Drupal site. Enter a URL,
and the module crawls the page, detects Drupal fingerprints, runs 18+
automated rules across Security, Performance, SEO, and Accessibility — then
enriches every issue with AI-generated explanations and ready-to-use code fixes.

Features

  • One-click audit from a simple URL input form at /ai-audit
  • Drupal detection engine with 12 signals and confidence scoring (DEFINITE / PROBABLE / UNLIKELY)
  • 18 automated rules across 5 categories: Security, Performance, Drupal-specific, SEO, Accessibility
  • AI-powered explanations via Claude API — each issue gets a technical explanation, ready-to-use code fix, and documentation links
  • Severity levels: High / Medium / Low with sort order
  • Estimation engine: total fix time in hours + rough cost estimate in USD
  • Graceful fallback — module works without API key, showing rule-based issues only
  • Expandable rule set — add new rules in 6 lines of PHP, no class registration needed
  • Print-friendly report (PDF via browser print)
  • Contact form integration — generates a pre-filled message summarizing all issues

Post-Installation

  1. Enable the module: drush en ai_audit -y && drush cr
  2. Go to /admin/config/ai-audit and enter your Claude API key (get one at console.anthropic.com)
  3. Optionally set the key in settings.php to keep it out of the database:

    $config['ai_audit.settings']['claude_api_key'] = 'sk-ant-...';
  4. Visit /ai-audit, enter any URL, and click Run audit
  5. Review the structured report with issues, code fixes, and time estimates

Additional Requirements

  • Drupal 10.x or 11.x
  • PHP 8.1+
  • Claude API key from console.anthropic.com (optional — module works without it, AI enrichment disabled)
  • Outbound HTTPS access to api.anthropic.com from your server

Similar projects

  • Site Audit — Drush-based audit tool, CLI only, no AI explanations, no external URL auditing
  • Checklist API — manual checklist approach, not automated

AI Audit differs by combining automated rule detection with AI-generated,
code-level fix instructions — targeting both developers and agency clients
who need actionable output, not just a list of warnings.

Supporting this Module

Drupal expertise and consulting:
drupal.com.ua/contact

Community Documentation

  • Full source code and setup guide: see the module's README.md

Activity

Total releases
1
First release
May 2026
Latest release
1 month ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable May 1, 2026