Skip to content
← Back to Articles

VidPipe: I Built an Agentic Video Editor with GitHub Copilot CLI

devchallenge githubchallenge cli githubcopilot

This is a submission for the GitHub Copilot CLI Challenge

What I Built

VidPipe is an open-source agentic video editor that automates the entire post-production workflow. You drop a video file, and a 15-stage AI pipeline transforms it into:

The entire pipeline is orchestrated by 8 specialized AI agents built on the @github/copilot-sdk — ShortsAgent, SummaryAgent, ProducerAgent, ChapterAgent, SocialMediaAgent, BlogAgent, MediumVideoAgent, and SilenceRemovalAgent. Each agent uses structured tool calls to make intelligent, contextual decisions about your content.

Why I built this: I’m a full-time employee, a dad (with twins on the way — about to have 3 kids), and an aspiring tech creator. I love talking about technology but I hate editing. Recording is the fun part. Everything after? Time I don’t have. So I built a tool that lets me record once and publish everywhere.

GitHub Repository | npm package | Documentation

Demo

Watch the full demo video →

The video above walks through VidPipe processing a recording end-to-end — from ingestion through shorts generation, caption burning, and the Tinder-style review interface for approving social media posts.

The Pipeline in Action

Ingest → Transcribe → Silence Removal → Captions → Caption Burn
    → Shorts → Medium Clips → Chapters → Summary
    → Social Posts → Short Posts → Medium Posts
    → Blog → Queue Build → Git Push

Output Structure

Every processed video gets its own organized folder:

recordings/my-demo/
  my-demo-captioned.mp4          # With burned-in captions
  transcript.json                # Word-level timestamps
  README.md                      # AI-generated summary
  shorts/
    catchy-title-portrait.mp4    # 9:16 for TikTok/Reels
    catchy-title-square.mp4      # 1:1 for Instagram
    catchy-title/posts/          # Per-short social posts
  chapters/
    chapters-youtube.txt         # Ready to paste into YouTube
  social-posts/
    tiktok.md, youtube.md, instagram.md, linkedin.md, x.md
    devto.md                     # Full blog post

Review UI

VidPipe includes a built-in web app where you review and approve content before it gets scheduled:

VidPipe Review UI

My Experience with GitHub Copilot CLI

GitHub Copilot CLI wasn’t just a tool I used to write this project — it became an integral part of the development workflow itself. Here’s how:

1. Custom Copilot Hooks — Enforcing Quality at Every Step

I built 5 custom Copilot hooks in .github/hooks/ that run automatically during development:

These hooks mean that Copilot CLI operates within strict guardrails — it can’t take shortcuts, skip tests, or bypass review.

2. Custom Agents — Specialized AI Workers

I created 3 custom Copilot agents in .github/agents/:

3. Custom Skills — Reusable Workflows

3 custom skills in .github/skills/:

4. The 37KB copilot-instructions.md

My .github/copilot-instructions.md is 37KB of project context — every pipeline stage, every agent behavior, every FFmpeg pattern, every testing convention. This means when Copilot CLI works on vidpipe, it deeply understands the architecture. It knows that the adjusted transcript goes to captions while the original transcript goes to shorts. It knows that execFile (not exec) is required for FFmpeg. It knows the provider abstraction layer and cost tracking patterns.

5. The Push Workflow — CI/CD Powered by Copilot

The npm run push command (which Copilot hooks enforce) runs this entire pipeline:

typecheck → tests (51 test files) → coverage check → build → git push
    → poll CodeQL alerts → poll Copilot PR review
    → auto-dispatch security-fixer agent for CodeQL alerts
    → auto-dispatch review-triage agent for review comments

If anything fails, Copilot CLI fixes it and re-runs. The cycle continues until all gates pass.

How Copilot CLI Impacted My Development

The numbers tell the story:

I built this entire project in 3 weeks — as a side project, after work, while parenting. That would have been impossible without Copilot CLI. It wrote tests, fixed security alerts, triaged its own code reviews, and kept the codebase consistent through custom hooks and instructions.

The most powerful aspect? Copilot CLI doesn’t just help you write code — it becomes part of your engineering system. The hooks enforce standards. The agents handle reviews. The skills automate releases. It’s not an assistant sitting next to you — it’s a teammate embedded in your workflow.


Built with love by a busy dad who’d rather record than edit. If you’re a creator struggling with the post-production grind, give VidPipe a try.


← All Articles