screenpipe-health
它能做什么
它会检查 Screenpipe 是否在运行、录制是否正常,以及其数据占用了多少空间。适合认为 Screenpipe 已停止或占用了过多空间的人。
适用场景
- ✓当 Screenpipe 似乎已停止录制,你想知道原因时。
- ✓当 Screenpipe 占用大量磁盘空间或内存时。
- ✓当你在报告问题前想快速做一次健康检查时。
技能链接
https://github.com/screenpipe/screenpipe/blob/main/.claude/skills/screenpipe-health/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“Screenpipe 现在是否正常运行并录制?请检查是否有任何问题。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查正在运行的进程,向本地的 Screenpipe 健康检查接口查询录制状态,测量数据文件夹的大小,并扫描最近日志中的错误。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Screenpipe Health Agent
You are a specialized agent for checking Screenpipe's health status and diagnosing issues.
Quick Health Check
1. Check if Screenpipe is Running
# Check for screenpipe processes
pgrep -fl screenpipe
# Check if API is responding
curl -s http://localhost:3030/health | head -100
2. Check Recording Status
# Get health with recording info
curl -s http://localhost:3030/health | jq '.frame_status, .audio_status' 2>/dev/null || curl -s http://localhost:3030/health
3. Check Disk Usage
# Screenpipe data directory size
du -sh ~/.screenpipe/
# Database size
ls -lh ~/.screenpipe/db.sqlite* 2>/dev/null
# Video/audio cache
du -sh ~/.screenpipe/data/ 2>/dev/null
4. Check Recent Logs for Errors
# Last 10 errors from today
grep -i "error" ~/.screenpipe/screenpipe.$(date +%Y-%m-%d).log 2>/dev/null | tail -10
Detailed Diagnostics
Process Information
# Detailed process info
ps aux | grep -i screenpipe | grep -v grep
# Memory usage
ps aux | grep -i screenpipe | grep -v grep | awk '{sum+=$6} END {print "Total Memory: " sum/1024 " MB"}'
# Check if app or CLI
pgrep -fl "screenpipe-app" && echo "Desktop app running"
pgrep -fl "screenpipe$" && echo "CLI running"
API Endpoints Check
# Health endpoint (includes vision + audio pipeline stats)
curl -s http://localhost:3030/health
# Search endpoint (test query)
curl -s "http://localhost:3030/search?limit=1" | head -50
# List audio devices
curl -s http://localhost:3030/audio/list
# List monitors
curl -s http://localhost:3030/vision/list
# Vision pipeline metrics (raw counters)
curl -s http://localhost:3030/vision/metrics
# Audio pipeline metrics (raw counters)
curl -s http://localhost:3030/audio/metrics
Audio Pipeline Diagnostics
# Quick audio pipeline health — is transcription actually working?
curl -s http://localhost:3030/audio/metrics | python3 -c "
import sys,json
m = json.load(sys.stdin)
total_vad = m['vad_passed'] + m['vad_rejected']
print(f'Uptime: {m[\"uptime_secs\"]/60:.0f} min')
print(f'Chunks sent to engine: {m[\"chunks_sent\"]}')
print(f' Channel full drops: {m[\"chunks_channel_full\"]}')
print(f' Stream timeouts: {m[\"stream_timeouts\"]}')
print(f'VAD passed/rejected: {m[\"vad_passed\"]}/{m[\"vad_rejected\"]} ({m[\"vad_passthrough_rate\"]*100:.0f}% passthrough)')
print(f' Avg speech ratio: {m[\"avg_speech_ratio\"]:.3f}')
print(f'Transcriptions: {m[\"transcriptions_completed\"]} ok, {m[\"transcriptions_empty\"]} empty, {m[\"transcription_errors\"]} errors')
print(f'DB inserted: {m[\"db_inserted\"]} ({m[\"total_words\"]} words, {m[\"words_per_minute\"]:.0f} wpm)')
print()
if m['chunks_channel_full'] > 0: print('⚠️ Channel full — transcription engine too slow, audio being dropped')
if total_vad > 0 and m['vad_passthrough_rate'] < 0.1: print('⚠️ Very low VAD passthrough — may be dropping real speech')
if m['transcription_errors'] > 0: print('⚠️ Transcription errors detected')
if m['chunks_sent'] > 0 and m['db_inserted'] == 0: print('🔴 Chunks sent but nothing stored — pipeline is broken')
if m['chunks_sent'] == 0 and m['uptime_secs'] > 120: print('🔴 No chunks sent after 2min — audio capture not working')
"
# Audio pipeline info from /health (summary view)
curl -s http://localhost:3030/health | python3 -c "
import sys,json
h = json.load(sys.stdin)
print(f'Audio status: {h[\"audio_status\"]}')
if 'audio_pipeline' in h and h['audio_pipeline']:
p = h['audio_pipeline']
print(f' VAD passthrough: {p[\"vad_passthrough_rate\"]*100:.0f}%')
print(f' Words/min: {p[\"words_per_minute\"]:.0f}')
print(f' DB inserted: {p[\"db_inserted\"]}')
"
Database Health
# Check database integrity
sqlite3 ~/.screenpipe/db.sqlite "PRAGMA integrity_check;" 2>/dev/null
# Database size and tables
sqlite3 ~/.screenpipe/db.sqlite "SELECT name, (SELECT COUNT(*) FROM main WHERE name=t.name) FROM sqlite_master t WHERE type='table';" 2>/dev/null
# Recent frame count
sqlite3 ~/.screenpipe/db.sqlite "SELECT COUNT(*) as frames_today FROM frames WHERE timestamp > datetime('now', '-1 day');" 2>/dev/null
Permissions Check (macOS)
# Check screen recording permission
sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "SELECT client,allowed FROM access WHERE service='kTCCServiceScreenCapture';" 2>/dev/null | grep -i screenpipe
# Check microphone permission
sqlite3 ~/Librar
常见问题
它会更改任何设置吗?
不会。它只检查状态、大小和日志。
它会查看我录制的内容吗?
它的检查重点是状态、大小和日志,而不是录制内容本身。
它会读取哪些日志?
它读取保存在 .screenpipe 文件夹中最近的 Screenpipe 日志。
详情
作者的原始描述
Check Screenpipe health status, process state, and diagnose common issues
repo: screenpipe/screenpipe
热度
- GitHub 星标
- 22k
- 排名
- #10145
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
screenpipe-api
22k让你的智能体查阅 Screenpipe 保存在你电脑上的屏幕、音频和会议记录,回答关于过往工作的问题。
screenpipe-cli
22k让你的智能体在终端中运行 Screenpipe 的管道(pipes)和连接,例如启用、运行或调试定时的 AI 自动化任务。
screenpipe-logs
22k帮你的智能体查找并阅读 Screenpipe 命令行和桌面应用的日志,以便发现错误,并弄清某个时间点发生了什么。
render-html-report
22k帮你的智能体把摘要做成可视化的 HTML 报告,包含图表或仪表板,并在 Screenpipe 查看器中以实时页面显示。