meta/agents/security-agent/skills/06-log-analyzer/SKILL.md
Scan all service logs for error spikes, failed auth attempts, and suspicious access patterns
npx skillsauth add abzhaw/juliaz_agents log-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Logs are the black box of the system. This skill reads them so you don't have to. It looks for patterns that signal something is wrong: auth failures, error explosions, and unexpected access.
| Source | Location |
|--------|----------|
| PM2 logs | ~/.pm2/logs/ |
| Startup log | security-agent/../logs/startup.log |
| Bridge log | PM2 stdout for bridge |
| Orchestrator log | PM2 stdout for orchestrator |
| Frontend log | PM2 stdout for frontend |
| Docker logs | docker logs backend-api + docker logs postgres |
ERROR or FATAL entries in the last 24h# Last 24h PM2 logs
pm2 logs --nostream --lines 500 2>/dev/null
# Docker container logs (last 24h)
docker logs --since 24h juliaz_agents-api-1 2>/dev/null
docker logs --since 24h juliaz_agents-postgres-1 2>/dev/null
# Count errors by service
pm2 logs --nostream --lines 1000 2>/dev/null | grep -c "ERROR\|FATAL"
| Finding | Severity | |---------|----------| | Unknown Telegram user ID messaged Julia | 🔴 Critical | | Auth failures >10 in 24h | 🟠 High | | Error rate up >300% vs. yesterday | 🟠 High | | Same error repeated >50 times | 🟡 Medium | | Unusual request volume | 🟡 Medium |
LOG ANALYSIS (last 24h)
orchestrator: 3 errors (down from 12 yesterday) ✅
bridge: 0 errors ✅
frontend: 47 errors ⚠️ (React hydration — known issue)
docker-api: 1 FATAL — DB connection timeout 🟠
auth: ✅ No unknown Telegram users
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.