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

Doxygen

$ doxygen Official Low Risk
Doxygen · Design & Docs · GPL-2.0 · macos / linux / windows

Doxygen (doxygen) is the long-standing cross-language API documentation generator for C, C++, Objective-C, Java, Python, and IDL. It relies on an INI-style Doxyfile (generated via doxygen -g) and supports structured XML output (GENERATE_XML = YES), though it lacks --json CLI output and uses config-file flags rather than modern CLI subcommands.

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

Parsing C/C++ headers and emitting HTML/XML documentation runs natively offline via doxygen without MCP latency.

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 15 / 25

Runs headlessly with stdin config piping (doxygen -), but relies on legacy INI Doxyfile flags, emits no JSON, and prints verbose warnings unless QUIET = YES.

  • No --json output; structured output requires GENERATE_XML = YES in Doxyfile
  • Supports doxygen -x config diff and stdin piping (doxygen -)
Trust & Safety 23 / 25

Purely offline static source parser writing only to OUTPUT_DIRECTORY; never executes compiled code.

  • Static source parsing only; optional dot invocation for diagrams
Setup & Portability 13 / 15

Widely packaged via brew install doxygen, apt, dnf, and official Windows/macOS installers.

  • Native C++ binary across macOS, Linux, and Windows
Utility & Efficiency 11 / 15

Unmatched legacy standard for C/C++ API documentation and Breathe/Sphinx XML bridges, though modern tools handle JS/TS/Python better.

  • Deep C/C++ preprocessor and comment-block parsing
Maintenance & Lineage 8 / 10

Official doxygen/doxygen repository actively maintained for decades under GPL-2.0.

  • Continuous upstream maintenance on GitHub
Docs & Verifiability 7 / 10

Thorough official manual at doxygen.nl/manual covering all Doxyfile tags and commands.

  • Official manual at doxygen.nl/manual/doxygen_usage.html

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; parses local source trees offline.

Side Effects
Read-Only Local Write
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Doxygen Agent Rules
- Set `QUIET = YES` and `WARN_AS_ERROR = YES` in `Doxyfile` (or pipe overrides via stdin: `(cat Doxyfile; echo "QUIET = YES") | doxygen -`) for clean CI runs.
- Enable `GENERATE_XML = YES` when downstream tools (e.g. Breathe/Sphinx) need structured AST output.
- Install `graphviz` (`dot`) if `HAVE_DOT = YES` is enabled in `Doxyfile`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect non-default Doxyfile settings
doxygen -x Doxyfile

Prints only the Doxyfile options that differ from Doxygen defaults without running a build.

Check installed Doxygen version
doxygen -v

Prints the installed doxygen version number.

Controlled Writes & Previews

Generate a default Doxyfile template
doxygen -g Doxyfile

Writes a commented Doxyfile configuration template in the current directory.

Build API docs from Doxyfile
doxygen Doxyfile

Parses configured source files and writes HTML/LaTeX/XML outputs to OUTPUT_DIRECTORY.

Strengths for Agents

  • + Standard offline parser for C/C++ codebases with structured GENERATE_XML = YES output for Sphinx/Breathe.
  • + doxygen -x Doxyfile cleanly diffs custom settings against defaults.

Caveats & Pitfalls

  • ! Legacy Doxyfile configuration model with no native JSON output or modern CLI flags.
  • ! Diagram generation (HAVE_DOT = YES) requires an external graphviz (dot) binary.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI