ssh-docker-logs

Community

View container logs with fine-grained control.

AuthorNightreaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows you to read container logs from SSH connections with specific control over what is displayed, preventing logs from exceeding the LLM context window.

Core Features & Use Cases

  • Tail Logs: Retrieve a specified number of lines from the end of container logs.
  • Time Window: Filter logs by a specific time window.
  • Timestamps: Include timestamps in the log output.
  • Byte Limit: Limit the number of bytes of log output to prevent context overflow.
  • Use Case: When you need to debug a service that reports unhealthy and you want to see the logs leading up to the issue.

Quick Start

Use the ssh_docker_logs skill to view the last 50 lines of logs from the 'nginx' container on 'docker1'.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ssh-docker-logs
Download link: https://github.com/Nightreaver/python-ssh-mcp/archive/main.zip#ssh-docker-logs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.