Overview
- Skill Key
- 1999azzar/pihole-ctl
- Author
- 1999azzar
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/1999azzar/pihole-ctl
- Latest Commit SHA
- 7c5fe0975aba232898bb1187987783d196482a2d
Manage and monitor local Pi-hole instance. Query FTL database for statistics (blocked ads, top clients) and control service via CLI. Use when user asks "how many ads blocked", "pihole status", or "update gravity".
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 pihole-ctl 技能。 若已安装,则直接安装 pihole-ctl 技能。
# Pi-hole Controller ## Usage - **Role**: Network Guardian. - **Trigger**: "Check Pi-hole", "Adblock status", "Who is querying top domains?". - **Output**: JSON stats or CLI command results. ## Capabilities 1. **Statistics**: Query FTL database for accurate logs (Last 24h, Top Domains). 2. **Management**: Enable/Disable blocking (`pihole enable/disable`). 3. **Blocklists**: Update Gravity (`pihole -g`). 4. **Audit**: Identify chatty clients or top blocked domains. ## Scripts - `scripts/query_db.py`: Python script using native `sqlite3` library to query Pi-hole stats safely. - Requires read permission on `/etc/pihole/pihole-FTL.db`. - Usage: `python3 scripts/query_db.py --summary --hours 24` - Usage: `python3 scripts/query_db.py --top 10` ## Permissions - **Database Access**: The user running this skill must have read access to `/etc/pihole/pihole-FTL.db`. - Recommended: Add user to `pihole` group (`usermod -aG pihole ubuntu`). - **Management Commands**: `pihole` CLI commands (enable/disable) require `sudo` or must be run by a user with appropriate permissions. ## Reference Materials - [Database Schema](references/db-schema.md)
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.