fabric-slice-create

fabric-slice-create is a skill for Claude Code from fabric-testbed/claude-plugin-marketplace. It costs 17 tokens per session (2,238 once invoked), scanned A, original, Apache-2.0.

A code-writing guide for creating experiment slices on FABRIC, a research testbed where users run network and computing experiments on real infrastructure. It covers selecting nodes, adding hardware, connecting networks, and configuring them after startup.

In plain words
What is it for?
Use it to create a named FABRIC slice with specified CPU, memory, storage, operating-system image, site, GPUs, network cards, NVMe drives, or FPGAs. It also helps configure Layer 2 or Layer 3 networking and post-boot setup.
Why use it?
Setting up a FABRIC experiment requires many infrastructure choices and API calls, and failures can leave resources behind. This helps turn those choices into complete code with error handling and cleanup.

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 create a named FABRIC slice with specified CPU, memory, storage, operating-system image, site, GPUs, network cards, NVMe drives, or FPGAs. It also helps configure Layer 2 or Layer 3 networking and post-boot setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create
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-slice-create
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-slice-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create/github.svg)](https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create)
Your own site
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create/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-slice-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-slice-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00017 $0.02238
Opus 5.5 $0.00007 $0.00895
Sonnet 5.5 $0.00003 $0.00448
Haiku 4.5 $0.00002 $0.00224

Measured 2mo ago against content hash e6ce9ad8f3ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fabric-slice-create scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/fablib/skills/fabric-slice-create/SKILL.md · 318 lines

How it starts

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

Instructions

When invoked, generate code to create a FABRIC experiment slice. Ask the user about:

  1. Slice name
  2. Number and type of nodes (cores, RAM, disk, image, site)
  3. Any special components (GPUs, NICs, NVMe, FPGAs)
  4. Network connectivity needs (L2, L3/FABnet, none)
  5. Post-boot configuration needs

Generate complete, working code including error handling and cleanup on failure.

Use the modern API patterns:

  • For networks: create the network first, then use iface.set_mode('auto') and net.add_interface(iface)
  • For L3 routing: use node.add_route(subnet=fablib.FABNETV4_SUBNET, next_hop=net.get_gateway())
  • For node FABnet shortcut: use node.add_fabnet() for simple cases

API Reference

Creating a Slice

slice = fablib.new_slice(name="my-slice") -> Slice

Adding Nodes

node = slice.add_node(
    name: str,                    # Required: unique node name
    site: str = None,             # Site name (random if None)
    cores: int = 2,               # Number of CPU cores
    ram: int = 8,                 # RAM in GB
    disk: int = 10,               # Disk in GB
    image: str = None,            # OS image (default: latest Ubuntu)
    instance_type: str = None,    # Alternative to cores/ram/disk
    host: str = None,             # Specific host at site
    user_data: dict = {},         # Custom metadata
    validate: bool = False,       # Inline validation
    raise_exception: bool = True, # Raise on validation failure
) -> Node

Adding Components to Nodes

component = node.add_component(
    model: str = None,    # Component model string (see resource-discovery skill)
    name: str = None,     # Unique component name
) -> Component

# Get interfaces from a component
ifaces = component.get_interfaces()
iface = ifaces[0]

Interface Configuration

# Set auto mode for automatic IP configuration
iface.set_mode('auto')  # 'auto', 'manual', or 'config'

# Add interface to a network
net.add_interface(iface)

Read the full file on GitHub · 318 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. 2mo ago First seen · 318 lines · 17 tokens per session scan A e6ce9ad8f3ec

Subscribe to this mod's changes

fabric-slice-create is a skill published in the GitHub repository fabric-testbed/claude-plugin-marketplace (2 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 2,238 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

fabric-slice-create compared with skills from other repositories

fabric-slice-create next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fabric-slice-createfabric-testbed/claude-plugin-marketplaceSkill28mo agoApache-2.0A17Claude Code
neuroskill-bciNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex
ruview-applicationsruvnet/RuViewSkill103kyesterdayMITA79Claude Code
lab-hardware-cadK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA108Claude Code
pylabrobotK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA49Claude Code
pybammK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA70Claude Code, Codex
calibrate-roomruvnet/RuViewSkill103kyesterdayMITA41Claude Code