fabric-fpga

fabric-fpga is a skill for Claude Code from fabric-testbed/claude-plugin-marketplace. It costs 19 tokens per session (2,277 once invoked), scanned B, original, Apache-2.0.

A code-writing guide for using Xilinx U280 FPGA cards on FABRIC nodes. An FPGA is programmable hardware used for specialized or accelerated computation; the guide covers preparing the card and loading its bitstream, the file that programs it.

In plain words
What is it for?
Use it to create a FABRIC slice with a U280 FPGA, install the required tools, flash SmartNIC firmware or an Alveo shell, rescan the PCI devices, and check that the Xilinx hardware is visible.
Why use it?
FPGA experiments require the right FABRIC site, tools, flashing workflow, device rescan, and verification steps. This guide organizes those steps for three supported workflows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ubuntu/fpga-tools.

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

Good fit Use it to create a FABRIC slice with a U280 FPGA, install the required tools, flash SmartNIC firmware or an Alveo shell, rescan the PCI devices, and check that the Xilinx hardware is visible.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add fabric-testbed/claude-plugin-marketplace
Claude Code
/plugin install fablib

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-fpga

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-fpga"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-fpga.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,277 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00019 $0.02277
Opus 5 $0.00010 $0.01138
Sonnet 5 $0.00004 $0.00455
Haiku 4.5 $0.00002 $0.00228

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

Security

Grade B, and why

fabric-fpga scanned grade B with 2 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 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.

f"sudo {tools_location}/Vivado_Lab_Lin_{version}/xsetup "

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

f"curl -k -u {nginx_user}:{nginx_password} "
plugins/fablib/skills/fabric-fpga/SKILL.md · 286 lines

How it starts

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

Instructions

When invoked, generate code to provision FPGA nodes on FABRIC and flash bitstreams. There are three main workflows:

  1. ESnet — Docker-based SmartNIC firmware using esnet-smartnic-fw
  2. NEU — Vivado Lab Tools CLI-based flashing
  3. XDMA — Alveo shell-based flashing with xbflash2

Help the user choose the right workflow and generate setup code including slice creation, tool installation, flashing, PCI rescan, and verification.

API Reference

FPGA Component

# Only available FPGA model
node.add_component(model='FPGA_Xilinx_U280', name='fpga1')

Finding Sites with FPGAs

site = fablib.get_random_site(
    filter_function=lambda x: x['fpga_u280_available'] > 0
)

PCI Rescan (After Flashing)

# FABlib method (preferred)
node.rescan_pci(component_name="fpga1")

# Verify devices
stdout, _ = node.execute("lspci | grep Xilinx")

Patterns

FPGA Slice Creation

from fabrictestbed_extensions.fablib.fablib import FablibManager

fablib = FablibManager()

site = fablib.get_random_site(
    filter_function=lambda x: x['fpga_u280_available'] > 0
)

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

node = slice.add_node(
    name="fpga-node",
    site=site,
    cores=8,
    ram=32,
    disk=200,
    image="docker_ubuntu_20",
)
node.add_component(model="FPGA_Xilinx_U280", name="fpga1")
node.add_fabnet()

slice.submit()

ESnet Workflow (Docker-Based)

node = slice.get_node(name="fpga-node")

# Download Docker images and firmware from FABRIC storage
nginx_user = "fpga_tools"
nginx_password = "secret-password"
tools_location = "/home/ubuntu"

downloads = [
    "smartnic-docker-images/smartnic-dpdk-docker.tar.gz",
    "smartnic-docker-images/xilinx-labtools-docker-2023.2_1013_2256.tar.gz",
    "esnet-smartnic-fw/esnet-smartnic-fw.tar.gz",
]

for file in downloads:
    node.execute(
        f"curl -k -u {nginx_user}:{nginx_password} "
        f"https://resources.fabric-testbed.net/fpga-tools/{file} "
        f"> {tools_location}/{file.split('/')[-1]}"
    )

Read the full file on GitHub · 286 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 · 286 lines · 19 tokens per session scan B 0fff1054a732

Subscribe to this mod's changes

fabric-fpga 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 19 tokens to every session and 2,277 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens