360 Secure SkillHub
360 安全技能中心

agentic-route

提供 POSIX Bash 与 Rust 命令行引擎,可查看 Pi-hole、Unbound、Stubby 等服务状态,执行域名查询、tcpdump 并行抓包、路由增删、故障旁路、健康检查、加密 DNS 拦截,并可启动 REST API 与 MCP 服务。文件仅含命令说明,未提供安装步骤、源码或访问控制说明。

dedsecorg
dedsecorg
热度 7.64
最近更新 2026-09-11 15:35:33
分类:自动化依赖:代码执行 / 读写文件应用场景:DevOps / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agentic-route
Metadata
name
agentic-route
description
Agentic AI-native multi-tier routing routing, live packet tracing, and failover bypass engine for Pi-hole, Corerouting, routingdist, Unbound, Stubby, routingCrypt-Proxy, and VPN routing.

agentic-route Skill

agentic-route provides a zero-dependency POSIX Bash and Rust engine for inspecting, diagnosing, routing, and failing over multi-tier routing infrastructure.

CLI Commands

Command Syntax Description
status agentic-route status Show status of all routing services, addresses, listening ports, and active chain.
query agentic-route query <domain> Resolve domain through entrypoint routing.
trace agentic-route trace <domain> Execute simultaneous tcpdump packet capture on loopback and network interfaces.
routes agentic-route routes Show active rules in routingdist config.
route add agentic-route route add <name> <addr:port> Add new upstream server to routingdist.
route remove agentic-route route remove <name> Remove upstream server from routingdist.
bypass agentic-route bypass <failing> [backup] Bypass a failing resolver and prioritize backup.
enforce agentic-route enforce <on|off|status|clean> [target_ip] Intercept encrypted routing (DoT port 853 -> pihole, DROP DoQ UDP/443).
pihole-log agentic-route pihole-log Query recent routing log and top clients from Pi-hole SQLite database.
health agentic-route health Run health check sweep across listeners.
tag agentic-route tag Show service classification tags.
api agentic-route api Start REST API server on port 8099.
mcp agentic-route mcp Start stdio MCP JSON-RPC Server for AI agents.

Standard Workflows

1. Diagnose routing Connectivity Outage

agentic-route status
agentic-route health
agentic-route trace google.com

2. Bypass Failing Upstream

agentic-route bypass stubby unbound

3. MCP JSON-RPC Configuration for Agents

{
  "mcpServers": {
    "agentic-route": {
      "command": "agentic-route",
      "args": ["mcp"]
    }
  }
}