devvit-logs
Installation
SKILL.md
Devvit Logs
Stream log events from an installed Devvit app for quick debugging. This skill wraps devvit logs and auto-exits after a short window (5 seconds) to avoid hanging on a streaming command.
How It Works
- Ask the user for the target subreddit (required).
- Optionally accept an app name and
--since=...flag. - Run
devvit logsand capture output. - Exit automatically after the first burst of output or 5 seconds, whichever comes first.
Usage
node ./scripts/devvit-logs.cjs <subreddit> [app-name] [--since=1h]
Script path is relative to this skill's directory.