Report

Persist any audit as a timestamped Markdown and/or HTML file (name + date + time) under .botte/reports/, browsable at any time, and list saved reports. Use when the user wants audits saved to consultable files, a history of audits, or to export a checkup/metrics/infra report as .md or .html.

zedarvates 76b3a82 5 files · 11.2 KB Updated

File contents

report — audits saved as timestamped, consultable files

Audits print to the console; this keeps them. Any report dict → a self-contained <name>_<YYYY-MM-DD_HHMMSS>.md and/or .html under .botte/reports/.

Save an audit

The audit CLIs take --save [md|html|both]:

python -m skills.checkup.cli .        --save both   # checkup_2026-06-20_142838.md/.html
python -m skills.metrics.cli .        --save html
python -m skills.infra_advisor.cli auto . --save md

Browse them any time

python -m skills.report.cli list                # most recent first
python -m skills.report.cli list --json

Programmatic

from skills.report import save, list_reports
save("audit", report_dict, fmt="both", out_dir=project/".botte"/"reports")
list_reports(project/".botte"/"reports")

The renderer handles scalars, lists, list-of-dicts → tables, nested dicts, and ASCII diagram fields as code blocks. .botte/ is gitignored, so reports stay local per machine/project. Exposed via [[llm_mcp]] as list_reports. Related: [[checkup]], [[metrics]], [[infra_advisor]], [[app_test]] (its own HTML report).

zedarvates/botte-secrete/tree/main/skills/report commit 76b3a8295a

Frequently asked questions

npx skillmds@latest add zedarvates/report