OpenWrt Manager

Back up and restore OpenWrt router configurations over SSH.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/v2vv/agent-skills --skill openwrt-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OpenWrt Manager
Source: https://github.com/v2vv/agent-skills/tree/main/openwrt-manager
Command: npx skills add https://github.com/v2vv/agent-skills --skill openwrt-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill simplifies the complex, error-prone process of backing up and restoring OpenWrt router configurations, reducing downtime and configuration drift.

Core Features & Use Cases

  • Backup critical files and settings from a router (e.g., /etc/config, /etc/passwd, /etc/shadow, /usr/lib/opkg/status, /etc/openclash) into a portable archive.
  • Restore a selected backup archive to the router and automatically reboot to apply changes.
  • Use Case: Quickly recover a router to a known-good state after misconfigurations or updates in a Windows environment.

Quick Start

Run the backup script to create a local backup archive: Start-Process "scripts/backup.bat"

Run the restore script to apply a backup and reboot the router: Start-Process "scripts/restore.bat"

Frequently Asked Questions about OpenWrt Manager

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

FAQPage Schema
How do I back up OpenWrt router configurations over SSH on Windows?

To back up OpenWrt router configurations over SSH on Windows, run the provided backup.bat script to capture critical files like /etc/config and /etc/passwd into a portable local archive using root credentials.

What files does an OpenWrt configuration backup include?

An OpenWrt configuration backup includes critical files and settings from /etc/config, /etc/passwd, /etc/shadow, /usr/lib/opkg/status, and /etc/openclash to ensure a complete portable archive of your router state.

Can I restore a backup to an OpenWrt router from a Windows environment?

Yes, you can restore a backup to an OpenWrt router from Windows by executing the restore.bat script, which applies the selected backup archive over SSH and automatically reboots the router to apply changes.

Do I need root SSH access to manage OpenWrt router backups?

Yes, root SSH access with valid credentials is required to manage OpenWrt router backups, as the scripts need elevated permissions to read and write system files like /etc/shadow and /etc/config.

What is the best way to recover an OpenWrt router after a misconfiguration?

The best way to recover an OpenWrt router after a misconfiguration is to use the restore.bat script to apply a previously created backup archive, returning the router to a known-good state and rebooting automatically.

Does the OpenWrt backup script work without third-party dependencies?

Yes, the OpenWrt backup and restore batch scripts operate without external dependencies, requiring only a Windows environment and native SSH access to execute the backup and restore operations successfully.