Agent skill

Openwrt Package Update

by NethServer in NethServer/nethsecurity

A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.

Custom licenceAuto-check passedDatabases

Install Openwrt Package Update

skills CLI
$ npx skills add NethServer/nethsecurity --skill openwrt-package-update -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NethServer/nethsecurity openwrt-package-update --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NethServer/nethsecurity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openwrt-package-update .claude/skills/openwrt-package-update && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openwrt-package-update
GitHub stars
191
Token cost
~841 tokens
SKILL.md length
273 words
Files
6 (incl. scripts, references, assets)
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.

  • Works in 6 steps: Setup: bash scripts/setup-package.sh —… → Compare: bash scripts/diff-package.sh —… → Merge: Read both snapshots, apply… → …
  • Updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed
  • SKILL.md covers What I do, Quick start, How it works and Snapshot structure, plus 1 more section
  • Runs Shell scripts from its folder; calls bash and ruff

What it does

Openwrt Package Update is an agent skill from NethServer/nethsecurity. Use when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed. Covers the full update cycle: version bump, merging upstream file changes, updating dependent ns-api handlers and migration scripts, UCI overlay defaults, and correlated documentation. Triggers on updating a package by name (adblock, mwan3, banip, rsyslog, snort3, keepalived, python-jinja2, python-semver, and similar forks), syncing with upstream, or any request to align a local package fork with…

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts, reference files and assets (for example `references/WORKFLOW.md`, `scripts/diff-package.sh` and `scripts/get-target-commit.sh`). Compatibility notes: Requires git and curl. Works in a NethSecurity workspace with build.conf.defaults present.

It sits in Databases, covering Database migrations. It works with Python. The repository describes itself as: NethSecurity image and build environment.

When your agent uses it

  • Updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed
  • Updating a package by name (adblock
  • Syncing with upstream
  • Any request to align a local package fork with openwrt/packages — even if upstream is not mentioned explicitly

Example prompts

  • “/openwrt-package-update”

Requirements

  • Python 3
  • A Bash shell
  • Compatibility (from SKILL.md): Requires git and curl. Works in a NethSecurity workspace with build.conf.defaults present.
  • Pre-approved tools (allowed-tools): Bash(git:*), Bash(curl:*), Bash(diff:*), Bash(tar:*), Bash(grep:*), Bash(sed:*), Bash(awk:*), Read, Write

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Setup: bash scripts/setup-package.sh — auto-discovers upstream path, finds version commits, extracts old/new snapshots into assets/_old/…
  2. Compare: bash scripts/diff-package.sh — shows what changed upstream
  3. Merge: Read both snapshots, apply upstream changes to local files in packages//; update PKG_VERSION and PKG_RELEASE in the Makefile
  4. Cross-package: Grep for any changed config keys or function names in ns-api, migration scripts, and files/ overlay; update as needed
  5. Documentation: Update docs/ and packages/ns-api/README.md if user-facing behavior changed
  6. Verify: Run ruff check on any changed Python files; build the package inside the container

What it can do on your machine

Read from SKILL.md and the folder at commit a22e7f9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(git:*)
    • Bash(curl:*)
    • Bash(diff:*)
    • Bash(tar:*)
    • Bash(grep:*)
    • Bash(sed:*)
    • Bash(awk:*)
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • ruff

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires git and curl. Works in a NethSecurity workspace with build.conf.defaults present.

    From compatibility in the SKILL.md frontmatter.

Context cost

Openwrt Package Update loads about 841 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 150 tokens; SKILL.md has 273 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~150
When it runs · the whole SKILL.md, loaded when a task matches
~841
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 273 words (~841 tokens).

“Update a forked upstream OpenWrt package from the openwrt/packages feed. Auto-discovers the package path, compares the current version against the upstream target, extracts snapshots for comparison, applies upstream changes, propagates impact to ns-api handlers and migration scripts, and updates correlated…”

— opening of SKILL.md by NethServer, Custom licence
name
openwrt-package-update
allowed-tools
Bash(git:*), Bash(curl:*), Bash(diff:*), Bash(tar:*), Bash(grep:*), Bash(sed:*), Bash(awk:*), Read, Write
compatibility
Requires git and curl. Works in a NethSecurity workspace with build.conf.defaults present.
metadata.domain
nethsecurity-packages
metadata.type
package-update

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references, assets) in .agents/skills/openwrt-package-update of NethServer/nethsecurity.

  • SKILL.md
  • assets/.gitignore
  • references/WORKFLOW.md
  • scripts/diff-package.sh
  • scripts/get-target-commit.sh
  • scripts/setup-package.sh

Open the folder on GitHubat commit a22e7f9

Compare with similar skills

