Nov 15, 2026

Turn Raw Footage into Editable Projects with the gtrk CLI

Gitruck's 1k-star gtrk CLI lets your agent rough-cut talking heads, cut highlights and assemble narrated videos into .gtrk projects you refine in a desktop client.

#tutorial#creative#developer-tools

Video editing is the part of content work where an agent helps least by default: it writes you a script, then hands you back to the timeline. gtrk is a 1k-star video-creation CLI built for AI agents — describe what you want in a Skills-enabled agent such as Codex, Claude Code, Cursor or TRAE, and your agent uses gtrk to cut talking heads, find highlights, create narrated videos and add B-roll, motion graphics and captions. You preview and refine the result in the desktop client.

Why This CLI Matters

The output is an editable project, not a black-box MP4. gtrk keeps footage, audio, captions and motion graphics in a local .gtrk project; the CLI renders MP4s on its own, and the project opens in the desktop client for shot-by-shot refinement before you export supported elements to Jianying or Premiere. Per the README's workflow table, it covers talking heads, voiceover from a finished script, long-to-short highlight cutting, narrated videos built from film, gameplay, travel or restaurant footage, screen-recording-plus-presenter tutorials, and documentary vlogs. Long-to-short editing keeps highlights in the original speakers' voices; narrated videos retell the material.

Installation

You need an agent that supports Skills and local command execution, plus Node.js ≥ 20.6:

npx @gitruck/cli@latest install

The installer sets up gtrk, installs its Skills and guides you through API-key configuration. Get a key from the Gitruck Cloud dashboard; cloud capabilities require an account and available credit. Open a new agent session afterwards so the Skills load.

There are also three documented paths that install the Skills only — the generic skills CLI, the Claude Code plugin marketplace, and the Codex plugin marketplace:

# Generic skills CLI (skills.sh)
npx skills add Gitruck/cli

# Claude Code plugin marketplace
/plugin install gtrk --marketplace Gitruck/cli

# Codex plugin marketplace
codex plugin marketplace add Gitruck/cli
codex plugin add gtrk@gitruck

Each of these installs the Skills only — you still need npx @gitruck/cli@latest install for the gtrk CLI and the API key. (The repo's zh README prints this same block with Chinese comments; the commands are identical.)

Real Workflow: Rough-Cut a Talking Head

Give your agent the footage folder and ask — the README's own example:

Turn "talk.mp4" into a video. The script is in the same folder. Show me the production plan first.

Under the hood the same step works as a direct command:

gtrk oralcut "./talk.mp4" --script "./script.txt"
gtrk doctor

Media processing requires FFmpeg — check with gtrk deps status, and when it is missing, run gtrk deps install as directed. After your agent assembles the project, the CLI renders it with gtrk render; refine it in the desktop client when you want finer edits.

For a rough cut only, the README suggests:

Cut a version of this talking-head recording, remove retakes and long pauses, and give me a project I can keep editing in Jianying.

Real Workflow: Long Interview to Short Clips

For a podcast, course, interview or livestream replay, the workflow table suggests asking your agent to pick self-contained highlights and make separate short-video projects. A worked example on the product page cuts a 45-second highlight out of a 26:29 interview, with separate landscape and portrait edits. After refining a .gtrk project in the client, export with gtrk project export --project <dir> to produce Jianying, Premiere XML, FCPXML or OTIO while preserving the refined timeline — do not rerun oralcut at that point, which rebuilds the rough cut.

Tips

  • You do not need to memorize command or Skill names — the README's stance is to describe the task and let the agent guide you when installation, configuration or costs need your input.
  • Use single tools without the whole workflow: gtrk tool list shows the toolbox, which covers matting, denoising, vocal separation, upscaling, interpolation, image motion and video dubbing.
  • Reuse your show's identity: typography, colors, visual language and creative rules carry into the next episode through your own Skills and show configuration.
  • If Skills go missing or a task fails, open a new agent session, run gtrk doctor, and refresh with gtrk skills install.
  • For AI-generated story scenes, gtrk pairs with Gitruck's AI Drama Desk: gtrk ai-drama lay --project ./my-video --desk-project <project-id> places exported clips back into the project by beat windows.

When Not to Use This

  • You want a fully free, offline pipeline. The CLI is MIT-licensed, but Gitruck Cloud capabilities follow their own billing rules, and cloud-rendered motion graphics are billed separately — the README's workflow diagram puts cloud analysis and processing in the middle of the loop.
  • You need the desktop client on macOS or Linux. The CLI runs on Windows, macOS and Linux; the desktop client is currently available for Windows only.
  • You cannot upload anything. By default, talking-head and long-to-short workflows keep the original locally and upload extracted audio; visual assistance or smart split-screen uploads a compressed proxy; tools that process or render video in the cloud may upload the video — the FAQ says to check each tool's instructions.

See the leaderboard for more skills. For fully local editing instead, see the FFmpeg skill tutorial.