.claude/skills/browser-recorder/SKILL.md
Ghi lại thao tác trên browser thành script Python tự động. Quan sát hành động thực của user (click, gõ, cuộn, điều hướng) và tạo code Playwright/Selenium tương ứng. Kích hoạt khi user muốn "ghi lại" hoặc "bắt chước" thao tác trên trình duyệt.
npx skillsauth add nguynbon03/API-XuongMedia-Backup browser-recorderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Biến MỌI thao tác thủ công trên browser thành Python script tự động.
User làm thủ công 1 lần → tool ghi lại → tự động replay vô hạn lần.
Code mẫu: references/codegen-recorder.py, references/custom-recorder.py, references/har-recorder.py
headless=False khi record để user thấy browserpage.wait_for_load_state() sau mỗi điều hướngpage.locator() hơn page.query_selector()data/recorded/.py có thể chạy độc lậpXem thêm: references/selector-strategies.md, references/recorder-setup.md
development
Crawl website và trích xuất dữ liệu có cấu trúc bằng BeautifulSoup, Scrapy, Playwright. Hỗ trợ cả trang tĩnh và trang động (JS-rendered). Kích hoạt khi user cần lấy dữ liệu từ website bất kỳ.
tools
Upload video tự động lên TikTok, YouTube, Facebook, Instagram bằng browser automation (Playwright). Vì các nền tảng này không có public API cho upload, phải dùng browser automation. Kích hoạt khi user cần upload video lên bất kỳ nền tảng nào.
development
Xử lý video bằng Python — cắt ghép, thêm nhạc nền, phụ đề, watermark, resize, chuyển định dạng, render hàng loạt. Dùng ffmpeg-python và moviepy. Kích hoạt khi user cần xử lý video bất kỳ cách nào.
tools
Lập lịch chạy task tự động — cron job, xử lý hàng đợi, lập lịch hàng loạt. Dùng APScheduler, Celery, hoặc crontab. Kích hoạt khi user cần chạy task định kỳ hoặc xử lý hàng loạt theo lịch.