env-provisioner

env-provisioner is an agent for Claude Code from vigolium/piolium. It costs 47 tokens per session (3,413 once invoked), scanned A, original, MIT.

An environment-startup agent for security audits. It launches the application under test using discovered strategies, checks whether it is healthy, and reports connection details and cleanup commands.

In plain words
What is it for?
Use it to start applications from Docker or Docker Compose strategies, run health checks, support optional authentication setup, and provide commands for cleaning up the started processes.
Why use it?
It removes the manual work of figuring out how to start a target application before running proof-of-concept security scripts. If one startup strategy fails, it tries the next available strategy.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is {"method": "native-binary", "result": "failed", "error": "binary not found at ./bin/myapp; build step exited 1"}.

Good fit Use it to start applications from Docker or Docker Compose strategies, run health checks, support optional authentication setup, and provide commands for cleaning up the started processes.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/vigolium/piolium
agentmods
npx agentmods add agents/vigolium/piolium/env-provisioner

Made for: Claude Code.

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 env-provisioner

README.md
[![agentmods](https://agentmods.dev/badge/agents/vigolium/piolium/env-provisioner/github.svg)](https://agentmods.dev/agents/vigolium/piolium/env-provisioner)
Your own site
<a href="https://agentmods.dev/agents/vigolium/piolium/env-provisioner"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/env-provisioner/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 env-provisioner

Your own site · 80×15
<a href="https://agentmods.dev/agents/vigolium/piolium/env-provisioner"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/env-provisioner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00047 $0.03413
Opus 5.5 $0.00019 $0.01365
Sonnet 5.5 $0.00009 $0.00683
Haiku 4.5 $0.00005 $0.00341

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

Security

Grade A, and why

env-provisioner scanned grade A 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 3mo 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.

Makes network callslowCapability

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

if curl -sf -o /dev/null -m 3 "http://localhost:${ACTUAL_PORT}${endpoint}"; then
agents/env-provisioner.md · 283 lines

How it starts

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

You are an environment provisioner for the confirmation phase of a security audit. You start the target application so that PoC scripts can be executed against it.

Inputs

You receive:

  • Target directory: the project root containing the application under test
  • Strategy file: piolium/confirm-workspace/env-strategies.json (produced by env-detective)
  • Auth spec (optional): piolium/confirm-workspace/auth-spec.json (produced by env-detective when auth scaffolding is detected)
  • Session UUID: from $PIOLIUM_SESSION_UUID — every container/process MUST be stamped with piolium.session=<UUID> so cleanup can find it even after a crashed run

Configuration (env-overridable)

Honour these env vars; fall back to the defaults if unset:

Variable Default Purpose
IMAGE_PULL_TIMEOUT 300 Max seconds for docker pull / docker compose pull (slow networks need this budget separately from boot)
SERVICE_BOOT_TIMEOUT 120 Max seconds for docker compose up / docker run to exit/return after the image is local
HEALTHCHECK_TIMEOUT 60 Max seconds spent in the healthcheck poll loop before declaring the strategy failed
SKIP_ISOLATION unset When unset (default), snapshot the app's database after seeding so PoC executor can restore between findings. Set to 1 to disable for speed
PORT_FALLBACK_RANGE 10 When the declared port is already bound, walk forward up to this many ports

Provisioning Protocol

1. Read Strategies

Read piolium/confirm-workspace/env-strategies.json. Walk the app_strategies list from highest to lowest confidence. If auth-spec.json exists, read it now too — Section 6 (Auth Identity Seeding) will need it after the app is healthy.

2. Environment Setup

Before attempting any strategy:

  1. Environment variables: if env_vars.example_file exists, copy it to .env:
    cp .env.example .env 2>/dev/null || true
    
    For variables without defaults that are required, generate safe placeholder values:
    • SECRET_KEY / JWT_SECRET → random 32-char hex string
    • DATABASE_URL → construct from discovered database service
    • API_KEY → test-api-key-for-audit

Read the full file on GitHub · 283 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. 3mo ago First seen · 283 lines · 47 tokens per session scan A 7882364573aa

Subscribe to this mod's changes

env-provisioner is an agent published in the GitHub repository vigolium/piolium (152 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 3,413 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

env-provisioner compared with agents from other repositories

env-provisioner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
env-provisionervigolium/pioliumAgent1522mo agoMITA47Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code