infra-setup

infra-setup is a skill for Claude Code from bayeslabs-rsi/Svatah. It costs 25 tokens per session (968 once invoked), scanned A, original, Apache-2.0.

A setup guide for choosing where software experiments run, such as local worktrees, shared slots, or remote services.

In plain words
What is it for?
Use it to switch experiment providers, check prerequisites, install missing provider SDKs explicitly, and authenticate with services such as AWS, Azure, Modal, E2B, Daytona, or SSH hosts.
Why use it?
It prevents configuration mistakes and checks required tools and login details before changing the experiment setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sva plugin — 6 skills, 3 hooks shipped together

Good fit Use it to switch experiment providers, check prerequisites, install missing provider SDKs explicitly, and authenticate with services such as AWS, Azure, Modal, E2B, Daytona, or SSH hosts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bayeslabs-rsi/svatah/infra-setup
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 bayeslabs-rsi/Svatah --skill infra-setup
Clone the repo
git clone --depth 1 https://github.com/bayeslabs-rsi/Svatah

Made for: Claude Code.

Or install sva, the plugin that ships this one along with the rest of its 6 skills, 3 hooks.

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 infra-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/bayeslabs-rsi/svatah/infra-setup/github.svg)](https://agentmods.dev/skills/bayeslabs-rsi/svatah/infra-setup)
Your own site
<a href="https://agentmods.dev/skills/bayeslabs-rsi/svatah/infra-setup"><img src="https://agentmods.dev/badge/skills/bayeslabs-rsi/svatah/infra-setup/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 infra-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/bayeslabs-rsi/svatah/infra-setup"><img src="https://agentmods.dev/badge/skills/bayeslabs-rsi/svatah/infra-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 968 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.00025 $0.00968
Opus 5 $0.00013 $0.00484
Sonnet 5 $0.00005 $0.00194
Haiku 4.5 $0.00003 $0.00097

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

Security

Grade A, and why

infra-setup 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 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.

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/sva/skills/infra-setup/SKILL.md · 87 lines

How it starts

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

Infra Setup

Use this when the user wants to change where experiments run: local worktrees, pool slots, or a remote provider such as Modal, E2B, Daytona, AWS, Azure, SSH, manual, or a custom dotted-path provider.

Goals

  • Be explicit about the target backend/provider.
  • Check prerequisites before mutating sva config.
  • Never install provider SDKs silently.
  • Give one actionable auth command per provider.
  • Keep provider credentials separate from benchmark runtime env.

Flow

  1. Identify the target:
    • worktree or pool means local backends.
    • modal, e2b, ssh:..., or another remote spec means backend=remote.
  2. If the target is remote, parse the provider choice the same way sva CLI does:
  • modal
  • e2b
  • daytona
  • aws
  • azure
  • manual
  • ssh:user@host[:port]
    • another built-in provider name
    • dotted import path for a custom provider
  1. Check whether sva is on PATH and whether it is the expected svatah-cli package (sva --version). If the provider SDK is missing, sva's provider loader prints the provider-specific extra or SDK package to install; use that message rather than guessing.
  2. For SDK-backed providers, verify the SDK import only when you can run the check in the same environment that owns the sva executable. If missing, ask the user before installing it.
    • If sva was installed with uv tool or pip/venv, prefer the matching extra on svatah-cli:
      • uv-tool: uv tool install --reinstall 'svatah-cli[<provider-extra>]'
      • venv / pip: python -m pip install 'svatah-cli[<provider-extra>]'
    • If sva was installed with pipx, inject the provider SDK into the same svatah-cli environment:
      • pipx: pipx inject svatah-cli <provider-sdk>
  3. Check auth and show exactly one provider-specific auth command or setup step. Use references/provider-matrix.md.
  4. Once prerequisites are satisfied, run the explicit config command:
sva config backend remote --provider <provider> --provider-config ...

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 87 lines · 25 tokens per session scan A 7c1b0ac18031

Subscribe to this mod's changes

infra-setup is a skill published in the GitHub repository bayeslabs-rsi/Svatah (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 968 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

auto-paper-improvement-loop

An automated loop for improving a generated research paper through repeated review, editing, and recompilation. Recompiling rebuilds the paper so changes can be checked in the final document.

AI4Scientist/nano-scientist · 67 tokens

proof-checker

A rigorous proof-checking and repair skill for LaTeX mathematics. LaTeX is a text format commonly used to write mathematical documents.

AI4Scientist/nano-scientist · 90 tokens

citation-audit

Zero-context verification that every bibliographic entry in the paper is real, correctly attributed, and used in a context the cited paper actually supports. Uses a fresh cross-model reviewer with web/DBLP/arXiv lookup to catch hallucinated authors, wrong years, fabricated venues, version mismatches, and wrong-context…

AI4Scientist/nano-scientist · 114 tokens

grant-proposal

A grant-writing workflow that turns research ideas and related literature into structured funding proposals for named national and international grant formats.

AI4Scientist/nano-scientist · 131 tokens

paper-illustration

A tool for creating academic-paper illustrations such as architecture diagrams and method figures with Gemini image generation and Claude-guided revisions.

AI4Scientist/nano-scientist · 67 tokens

paper-navigator

Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA), and read with structured analysis (3-level strategy). Use when: finding papers, reading a paper, related work, citation…

AI4Scientist/nano-scientist · 141 tokens