fetch-deployment-logs

Fetch and analyze deployment logs filtered by time and regex to diagnose issues.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/matheusz-nied/stay-hard-motivation --skill fetch-deployment-logs-matheusz-nied
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fetch-deployment-logs
Source: https://github.com/matheusz-nied/stay-hard-motivation/tree/main/.local/skills/fetch-deployment-logs
Command: npx skills add https://github.com/matheusz-nied/stay-hard-motivation --skill fetch-deployment-logs-matheusz-nied

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetches and analyzes deployment logs to debug deployment issues, monitor production behavior, and troubleshoot errors in your environment.

Core Features & Use Cases

  • Time-bounded retrieval using afterTimestamp and beforeTimestamp to focus on relevant windows.
  • Flexible filtering with regex on log messages and optional context lines for debugging.
  • Returns a structured result including logs, a found flag, and optional context to guide remediation.
  • Example: After deploying a new build, fetch logs from the last hour containing "ERROR" to identify failures.

Quick Start

Run fetchDeploymentLogs in your notebook with afterTimestamp and an optional message to retrieve relevant deployment logs.

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 to debug production failures?

To fetch deployment logs for debugging production failures, you can use time-bounded retrieval with afterTimestamp and beforeTimestamp parameters to focus on specific windows. The tool returns structured results including the logs, a found indicator, and contextual options to guide remediation.

What is the best way to search deployment logs using regex?

The best way to search deployment logs using regex is to apply flexible filtering directly on log messages. You can supply a regex pattern to match specific errors or events, and optionally retrieve context lines around the matches for deeper debugging.

Can I filter deployment logs by a specific time range?

Yes, you can filter deployment logs by a specific time range using the afterTimestamp and beforeTimestamp parameters. This time-bounded retrieval allows you to focus strictly on relevant windows, such as the last hour after deploying a new build.

How do I monitor runtime behavior and validate successful deployments across environments?

You monitor runtime behavior and validate successful deployments by fetching and analyzing deployment logs across environments. By querying for specific messages like ERROR within a set time range, you can diagnose issues and confirm whether the deployment succeeded.

Does the log analysis tool return structured results for troubleshooting errors?

Yes, the log analysis tool returns structured results for troubleshooting errors. The output includes the retrieved logs, a found flag indicating if matches exist, and optional context to guide your remediation steps.