Skip to content
Back to skills

Logs

ASecurity

Tail or aggregate logs from the fleet's services: file-based when present, kubectl-based when the config has a k8s block (for mirrord / in-cluster runs).

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 29, 2026
developmentpythonbashspring

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add talayash/spring-fleet --skill logs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Logs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Logs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/talayash-logs/badge)](https://www.skillsdirectory.com/skills/talayash-logs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: logs
description: Tail or aggregate logs from the fleet's services: file-based when present, kubectl-based when the config has a k8s block (for mirrord / in-cluster runs).
argument-hint: [service|all] [--grep TEXT] [--lines N] [--follow] [--k8s]
allowed-tools: Bash, Read
---

Show fleet logs.

Input: `$ARGUMENTS`: optional service name (default: all), plus optional
`--grep`, `--lines`, `--follow`, `--k8s`.

Steps:
1. Locate `spring-fleet.config.json` (cwd, else suggest `/fleet-init`).
2. Run the aggregator, passing through the relevant flags:
   ```
   python "${CLAUDE_PLUGIN_ROOT}/scripts/tail_logs.py" --config ./spring-fleet.config.json [--service NAME] [--grep TEXT] [--lines N] [--follow] [--k8s]
   ```
   - If a bare service name was given in `$ARGUMENTS`, pass it as `--service`.
   - `all` or empty → all services.
   - `--k8s` falls back to `kubectl logs -l <podSelectorTemplate>` for any
     service whose file-based log is missing. Requires a `k8s` block in the
     config (namespace + optional context + podSelectorTemplate). mirrord
     users get this for free: the local service runs against the shared
     cluster, the other services log to stdout in-cluster, kubectl reads
     them.
3. Present the tagged, aggregated output (`[service/k8s]` for kubectl-sourced
   lines). For `--follow`, stream until interrupted.

## Outside Claude Code

- `${CLAUDE_PLUGIN_ROOT}` is the spring-fleet plugin root. Claude Code fills it in; in Codex it is the folder two directories above this SKILL.md.
- `$ARGUMENTS` is the text the user supplied with the request.
- spring-fleet MCP tools: pass `config_path` (absolute path of the project's `spring-fleet.config.json`). Codex starts the server outside the project, so it cannot find the config on its own.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.