An audit skill for AI agents.

Diligent is instructions your AI coding agent follows to audit a U.S. government website or digital service, and to say what it could not check. Every phase writes a file a reviewer can read, and the final status is computed from those files, not asserted.

npx skills@latest add Simple-Cortex/diligent
  • 0.3.0
  • Accessibility checks and state law research
  • 69 automated and assisted checks across 52 rules, in the companion binary
  • 7 rule packs in research lifecycle

The installable Diligent 0.3.0 package ships zero automated website checks; with the separately installed diligent-rs companion binary, diligent audit runs the Source, Browser and Network checks the supported-checks matrix marks automated or assisted. No rule is published, so an automated result is evidence for a person to weigh, not a legal conclusion.

One command, diligent audit --url, samples the site the WCAG-EM way, captures pages in headless Chrome, runs the checks, and writes an evidence-bound report with honest coverage. A sampled audit never supports a whole-site claim.

Rules in 7 packs
159
Accessibility, federal web, privacy, infrastructure, and service UX, each rule a cataloged obligation. 45 are at draft, the rest at research, and none is published.
Rules with automated or assisted checks
52
Run by the companion binary on the Source, Browser and Network channels.
Checks in the Node package
0
The package holds the workflow and the gate. Checks need the companion binary.
Authorities
76
Laws, policies, standards, and guidance, each with its review state.

Rules are cataloged for review. None is source-reviewed yet.

How the gate decides.

Four conditions decide the overall status. Switch them on and off to see the outcome and exit code the gate returns.

Try the gate

With no failure and nothing unresolved, the status is pass_for_declared_scope, for the declared scope only.

Only because nothing was left untested.

Exit code 0

pass_for_declared_scope. With no failure and nothing unresolved, the status is pass_for_declared_scope, for the declared scope only. Only because nothing was left untested. Exit code 0.

Selected obligations
0
Applicable
0 of 0
Not applicable (cited)
0 of 0
Unresolved applicability
0 of 0
Pending effective date
0 of 0
Required check instances
0
Executed instances
0 of 0
Reviewed items
0 of 0
Unsupported applicable obligations
0 of 0

The Diligent 0.3.0 package runs no automated website checks. Results come from people, documents, an agent's recorded observations, or the companion binary.

A small model of the gate's own rules, run in your browser. Switch a condition on to see the outcome it produces.

Four rules the gate does not bend.

What changes when you use Diligent.

  • axe-core and Lighthouse test the pages you point them at.

    Diligent records its declared scope, and anything outside it stays not_tested.

  • Lighthouse gives a score from 0 to 100.

    Diligent’s gate gives pass_for_declared_scope, fail, incomplete, or not_applicable, computed from the recorded results.

  • A manual review ends as a report.

    Diligent also leaves the files behind it, and a rerun links to the result it supersedes instead of overwriting it.

Every step leaves a file.

Artifacts live under .diligent/<audit-id>/. Each phase writes its artifact before the next may start.

  • SCOPE.jsonschema_versionaudit_id
  • APPLICABILITY.jsonschema_versionrun_id
  • EVIDENCE.jsonlschema_versionevidence_id
  • FINDINGS.jsonschema_versionrun_id
  • ASSESSMENT.jsonschema_versionrun_id
  • REPORT.mdAssessment reportAssessment status

What an audit leaves behind.

An excerpt of REPORT.md from an audit of this site, diligent.style, run with no profile and source review only. The full report lists 18 findings; this shows 3.

REPORT.md (excerpt)text
# Diligent Audit Report — diligent.style

Audit ID: `diligent-style-site`
Mode: `source` (repository snapshot)
Profile: None selected — this is not a government service
Date: 2026-10-17
Automated checks: 0 (source review only; no browser or runtime testing)

## Overall Assessment: incomplete

Findings (3 of 18, titles only)
  A2  needs_review  `aria-controls` ID mismatch  (HeaderIsland.tsx → Arc SiteHeader)
  E3  needs_review  `hello.js` loaded on every page  (Base.astro)
  A4  not_tested  Color contrast  (theme.css)
  … 15 more findings

Gate exit code: 2 (incomplete)

How it works

  1. initRUN.json
  2. discoverPROJECT-CONTEXT.json
  3. scopeAUTHORITIES.lock.json
  4. inventoryINVENTORY.json
  5. planAUDIT-PLAN.json
  6. collectEVIDENCE.jsonl
  7. assessRESULTS.jsonl
  8. proposeREPAIRS.json
  9. verifyVERIFICATION.json
  10. reportREPORT.md
  11. gateASSESSMENT.json

The CLI runs init, status, gate, report, and rules validate in 0.3.0, and audit when the companion binary is installed. Every other phase is agent-performed.

Who it is for

Public services have to work for the people who depend on them. Diligent helps a team record what was checked, what failed, and what nobody has checked yet.

Accessibility and compliance leads

You need the audit to say what it covered and what it did not. Diligent reports counts with denominators, lists unsupported criteria, and routes judgment calls to named roles. Hand a reviewer the files, not a summary. Each result points to recorded evidence with provenance, and the report leads with coverage counts and gaps.

Designers, developers, and product teams

You need to know where to fix something and what must not change. Findings carry a location, a reproduction, an acceptance test, and the protected constraints, such as required legal wording and approved flows.

Program, privacy, and security owners

You need the right questions at the right time. Evidence requests name the exact artifact, the owner role, and the obligation it would settle. State and local teams: a research profile covers ADA Title II, and applicability depends on entity population.

Updates

0.3.0, 2026-11-02

New accessibility checks and a first record of state accessibility and privacy law. Eight checks are new (five browser, three source), the SVG naming check is extended, and research-status authorities A70 to A78 are added for seven states and for Title VI. The new checks report needs_review rather than a pass or a fail whenever their evidence cannot settle the question, and every new DOM walk is bounded. The companion binary now has 33 browser checks and 23 source checks. Rules stay at research or draft, so an automated result is still evidence for a person to weigh, not a legal conclusion.

  • Browser checks BRW-LABEL-ASSOC (form label association, WCAG 1.3.1, 3.3.2, 4.1.2), BRW-LIVE-REGION (status and alert regions, 4.1.3), BRW-DRAG-ALTERNATIVE (a single-pointer alternative to dragging, 2.5.7) and BRW-FOCUS-TRAP (focus stays inside a visible aria-modal dialog, 2.4.3). Each has authored fixtures with recorded captures.
  • BRW-REDUCED-MOTION, an advisory check that compares animation and transition durations under prefers-reduced-motion. It never fails and informs no success criterion: motion under reduced motion is WCAG 2.3.3, which is AAA and outside the AA packs.
  • Source checks SRC-AUTOCOMPLETE-REQUIRED (1.3.5), SRC-HEADING-OUTLINE (2.4.6) and SRC-ACCESSIBLE-AUTH (3.3.8). SRC-ACCESSIBLE-AUTH passes a login password field only when it carries autocomplete="current-password" or the form offers a passwordless alternative, reports needs_review otherwise, and skips sign-up fields.
Read the full changelog

Install Diligent

Requires Node 20 or later for the command line helpers. Where a host cannot run scripts, the skill has a manual fallback.

npx skills@latest add Simple-Cortex/diligent

Diligent does not check whether your model provider is approved for your data. Confirm that before you send anything.

Also from the same maker: Considered, the design-reasoning skill.

Buy us a coffee (opens in new tab)