OpenEnv is a framework for creating, deploying, and using isolated execution environments through simple APIs modeled on Gymnasium. It is intended for researchers and developers training agents with reinforcement learning, as well as creators who need secure environments that can be deployed and accessed through familiar protocols. The catalogue add-ons provide agent integrations and workflows for using OpenEnv.
Borrowing it
Nothing to install: this file belongs to huggingface/OpenEnv. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/huggingface/OpenEnv/main/.claude/skills/deploy-hf/SKILL.mdgit clone --depth 1 https://github.com/huggingface/OpenEnvWrote 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.
[](https://agentmods.dev/skills/huggingface/openenv/deploy-hf)<a href="https://agentmods.dev/skills/huggingface/openenv/deploy-hf"><img src="https://agentmods.dev/badge/skills/huggingface/openenv/deploy-hf/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.
<a href="https://agentmods.dev/skills/huggingface/openenv/deploy-hf"><img src="https://agentmods.dev/badge/skills/huggingface/openenv/deploy-hf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01706 |
| Opus 5.5 | $0.00013 | $0.00682 |
| Sonnet 5.5 | $0.00006 | $0.00341 |
| Haiku 4.5 | $0.00003 | $0.00171 |
Grade A, and why
deploy-hf 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 1mo 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.
curl https://<username>-<space-name>.hf.space/health How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deploy to Hugging Face Spaces
Deploy an OpenEnv environment to Hugging Face Spaces using the OpenEnv CLI.
When to Use This Skill
- User asks to "deploy to Hugging Face"
- User says "push to Hugging Face Spaces"
- User wants to update an existing space
- After implementing new features that need to be tested in production
Prerequisites
Before deploying, ensure:
- The environment has an
openenv.yamlfile - The environment has a
server/Dockerfile - You have Hugging Face credentials configured (automatic via huggingface-cli)
Instructions
1. Identify the Environment
Determine which environment to deploy:
- If user specifies: use that environment (e.g., "carla_env", "browser_env")
- If in environment directory: use current directory
- Otherwise: ask the user
2. Determine the Repository ID
Repository ID format: username/space-name
- If user provides full ID: use it (e.g., "sergiopaniego/carla-env-real-updated")
- If user provides only space name: construct ID with their username
- Check
openenv.yamlfor default repo-id - Otherwise: ask the user
3. Pre-Deployment Setup
IMPORTANT: Always run from the project root directory.
Before deploying, ensure OpenEnv is installed:
cd /path/to/OpenEnv # Navigate to project root if needed
uv pip install -e .
If this fails with "does not appear to be a Python project", you're not in the project root.
4. Run the Deployment Command
Execute the deployment:
PYTHONPATH=src uv run python -m openenv.cli push <environment-dir> --repo-id <username/space-name>
Parameters:
<environment-dir>: Path to environment (e.g.,envs/carla_env)--repo-id: Hugging Face Spaces repository ID (e.g.,sergiopaniego/carla-env-real-updated)
Optional flags:
--private: Deploy as a private space--no-interface: Disable the web interface (deploy API-only)--base-image <image>: Override the base Docker image--hardware <hw>/-H <hw>: Request Hugging Face Space hardware (e.g.t4-medium,a10g-small,cpu-basic)
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.
- 1mo ago First seen · 220 lines · 32 tokens per session scan A 2a56ced432e9
deploy-hf is a skill published in the GitHub repository huggingface/OpenEnv (2,739 stars, last pushed 8d ago), licensed BSD-3-Clause. It adds 32 tokens to every session and 1,706 once invoked, about $0.0001 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-31.
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…
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 generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…
gke-workload-security
Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…
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…
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.
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".