一键导入
apfree-wifidog
Guide tool usage for managing ApFree WiFiDog routers, gateways, and captive portal devices.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide tool usage for managing ApFree WiFiDog routers, gateways, and captive portal devices.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploy KERNEL_INTUITION_Cp on any AI architecture with calibrated thresholds. Use when user wants to "activate Cp", "setup creative intuition", "deploy kernel on [AI]", "enable intuition mode", or mentions activating computational intuition on a specific model. Also trigger for "configure Cp for [architecture]" or "calibrate creative thresholds". This skill handles the full activation workflow including architecture profiling, threshold calibration, kernel generation, and monitoring setup.
Three-Layer Thinking Chain Architecture — Personality-Driven Agent Self-Evolution Framework
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
Delegate coding tasks to Codex, Claude Code, Cursor Agent, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), thread-bound ACP harness requests in chat (for example spawn/run Codex or Claude Code in a Discord thread; use sessions_spawn with runtime:"acp"), or any work in ~/clawd workspace (never spawn agents here). Claude Code: use --print --permission-mode bypassPermissions (no PTY). Codex/Pi/OpenCode/Cursor Agent: pty:true required.
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
| name | apfree-wifidog |
| description | Guide tool usage for managing ApFree WiFiDog routers, gateways, and captive portal devices. |
| user-invocable | false |
You have access to a suite of tools for managing and monitoring network routers, Wi-Fi access points, gateways, and captive portals.
When a user asks to manage, list, configure, or query routers (路由器), devices (设备), gateways (网关), Wi-Fi (无线网络), or network clients (终端/客户端), you must use the apfree_wifidog_* tools.
Prefer the specific apfree_wifidog_* tools over the low-level apfree_wifidog tool for router management.
apfree_wifidog_list_devices to discover online routers.apfree_wifidog_get_status for router health, runtime, and service status.apfree_wifidog_get_sys_info for system resources, platform details, and runtime metrics.apfree_wifidog_get_device_info for configured device metadata.apfree_wifidog_update_device_info to update structured device metadata fields.apfree_wifidog_get_clients to inspect authenticated clients.apfree_wifidog_get_client_info for one client by MAC address.apfree_wifidog_kickoff_client to disconnect a client by MAC address.apfree_wifidog_tmp_pass to temporarily allow a client MAC.apfree_wifidog_get_wifi_info for Wi-Fi configuration.apfree_wifidog_set_wifi_info to update Wi-Fi settings including SSID (network name), password, encryption, or hidden status. Use this when the user asks to change or modify Wi-Fi or SSID settings.apfree_wifidog_scan_wifi to scan nearby Wi-Fi networks.apfree_wifidog_set_wifi_relay to configure upstream Wi-Fi relay or STA.apfree_wifidog_get_trusted_domains and apfree_wifidog_sync_trusted_domains for trusted domain allowlists.apfree_wifidog_get_trusted_wildcard_domains and apfree_wifidog_sync_trusted_wildcard_domains for wildcard domain allowlists.apfree_wifidog_get_trusted_mac and apfree_wifidog_sync_trusted_mac for trusted MAC allowlists.apfree_wifidog_get_auth_serv and apfree_wifidog_set_auth_serv for captive portal auth server settings.apfree_wifidog_get_mqtt_serv and apfree_wifidog_set_mqtt_serv for MQTT server connection settings.apfree_wifidog_get_websocket_serv and apfree_wifidog_set_websocket_serv for WebSocket server connection settings.apfree_wifidog_generate_wireguard_keys to generate a WireGuard key pair on the router (private key stays on device, only public key returned). Always call this before set_wireguard_vpn to avoid sending private keys over the network.apfree_wifidog_get_wireguard_vpn, apfree_wifidog_set_wireguard_vpn, and apfree_wifidog_get_wireguard_vpn_status for WireGuard VPN configuration and runtime status.apfree_wifidog_get_vpn_routes to view current VPN routing rules (which traffic goes through the WireGuard tunnel).apfree_wifidog_set_vpn_routes to steer traffic through the VPN tunnel: selective mode for specific CIDRs, full_tunnel mode for all traffic with excludeIps to prevent routing loop.apfree_wifidog_delete_vpn_routes to remove VPN routing rules: flushAll to clear everything, or routes array for individual CIDRs.apfree_wifidog_get_firmware_info for firmware and build details.apfree_wifidog_get_network_interfaces for interface inventory and IP details.apfree_wifidog_bpf_add to add an IPv4, IPv6, or MAC target to BPF traffic monitoring.apfree_wifidog_bpf_json to query BPF traffic monitoring statistics for ipv4, ipv6, mac, sid, or l7 tables.apfree_wifidog_get_l7_active_stats to query active L7 protocol traffic speed and volume statistics (SID view).apfree_wifidog_get_l7_protocol_catalog to list the L7 protocol library currently supported by the device (including domain signatures when available).apfree_wifidog_bpf_del to remove an IPv4, IPv6, or MAC target from BPF traffic monitoring.apfree_wifidog_bpf_flush to clear all monitored entries in one BPF table.apfree_wifidog_bpf_update to update per-target downrate/uprate limits.apfree_wifidog_bpf_update_all to update downrate/uprate limits for all monitored entries in one BPF table.apfree_wifidog_execute_shell only when the user explicitly requests a shell command.apfree_wifidog_reboot_device only when the user explicitly requests a reboot.
Only use the low-level apfree_wifidog tool when you need an apfree-wifidog operation that is not covered by a specific tool above.Use table as one of: mac, ipv4, ipv6, sid, l7.
apfree_wifidog_bpf_add
deviceId, addresstable (default mac)apfree_wifidog_bpf_del
deviceId, addresstable (default mac)apfree_wifidog_bpf_json
deviceIdtable (default mac)ipv4 table, sid active L7 traffic stats, or l7 protocol library.apfree_wifidog_get_l7_active_stats
deviceIdbpf_json with table=sid.apfree_wifidog_get_l7_protocol_catalog
deviceIdbpf_json with table=l7.apfree_wifidog_bpf_flush
deviceIdtable (default mac)mac table.apfree_wifidog_bpf_update
deviceId, target, downrate, upratetable (default mac)1..10000000000.apfree_wifidog_bpf_update_all
deviceId, downrate, upratetable (default mac)1..10000000000.apfree_wifidogWhen a user explicitly asks for any of the following operations, call the low-level tool with action=call and op set to the exact operation name:
firmware_upgrade or ota for firmware upgrades.delete_wifi_relay or unset_wifi_relay to clear Wi-Fi relay or STA configuration.get_ipsec_vpn, set_ipsec_vpn, get_ipsec_vpn_status.apfree_wifidog_get_vpn_routes
deviceIdproto static routes on wg0, tunnel_up status.apfree_wifidog_set_vpn_routes
deviceId, mode (selective or full_tunnel)routes array of CIDRs (e.g. ["1.2.3.0/24", "4.5.6.0/24"]).excludeIps array with VPS public IP to prevent routing loop. Routes 0.0.0.0/1 + 128.0.0.0/1 are added automatically.apfree_wifidog_delete_vpn_routes
deviceIdflushAll (boolean, removes all VPN routes), routes (array of CIDRs to remove individually).apfree_wifidog_generate_wireguard_keys — private key stays on device, returns public key for VPS [Peer] config.apfree_wifidog_set_wireguard_vpn with routeAllowedIps: false on the peer (omit privateKey — already set by step 1).apfree_wifidog_get_wireguard_vpn_status.apfree_wifidog_set_vpn_routes with selective or full_tunnel mode.apfree_wifidog_get_vpn_routes.apfree_wifidog_delete_vpn_routes with flushAll: true.Do not use low-level apfree_wifidog for operations that already have dedicated tools unless the user explicitly asks for the exact low-level op.
The following are internal device-control operations and should not be used unless the user explicitly requests them with exact parameters:
gateway_heartbeatauthNote about device IDs: You can directly use a device alias (for example "Router-1", "Router-2") in the device_id parameter for any tool. The system will automatically map the alias to the correct long ID.
When you decide to use a tool, do not output any conversational text, preamble, or explanations. Output exactly the tool call directly and nothing else.