Grepai Watch Daemon
Monitors files for changes using `grepai` and triggers actions when modifications are detected β useful for automated workflows.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add grepai-watch-daemon npx -- -y @trustedskills/grepai-watch-daemon
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"grepai-watch-daemon": {
"command": "npx",
"args": [
"-y",
"@trustedskills/grepai-watch-daemon"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The grepai-watch-daemon skill allows an AI agent to monitor a directory for new files and trigger actions based on those file creations. It can be configured with specific filters to only react to certain file types or names. This enables automated workflows and responses to events happening within a monitored filesystem location.
When to use it
- Automated Log Analysis: Monitor a log directory and automatically analyze new log files as they appear, triggering alerts or summaries.
- Real-time Data Processing: React to newly uploaded data files (e.g., CSVs, JSON) by initiating processing pipelines immediately.
- Event-Driven Workflows: Trigger specific actions when new reports are generated and saved in a designated folder.
- File Synchronization Monitoring: Detect changes or additions to files within a synchronization directory for automated backups or updates.
Key capabilities
- Directory monitoring
- File creation detection
- Configurable file filters (type, name)
- Action triggering on new file events
Example prompts
- "Watch the
/logsdirectory and send me an alert when a new log file is created." - "Monitor
/data/incomingfor CSV files and start processing them as soon as they appear." - βCreate a watch daemon that triggers a summary report generation whenever a new
report.pdffile appears in the/reportsdirectory.β
Tips & gotchas
The skill requires appropriate permissions to access and monitor the specified directories. Ensure the AI agent has read access to the target location for proper functionality.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.