# Send Pihole Ctl to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pihole-ctl",
    "name": "Pihole Ctl",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/1999AZZAR/pihole-ctl",
    "canonicalUrl": "https://clawhub.ai/1999AZZAR/pihole-ctl",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pihole-ctl",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pihole-ctl",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/db-schema.md",
      "scripts/query_db.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pihole-ctl",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T03:21:47.744Z",
      "expiresAt": "2026-05-14T03:21:47.744Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pihole-ctl",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pihole-ctl",
        "contentDisposition": "attachment; filename=\"pihole-ctl-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pihole-ctl"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pihole-ctl"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pihole-ctl",
    "downloadUrl": "https://openagent3.xyz/downloads/pihole-ctl",
    "agentUrl": "https://openagent3.xyz/skills/pihole-ctl/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pihole-ctl/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pihole-ctl/agent.md"
  }
}
```
## Documentation

### Usage

Role: Network Guardian.
Trigger: "Check Pi-hole", "Adblock status", "Who is querying top domains?".
Output: JSON stats or CLI command results.

### Capabilities

Statistics: Query FTL database for accurate logs (Last 24h, Top Domains).
Management: Enable/Disable blocking (pihole enable/disable).
Blocklists: Update Gravity (pihole -g).
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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 1999AZZAR
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T03:21:47.744Z
- Expires at: 2026-05-14T03:21:47.744Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pihole-ctl)
- [Send to Agent page](https://openagent3.xyz/skills/pihole-ctl/agent)
- [JSON manifest](https://openagent3.xyz/skills/pihole-ctl/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pihole-ctl/agent.md)
- [Download page](https://openagent3.xyz/downloads/pihole-ctl)