| name | add-skill-cs2-esports |
| description | Add CS2 esports match tracking to NanoTars. Shows upcoming Counter-Strike 2 matches from Liquipedia. Triggers on "cs2 matches", "esports schedule", "counter-strike". |
Add CS2 Esports
Adds CS2 esports match tracking. Agents can check upcoming Counter-Strike 2 matches (Majors and S-tier tournaments) from Liquipedia. No API key needed.
Preflight
Before installing, verify NanoTars is set up:
[ -d node_modules ] && echo "DEPS: ok" || echo "DEPS: missing"
docker image inspect nanoclaw-agent:latest &>/dev/null && echo "IMAGE: ok" || echo "IMAGE: not built"
if grep -q "ANTHROPIC_API_KEY\|CLAUDE_CODE_OAUTH_TOKEN" .env 2>/dev/null || [ -f "$HOME/.claude/.credentials.json" ]; then echo "AUTH: ok"; else echo "AUTH: missing"; fi
If any check fails, tell the user to run /nanotars-setup first and stop.
Prerequisites
- NanoTars must be set up and running (
/nanotars-setup)
- No API keys or credentials required
Install
-
Check current state:
[ -d plugins/cs2-esports ] && echo "PLUGIN_EXISTS" || echo "NEED_PLUGIN"
If plugin exists, skip to Verify.
-
Copy plugin files:
cp -r ${CLAUDE_PLUGIN_ROOT}/files/ plugins/cs2-esports/
-
Plugin Configuration: By default this plugin is available to all groups and channel types. To restrict access, edit plugins/cs2-esports/plugin.json and set:
"groups" to specific group folder names (e.g., ["main"]) instead of ["*"]
"channels" to specific channel types (e.g., ["whatsapp"]) instead of ["*"]
Ask the user if they want to restrict access. Most users will keep the defaults.
-
Rebuild and restart:
npm run build
nanotars restart
Verify
Test that the ICS feed is reachable and returns CS2 match data:
curl -s "https://ics.snwfdhmp.com/matches.ics?url=https%3A%2F%2Fliquipedia.net%2Fcounterstrike%2FLiquipedia%3AMatches" | head -5
Should show BEGIN:VCALENDAR and ICS header lines.
Usage Examples
- "Are there any CS2 matches today?"
- "What's the CS2 schedule this week?"
- Include in morning/evening digests: the agent will check for upcoming matches automatically
How It Works
The agent curls a public ICS feed from esports-ics (backed by Liquipedia data), parses VEVENT entries with Python, and filters to S-tier tournaments (PGL Major, IEM, BLAST Premier, ESL Pro League). No API key or authentication needed.
Remove
rm -rf plugins/cs2-esports/
- Rebuild and restart.