agentsclimarketplace

Docker logs

Skill gologo13/agent-skills/skills/docker-logs

Open-source Codex skills library inspired by hamzafer/cursor-commands, with guardrail-first triggering for reliable workflow automation.

Install
npx -y skills add gologo13/agent-skills --skill docker-logs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Tail logs from Docker containers to check for errors and monitor application behavior; keywords: docker, error. Use only on explicit request; skip in routine implementation discussions.

SKILL.md

1.8 KB, as published. Nobody here has run it

Docker Logs Tail

Tail logs from Docker containers to check for errors and monitor application behavior.

Instructions

When user requests to check container logs:

  1. Discover running containers: First, list all running containers to see what's available:

    docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"
    
  2. Ask user which container(s): Present the list and ask which container(s) they want to monitor

  3. Use appropriate command: Run docker logs with suitable flags based on their needs

Common Commands

List running containers

docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"

Tail logs for a specific container

docker logs -f <container_name>

Tail logs with timestamps

docker logs -f --timestamps <container_name>

Tail last N lines

docker logs -f --tail 100 <container_name>

Check logs since specific time

docker logs -f --since 5m <container_name>

View logs from all containers (with docker compose)

docker compose logs -f

View logs from specific services

docker compose logs -f <service1> <service2>

Filter for errors

docker logs <container_name> 2>&1 | grep -i error

Usage Flow

  1. Run docker ps to discover available containers
  2. Present the container list to the user
  3. Ask which container(s) they want to tail
  4. Ask if they want any filters (errors only, last N lines, since time, etc.)
  5. Execute the appropriate docker logs command

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.