fabric-routing

fabric-routing is a skill for Claude Code from fabric-testbed/claude-plugin-marketplace. It costs 24 tokens per session (3,304 once invoked), scanned B, original, Apache-2.0.

A guide for connecting computers on FABRIC, a programmable research testbed, using routes, encrypted WireGuard networks, or SSH-based tunnels.

In plain words
What is it for?
Use it to configure routes between subnets, set up WireGuard VPNs, create sshuttle tunnels, or tune network and kernel settings.
Why use it?
It helps solve connectivity problems between FABRIC nodes without requiring the user to work out the network setup from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the fablib plugin — 18 skills, 1 command shipped together

Good fit Use it to configure routes between subnets, set up WireGuard VPNs, create sshuttle tunnels, or tune network and kernel settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabric-testbed/claude-plugin-marketplace/fabric-routing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fabric-testbed/claude-plugin-marketplace --skill fabric-routing
Clone the repo
git clone --depth 1 https://github.com/fabric-testbed/claude-plugin-marketplace

Made for: Claude Code.

Or install fablib, the plugin that ships this one along with the rest of its 18 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fabric-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing/github.svg)](https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing)
Your own site
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fabric-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,304 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.03304
Opus 5 $0.00012 $0.01652
Sonnet 5 $0.00005 $0.00661
Haiku 4.5 $0.00002 $0.00330

Measured 12d ago against content hash 052b46b92501, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

fabric-routing scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

node2.execute("echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward")
plugins/fablib/skills/fabric-routing/SKILL.md · 345 lines

How it starts

The opening of the file, as written. The whole thing — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instructions

When invoked, generate code for routing and tunneling on FABRIC nodes. Options include:

  1. Static Routes — Manual IP routing with IP forwarding between subnets
  2. WireGuard VPN — Encrypted overlay network between FABRIC nodes or to external hosts
  3. sshuttle — TCP-over-SSH tunnel for quick access without VPN setup
  4. Performance Tuning — Network buffer and kernel parameter optimization

Ask the user what connectivity problem they're solving.

Use the modern API pattern: create networks with add_l2network(subnet=...), use iface.set_mode('auto') and net.add_interface(iface) for auto IP configuration.

API Reference

IP Routing on Nodes

# High-level route (preferred for FABnet)
node.add_route(
    subnet: IPv4Network | IPv6Network,
    next_hop: IPv4Address | IPv6Address | NetworkService,
)

# Low-level IP configuration (for manual setup)
node.ip_addr_add(addr, subnet, interface, persistent=None)
node.ip_link_up(subnet, interface)
node.ip_route_add(subnet, gateway, interface=None, persistent=None)

Patterns

Static Routes Between Subnets (Three Nodes)

from ipaddress import IPv4Network
from fabrictestbed_extensions.fablib.fablib import FablibManager

fablib = FablibManager()

slice = fablib.new_slice(name="routing-experiment")

[site1, site2, site3] = fablib.get_random_sites(count=3)

net1_subnet = IPv4Network("192.168.1.0/24")
net2_subnet = IPv4Network("192.168.2.0/24")

# Create L2 networks with subnets for auto IP
net1 = slice.add_l2network(name="net1", subnet=net1_subnet)
net2 = slice.add_l2network(name="net2", subnet=net2_subnet)

# Node1 on site1 — connected to net1
node1 = slice.add_node(name="Node1", site=site1, image="default_ubuntu_24")
iface1 = node1.add_component(model="NIC_Basic", name="nic1").get_interfaces()[0]
iface1.set_mode('auto')
net1.add_interface(iface1)

# Node2 on site2 — bridging node with interfaces on both networks
node2 = slice.add_node(name="Node2", site=site2, image="default_ubuntu_24")
iface2a = node2.add_component(model="NIC_Basic", name="nic1").get_interfaces()[0]
iface2a.set_mode('auto')
net1.add_interface(iface2a)

iface2b = node2.add_component(model="NIC_Basic", name="nic2").get_interfaces()[0]
iface2b.set_mode('auto')
net2.add_interface(iface2b)

# Node3 on site3 — connected to net2
node3 = slice.add_node(name="Node3", site=site3, image="default_ubuntu_24")
iface3 = node3.add_component(model="NIC_Basic", name="nic1").get_interfaces()[0]
iface3.set_mode('auto')
net2.add_interface(iface3)

slice.submit()

Read the full file on GitHub · 345 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 345 lines · 24 tokens per session scan B 052b46b92501

Subscribe to this mod's changes

fabric-routing is a skill published in the GitHub repository fabric-testbed/claude-plugin-marketplace (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 3,304 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens