Claude AIShorts Editor

Instalar.

Install.

O projeto tem um instalador, o instalar.sh, que faz quase tudo sozinho. Você só prepara o computador uma vez e conecta o Claude. Os dois caminhos terminam no mesmo lugar: Tudo pronto.

The project ships an installer, instalar.sh, that does almost everything on its own. You just prepare your computer once and connect Claude. Both paths end in the same place: Tudo pronto. ("All set.")

O que você precisa

What you need

  • Windows, macOS ou LinuxWindows, macOS or LinuxWindows 10 (22H2) ou 11 pelo WSL, macOS 13+, ou Linux (Ubuntu 22.04+, Debian 12+, Fedora, Arch).Windows 10 (22H2) or 11 via WSL, macOS 13+, or Linux (Ubuntu 22.04+, Debian 12+, Fedora, Arch).
  • Placa de vídeo NVIDIANVIDIA graphics cardRecomendada: deixa a transcrição muitas vezes mais rápida. Sem ela também funciona, só demora mais.Recommended: makes transcription many times faster. It works without one, just slower.
  • Conta Claude ou chave de APIClaude account or API keyClaude Pro, Max, Team ou Enterprise, ou uma chave de API da Anthropic. O plano gratuito não inclui o Claude Code.Claude Pro, Max, Team or Enterprise, or an Anthropic API key. The free plan doesn't include Claude Code.
  • Uns 20 GB livres e internetAbout 20 GB free and internetPara as ferramentas e o modelo do Whisper, mais o espaço dos seus vídeos.For the tools and the Whisper model, plus room for your videos.
  1. Tenha o básico

    Have the basics

    git, curl, ffmpeg, Python 3.10+ e Node 18+. No Windows, tudo dentro do Ubuntu do WSL. Faltando algo? Abra o comando do seu sistema:

    git, curl, ffmpeg, Python 3.10+ and Node 18+. On Windows, everything inside WSL's Ubuntu. Missing something? Open your system's command:

    Ubuntu / Debian / WSL
    sudo apt update
    sudo apt install -y git curl ca-certificates ffmpeg python3 python3-venv
    sudo apt install -y libnss3 libdbus-1-3 libatk1.0-0 libatk-bridge2.0-0 libgbm1 libxrandr2 libxkbcommon0 libxfixes3 libxcomposite1 libxdamage1 libpango-1.0-0 libcairo2 libcups2 fonts-noto-color-emoji
    sudo apt install -y libasound2 || sudo apt install -y libasound2t64
    curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
    sudo apt install -y nodejs
    macOS (Homebrew)
    brew install git python@3.12 node ffmpeg bash
    Fedora
    sudo dnf install -y git curl python3 nodejs ffmpeg-free nss atk at-spi2-atk libdrm libxkbcommon libXcomposite libXdamage libXrandr mesa-libgbm pango cairo alsa-lib cups-libs google-noto-emoji-color-fonts
    Arch / Manjaro
    sudo pacman -S --needed git curl python nodejs npm ffmpeg nss atk at-spi2-atk libxkbcommon libxcomposite libxdamage libxrandr mesa pango cairo alsa-lib libcups noto-fonts-emoji
  2. Claude Code com login

    Claude Code, logged in

    Instale, abra o claude uma vez, entre com a sua conta e saia com /exit.

    Install it, open claude once, sign in with your account and leave with /exit.

    curl -fsSL https://claude.ai/install.sh | bash
    claude
  3. Clone e instale

    Clone and install

    O chmod +x dá permissão de execução ao instalador e ao atalho ./ae. O instalador liga a skill corte-viral, baixa o video-use, o Whisper, o yt-dlp e o Remotion, e termina rodando a verificação. Leva de 5 a 15 minutos.

    chmod +x makes the installer and the ./ae shortcut executable. The installer links the corte-viral skill, downloads video-use, Whisper, yt-dlp and Remotion, and finishes by running the check. Takes 5 to 15 minutes.

    git clone https://github.com/pedro-oscar/claude-ai-shorts-editor.git
    cd claude-ai-shorts-editor
    chmod +x instalar.sh ae skill/corte-viral/scripts/ae
    ./instalar.sh
  4. Primeiro corte

    First cut

    Em prévia, meia resolução. Gostou? ./ae produzir gera a versão final.

    As a half-resolution preview. Like it? ./ae produzir renders the final version.

    ./ae auto "https://www.youtube.com/watch?v=XXXX" --rapido

Sem navegador na máquina? Gere um token com claude setup-token e coloque no .env do projeto como CLAUDE_CODE_OAUTH_TOKEN=…. Com chave de API, use ANTHROPIC_API_KEY=….

No browser on the machine? Create a token with claude setup-token and put it in the project's .env as CLAUDE_CODE_OAUTH_TOKEN=…. With an API key, use ANTHROPIC_API_KEY=….

Quer testar sem vídeo nenhum antes? ./ae demo gera publicar/demo.mp4 com todos os tipos de animação.

Want to test without any video first? ./ae demo creates publicar/demo.mp4 with every kind of animation.

Para atualizar, rode de novo o instalador: ele pode ser rodado quantas vezes quiser.

To update, run the installer again: it's safe to run as many times as you like.

$ git pull && chmod +x instalar.sh ae skill/corte-viral/scripts/ae && ./instalar.sh

Travou em algo? O passo a passo explica cada comando e tem uma tabela de problemas comuns.

Stuck? The step-by-step guide explains every command and has a troubleshooting table.