Openwrt Package Update next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openwrt Package Update compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openwrt Package Update this skillNethServer/nethsecurity191—~841Automated safety check: PassCustom licence
Database Migration Reviewrohitg00/ai-engineering-from-scratch65k—~315Automated safety check: PassMIT
Saleor Django Migration Rulessaleor/saleor23k—~1.6kAutomated safety check: PassBSD-3-Clause
Migration Reviewfancyboi999/ai-engineering-from-scratch-zh1.2k—~198Automated safety check: PassMIT
Python Database Patternsaiskillstore/marketplace4301 repos~1.2kAutomated safety check: NotesNone
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Database Migration Review

    rohitg00/ai-engineering-from-scratch

    Reviews database migration files before merge, collecting forward, rollback, locking and data-safety evidence, with a decision that is blocked whenever evidence is missing.

    65k GitHub stars~315 tokensUpdated yesterday
    DatabasesAuto-check passed
  • Rules for writing Django migrations in Saleor that avoid long table locks and stay compatible with zero-downtime rolling deploys.

    23k GitHub stars~1.6k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Migration Review

    fancyboi999/ai-engineering-from-scratch-zh

    当(when)变更新增或修改 migrations/ 下的路径时,审查 database migration 文件。合并前使用此 migration Skill 收集正向、回滚、锁定和数据安全证据。

    1.2k GitHub stars~198 tokensUpdated 9 days ago
    DatabasesAuto-check passed
  • Python Database Patterns

    aiskillstore/marketplace

    SQLAlchemy and database patterns for Python. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check: notes
  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Add Mpk Task

    mirage-project/mirage

    Step-by-step guide for adding a new task implementation to Mirage Persistent Kernel (MPK).

    2.5k GitHub stars~4.5k tokensUpdated 2 days ago
    DatabasesAuto-check passed

More from NethServer/nethsecurity

  • Netifyd

    NethServer/nethsecurity

    Work with the Netify Agent (netifyd) DPI daemon on NethSecurity — its configuration graph, processor/sink plugins, flow-actions rules, criteria expressions, address groups, telemetry records and CLI.

    191 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Create Issue

    NethServer/nethsecurity

    Turn messy raw material — coworker chat excerpts, support discussions, log snippets, debugging findings, CI failures — into a well-formed GitHub issue on the NethServer/nethsecurity tracker via the…

    191 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Ns API

    NethServer/nethsecurity

    Write or modify a NethSecurity Python RPCD API script or hook.

    191 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Openwrt Package

    NethServer/nethsecurity

    Create or modify an OpenWrt ns- package including Makefile, config fragments, and upstream patches.

    191 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Python Nethsecurity

    NethServer/nethsecurity

    Write or modify Python scripts for NethSecurity packages. An agent skill from NethServer/nethsecurity.

    191 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Openwrt Package Update

What does Openwrt Package Update do?

A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed. Openwrt Package Update is an agent skill from NethServer/nethsecurity. Use when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.

When should I use Openwrt Package Update?

Openwrt Package Update fits situations like: updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed; updating a package by name (adblock; syncing with upstream; any request to align a local package fork with openwrt/packages — even if upstream is not mentioned explicitly.

How do I install Openwrt Package Update in Claude Code?

Run `npx skills add NethServer/nethsecurity --skill openwrt-package-update -a claude-code`. Or copy the skill folder (.agents/skills/openwrt-package-update in NethServer/nethsecurity) into .claude/skills/openwrt-package-update in your project. Claude Code loads it when a task matches its description.

How do I install Openwrt Package Update in Codex?

Run `npx skills add NethServer/nethsecurity --skill openwrt-package-update -a codex`. Or copy the skill folder (.agents/skills/openwrt-package-update in NethServer/nethsecurity) into .agents/skills/openwrt-package-update in your project. Codex loads it when a task matches its description.

Can I use Openwrt Package Update in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NethServer/nethsecurity --skill openwrt-package-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openwrt-package-update, .gemini/skills/openwrt-package-update, .github/skills/openwrt-package-update and .opencode/skills/openwrt-package-update in your project.

What does Openwrt Package Update need to run?

Going by SKILL.md and its folder, Openwrt Package Update needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and ruff). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Bash(git:*), Bash(curl:*), Bash(diff:*), Bash(tar:*), Bash(grep:*), Bash(sed:*), Bash(awk:*), Read, Write. Compatibility (from SKILL.md): Requires git and curl. Works in a NethSecurity workspace with build.conf.defaults present..

Does Openwrt Package Update access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openwrt Package Update safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openwrt Package Update use?

Openwrt Package Update has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Openwrt Package Update use?

About 841 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Openwrt Package Update?

Skills that share tags, products or a category with Openwrt Package Update: Database Migration Review (rohitg00/ai-engineering-from-scratch, 65k stars), Saleor Django Migration Rules (saleor/saleor, 23k stars), Migration Review (fancyboi999/ai-engineering-from-scratch-zh, 1.2k stars) and Python Database Patterns (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openwrt Package Update?

NethServer (a GitHub organization) maintains it in NethServer/nethsecurity, which has 191 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 6, 2026.

Source: NethServer/nethsecurity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.