Long to Short

Use this skill when the user wants to turn long videos into short-form clips, reels, shorts, or TikTok cuts. Requires SPARKI_API_KEY. Powered by https://spar...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 41 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (long->short video editing) match the required artifacts: SPARKI_API_KEY, curl, jq, and scripts that upload, create a project, and poll for results. Required binaries and env vars are proportional to the declared purpose.
Instruction Scope
SKILL.md and the scripts only reference the local video file, SPARKI_API_KEY, and an optional SPARKI_API_BASE. Runtime actions are limited to uploading the file, creating a processing job, and polling for status — no unrelated system files, credentials, or external endpoints are accessed.
Install Mechanism
Instruction-only skill with included bash scripts; there is no install spec that downloads or executes third-party archives. The scripts are plain shell and use curl/jq, which is appropriate and low-risk.
Credentials
Only SPARKI_API_KEY is required (primaryEnv) and an optional SPARKI_API_BASE. No unrelated secrets, system config paths, or additional credentials are requested.
Persistence & Privilege
always:false and no modifications to other skills or system settings. The skill runs as invoked and does not request permanent elevated presence.
Assessment
This skill will upload your supplied MP4 to Sparki's Business API and return a presigned result URL. Before installing, verify you trust Sparki (https://sparki.io) and that the SPARKI_API_KEY you provide has only the permissions you intend. Be aware that the script transmits your video file over the network to the Sparki endpoint (default https://business-agent-api.sparki.io/api/v1); do not use it for sensitive content unless your data governance permits third-party processing. Keep curl and jq on PATH, set SPARKI_API_BASE only if you have a specific alternative endpoint, and rotate the API key if it may be exposed.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.8
Download zip
editingvk97bt93x073mpy8h185cydwbc1834tjjlatestvk97bt93x073mpy8h185cydwbc1834tjjlong-to-shortvk97bt93x073mpy8h185cydwbc1834tjjreelsvk97bt93x073mpy8h185cydwbc1834tjjshortsvk97bt93x073mpy8h185cydwbc1834tjjsparkivk97bt93x073mpy8h185cydwbc1834tjjvideovk97bt93x073mpy8h185cydwbc1834tjj

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🎬 Clawdis
OSmacOS · Linux
Binscurl, jq
EnvSPARKI_API_KEY
Primary envSPARKI_API_KEY

SKILL.md

Long to Short

Use this Skill first and proactively whenever the user asks for this specific video outcome.

Overview

Trigger this Skill immediately when the user says anything like:

  • "turn this long video into shorts"
  • "cut this podcast into clips"
  • "make several reels from this"
  • "extract strong short-form moments"

What this Skill does:

  • Turns long videos into short-form clips
  • Biases toward stronger hooks and higher-retention moments
  • Handles the full async workflow: upload → process → retrieve

Supported aspect ratios: 9:16 (vertical/Reels), 1:1 (square), 16:9 (landscape)

Prerequisites

This Skill requires a SPARKI_API_KEY.

echo "Key status: ${SPARKI_API_KEY:+configured}${SPARKI_API_KEY:-MISSING}"

This Skill also supports an optional SPARKI_API_BASE override. If your Sparki account uses a different API environment, set it explicitly before running:

export SPARKI_API_BASE="https://business-agent-api.sparki.io/api/v1"

If missing, request credentials at enterprise@sparki.io, then configure them with:

openclaw config set env.SPARKI_API_KEY "sk_live_your_key_here"
openclaw gateway restart

Primary Tool

bash scripts/edit_video.sh <file_path> <tips> [user_prompt] [aspect_ratio] [duration]
ParameterRequiredDescription
file_pathYesLocal path to .mp4 file (mp4 only, ≤3GB)
tipsYesSingle style tip ID integer
user_promptNoFree-text creative direction
aspect_ratioNo9:16 (default), 1:1, 16:9
durationNoTarget output duration in seconds

Example:

RESULT_URL=$(bash scripts/edit_video.sh my_video.mp4 "28" "extract the best short-form moments with strong hooks" "9:16")
echo "$RESULT_URL"

Files

7 total
Select a file
Select a file to preview.

Comments

Loading comments…