cli-anything-adguardhome
What it does
This skill lets your agent manage AdGuard Home, software that blocks ads and manages DNS across a home or office network. It is for people who run AdGuard Home and want to manage it from a command line.
When to use it
- ✓When you want to check whether AdGuard Home is running on your network.
- ✓When you want to change filtering or add a DNS rewrite.
- ✓When you want to review recent DNS query logs for a device.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/adguardhome/agent-harness/cli_anything/adguardhome/skills/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check whether AdGuard Home is running, then show me the last ten blocked queries.”
5 new skills a week. 1 minute to read.
How it works
The skill sends commands to AdGuard Home through its REST API. It can show status, change settings, and read logs, and returns the output in a form your agent can read.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
cli-anything-adguardhome
Network-wide ad blocking and DNS management via the AdGuard Home REST API. Designed for AI agents and power users who need to manage filtering, DNS rewrites, clients, DHCP, and query logs without a GUI.
Installation
This CLI is installed as part of the cli-anything-adguardhome package:
pip install cli-anything-adguardhome
Prerequisites:
- Python 3.10+
- AdGuard Home must be installed and running
- Install AdGuard Home:
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
Usage
Basic Commands
# Show help
cli-anything-adguardhome --help
# Start interactive REPL mode
cli-anything-adguardhome
# Check server status
cli-anything-adguardhome server status
# Run with JSON output (for agent consumption)
cli-anything-adguardhome --json server status
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-adguardhome
# Enter commands interactively with tab-completion and history
Command Groups
Config
Connection and configuration management.
| Command | Description |
|---|---|
show |
Show current connection configuration |
save |
Save connection settings to a config file |
test |
Test the connection to AdGuard Home |
Server
Server status and control commands.
| Command | Description |
|---|---|
status |
Show server protection status |
version |
Show AdGuard Home version |
restart |
Restart the AdGuard Home server |
Filter
DNS filter list management.
| Command | Description |
|---|---|
list |
List all configured filter lists |
status |
Show filtering status |
toggle |
Enable or disable filtering globally |
add |
Add a new filter list by URL |
remove |
Remove a filter list |
enable |
Enable a specific filter list |
disable |
Disable a specific filter list |
refresh |
Force-refresh all filter lists |
Blocking
Parental control, safe browsing, and safe search settings.
| Command | Description |
|---|---|
parental status |
Show parental control status |
parental enable |
Enable parental control |
parental disable |
Disable parental control |
safebrowsing status |
Show safe browsing status |
safebrowsing enable |
Enable safe browsing |
safebrowsing disable |
Disable safe browsing |
safesearch status |
Show safe search status |
safesearch enable |
Enable safe search |
safesearch disable |
Disable safe search |
Blocked-Services
Manage blocked internet services.
| Command | Description |
|---|---|
list |
List currently blocked services |
set |
Set the list of blocked services |
Clients
Client device management.
| Command | Description |
|---|---|
list |
List all configured clients |
add |
Add a new client by name and IP |
remove |
Remove a client |
show |
Show details for a specific client |
Stats
Query statistics.
| Command | Description |
|---|---|
show |
Show DNS query statistics |
reset |
Reset all statistics |
config |
View or update statistics retention interval |
Log
DNS query log management.
| Command | Description |
|---|---|
show |
Show recent DNS query log entries |
config |
View or update query log settings |
clear |
Clear the query log |
Rewrite
DNS rewrite rules.
| Command | Description |
|---|---|
list |
List all DNS rewrite rules |
add |
Add a DNS rewrite rule |
remove |
Remove a DNS rewrite rule |
DHCP
DHCP server management.
| Command | Description |
|---|---|
status |
Show DHCP server status |
leases |
List active DHCP leases |
add-static |
Add a static DHCP lease |
remove-static |
Remove a static DHCP lease |
TLS
TLS/HTTPS configuration.
| Command | Description |
|---|---|
status |
Show TLS configuration status |
Examples
Check Server Status
cli-anything-adguardhome server status
cli-anything-adguardhome server version
Manage Filter Lists
# List current filters
cli-anything-adguardhome filter list
# Add a new blocklist
cli-anything-adguardhome filter add --url https://somehost.com/list.txt --name "My List"
# Refresh all filters
cli-anything-adguardhome filter ref
FAQ
Do I need AdGuard Home installed?
Yes, AdGuard Home must already be installed and running on your network.
Can it change my filtering settings?
Yes, it can manage filtering, DNS rewrites, and clients through the AdGuard Home API.
Does it cover DHCP too?
Yes, the skill covers DHCP settings along with filtering and query logs.
Details
Original description by the author
Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI agents and power users who need to manage filtering, DNS rewrites, clients, DHCP, and query logs without a GUI.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3181
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
cli-anything-audacity
58kLets your agent edit audio from the command line using Audacity, including managing audio projects and tracks.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.