src/skills/optional/veo-video/SKILL.md
This skill should be used when the task is to generate a short video with Google Veo through Gemini-compatible APIs, and the environment has a working GEMINI_API_KEY or GOOGLE_API_KEY.
npx skillsauth add 42atom/msgcode veo-videoInstall 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.
调用 Google Veo 生成短视频。
GEMINI_API_KEY 或 GOOGLE_API_KEYgoogle-genai优先使用 Python + google-genai 官方 SDK,不要自造 wrapper 协议。
最小流程:
genai.Clientmodels.generate_videosfrom google import genai
from google.genai import types
import os, time
client = genai.Client(api_key=os.getenv("GEMINI_API_KEY") or os.getenv("GOOGLE_API_KEY"))
operation = client.models.generate_videos(
model="veo-3.1-generate-preview",
prompt="生成一个简短视频",
config=types.GenerateVideosConfig(
number_of_videos=1,
duration_seconds=5,
enhance_prompt=True,
),
)
while not operation.done:
time.sleep(20)
operation = client.operations.get(operation)
data-ai
This skill should be used when the model needs detailed image understanding beyond the system preview summary, and needs a provider-neutral capability index.
development
# todo skill 触发:任务记录、查看待办、标记完成。 优先入口:`~/.config/msgcode/skills/todo/main.sh` 默认 workspace:当前目录 `$PWD`(可被 `--workspace` 覆盖)。 常用: - `bash ~/.config/msgcode/skills/todo/main.sh add "补充测试报告" --json` - `bash ~/.config/msgcode/skills/todo/main.sh list --json` - `bash ~/.config/msgcode/skills/todo/main.sh done <taskId> --json`
development
# thread skill 触发:查看/切换会话线程,读取线程消息。 优先入口:`msgcode thread ...` 常用: - `msgcode thread list --json` - `msgcode thread active --json` - `msgcode thread messages <thread-id> --limit 20 --json` - `msgcode thread switch <thread-id> --json`
development
This skill should be used when the model needs to create, inspect, enable, disable, or remove recurring schedules in msgcode, or when diagnosing schedule state in the current workspace.