Logwatch AI — AI skill for Claude Code
Logwatch AI Analyzer - An automated system that analyzes logwatch reports using Claude AI and sends summarized insights via Telegram channel.
How to install Logwatch AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open olegiv/logwatch-ai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Logwatch AI does
Logwatch AI Analyzer - An automated system that analyzes logwatch reports using Claude AI and sends summarized insights via Telegram channel.
Alternatives in AI
- AI Investigator — An automated AI system (Python framework) designed to analyze any type of website content and generate structu 733 ★
- Codebase Digest — 🗜️ Codebase-digest is your AI-friendly codebase packer and analyzer 375 ★
- Review Analyzer Skill — AI 驱动的电商评论深度分析工具 — 22维度标签构建 · 生成14章洞察报告 · 内置6套主题看板 · 可写入飞书 118 ★
README
Logwatch AI Analyzer
[!WARNING] **This project has been superseded by [logwatch-ai-go](https://github.com/olegiv/logwatch-ai-go)** - a complete rewrite in Go with improved performance and simpler deployment.
This Node.js version is archived and no longer maintained.
An automated system that analyzes logwatch reports using Claude AI and sends summarized insights via Telegram bot.
Features
- Daily automated logwatch analysis using Claude AI
- Intelligent summarization of system logs
- Critical issue detection and prioritization
- Actionable recommendations
- Telegram notifications with formatted reports
- Historical trend analysis
- SQLite database for storing analysis history
- Comprehensive error handling and logging
- Prompt caching for cost optimization (16-30% savings per analysis)
Requirements
- Ubuntu 24.04.2 LTS (or similar Linux distribution)
- Node.js 20 or higher
- logwatch installed (
apt-get install logwatch) - Cron for scheduled logwatch generation (see Cron Setup)
- Claude API key (Anthropic)
- Telegram Bot token and chat ID
Deployment Options
Option 1: Standalone Binary (No Node.js Required)
Build a standalone executable that includes Node.js runtime and all dependencies:
# Build binary
npm install
npm run build
# Deploy
scp dist/logwatch-ai-linux-x64 user@server:/opt/logwatch-ai/
scp dist/sql-wasm.wasm user@server:/opt/logwatch-ai/
scp .env user@server:/opt/logwatch-ai/
# Run on target server (no Node.js needed!)
./logwatch-ai-linux-x64
**Benefits:**
- No Node.js installation required on target servers
- Single executable file (~80-100MB)
- Simplified deployment
- Ideal for production servers
See **[Build Documentation](docs/BUILD.md)** for detailed instructions.
Option 2: Standard Node.js Installation
Traditional installation with Node.js runtime:
Quick Start
1. Clone or Download
cd /opt
git clone https://github.com/olegiv/logwatch-ai.git logwatch-ai
#
Related Skills
Follow Up AI
Autonomous 3-stage AI agent (Extractor ➔ Prioritizer ➔ Drafter) that analyzes multi-channel sales conversation
Telegram Monitor
Real-time Telegram channel monitoring with AI-powered intelligence briefings. Multi-pane TUI dashboard with Cl
Catclaw
Personal AI assistant gateway powered by Claude Code — multi-agent, multi-channel (Discord/Telegram/TUI), sess
Protoagent
Your AI assistant, your way. A powerful multi-channel wrapper that lets you interact with AI agents (Claude, C
Openclaw Cookbook
Production-ready recipes for OpenClaw — self-hosted multi-channel AI agent gateway. Telegram, Discord, Slack,
Paul Agent Bot
Self-hosted multi-channel AI coding agent powered by Claude Code. Handles GitHub issues, PRs, and Telegram — a
Related Agents
Feedback Analyzer
Analyzes user feedback from multiple sources (reviews, tickets, surveys, interviews) to extract themes, sentim
Repurpose Broadcast
Broadcast and publication content specialist. Generates WhatsApp Channel updates, Telegram Channel posts with
Channel Integrator
Use this agent when implementing Telegram, Slack, Discord, WhatsApp, or Matrix channel adapters.