agentleFS
Galbaz1Galbaz1/video-research-mcp/skills/qwen-video-integration/SKILL.md

qwen-video-integration

Skill23 starsChanged 40 days agoMITView on GitHub

Select the optional pinned external Wan 2.7, Wan 2.2 portrait/audio and HappyHorse video-edit tools, checking exact modes, reference drops, truncation and generation retry limits before authorized submission.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read Qwen video-edit and the exact schemas.

    line 14
  2. Very specific:

    Verify the external source, private compatible runtime and grants.

    line 20
  3. Very specific:

    Before spend, validate the selected mode's actual duration/resolution/aspect and anchor constraints, reference bytes/hashes and URL origin.

    line 39
  4. Distinctive:

    Use audio_setting auto/origin only for HappyHorse edits.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Installed resources

For the Claude installer layout, read ../video-research-resources/docs/integrations/qwen-video-edit.md and ../video-research-resources/integrations/qwen/video-edit.json. The repository-relative links below apply in a source checkout or unpacked npm package. Installing these resources does not activate the external integration.

Read Qwen video-edit and the exact schemas. Source: QwenLM/Qwen-MM-Plugins at 07736672525443c7f8a3f6405eed37d2236f023f, package video-edit. This independently authored skill references Apache-2.0 original wrappers/skills; upstream code, assets and weights are not bundled.

Verify the external source, private compatible runtime and grants. Launch qwen-mm-plugins-video-edit or python -m qwen_mm_plugins_video_edit over stdio with isolated QWEN_MM_CONFIG and QWEN_MM_NATIVE_MODE=true. Discovery must make zero generation/detection submits. Actual six-tool discovery passed; native provider samples remain UNRUN because DashScope/requests are absent in the inspected runtimes. Prior Qwen API evidence does not qualify these modes.

Requested operationExact tool / selectorRequired anchors
Text videowan_t2v, mode text_to_video, model wan2.7-t2vPrompt
First framewan_t2v, mode first_frame, model wan2.7-i2vPrompt and first_frame_url
First and last frameswan_t2v, mode first_last_frame, model wan2.7-i2vPrompt and both ordered frame URLs
Portrait readinesswan_s2v, action detect, model wan2.2-s2v-detectPortrait; upstream claims billing even for a negative result
Portrait lip syncwan_s2v, action generate, model wan2.2-s2vPortrait and audio
HappyHorse texthappyhorse, mode text_to_video, model happyhorse-1.0-t2vPrompt
HappyHorse imagehappyhorse, mode image_to_video, model happyhorse-1.0-i2vImage; optional prompt
HappyHorse referenceshappyhorse, mode reference_to_video, model happyhorse-1.0-r2vPrompt and 1–9 ordered images
HappyHorse edithappyhorse, mode video_edit, model happyhorse-1.0-video-editPrompt, video and 0–5 optional images

Before spend, validate the selected mode's actual duration/resolution/aspect and anchor constraints, reference bytes/hashes and URL origin. Reject excess images; upstream silently drops them. Wan's 10241024 preset maps to 960960; image modes send only the resolution tier and follow the first image's aspect. Wan 2.7 declares 2–15s; HappyHorse generation declares 3–15s. These duration bounds are docstring claims, not Pydantic enforcement or live catalog qualification. The upstream Wan-S2V docstring claims voice WAV/MP3 under 15MB/20s and a clear single portrait.

HappyHorse image mode ignores ratio. Video-edit ignores ratio and requested duration, follows its source and may truncate inputs over 15s. Reject over-15s whole-video intent before dispatch; record any authorized exact selected interval. Use audio_setting auto/origin only for HappyHorse edits. Unsupported anchors, alpha-required intent or missing provider limit metadata block submission.

An actual call needs specific source/voice/reference/account/spend authority and DASHSCOPE_API_KEY from the selected environment. The separate explainer_generation_submit/poll/cancel route supports only wan2.7-t2v. Its guards cover no native Qwen call, including wan_t2v text generation or HappyHorse. Keep all native Qwen paid calls disabled until their own durable intent/recovery guards and runtime are qualified. The official Wan2.7 text-to-video reference excludes Wan2.7 from SDK support; the pinned Qwen Wan wrapper uses that SDK, so its source mapping is not a working live route. SDK/POST retries lack demonstrated idempotency; never reissue generation after interruption/timeout/unknown effect. Wan's SDK call has no exposed poll deadline. Wan-S2V defaults to 15s/700s, HappyHorse to 15s/600s, both clamp interval to >=5s; retrying GETs can overrun nominal deadlines. Upstream has no public cancel or standalone poll/resume tool.

Retain task/model/source/reference/script/scene identity, synthetic label, identity/style anchors and continuation settings across handoff. Text task IDs and optional provider usage are not durable operation IDs or measured metadata. Require bounded download, actual output SHA256 and full decode with measured video dimensions, duration and audio before accepting an artifact. Saved paths and URL-only results do not establish that evidence. Durable receipts, recovery and final artifact qualification remain unqualified; preserve all failed and untested modes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.