Loading...
Loading...
Use an incremental cache to scan a specified directory or the entire system (the home directory and external volumes), listing all video files with their sizes and modification times within seconds, with optional ffprobe enrichment for duration, resolution, and codec. Use when the user says “list all videos,” “find video files,” “which videos are the largest,” or “list all video files.”
npx skill4agent add lovstudio/skills lov-list-videosstatlov-search-filelov-video-momentslov-media-creatorlov-media-preprocessorlov-migrate-camera-mediauser-profile/v1skill.yamlskills.<skill_id>scripts/profile_store.pyrecords.<field>brand.<field>user.<field>references/user-profile.md| Record | Meaning |
|---|---|
| Default scope when no arguments are provided: |
| List of root directories used by |
| Additional directory names or path suffixes to skip |
| Additional video extensions to recognize |
| Default output: |
| Default sorting: |
<profile directory>/lov-list-videos/cache.json~/.lovstudio/skills/lov-list-videos/cache.jsonLOV_LIST_VIDEOS_CACHE--cachereferences/skill-composition.mdSKILL_DIRscripts/list_videos.pyscripts/profile_store.pyreferences/cache-design.mdreferences/skill-composition.mdexport SKILL_DIR="/path/to/lov-list-videos"context.profilescripts/profile_store.py record--confirm--global--format json--format paths--sort--since--min-size--ext--probereferences/skill-composition.mdlov-search-filepython3 "$SKILL_DIR/scripts/list_videos.py"python3 "$SKILL_DIR/scripts/list_videos.py" ~/Movies ~/Downloads
python3 "$SKILL_DIR/scripts/list_videos.py" --global --sort size --limit 30# 最近 7 天、大于 200M、只看 mp4/mov,输出 JSON 给后续处理
python3 "$SKILL_DIR/scripts/list_videos.py" --global \
--since 7d --min-size 200M --ext mp4 mov --format json
# 补时长/分辨率/编码,按时长排序(自动启用 --probe)
python3 "$SKILL_DIR/scripts/list_videos.py" ~/Movies --sort duration--full--no-cache--clear-cachenode_modulesLibrary/Caches.app.photoslibrary._--no-default-excludes--hidden--excludepython3 "$SKILL_DIR/scripts/profile_store.py" record \
--skill-id lov-list-videos \
--path records.default_scope \
--value '"global"' \
--confirmscannedreusedreused--format jsonerrors~/Libraryskill-card.yamlcases/cases.jsonpricing-card.yaml--probe--sort durationreferences/skill-composition.md