export — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited export (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Export knowledge base content to portable file formats: $ARGUMENTS
Use this skill when:
The argument string may contain any combination of:
pdf, markdown, html, or all (default: all)file, note, feed, or kb (default: kb)file, note, feed scopes)Examples:
"pdf kb" — export the entire knowledge base as PDF"html file _data/books/ai/chapter.md" — export one document as HTML"all note _data/notes/2025/03/my-note.md" — export one note in all three formats"markdown feed _data/feeds/2025/03/abc123.json" — export one feed entry as Markdown| Scope | Source files | Notes |
|---|---|---|
file | Single .md file under _data/books/ | Path provided by user |
note | Single .md file under _data/notes/ | Path provided by user |
feed | Single .json file under _data/feeds/ | Exports the body field as Markdown |
kb | All .md files under _data/books/ recursively | Entire knowledge base |
# Export entire KB as PDF
python export/_scripts/export.py --format pdf --scope kb
# Export entire KB in all formats
python export/_scripts/export.py --format all --scope kb
# Export a single document as HTML
python export/_scripts/export.py --format html --scope file --target _data/books/topic/chapter/doc.md
# Export a single note as Markdown
python export/_scripts/export.py --format markdown --scope note --target _data/notes/2025/03/note.md
# Export a single feed entry in all formats
python export/_scripts/export.py --format all --scope feed --target _data/feeds/2025/03/abc123.jsonAll exported files are saved under _data/exports/:
_data/exports/
markdown/ ← .md files
html/ ← standalone .html files (self-contained, with embedded images)
pdf/ ← .pdf files (requires playwright)File names mirror the source path structure. For example: _data/books/ai/chapter/doc.md → _data/exports/html/ai/chapter/doc.html
PDF export uses Playwright (headless Chromium) to render the HTML to PDF. If Playwright is not installed, the script falls back to saving a self-printing HTML file (with window.onload = window.print()) and will notify the user to open it in a browser and use Print → Save as PDF.
To install Playwright:
pip install playwright && playwright install chromiumexport/_scripts/export.py: Main export script.display/_scripts/publish_viewer.py: Provides render_markdown_document() used for HTML rendering._src/config.py: TapestryConfig for resolving project and data paths.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.