Delegate independent tasks to specialized agents working concurrently with isolated context.
AdGuard Home Management
adguard-home
Manage, troubleshoot, configure, analyze, and review AdGuard Home DNS server. Use when working with AdGuard Home, DNS blocking, ad blocking, network-wide filtering, DNS queries, blocklists, client management, DHCP, or DNS rewrites. Supports REST API and SSH access.
SKILL.md
Full skill instructions
AdGuard Home Management
This skill provides comprehensive management capabilities for AdGuard Home DNS server running on Ubuntu Server.
Prerequisites
Before using this skill, ensure you have:
-
Environment variables configured (in
.envor shell):ADGUARD_URL=https://your-adguard-domain.local ADGUARD_USER=admin ADGUARD_PASS=your-password ADGUARD_SSH_HOST=192.168.x.x ADGUARD_SSH_USER=your-ssh-user -
Python packages installed:
pip install requests paramiko -
SSH key authentication (recommended) or password access to Ubuntu server
Quick Reference
API Authentication
All API calls use HTTP Basic Auth:
curl -u "$ADGUARD_USER:$ADGUARD_PASS" "$ADGUARD_URL/control/status"
Common Tasks
| Task | API Endpoint | Method |
|---|---|---|
| Get status | /control/status | GET |
| Get DNS info | /control/dns_info | GET |
| Query log | /control/querylog | GET |
| Get stats | /control/stats | GET |
| List clients | /control/clients | GET |
| Filter status | /control/filtering/status | GET |
| Clear cache | /control/cache_clear | POST |
Core Management Tasks
1. Status & Health Check
Check AdGuard Home status:
python scripts/adguard_api.py status
Or via curl:
curl -u "$ADGUARD_USER:$ADGUARD_PASS" "$ADGUARD_URL/control/status"
2. Query Log Analysis
Analyze DNS queries to troubleshoot issues:
python scripts/adguard_api.py querylog --limit 100 --search "blocked"
Filter by response status: all, filtered, blocked, blocked_safebrowsing, blocked_parental, whitelisted, rewritten, safe_search, processed
3. Filter Management
View current filters:
python scripts/adguard_api.py filters
Add a blocklist:
python scripts/adguard_api.py add-filter --name "My List" --url "https://example.com/blocklist.txt"
Add custom filtering rule:
# Block domain
||ads.example.com^
# Allow domain (whitelist)
@@||allowed.example.com^
# Block with regex
/ads[0-9]+\.example\.com/
4. Client Management
List all clients:
python scripts/adguard_api.py clients
Add/configure client:
python scripts/adguard_api.py add-client --name "Living Room TV" --ids "192.168.1.50"
5. DNS Rewrites
List rewrites:
python scripts/adguard_api.py rewrites
Add rewrite:
python scripts/adguard_api.py add-rewrite --domain "myserver.local" --answer "192.168.1.100"
6. Statistics & Analytics
Get statistics:
python scripts/adguard_api.py stats
Reset statistics:
python scripts/adguard_api.py reset-stats
SSH Server Management
For tasks requiring direct server access:
Service Management
# Check service status
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "systemctl status AdGuardHome"
# Restart service
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "sudo systemctl restart AdGuardHome"
# View logs
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "sudo journalctl -u AdGuardHome -n 100"
Configuration File
Location: /opt/AdGuardHome/AdGuardHome.yaml
# Backup config
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "sudo cp /opt/AdGuardHome/AdGuardHome.yaml /opt/AdGuardHome/AdGuardHome.yaml.bak"
# View config
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "sudo cat /opt/AdGuardHome/AdGuardHome.yaml"
Update AdGuard Home
ssh $ADGUARD_SSH_USER@$ADGUARD_SSH_HOST "cd /opt/AdGuardHome && sudo ./AdGuardHome -s stop && sudo ./AdGuardHome --update && sudo ./AdGuardHome -s start"
Troubleshooting Guide
See troubleshooting.md for common issues and solutions including:
- DNS resolution failures
- Clients not using AdGuard Home
- High latency issues
- Blocklist update failures
- Service startup problems
Best Practices
See best-practices.md for configuration recommendations including:
- Recommended upstream DNS servers
- Optimal blocklist selection
- Security hardening
- Performance tuning
- Backup strategies
API Reference
See reference.md for complete API endpoint documentation.
Example Workflows
Investigate Blocked Request
- Check query log for the blocked domain
- Identify which filter blocked it
- Add whitelist rule if false positive
- Clear DNS cache
- Test resolution
Add New Device with Custom Settings
- Identify device IP/MAC
- Create client configuration
- Set custom upstream DNS if needed
- Configure blocked services
- Set parental controls if applicable
Security Audit
- Review client list for unknown devices
- Check query log for suspicious domains
- Verify safebrowsing is enabled
- Review TLS configuration
- Check for software updates
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
