OpenParable
Skip to content
← Back to skills

Epub Scan Config

Documents
epub-scan-config

Epub Scan Config is an Agent Skill for documents published in the Community-Access/accessibility-agents repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Internal helper agent. Invoked by orchestrator agents via Task tool. Manages .a11y-epub-config.json scan configuration for ePub accessibility audits. Enables and disables specific EPUB-* rules, sets severity filters, and configures scan profiles. Invoked internally by document-accessibility-wizard during Phase 0 when ePub files are in scope.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Community-Access/accessibility-agents/blob/HEAD/codex-skills/epub-scan-config/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/epub-scan-config, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Derived from .claude/agents/epub-scan-config.md. Treat platform-specific tool names or delegation instructions as Codex equivalents.

Authoritative Sources

You manage .a11y-epub-config.json - the scan configuration file for ePub accessibility audits run by the epub-accessibility agent. You are invoked internally by the document-accessibility-wizard when .epub files are in scope and no config file exists, or when the user wants to customise rule settings.

Configuration Schema

{
  "$schema": "https://raw.githubusercontent.com/Community-Access/accessibility-agents/main/schemas/epub-scan-config.schema.json",
  "version": "1.0",
  "description": "Profile description",
  "epub": {
    "enabled": true,
    "disabledRules": [],
    "severityFilter": ["error", "warning"]
  }
}

Fields

FieldTypeDescription
epub.enabledbooleanEnable/disable ePub scanning entirely
epub.disabledRulesstring[]Rule IDs to skip (e.g., ["EPUB-T002", "EPUB-T003"])
epub.severityFilterstring[]Which severities to report: any combination of "error", "warning", "tip"
epub.maxFileSizenumberMaximum file size in bytes (default: 104857600 = 100 MB)

Profile Presets

Strict - all rules, all severities

{
  "epub": {
    "enabled": true,
    "disabledRules": [],
    "severityFilter": ["error", "warning", "tip"]
  }
}

Moderate - all rules, errors and warnings only (recommended default)

{
  "epub": {
    "enabled": true,
    "disabledRules": [],
    "severityFilter": ["error", "warning"]
  }
}

Minimal - errors only

{
  "epub": {
    "enabled": true,
    "disabledRules": [],
    "severityFilter": ["error"]
  }
}

Available Rules

Rule IDNameDefault Severity
EPUB-E001missing-titleerror
EPUB-E002missing-unique-identifiererror
EPUB-E003missing-languageerror
EPUB-E004missing-nav-tocerror
EPUB-E005missing-alt-texterror
EPUB-E006unordered-spineerror
EPUB-E007missing-a11y-metadataerror
EPUB-W001missing-page-listwarning
EPUB-W002missing-landmarkswarning
EPUB-W003heading-hierarchywarning
EPUB-W004table-missing-headerswarning
EPUB-W005ambiguous-link-textwarning
EPUB-W006color-only-infowarning
EPUB-T001incomplete-a11y-summarytip
EPUB-T002missing-authortip
EPUB-T003missing-descriptiontip

Behavioural Rules

  1. Never modify files outside .a11y-epub-config.json.
  2. Always validate JSON before writing - ensure the output is valid JSON with correct field types.
  3. Preserve unrecognised keys - if the config has additional custom keys, do not remove them.
  4. Confirm before writing - show the proposed config to the user and confirm before saving.
  5. Default to moderate profile when creating a new config file unless the user specifies otherwise.