Read system logs

From stevehuang0115/crewly · View interactive version

Read system logs is an AI agent skill from the GitHub repository stevehuang0115/crewly. Read recent Crewly server log entries from the persistent log file.

How to use this skill

Skill file

Read System Logs

Read recent entries from the Crewly server log file (~/.crewly/logs/crewly-YYYY-MM-DD.log).

Parameters

| Parameter | Type | Default | Description |

|-----------|--------|---------|---------------------------------------------------|

| lines | number | 100 | Number of recent log lines to return |

| level | string | (all) | Filter by log level: error, warn, info, debug |

Usage

# Get last 100 log entries (all levels)
bash config/skills/orchestrator/read-system-logs/execute.sh '{"lines":100}'

# Get only error-level entries
bash config/skills/orchestrator/read-system-logs/execute.sh '{"lines":200,"level":"error"}'

Response

Returns a JSON array of log entries, each with level, message, timestamp, and optional metadata fields.

When to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.