[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76ZBDTK7QN2HJMSPH2VF16D":3,"skill-same:01M76ZBDTK7QN2HJMSPH2VF16D":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M76ZBDTK7QN2HJMSPH2VF16D","arch-video-cut",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Farch-video-cut\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# arch-video-cut\n\nAutomatic Architecture Video Editing Workflow with Self-Learning Preferences\n\n---\n\n## Description\n\nAutomatically complete the full architecture video editing workflow: multi-video merging, speech-to-text subtitles, background music mixing, and dual output (landscape + portrait). Built-in self-learning system remembers your editing preferences.\n\n**Core Features:**\n- 🎬 Auto merge multiple videos + duration compression\n- 🎙️ Speech transcription or custom subtitles\n- 🎵 Smart background music generation + mixing\n- 📱 Dual output: landscape (16:9) + portrait (3:4)\n- 🧠 Self-evolving preference system\n\n---\n\n## Usage\n\n### Quick Start\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Farch-video-cut\npython3 scripts\u002Ffull_workflow.py\n```\n\n### Prerequisites\n\n1. **Install dependencies:**\n```bash\nbrew install ffmpeg-full  # Required for libass subtitle support\npip3 install faster-whisper  # Optional: for speech transcription\n```\n\n2. **Prepare materials:**\n- Audio file: `~\u002FDesktop\u002F新录音 XX.m4a` (narration voiceover)\n- Video folder: `data\u002Fm1\u002F` (architecture video clips to merge)\n\n3. **Configure preferences (optional):**\n```bash\npython3 scripts\u002Fmanage_preferences.py set\n```\n\n---\n\n## Commands\n\n| Command | Description |\n|------|------|\n| `python3 scripts\u002Ffull_workflow.py` | Execute full editing workflow |\n| `python3 scripts\u002Fmanage_preferences.py show` | View current preferences |\n| `python3 scripts\u002Fmanage_preferences.py set` | Interactive preference editor |\n| `python3 scripts\u002Fmanage_preferences.py reset` | Reset to defaults |\n\n---\n\n## Configuration\n\n### Preferences\n\nEdit `config\u002Fuser_preferences.json` or run `manage_preferences.py set`:\n\n```json\n{\n  \"video\": {\n    \"target_duration\": 20.0,      \u002F\u002F Target duration in seconds\n    \"vertical_format\": \"3:4\",     \u002F\u002F Portrait aspect ratio\n    \"vertical_resolution\": \"1080x1440\"\n  },\n  \"subtitles\": {\n    \"horizontal_font_size\": 14,   \u002F\u002F Landscape font size (px)\n    \"vertical_font_size\": 10,     \u002F\u002F Portrait font size (px)\n    \"font_name\": \"STHeiti\",       \u002F\u002F Font family\n    \"auto_wrap\": true,            \u002F\u002F Auto word wrap\n    \"margin_v\": 30                \u002F\u002F Bottom margin (px)\n  },\n  \"audio\": {\n    \"background_music_volume\": 0.15,  \u002F\u002F BGM volume (0-1)\n    \"fade_in_duration\": 2,            \u002F\u002F Fade-in duration (sec)\n    \"fade_out_duration\": 2            \u002F\u002F Fade-out duration (sec)\n  }\n}\n```\n\n### Custom Subtitles\n\nEdit the `subtitles_text` array in `transcribe_audio()` function:\n\n```python\nsubtitles_text = [\n    \"These six renovation projects were transformed from abandoned schools\",\n    \"Historic buildings, red brick houses, tile-roof homes, single-story factories, and rural self-built houses\",\n    \"Through minimalist design approaches and low-cost renovation strategies\",\n    \"Giving old buildings new life\",\n    \"While balancing contemporary aesthetics and market demands\",\n]\n```\n\n---\n\n## Output\n\n**Output location:** `data\u002F` folder\n\n| File | Description |\n|------|------|\n| `edited_video_final_with_subtitles.mp4` | Landscape version (16:9) |\n| `edited_video_final_with_subtitles_3x4.mp4` | Portrait version (3:4) |\n\n**Example output:**\n```\n✅ All done!\n📁 Output: data\u002Fedited_video_final_with_subtitles.mp4\n📊 Size: 16.0MB\n🎬 Duration: 20.04 seconds\n```\n\n---\n\n## Workflow\n\n```\n1. Merge videos → Compress to target duration\n2. Generate subtitles → Allocate timeline based on audio duration\n3. Generate BGM → Piano chords + fade in\u002Fout\n4. Mix audio → Voiceover + background music\n5. Burn subtitles → Landscape + Portrait versions\n```\n\n**Total processing time:** ~2-3 minutes (depends on video count and duration)\n\n---\n\n## Self-Learning\n\nBuilt-in preference learning system automatically records your editing habits:\n\n- 📝 Saves configuration after each edit\n- 📊 Keeps last 20 adjustment records\n- 🔄 Auto-applies preferences on next run\n- 🎛️ Modify anytime via `manage_preferences.py`\n\n**View learning history:**\n```bash\npython3 scripts\u002Fmanage_preferences.py show\n```\n\n---\n\n## Examples\n\n### Example 1: Quick Edit\n```bash\n# Place 5 video clips in data\u002Fm1\u002F\n# Place voiceover audio at ~\u002FDesktop\u002F新录音 74.m4a\ncd ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Farch-video-cut\npython3 scripts\u002Ffull_workflow.py\n```\n\n### Example 2: Adjust Font Size\n```bash\n# Interactive modification\npython3 scripts\u002Fmanage_preferences.py set\n# Input: horizontal font size 18px\n\n# Re-edit with new font automatically applied\npython3 scripts\u002Ffull_workflow.py\n```\n\n### Example 3: Create 30-Second Version\n```bash\n# Modify preference\npython3 scripts\u002Fmanage_preferences.py set\n# Input: target duration 30 seconds\n\n# Edit\npython3 scripts\u002Ffull_workflow.py\n```\n\n---\n\n## Troubleshooting\n\n### ❌ ffmpeg-full not found\n```bash\nbrew install ffmpeg-full  # Required for libass subtitle support\n```\n\n### ❌ Subtitles not showing\nCheck if `ffmpeg-full` is installed (system ffmpeg doesn't support libass)\n\n### ❌ Transcription failed\n```bash\npip3 install faster-whisper\n# Or skip transcription and edit subtitle text directly in script\n```\n\n### ❌ Wrong video aspect ratio\nModify `vertical_format` in `config\u002Fuser_preferences.json`\n\n---\n\n## Files\n\n```\narch-video-cut\u002F\n├── SKILL.md                    # This file\n├── SELF_LEARNING_GUIDE.md      # Self-learning detailed guide\n├── README.md                   # Quick start guide\n├── config\u002F\n│   └── user_preferences.json   # User preferences\n├── scripts\u002F\n│   ├── full_workflow.py        # Main editing script\n│   ├── preference_learner.py   # Preference learner\n│   └── manage_preferences.py   # Preference manager\n└── data\u002F\n    ├── m1\u002F                     # Input video folder\n    ├── temp_edit\u002F              # Temporary files\n    └── *.mp4                   # Output videos\n```\n\n---\n\n## Version\n\n**v1.0.0** - 2026-03-18\n\n- ✅ Multi-video merge + duration compression\n- ✅ Custom subtitle text\n- ✅ Background music generation + mixing\n- ✅ Landscape + Portrait dual output\n- ✅ Self-evolving preference system\n\n---\n\n## Author\n\n**WildUrban Architect - Linwangming**\n\n**Website:** http:\u002F\u002Fwww.ual-studio.com\u002F\n\n---\n\n_Make tools adapt to you, not you to tools._ 🧠\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fa\u002Farch-video-cut",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill arch-video-cut",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill arch-video-cut",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill arch-video-cut","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Farch-video-cut\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":53},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":53},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":53},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]