An OpenClaw skill for monitoring and tracking GitHub mentions across your organizations.
- Uses GitHub Notifications API for reliable mention detection
- Tracks mention status:
pending→in_progress→completed - Configurable filtering (org-only, org-members-only)
- Org member caching with configurable refresh interval
- Prevents duplicate work by tracking what's already being addressed
clawdhub install github-mentionsOr manually clone to your skills directory:
git clone https://github.com/trifle-labs/github-mentions.git ~/.openclaw/workspace/skills/github-mentionsghCLI installed and authenticated (gh auth login)jqfor JSON processing
# Check for new mentions
github-mentions check
# List all tracked mentions
github-mentions list
# List only pending mentions
github-mentions list pending
# Start working on a mention
github-mentions start owner/repo#123
# Mark a mention as done
github-mentions done owner/repo#123
# View mention details
github-mentions view owner/repo#123
# Show/set configuration
github-mentions config
github-mentions config orgMembersOnly falseDefault configuration (config.json):
{
"orgOnly": true,
"orgMembersOnly": true,
"memberCacheHours": 1,
"checkIntervalMinutes": 5
}| Option | Default | Description |
|---|---|---|
orgOnly |
true |
Only track mentions from repos within your orgs |
orgMembersOnly |
true |
Only track mentions from org members |
memberCacheHours |
1 |
How often to refresh the org member list |
checkIntervalMinutes |
5 |
Reference for intended polling frequency |
Set up a cron job to check for mentions automatically every 5 minutes:
# Add to crontab (run: crontab -e)
*/5 * * * * /path/to/skills/github-mentions/github-mentions.sh check >> /path/to/logs/github-mentions.log 2>&1Example for OpenClaw workspace:
*/5 * * * * ~/.openclaw/workspace/skills/github-mentions/github-mentions.sh check >> ~/.openclaw/workspace/memory/github-mentions.log 2>&1Or use the one-liner to add it:
(crontab -l 2>/dev/null; echo "*/5 * * * * ~/.openclaw/workspace/skills/github-mentions/github-mentions.sh check >> ~/.openclaw/workspace/memory/github-mentions.log 2>&1") | crontab -If using OpenClaw's heartbeat system, add to HEARTBEAT.md:
- Check GitHub mentions: `github-mentions check`- Cron/heartbeat runs
github-mentions checkevery 5 minutes - New mentions appear as
pending - When you start addressing a mention:
github-mentions start owner/repo#123 - After responding/resolving:
github-mentions done owner/repo#123
This prevents the bot from trying to address the same mention multiple times while it's being worked on.
MIT