scriptmate

Use this when an agent must convert video scripts or transcriptions into audit-ready asset-matching packs, analyze visual clips, search stock video or images, index an authorized local media library, review music-placement decisions, configure vendors, or troubleshoot issues with the bundled ScriptMate CLI.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "scriptmate" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-64ee4059c2b3af96e1324f7a84ef161c8a9aa953247b8abd9822ace0721bba73. Verify the upstream source and version against https://skillhub.cn/skills/user_5382c38e/yiling108 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use this when an agent must convert video scripts or transcriptions into audit-ready asset-matching packs, analyze visual clips, search stock video or images, index an authorized local media library, review music-placement decisions, configure vendors, or troubleshoot issues with the bundled ScriptMate CLI.

0 Downloads

Introduction source: third_party · user_5382c38e · 1.0.1 Reference

SkillPi interpretation

Tasks
Use when an agent needs to turn a video script or transcript into a reviewable material-matching package, analyze visual segments, search stock footage or images, index a licensed local media library, inspect scoring decisions, configure providers, or troubleshoot the bundled ScriptMate CLI.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: scriptmate
description: Use when an agent needs to turn a video script or transcript into a reviewable material-matching package, analyze visual segments, search stock footage or images, index a licensed local media library, inspect scoring decisions, configure providers, or troubleshoot the bundled ScriptMate CLI.

ScriptMate

Use ScriptMate to convert a script into semantic segments, visual strategies, ranked footage or image candidates, source links, transparent scores, and review files.

Prepare

Resolve the directory containing this SKILL.md, change to that directory, and verify the bundled launcher:

bash scripts/scriptmate.sh --help

The launcher requires Python 3.9 or newer and FFmpeg. It creates an isolated runtime in a user cache and runs the source bundled with this Skill. Override the cache or Python executable with SCRIPTMATE_CACHE_DIR or SCRIPTMATE_PYTHON when needed.

Before running a task, gather:

  • Script text or a UTF-8 text file.
  • Output directory.
  • Aspect ratio: 9:16, 16:9, 4:3, 3:4, or 1:1.
  • Preferred resolution: 4K, 1080, or 720.
  • Optional provider configuration and licensed local media library.

Configure and Diagnose

Create a configuration file when needed, then inspect it without exposing secrets:

bash scripts/scriptmate.sh init --config config.toml --non-interactive
bash scripts/scriptmate.sh doctor --config config.toml
bash scripts/scriptmate.sh config-show --config config.toml

Supply API keys through environment variables or an ignored local config.toml. Prefer config-show for inspection because it masks credentials.

Run the Workflow

Analyze a script without searching for materials:

bash scripts/scriptmate.sh analyze --file script.txt -o ./analysis-output --aspect 9:16 --config config.toml

Index a local media library:

bash scripts/scriptmate.sh library-index --root /path/to/library --metadata /path/to/metadata.csv

Generate a complete material-matching package:

bash scripts/scriptmate.sh match --file script.txt -o ./output --top 3 --aspect 9:16 --resolution 1080 --config config.toml

Add --library-root and --library-meta to include owned or licensed local assets. Probe a single search query with:

bash scripts/scriptmate.sh search "economic growth" --top 5 --source all --aspect 16:9 --resolution 4K --config config.toml

Explain before network-backed commands that provider calls can consume API quota. Keep --download disabled unless local media files are explicitly required.

Review Results

Review outputs in this order:

  1. Open summary.md for the editorial overview.
  2. Open review.html for a visual, static review surface.
  3. Inspect manifest.json for exact selections, alternatives, scores, reasons, and source URLs.
  4. Inspect segments_overview.csv and per-segment JSON for bulk or detailed review.

Treat automatically selected materials as recommendations. Verify relevance, licensing, attribution, and factual fit before publishing.

Guardrails

  • Do not silently enable planner, judge, search, or generated-material fallbacks. Obtain explicit acceptance before adding any --allow-*-fallback option.
  • Do not print full credentials or include a populated config.toml in shared output.
  • Enable judge vision only when the configured model supports images and higher token usage is acceptable.
  • Report provider, network, quota, FFmpeg, and configuration failures directly instead of claiming success.
  • Preserve source links and attribution requirements in the generated review package.

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供端到端的视频脚本素材匹配解决方案,覆盖语义分析、视觉策略、素材搜索与本地库索引
  • 解决内容创作者将脚本转化为可审核素材包的实际痛点,实用价值明确
Trigger Precision92/100

Highlights

  • 触发描述完整覆盖多种使用场景,包括脚本转换、素材搜索、本地库管理等
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards95/100

Highlights

  • 文档结构清晰,分阶段说明准备、配置、执行、审核流程
  • 提供具体命令示例和输出文件说明,frontmatter 完整规范
Execution Reliability88/100

Highlights

  • 工具来源明确,参数说明完整,覆盖网络、配额、配置等主要异常场景
  • 凭证处理安全,不可逆操作需显式确认,符合可靠性最佳实践
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.