본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)58k · #3181

cli-anything-adguardhome

하는 일

이 스킬은 집이나 사무실 네트워크에서 광고를 차단하고 DNS를 관리하는 소프트웨어인 AdGuard Home을 에이전트가 관리하게 합니다. AdGuard Home을 운영하며 명령줄에서 관리하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓AdGuard Home이 네트워크에서 실행 중인지 확인하고 싶을 때.
  • ✓필터링을 바꾸거나 DNS 재작성을 추가하고 싶을 때.
  • ✓기기의 최근 DNS 쿼리 로그를 검토하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/adguardhome/agent-harness/cli_anything/adguardhome/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/adguardhome/agent-harness/cli_anything/adguardhome/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AdGuard Home이 실행 중인지 확인하고, 최근에 차단된 쿼리 열 개를 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 AdGuard Home의 REST API로 명령을 보냅니다. 상태를 보여 주고, 설정을 바꾸며, 로그를 읽고, 에이전트가 읽을 수 있는 형태로 출력을 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

AdGuard Home을 설치해야 하나요?

네. AdGuard Home이 이미 설치되어 네트워크에서 실행 중이어야 합니다.

필터링 설정을 바꿀 수 있나요?

네. AdGuard Home API를 통해 필터링, DNS 재작성, 클라이언트를 관리할 수 있습니다.

DHCP도 다루나요?

네. 스킬은 필터링과 쿼리 로그와 함께 DHCP 설정도 다룹니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
58k
순위
#3181
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