fetch-deployment-logs

Fetch and filter deployment logs from a Repl to debug production errors.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/BotchaVarun/EduBot --skill fetch-deployment-logs-botchavarun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fetch-deployment-logs
Source: https://github.com/BotchaVarun/EduBot/tree/main/.local/skills/fetch-deployment-logs
Command: npx skills add https://github.com/BotchaVarun/EduBot --skill fetch-deployment-logs-botchavarun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a deployed application misbehaves, developers need quick access to production logs to diagnose failures, errors, and unexpected behavior without leaving their workspace. ## Core Features & Use Cases - Time-Range Filtering: Retrieve logs within a specific window using afterTimestamp and beforeTimestamp parameters. - Regex Message Filtering: Narrow logs with RE2 regular expressions to isolate errors, warnings, or specific modules. - Contextual Matching: Use messageContext to view surrounding lines before and after each match, similar to grep -C. - Use Case: A user reports their deployed app is crashing. Fetch logs from the last hour filtered by "ERROR" with 10 lines of context to pinpoint the failing code path. ## Quick Start Ask the assistant to fetch deployment logs from the last hour and filter for error messages to diagnose why the deployed app is failing.

Frequently Asked Questions about fetch-deployment-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch deployment logs for my Repl?▼

Call the fetchDeploymentLogs function in the JavaScript notebook with optional parameters. It returns an object with a logs string, a found boolean, and an optional message when no logs match.

How do I filter deployment logs by error messages?▼

Pass a message parameter containing an RE2 regular expression, such as "ERROR" or "(?i)(failed|exception)". Use the (?i) prefix for case-insensitive matching across log entries.

Can I see log lines surrounding a specific error?▼

Yes, use the messageContext parameter with lines (0-100) and limit (1-10) values. This returns context lines before and after each regex match, similar to grep -C.

How do I get logs from a specific time period?▼

Use afterTimestamp and beforeTimestamp with Unix timestamps in milliseconds. For example, Date.now() - 3600 * 1000 retrieves logs from the last hour only.

Why does fetchDeploymentLogs return no logs?▼

No logs are returned when the deployment has not run recently or no entries match your filters. Broaden the time range or remove the message regex to verify logs exist.