hf-cloud-python-env-setup

hf-cloud-python-env-setup is a skill for Claude Code from waybarrios/opencode-power-pack. It costs 43 tokens per session (1,505 once invoked), scanned A, a copy of hf-cloud-python-env-setup, MIT.

A setup workflow for creating an isolated Python environment for Amazon SageMaker or AWS automation. An isolated environment keeps project packages separate, while boto3 is the Python library used to call AWS services.

In plain words
What is it for?
Use it before executing SageMaker deployment scripts or other AWS automation written in Python. It chooses a supported Python version and installs the needed AWS tooling.
Why use it?
It prevents deployment problems caused by the system Python, an unsuitable Python version, or an SDK that lacks current AWS APIs. It establishes the environment before AWS code is run.

Skill for Claude Code

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

Part of the opencode-power-pack plugin — 55 skills shipped together

Good fit Use it before executing SageMaker deployment scripts or other AWS automation written in Python. It chooses a supported Python version and installs the needed AWS tooling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waybarrios/opencode-power-pack/hf-cloud-python-env-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 waybarrios/opencode-power-pack --skill hf-cloud-python-env-setup
Clone the repo
git clone --depth 1 https://github.com/waybarrios/opencode-power-pack

Made for: Claude Code.

Or install opencode-power-pack, the plugin that ships this one along with the rest of its 55 skills.

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 hf-cloud-python-env-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-setup/github.svg)](https://agentmods.dev/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-setup)
Your own site
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-setup"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-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 hf-cloud-python-env-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-setup"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/hf-cloud-python-env-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,505 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 91% copy Near-identical to another mod 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.00043 $0.01505
Opus 5.5 $0.00017 $0.00602
Sonnet 5.5 $0.00009 $0.00301
Haiku 4.5 $0.00004 $0.00151

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

Security

Grade A, and why

hf-cloud-python-env-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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_versions.py, scripts/setup_env.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

91% identical to hf-cloud-python-env-setup — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/hf-cloud-python-env-setup/SKILL.md · 92 lines

How it starts

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

Python Environment Setup for SageMaker

Most SageMaker deployment failures that look like AWS problems are actually Python environment problems: wrong Python version, broken dependency resolution, stale SDK that doesn't know about a current API. This skill makes env setup boring and correct.

Core rules

  1. Never use the system Python. Always work inside an isolated environment.
  2. Pin the Python version, not the package versions. Use 3.10, 3.11, or 3.12. Avoid 3.13+ — ML libraries lag on wheel availability and dependency resolution breaks in confusing ways.
  3. Install the latest of each package. Don't defensively pin boto3 or awscli. Newer ones have current API surfaces and security fixes. Only pin if the user explicitly requires a specific version.
  4. Check installed versions correctly. Use importlib.metadata.version("package-name"), never module.__version__. The latter is inconsistent across packages.
  5. The bundled scripts use boto3 directly. The SageMaker Python SDK is a valid alternative — see "boto3 vs the SageMaker SDK" below.

boto3 vs the SageMaker SDK

The bundled deploy scripts (deploy.py, deploy_async.py, teardown.py) use boto3 directly and read image URIs from AWS's published Deep Learning Containers catalog. That fits this workflow's explicit-stages design — each skill produces a concrete value (region, role ARN, image URI) that the next one consumes — and boto3 is the stable underlying API client.

The SageMaker Python SDK (v3) is fine to use when the user prefers it or their project already does. Since PR #5960 (June 2026), ModelBuilder auto-routes HuggingFace models to the current containers (text-generation → HuggingFace vLLM, multimodal → vLLM-Omni, embeddings → TEI). Don't avoid the SDK over stale-image or wrong-container concerns — that routing is fixed.

Two specific SDK cases that still need care:

Read the full file on GitHub · 92 lines

Files

What ships with it

3 files 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. 1mo ago First seen · 92 lines · 43 tokens per session scan A da34a42b94e0

Subscribe to this mod's changes

hf-cloud-python-env-setup is a skill published in the GitHub repository waybarrios/opencode-power-pack (539 stars, last pushed 4d ago), licensed MIT. It adds 43 tokens to every session and 1,505 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to hf-cloud-python-env-setup, differing in 3 lines, and is treated as a copy.