agent-fresh-operate

agent-fresh-operate is a skill for Claude Code, Codex from nebius/nebius-physical-ai. It costs 47 tokens per session (4,702 once invoked), scanned C, original, Apache-2.0.

A procedure for deploying, removing, and rebuilding an NPA agent virtual machine from a clean state. It covers setup, provider profiles, verification checks, and recovery when teardown fails.

In plain words
What is it for?
Use it to create or destroy agent machines, repeat setup tests, verify chat endpoints, and troubleshoot deployment failures.
Why use it?
It makes fresh deployments reproducible and avoids unsafe deletion based only on a machine's display name.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash npa/scripts/agent_fresh_setup_loop.sh.

Good fit Use it to create or destroy agent machines, repeat setup tests, verify chat endpoints, and troubleshoot deployment failures.

Compare 6 skills 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/nebius/nebius-physical-ai
agentmods
npx agentmods add skills/nebius/nebius-physical-ai/agent-fresh-operate

Made for: Claude Code, Codex.

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 agent-fresh-operate

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/agent-fresh-operate/github.svg)](https://agentmods.dev/skills/nebius/nebius-physical-ai/agent-fresh-operate)
Your own site
<a href="https://agentmods.dev/skills/nebius/nebius-physical-ai/agent-fresh-operate"><img src="https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/agent-fresh-operate/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 agent-fresh-operate

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebius/nebius-physical-ai/agent-fresh-operate"><img src="https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/agent-fresh-operate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,702 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00047 $0.04702
Opus 5 $0.00023 $0.02351
Sonnet 5 $0.00009 $0.00940
Haiku 4.5 $0.00005 $0.00470

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

Security

Grade C, and why

agent-fresh-operate scanned grade C 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 2d 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.

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.

export NPA_SSH_KEY="${NPA_SSH_KEY:-$HOME/.ssh/id_ed25519}"

Makes network callslowCapability

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

curl -sk -u "${AGENT_USER}:${AGENT_PASSWORD}" "${BASE}/api/models"
skills/workflows/agent-fresh-operate/SKILL.md · 361 lines

How it starts

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

Agent Fresh Operate

When To Use

Use this skill to operate a clean agent VM lifecycle on the operator/dev VM:

  • First-time fresh-setup on a project alias
  • Teardown → redeploy loops (“reproduce from scratch”)
  • Validate /api/models and /api/chat after deploy
  • Debug destroy/fresh-setup failures (IAM, orphan VMs, ingress rules)

For chat UX, API shapes, and Rerun iframe behavior, use npa-agent. For npa configure / object-storage provisioning, use nebius-infra.

Entry Points

  • npa/.venv/bin/npa agent fresh-setup — initialize project env + deploy + bootstrap
  • npa/.venv/bin/npa agent destroy — npa-driven teardown (ingress cleanup, TF destroy, orphan VM delete)
  • If the project stanza is already gone, resume only from the opaque receipt ID printed before removal (agent destroy --receipt <id> --name <name> --yes) or from exact --project-id/--instance-id provider identity. Conflicting receipt, operation-journal, record, or exact identities stop before deletion; NPA never performs a display-name/prefix VM sweep.
  • npa/scripts/agent_fresh_setup_loop.sh — destroy → fresh-setup → smoke chat (loop until success)
  • Exact-name retries after client transport loss adopt a healthy exact VM or resume its first incomplete phase. Do not use --replace solely because the final Terraform/SSH response was lost; mismatched or unavailable evidence is indeterminate and resumable.
  • A completed service installer writes a private receipt before credentials are staged. Interrupted bootstrap retries reuse that install only when its rendered contents match exactly, then restage credentials and verify health. Changed source/settings or a missing receipt require installation again.
  • npa/scripts/agent_mature_verify_loop.sh — bootstrap-first mature loop (existing agents; not fresh deploy)

All npa agent … and nebius commands run on the operator/dev VM with the selected NPA configuration root (NPA_CONFIG_DIR, default ~/.npa). Use the authorized checkout and branch for live tests.

Read the full file on GitHub · 361 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. 2d ago Changed · +26 lines 382cd206468f
  2. 4d ago Changed · +29 lines 3be6adb68fde
  3. 6d ago Changed · +6 lines 22d1dd3c5743
  4. 8d ago First seen · 300 lines · 47 tokens per session scan C 8f0af141088e

Subscribe to this mod's changes

agent-fresh-operate is a skill published in the GitHub repository nebius/nebius-physical-ai (28 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 4,702 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

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

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens