Skip to main content
when a pipe fails, debug it like a small production job: confirm the engine is alive, confirm the pipe has data, confirm the AI provider works, then inspect logs and permissions. screenpipe pipe store discover tab

fast triage

lifecycle

common failures

windows pipe exits immediately

if a black command window appears and disappears, the pipe process is probably crashing before you can read the error.
  1. open settings -> pipes -> your pipe -> logs.
  2. run the pipe manually.
  3. if the pipe calls a script, run that script directly in PowerShell.
  4. confirm pipe.md exists in the pipe folder and has valid frontmatter.
  5. confirm the local API is alive:
then search broadly:
do not debug the schedule until manual run works.

write prompts with debuggable outputs

weak:
strong:
for monitoring pipes, add a “no match” behavior:

frontmatter checklist

keep the schedule simple until the pipe works manually. add permissions only for the APIs the pipe needs.

secrets and provider auth

do:
  • keep API keys in .env next to pipe.md
  • use connected app proxies when possible
  • use local models through Ollama for fully local execution
  • use SCREENPIPE_API_KEY when API auth is enabled
do not:
  • paste API keys into the prompt body
  • ask the AI to print secrets
  • grant broad write access before the pipe is proven

connection proxies

connected apps can be called without exposing secrets to the pipe prompt:
exact proxy paths depend on the integration. see connection reference.

search filters that usually break custom pipes

start with broad search, then add filters one at a time.
use content_type=all or content_type=accessibility for most app text. OCR is fallback pixel text, not the main source of screen text on platforms where accessibility data is available. when filtering by window, first inspect real stored window names from broad results. the visible title bar and stored window_name can differ. avoid this while debugging:
prefer:
then add window_name, app_name, start_time, or end_time only after you know the data exists.

notifications and external actions

if a pipe should play a sound, show a notification, send Telegram, update Notion, or call a webhook, split the debugging: make the pipe log every skipped action. silent “no-op” runs are hard to debug.

when to use chat, MCP, or pipes

collect a useful bug report

include:
  • pipe name and pipe.md
  • schedule and whether manual run works
  • output of curl http://localhost:3030/health
  • output of curl http://localhost:3030/pipes/<name>/logs
  • AI provider and model
  • whether API auth is enabled
  • OS and screenpipe version