natsufox/tapestry/export
Claude Code and agent skill by natsufox/tapestry
- community
Checking that the SKILL.md file is still in the repository.
Export knowledge base content to PDF, Markdown, or HTML files saved under _data/exports/. Use when a user wants to save or share KB content as downloadable files. Supports exporting a single document file, a single feed entry, a single note, or the entire knowledge base.
Install
npx vskill@latest install natsufox/tapestry/exportSKILL.md
Tapestry Export
Export knowledge base content to portable file formats: $ARGUMENTS
When to use this skill
Use this skill when:
- A user wants to export, save, download, or share knowledge base content
- The user asks for a PDF, Markdown, or HTML version of a document or the whole KB
- The user wants offline-readable files from the knowledge base
- The user wants to share a chapter or article outside the viewer
Arguments
The argument string may contain any combination of:
- format:
pdf,markdown,html, orall(default:all) - scope:
file,note,feed, orkb(default:kb) - target: a path or partial path to the target artifact (required for
file,note,feedscopes)
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 Resolution
| 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 |
Workflow
- Parse the argument to determine format, scope, and target.
- Change to the project root directory.
- Run the export script:
- The script prints a JSON summary of all exported file paths to stdout.
- Report the output paths back to the user.
Output Location
All exported files are saved under _data/exports/:
File names mirror the source path structure. For example: _data/books/ai/chapter/doc.md → _data/exports/html/ai/chapter/doc.html
PDF Export Notes
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:
Rich Text Handling
- Math (KaTeX): All exported HTML files include KaTeX CDN scripts for math rendering.
- Images: Images are base64-encoded and embedded inline in HTML/PDF exports for full portability.
- Code blocks: Syntax-highlighted HTML is preserved from the knowledge base renderer.
- Tables: Standard HTML tables are preserved.
Resources
export/_scripts/export.py: Main export script.display/_scripts/publish_viewer.py: Providesrender_markdown_document()used for HTML rendering._src/config.py:TapestryConfigfor resolving project and data paths.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tapestry/export/SKILL.md
Popularity
- Repository stars
- 57
- Repository forks
- 6
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/natsufox/tapestry/export)