从视频网页链接(yt-dlp 支持的站点上的单个视频页面)导入视频到工程和画布:使用 opendirector asset import-url,不要自己用 curl/wget 拼直链下载。Use when the user gives a video page URL and wants the video in the project, on the canvas, or as a reference.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Video Link Import?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thinkflowlab-video-link-import)
---
name: video-link-import
description: 从视频网页链接(yt-dlp 支持的站点上的单个视频页面)导入视频到工程和画布:使用 opendirector asset import-url,不要自己用 curl/wget 拼直链下载。Use when the user gives a video page URL and wants the video in the project, on the canvas, or as a reference.
---
# Video link import / 从链接导入视频
`opendirector asset import-url` downloads the video on a page with the site's
own extractor, prefers a format the browser can play (H.264, VP9 or AV1 up to
1080p), and registers it through the same path as `asset import`. Do not
resolve direct file URLs with curl or wget: a page's original file may be a
format the canvas cannot play.
## Steps
1. Read the canvas with `opendirector project show --summary` to choose a
free position.
2. `opendirector asset import-url "URL"` — add `--name` for a custom title.
The receipt returns `assetId` and `source` (`url`, `title`, `site`,
`durationSeconds`); in an Agent turn `file` is the downloaded copy in the
execution directory.
3. `opendirector canvas add-material --asset ASSET_ID --x X --y Y` shows it
on the canvas.
## When the import is refused
A refusal is final for that link. Never fetch the same link another way
(curl, wget, Python, a browser tool or a different URL for the same host),
even if the user gave a direct file URL: the refusal is a security or policy
check, not a transport problem. Report the error code and ask the user to
upload the file or give a public page of a single video.
- `url_import_private`: the link points to this computer or a local or
private network.
- `url_import_playlist`, `url_import_live`, `url_import_too_long`,
`url_import_too_large`, `url_import_unsupported`: ask for a single video
page of at most 15 minutes and 512 MB that is offered as a file, not only as
a stream.
- `url_import_failed`: the site refused or failed, often because it blocks
server downloads; ask the user to download the file and upload it.
Import only videos the user has the right to use.