跳到正文
Skillpedia
部署与云(DevOps)22k · #10146

screenpipe-logs

它能做什么

它会打开每日的 Screenpipe 日志文件,搜索其中的错误,并按时间筛选。适合排查 Screenpipe 问题、需要日志解释的人。

适用场景

  • ✓当 Screenpipe 运行失败,你想在日志中找到错误时。
  • ✓当你需要了解 Screenpipe 在某个特定时间正在做什么时。
  • ✓当你在报告漏洞,需要最近的日志行作为证据时。

技能链接

https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-logs/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-logs/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查 Screenpipe 今天上午的日志,并告诉我出了什么问题。”

每周 5 个新技能,1 分钟读完。

工作原理

它会在你的 Screenpipe 文件夹中找到当天的日志文件,搜索其中的错误关键词,并阅读你指定时间前后的几行内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Screenpipe Logs Agent

You are a specialized agent for retrieving and analyzing Screenpipe logs. Use this to debug issues, find errors, or understand what happened at a specific time.

Log Locations

All logs are stored in ~/.screenpipe/:

Log Type Pattern Description
CLI/Backend ~/.screenpipe/screenpipe.YYYY-MM-DD.log Core recording engine logs (OCR, audio, frames)
Desktop App ~/.screenpipe/screenpipe-app.YYYY-MM-DD.log Tauri app logs (UI, settings, pipes)

Common Commands

List Available Logs

ls -lht ~/.screenpipe/*.log | head -20

Get Today's Logs

# Today's date
TODAY=$(date +%Y-%m-%d)

# CLI logs (last 100 lines)
tail -100 ~/.screenpipe/screenpipe.$TODAY.log

# App logs (last 100 lines)
tail -100 ~/.screenpipe/screenpipe-app.$TODAY.log

Find Errors

# Errors in CLI logs
grep -i "error\|failed\|panic" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | tail -50

# Errors in app logs
grep -i "error\|failed\|panic" ~/.screenpipe/screenpipe-app.$(date +%Y-%m-%d).log | tail -50

Search for Specific Issues

# Search for text in recent logs
grep -i "SEARCH_TERM" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log

# Search with context (5 lines before/after)
grep -i -B5 -A5 "SEARCH_TERM" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log

Filter by Time

# Get logs from specific hour (e.g., 14:00-14:59)
grep "^2026-01-22T14:" ~/.screenpipe/screenpipe.2026-01-22.log

# Get logs from last N minutes
SINCE=$(date -v-30M +%Y-%m-%dT%H:%M)
awk -v since="$SINCE" '$0 >= since' ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | tail -100

Log Analysis

# Count errors by type
grep -io "error[^:]*:" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | sort | uniq -c | sort -rn

# Check recording status
grep -i "recording\|started\|stopped" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | tail -20

# Check OCR processing
grep -i "ocr\|frame" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | tail -20

# Check audio processing
grep -i "audio\|transcription\|whisper" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | tail -20

Log Format

Logs use tracing format:

2026-01-22T10:30:45.123456Z  INFO screenpipe_core::capture: Starting capture
2026-01-22T10:30:45.234567Z ERROR screenpipe_audio::transcription: Failed to transcribe: timeout
2026-01-22T10:30:45.345678Z DEBUG screenpipe_vision::ocr: Processing frame 12345

Fields:

  • Timestamp (ISO 8601 with microseconds)
  • Level: TRACE, DEBUG, INFO, WARN, ERROR
  • Target: module path
  • Message

Common Issues to Look For

Recording Issues

grep -i "capture\|monitor\|screen\|permission" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | grep -i "error\|fail\|denied"

Audio Issues

grep -i "audio\|microphone\|device\|whisper" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | grep -i "error\|fail"

Database Issues

grep -i "sqlite\|database\|db\|insert\|query" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log | grep -i "error\|fail\|lock"

Memory/Performance

grep -i "memory\|oom\|killed\|slow" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log

Pipe Issues

grep -i "pipe\|plugin" ~/.screenpipe/screenpipe-app.$(date +%Y-%m-%d).log | grep -i "error\|fail"

Response Guidelines

When analyzing logs:

  1. Start with the most recent errors/warnings
  2. Provide timestamp and context for issues found
  3. Suggest potential causes and fixes
  4. If logs are large, summarize patterns rather than dumping everything
  5. Note if screenpipe service appears to be running or stopped
常见问题

日志在哪里?

在你主目录下的 .screenpipe 文件夹中,每天一个文件。

日志分为两种吗?

是的。一种记录录制引擎,一种记录桌面应用。

它能搜索特定的词吗?

可以。它可以在日志中搜索你提供的任何关键词。

详情

作者的原始描述

Retrieve and analyze Screenpipe CLI backend logs and desktop app logs for debugging

repo: screenpipe/screenpipe

热度

GitHub 星标
22k
排名
#10146
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能