Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Asciidoctor

$ asciidoctor Official Low Risk
Asciidoctor · Design & Docs · MIT · macos / linux / windows

Asciidoctor (asciidoctor) is the fast Ruby reference processor for AsciiDoc, converting .adoc documents into HTML5, DocBook 5, or Unix manpages. It supports stdout streaming (-o -), document attributes (-a), safe-mode sandboxing (-S safe), and strict warning failure exit codes via --failure-level WARN.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install asciidoctor
CLI vs MCP Decision CLI Only

Compiling local .adoc files into HTML5, DocBook, or manpages via asciidoctor runs locally in milliseconds without MCP overhead.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Deterministic non-interactive CLI with -o - stdout streaming, --failure-level WARN, and -q, though no native --json output.

  • -o - stdout output and --failure-level WARN exit codes
  • Plain-text stderr diagnostics with no --json flag
Trust & Safety 22 / 25

Built-in -S (--safe-mode) levels (unsafe, safe, server, secure) protect against arbitrary file includes and remote URI reads when enabled.

  • Configurable -S safe-mode sandbox for untrusted documents
Setup & Portability 13 / 15

Easy install via brew install asciidoctor, gem install asciidoctor, and Linux distro packages.

  • Widely packaged via Homebrew, RubyGems, apt, and dnf
Utility & Efficiency 13 / 15

Fast, spec-grade AsciiDoc processor supporting HTML5, DocBook5, manpages, and extensions (asciidoctor-diagram, asciidoctor-pdf).

  • Multi-backend conversion with rich -a attribute overrides
Maintenance & Lineage 9 / 10

Official Asciidoctor project (asciidoctor/asciidoctor) actively maintained under MIT.

  • Official Asciidoctor GitHub organization
Docs & Verifiability 8 / 10

Excellent manpage and CLI documentation at docs.asciidoctor.org.

  • Official CLI reference at docs.asciidoctor.org

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; processes local .adoc files offline.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline, and open-source (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Asciidoctor Agent Rules
- Keep default safe mode (`-S safe` or `-S secure`) when compiling untrusted `.adoc` inputs; avoid `-S unsafe` or `-a allow-uri-read`.
- Use `--failure-level WARN` in CI/verification runs so broken `include::` directives fail the command.
- Pass `-o -` for dry stdout validation without leaving build artifacts behind.

Agent-Ready Command Recipes

Safe Read-Only Queries

Validate AsciiDoc conversion to stdout
asciidoctor -b html5 -o - --failure-level WARN doc.adoc > /dev/null

Renders doc.adoc to stdout without writing disk files and exits non-zero if any warning occurs.

Check installed Asciidoctor version
asciidoctor --version

Prints the installed asciidoctor and Ruby runtime versions.

Controlled Writes & Previews

Compile AsciiDoc document to HTML5
asciidoctor -b html5 -a toc=left -o out.html doc.adoc

Converts doc.adoc into standalone out.html with a left table-of-contents attribute.

Strengths for Agents

  • + Clean -o - stdout streaming and --failure-level WARN for zero-write syntax/include validation.
  • + Built-in -S safe-mode sandboxing limits include:: and external URI reads on untrusted docs.

Caveats & Pitfalls

  • ! No --json output mode for structured warning or AST reporting.
  • ! PDF or diagram rendering requires separate Ruby gems (asciidoctor-pdf, asciidoctor-diagram).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI