Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Fetch any URL via Chrome CDP and convert the rendered page to clean markdown with YouTube transcript support.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/config/first-time-setup.md
1---2name: first-time-setup3description: First-time setup flow for baoyu-url-to-markdown preferences4---56# First-Time Setup78## Overview910When no EXTEND.md is found, guide user through preference setup.1112**BLOCKING OPERATION**: This setup MUST complete before ANY other workflow steps. Do NOT:13- Start converting URLs14- Ask about URLs or output paths15- Proceed to any conversion1617ONLY ask the questions in this setup flow, save EXTEND.md, then continue.1819## Setup Flow2021```22No EXTEND.md found23|24v25+---------------------+26| AskUserQuestion |27| (all questions) |28+---------------------+29|30v31+---------------------+32| Create EXTEND.md |33+---------------------+34|35v36Continue conversion37```3839## Questions4041**Language**: Use user's input language or saved language preference.4243Use AskUserQuestion with ALL questions in ONE call:4445### Question 1: Download Media4647```yaml48header: "Media"49question: "How to handle images and videos in pages?"50options:51- label: "Ask each time (Recommended)"52description: "After saving markdown, ask whether to download media"53- label: "Always download"54description: "Always download media to local imgs/ and videos/ directories"55- label: "Never download"56description: "Keep original remote URLs in markdown"57```5859### Question 2: Default Output Directory6061```yaml62header: "Output"63question: "Default output directory?"64options:65- label: "url-to-markdown (Recommended)"66description: "Save to ./url-to-markdown/{domain}/{slug}.md"67```6869Note: User will likely choose "Other" to type a custom path.7071### Question 3: Save Location7273```yaml74header: "Save"75question: "Where to save preferences?"76options:77- label: "User (Recommended)"78description: "~/.baoyu-skills/ (all projects)"79- label: "Project"80description: ".baoyu-skills/ (this project only)"81```8283## Save Locations8485| Choice | Path | Scope |86|--------|------|-------|87| User | `~/.baoyu-skills/baoyu-url-to-markdown/EXTEND.md` | All projects |88| Project | `.baoyu-skills/baoyu-url-to-markdown/EXTEND.md` | Current project |8990## After Setup91921. Create directory if needed932. Write EXTEND.md943. Confirm: "Preferences saved to [path]"954. Continue with conversion using saved preferences9697## EXTEND.md Template9899```md100download_media: [ask/1/0]101default_output_dir: [path or empty]102```103104## Modifying Preferences Later105106Users can edit EXTEND.md directly or delete it to trigger setup again.107