<< All versions

Skill v1.0.1

currentAutomated scan100/100
forwardnetworks/forward-skills/edit-internet-exclusions

+3 new

──Details
PublishedNovember 8, 2026 at 01:27 PM
Content Hashsha256:e087bfa8c429e570...
Git SHAae68a92eaa43
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 3.4 KB)
SKILL.md3.4 KBactive
SKILL.md · 72 lines · 3.4 KB

name: edit-internet-exclusions description: Changes the public subnets excluded from the internet node, showing before and after. Dry run unless apply is true. Use when internal public prefixes count as internet. compatibility: Reading the skill needs nothing. To run its analyses against Forward: the fwdctl binary on PATH and FORWARD_URL, FORWARD_USERNAME and FORWARD_PASSWORD in the environment. metadata: version: "1.0.1" cluster: "edge-synthetic" summary: "internet node exclusions" maturity: "1" class: write effect: "network" secrets: "false" reversible: "true" tools: "synthetic nodes, snapshots"


edit-internet-exclusions

Intent

Once the internet node has a connection it owns every public address that is not located elsewhere. Public space a network uses internally and never advertises to an upstream would be treated as the internet. The internet node's excluded subnets keep such prefixes off it so they are located by their internal route. The list lives on the internet node only, is not generated by an NQE query, and a write replaces all of it: this skill reads the current list, applies your change to it, shows the whole list before and after, writes the result and reads it back. How to derive what to exclude: plan-synthetic-device (reference/internet-node.md, "Internal public address space").

Inputs

What each input means, and the fields per object and action: fwdctl run edit-internet-exclusions --help, or reference/inputs.md.

Read before applying (printed by fwdctl run edit-internet-exclusions --help, from reference/inputs.md): Backdate, Limits worth stating.

A backdate invalidates that snapshot and every later one (UNPROCESSED, not reprocessed for you) and cannot be undone: get approval of the backdate separately from the change.

Reading the list first

inspect-topology with kind: external and device: internet shows the current excluded_subnets; no dry run is needed to read it.

Dry run

Without apply: true nothing is changed. The skill reads the internet node and returns mode: dry_run with one change (before and after, the whole list) and the entries added and removed.

Procedure

  1. Check the entries. Read the internet node: none modelled is unknown, nothing changed.
  2. Compute the new list from the current one. Identical to the current list: ok, nothing changed.
  3. Dry run: return the plan. With apply: true: write the whole list, then read it back; a different list is failed, never ok.

Undo

The change's undo: run this skill with set = the change's before (the whole prior list).

Evidence

One topology item: before, after, added, removed, mode, backdate and, once applied, held.

Output

The envelope in schema/skill-result.schema.json, with mode and changes.

Next actions

inspect-topology (kind external, device internet) to see the list; investigate-reachability to test a path.

Running this skill

Run fwdctl run edit-internet-exclusions --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-internet-exclusions < input.json. It is a dry run unless the input has "apply": true; add that only after the dry run was accepted. Read status (ok, failed, unknown, error), mode and the limits; unknown is never a pass.

Examples

bash
echo '{"network_id": "<id>", "add": ["198.18.0.0/16", "198.19.0.0/16"]}' | fwdctl run edit-internet-exclusions
← v1.0.0All versions