screenpipe-cli
O que ela faz
Ela configura a gravação contínua de tela e áudio pela linha de comando, depois verifica a saúde da captura, o armazenamento e as buscas. É para quem quer o Screenpipe rodando sem o aplicativo de desktop.
Quando usar
- ✓Quando você quer instalar e iniciar o Screenpipe em uma máquina sem o aplicativo de desktop.
- ✓Quando a gravação parece ter parado e você quer verificar o status da captura.
- ✓Quando você quer pesquisar suas gravações salvas pelo terminal.
Link da skill
https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-core/assets/skills/screenpipe-cli/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Configure o Screenpipe para rodar em segundo plano no meu computador e confira se ele está gravando.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela roda a ferramenta de linha de comando do Screenpipe a partir de uma pasta limpa, usando o binário instalado quando disponível. Depois lê o status e os resultados de busca e os informa.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Screenpipe CLI
Run every CLI command exactly like this, from a clean temp directory so bun x cannot collide with a project's node_modules:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} <command>
$SCREENPIPE_CLI is an already-resolved native binary that screenpipe publishes and refreshes for you. When it is set, a call costs ~0.15s. The bun x screenpipe@latest fallback runs when it is not (a plain terminal, a fresh install, an offline machine) and costs ~4s, because @latest re-resolves the npm registry every single time. Never replace the whole expression with just bun x screenpipe@latest — you would give up the fast path for no reason.
Rules: every invocation is cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} … · keep the ${SCREENPIPE_CLI:-…} form intact · never drop the cd prefix · copy the examples below verbatim rather than shortening them · because the cd changes your working directory, any path you pass must be absolute (~/... or /...), never relative (./my-pipe).
Works on macOS, Linux, and Windows: the CLI always runs under bash, and mktemp is present on all three (on Windows via the bundled git-portable usr/bin).
Use status, search, and state-changing commands as the terminal surface. For repeated or SQL reads, use MCP or the local API (see screenpipe-api). Never use an external SQLite client on the live database.
Sandboxed shells: some agents (e.g. Codex) block all shell network access, so
bun xcannot fetch the package and CLI calls tolocalhost:3030fail instantly. If that happens, use the screenpipe MCP tools instead of the CLI.
Recorder quickstart
For a CLI-only user who wants this computer recorded continuously, use this sequence:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} doctor
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} service install
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} status
service install defaults to recorder mode: screen + audio capture, local indexing, and the API, launched at boot/login and restarted after failures. On macOS, resolve Screen Recording, Microphone, and Accessibility permission warnings reported by doctor; a background service cannot bypass OS consent.
Use the foreground process only for an interactive session or live debugging:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} record
Use API-only server mode only when the machine should serve existing or synced data without recording itself:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} service install --mode server
Running service install again switches modes and restarts the service immediately. service uninstall stops and removes it.
Status and diagnostics
Start every investigation with:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} status
This reports the distinction that matters:
recording normally: the API is healthy and at least one capture stream is activeserving normally: intentional server mode; the API is healthy and local capture is disablednot capturing: the process is up but no capture stream is activeneeds attention: the health endpoint reports degraded/unhealthy capturestopped: no screenpipe health endpoint answered on the selected port
It also prints screen/audio freshness, active devices, history counts, total storage, and the exact SQLite path. Do not infer recording from a PID, an open port, or service status; those prove a process exists, not that new data is arriving.
For scripts and agents, use structured output:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} status --json
Important fields are running, health.status, health.frame_status, health.audio_status, last_capture, last_audio_capture, storage_size_bytes, and database_path. Treat running: true as API availability only; inspect capture status and timestamps before claiming recording is healthy.
Useful follow-ups:
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} service status
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} doctor
cd "$(mktemp -d)" && ${SCREENPIPE_CLI:-bun x screenpipe@latest} diagnose --dry-run
diagnose --dry-run saves a support bundle locally and does not upload it. Do not run diagnose without `--dr
Perguntas frequentes
Preciso do aplicativo de desktop?
Não. Esta skill serve para operar o Screenpipe sem depender do aplicativo de desktop.
Funciona no Windows?
Sim. A descrição diz que funciona no macOS, no Linux e no Windows.
Ela também gerencia automações?
Sim. Também pode gerenciar pipes e conexões pelo terminal.
Detalhes
Descrição original do autor
Set up and operate screenpipe from the terminal, including always-on recording, service modes, capture health, storage, local search, pipes, and connections. Use when the user asks to install, run, inspect, query, automate, or debug screenpipe without relying on the desktop app.
repo: screenpipe/screenpipe
Popularidade
- Estrelas no GitHub
- 22 mil
- Posição no ranking
- #10151
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
screenpipe-api
22 milPermite que seu agente consulte o histórico de tela, áudio e reuniões salvo pelo Screenpipe no seu computador, para responder perguntas sobre trabalhos passados.
screenpipe-cli
22 milPermite que seu agente rode pipes e conexões do Screenpipe pelo terminal, como ativar, executar ou depurar automações de IA agendadas.
screenpipe-health
22 milAjuda seu agente a verificar se o Screenpipe está rodando e gravando corretamente, depois aponta problemas comuns, como serviço parado ou uso intenso de disco.
screenpipe-logs
22 milAjuda seu agente a encontrar e ler os logs da linha de comando e do aplicativo de desktop do Screenpipe, para identificar erros e entender o que aconteceu em um horário.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.