openwrt-cskill

Automates OpenWRT router configuration using Ansible and the harley.openwrt collection.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/harley-systems/claude-skills --skill openwrt-cskill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openwrt-cskill
Source: https://github.com/harley-systems/claude-skills/tree/main/openwrt-cskill
Command: npx skills add https://github.com/harley-systems/claude-skills --skill openwrt-cskill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps automate the provisioning and ongoing management of OpenWRT routers and gateways using the harley.openwrt Ansible collection, reducing manual configuration and drift.

Core Features & Use Cases

  • Network provisioning: WAN/LAN settings, VLANs, and WiFi radio configuration using OpenWRT's UCI templates.
  • DHCP/DNS and DNS records management: configures dnsmasq, static leases, and CNAME records for dynamic environments.
  • VPN integration: sets up IPsec VPN and manages firewall zones to enable site-to-site and remote access scenarios.
  • LuCI HTTPS UI: deploys and secures the LuCI web interface, including optional certificate handling.
  • Use cases include fresh router deployment, site-to-site VPN, remote gateway maintenance, and inventory-driven network config generation.

Quick Start

Use openwrt-cskill to bootstrap a router by including the base, network, firewall, dhcp_dns, and webui roles in an Ansible playbook and running it against your OpenWRT device. Example: ansible-playbook -i inventory site.yml --tags base,network,firewall,dhcp_dns,webui

Frequently Asked Questions about openwrt-cskill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate OpenWRT router configuration with Ansible?

Automate OpenWRT router configuration by including the base, network, firewall, dhcp_dns, and webui roles in an Ansible playbook and running it against your OpenWRT device inventory.

Can I manage DHCP and DNS settings on OpenWRT using UCI?

Manage OpenWRT DHCP and DNS by configuring dnsmasq, static leases, and CNAME records through UCI templates driven by Ansible playbooks for dynamic network environments.

How do I set up an IPsec VPN on OpenWRT using Ansible?

Set up an IPsec VPN on OpenWRT by applying Ansible roles that configure IPsec VPN settings and manage firewall zones to enable site-to-site and remote access scenarios.

Do I need SSH access to provision OpenWRT devices with Ansible?

Provisioning OpenWRT devices with Ansible requires SSH access to targets, Ansible version 2.x or higher, the harley.openwrt collection, and an inventory adapter for variable mapping.

What is the best way to deploy LuCI HTTPS on OpenWRT?

Deploy LuCI HTTPS on OpenWRT by using Ansible to deploy and secure the LuCI web interface, including optional certificate handling for secure router management access.

Can I configure WAN, LAN, and WiFi on OpenWRT automatically?

Configure WAN, LAN, and WiFi on OpenWRT automatically by applying Ansible roles that utilize OpenWRT UCI templates for network provisioning and WiFi radio configuration.