fabric-containers

fabric-containers is a skill for Claude Code from fabric-testbed/claude-plugin-marketplace. It costs 14 tokens per session (2,260 once invoked), scanned D, original, Apache-2.0.

A deployment guide for running Docker containers and Kubernetes clusters on FABRIC nodes, which are remotely provided research-computing resources.

In plain words
What is it for?
Deploying Docker or Docker Compose workloads, creating FABRIC nodes, and setting up multi-node Kubernetes clusters with Flannel networking.
Why use it?
It turns container workloads into setup code for FABRIC machines, including multi-node Kubernetes environments.

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/.ssh/id_rsa.

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

Good fit Deploying Docker or Docker Compose workloads, creating FABRIC nodes, and setting up multi-node Kubernetes clusters with Flannel networking.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabric-testbed/claude-plugin-marketplace/fabric-containers"><img src="https://agentmods.dev/badge/skills/fabric-testbed/claude-plugin-marketplace/fabric-containers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 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.00014 $0.02260
Opus 5 $0.00007 $0.01130
Sonnet 5 $0.00003 $0.00452
Haiku 4.5 $0.00001 $0.00226

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

Security

Grade D, and why

fabric-containers scanned grade D 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 11d 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.

n.execute('sudo ssh-keygen -t rsa -N "" -f /root/.ssh/id_rsa', quiet=True)

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

n.execute('ssh-keygen -t rsa -N "" -f /home/ubuntu/.ssh/id_rsa', quiet=True)
plugins/fablib/skills/fabric-containers/SKILL.md · 323 lines

How it starts

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

Instructions

When invoked, generate code for container-based workloads on FABRIC. Two main capabilities:

  1. Docker — Container deployment using post-boot scripts or runtime commands
  2. Kubernetes — Multi-node K8s cluster with Flannel CNI across FABRIC sites

Help the user choose the right approach and generate complete setup code.

API Reference

Docker Images

FABRIC provides Docker-ready OS images:

  • docker_rocky_8 — Rocky Linux 8 with Docker pre-configured
  • docker_ubuntu_20 — Ubuntu 20.04 with Docker pre-configured

Post-Boot Docker Setup

node.add_post_boot_upload_directory('node_tools', '.')
node.add_post_boot_execute('node_tools/enable_docker.sh {{ _self_.image }}')

Post-Boot Docker Compose

node.add_post_boot_upload_directory('docker_containers', '.')
node.add_post_boot_execute('cd docker_containers/my_app ; docker compose up -d')

Patterns

Docker Container Deployment

from fabrictestbed_extensions.fablib.fablib import FablibManager

fablib = FablibManager()

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

node = slice.add_node(
    name="docker-node",
    site=fablib.get_random_site(),
    cores=4,
    ram=16,
    disk=100,
    image="docker_rocky_8",
)
node.add_fabnet()

# Enable Docker via post-boot
node.add_post_boot_upload_directory('node_tools', '.')
node.add_post_boot_execute('node_tools/enable_docker.sh {{ _self_.image }}')

slice.submit()
# Run a container
node = slice.get_node(name="docker-node")

stdout, stderr = node.execute(
    "docker run -d -it "
    "--name my_container "
    "fabrictestbed/slice-vm-rocky8-multitool:0.0.1"
)

# View containers
stdout, stderr = node.execute("docker ps -a")
print(stdout)

# Execute commands in container
stdout, stderr = node.execute("docker exec my_container ip addr list")
print(stdout)

Docker Compose via Post-Boot

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

node = slice.add_node(
    name="app-node",
    site=fablib.get_random_site(),
    cores=4,
    ram=16,
    disk=100,
    image="docker_rocky_8",
)

# Upload and start Docker + application
node.add_post_boot_upload_directory('node_tools', '.')
node.add_post_boot_execute('node_tools/enable_docker.sh {{ _self_.image }}')
node.add_post_boot_upload_directory('docker_containers', '.')
node.add_post_boot_execute('cd docker_containers/my_app ; docker compose up -d')

slice.submit()

Read the full file on GitHub · 323 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. 11d ago First seen · 323 lines · 14 tokens per session scan D 61686d7161a1

Subscribe to this mod's changes

fabric-containers 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 14 tokens to every session and 2,260 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). 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

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens