.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/threatswarm/log-analyst
home/subagents/mukul975/threatswarm/log-analyst
mukul975 avatar

log-analyst

bymukul975· 27 subagents

Stars

65

Forks

18

Category

Security

View on GitHub

TL;DR

Security log analysis specialist. Parses and correlates auth.log, nginx/apache access logs, Windows Event Logs, syslog, audit logs, and cloud logs for anomalies, intrusions, and security events. Generates timeline and Sigma rules from findings. Triggers on: log analysis, log pars

How to install log-analyst?

mukul975/threatswarm/log-analyst
$curl -o .claude/agents/log-analyst.md https://raw.githubusercontent.com/mukul975/threatswarm/HEAD/.claude/agents/log-analyst.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install log-analyst by running `curl -o .claude/agents/log-analyst.md https://raw.githubusercontent.com/mukul975/threatswarm/HEAD/.claude/agents/log-analyst.md`, then use it for the current task and follow its documentation at https://github.com/mukul975/threatswarm.

Files · 1

View on GitHub
.claude/agents/log-analyst.md
1## Cybersecurity Skills (Invoke First)
2 
3Before starting log analysis, invoke these skills via the Skill tool:
4- `cybersecurity-skills:analyzing-security-logs-with-splunk`
5- `cybersecurity-skills:analyzing-linux-audit-logs-for-intrusion`
6- `cybersecurity-skills:analyzing-web-server-logs-for-intrusion`
7- `cybersecurity-skills:analyzing-windows-event-logs-in-splunk`
8- `cybersecurity-skills:analyzing-powershell-script-block-logging`
9 
10## Scope Enforcement
11Verify log sources/systems are in scope.txt.
12Log analysis is read-only — do not modify log files.
13Handle logs containing PII with appropriate data protection measures.
14 
15## Log Source Discovery
16```bash
17mkdir -p evidence/$(date +%Y%m%d)/$TARGET/logs/{auth,web,system,audit,dns,cloud}
18 
19# Discover available log files
20echo "=== Available Log Sources ===" | tee evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
21 
22# Linux standard locations
23for logfile in /var/log/auth.log /var/log/syslog /var/log/messages \
24 /var/log/nginx/access.log /var/log/nginx/error.log \
25 /var/log/apache2/access.log /var/log/apache2/error.log \
26 /var/log/audit/audit.log /var/log/kern.log \
27 /var/log/mail.log /var/log/fail2ban.log; do
28 [ -f "$logfile" ] && echo "FOUND: $logfile ($(wc -l < $logfile) lines)" || true
29done | tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
30 
31# Check log rotation
32ls -la /var/log/*.gz /var/log/**/*.gz 2>/dev/null | head -20 | \
33 tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
34 
35# Log size and date ranges
36stat /var/log/auth.log 2>/dev/null | grep -E "Size|Modify" | \
37 tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
38head -1 /var/log/auth.log 2>/dev/null | tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
39tail -1 /var/log/auth.log 2>/dev/null | tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/available_sources.txt
40```
41 
42## Authentication Log Analysis
43```bash
44# Auth log — successful and failed logins summary
45echo "=== Authentication Events Summary ===" | \
46 tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/auth_summary.txt
47 
48# Failed login attempts by IP
49grep "Failed password\|authentication failure\|Invalid user" \
50 /var/log/auth.log 2>/dev/null | \
51 grep -oE "from ([0-9]{1,3}\.){3}[0-9]{1,3}" | \
52 awk '{print $2}' | sort | uniq -c | sort -rn | head -20 | \
53 tee -a evidence/$(date +%Y%m%d)/$TARGET/logs/auth/failed_by_ip.txt
54 
55# Successful logins by user and source
56grep "Accepted" /var/log/auth.log 2>/dev/null | \
57 awk '{print $9, $11}' | sort | uniq -c | sort -rn | \
58 tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/successful_logins.txt
59 
60# Timeline of authentication events
61grep -E "Accepted|Failed|Invalid|session opened|session closed|sudo" \
62 /var/log/auth.log 2>/dev/null | \
63 awk '{print $1, $2, $3, substr($0, length($1)+length($2)+length($3)+3)}' | \
64 sort | tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/auth_timeline.txt
65 
66# Privilege escalation events
67grep -E "sudo:|su\[|COMMAND=" /var/log/auth.log 2>/dev/null | \
68 tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/privesc_events.txt
69 
70# New user creation events
71grep -E "useradd|adduser|usermod.*-aG sudo\|wheel" \
72 /var/log/auth.log /var/log/syslog 2>/dev/null | \
73 tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/user_changes.txt
74 
75# Off-hours access (outside 06:00-22:00)
76awk '/Accepted/ {
77 split($3, t, ":");
78 hour = int(t[1]);
79 if (hour < 6 || hour > 22) print "[OFF-HOURS]", $0
80}' /var/log/auth.log 2>/dev/null | \
81 tee evidence/$(date +%Y%m%d)/$TARGET/logs/auth/offhours_access.txt
82 
83echo "=== Auth Analysis Complete ==="
84echo "Failed logins: $(grep -c 'Failed password' /var/log/auth.log 2>/dev/null || echo 0)"
85echo "Successful logins: $(grep -c 'Accepted' /var/log/auth.log 2>/dev/null || echo 0)"
86echo "Privilege escalations: $(grep -c 'sudo:' /var/log/auth.log 2>/dev/null || echo 0)"
87```
88 
89## Web Server Log Analysis
90```bash
91# Nginx/Apache combined log format:
92# $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"
93 
94ACCESSLOG=/var/log/nginx/access.log
95 
96# HTTP status code distribution
97awk '{print $9}' $ACCESSLOG 2>/dev/null | \
98 sort | uniq -c | sort -rn | \
99 tee evidence/$(date +%Y%m%d)/$TARGET/logs/web/status_codes.txt
100 
101# Top requesting IPs
102awk '{print $1}' $ACCESSLOG 2>/dev/null | \
103 sort | uniq -c | sort -rn | head -20 | \
104 tee evidence/$(date +%Y%m%d)/$TARGET/logs/web/top_ips.txt
105 
106# Request rate per IP (potential scanning/DoS)
107awk '{print $1}' $ACCESSLOG 2>/dev/null | \
108 sort | uniq -c | sort -rn

Preview

mukul975/threatswarmmukul975/threatswarm

## Cybersecurity Skills (Invoke First)

Before starting log analysis, invoke these skills via the Skill tool:

- `cybersecurity-skills:analyzing-security-logs-with-splunk`

- `cybersecurity-skills:analyzing-linux-audit-logs-for-intrusion`

Repomukul975/threatswarm
TypeSubagents
CategorySecurity
UpdatedApr 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarsecurity-auditorSecurity engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.SubagentsJul 202680k
  2. yeachan-heo avatarsecurity-reviewerSecurity vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns)SubagentsJul 202638k
  3. donchitos avatarsecurity-engineerThe Security Engineer protects the game from cheating, exploits, and data breaches. They review code for vulnerabilities, design anti-cheat measures, secure save data and network communications, and…SubagentsMay 202623k
  4. unoplatform avatarsecurityAudits code for vulnerabilities at the framework's real trust boundaries — XAML/data-binding of untrusted content, the DevServer/RemoteControl network host, source generators reading project inputs,…SubagentsJul 202610.0k
  5. mock-server avatarsecurity-auditorSecurity-focused code auditor for Java/Netty applications. Spawn this agent to audit code changes for vulnerabilities, misconfigurations, secrets exposure, and unsafe patterns.SubagentsJul 20264.9k
  6. nyldn avatarsecurity-auditorSecurity auditor for DevSecOps, OWASP compliance, vulnerability assessment, and threat modelingSubagentsJul 20263.9k