AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

hf-cloud-python-env-setup

Set up an isolated Python environment for SageMaker / AWS work, with the right Python version and current boto3. Use this skill whenever Python code will be executed for a SageMaker deployment, training job, or any AWS automation — including when about to run `pip install`, when about to invoke `boto3`, when creating or activating a virtualenv, or when the user asks to "set up the environment". Never use system Python and never `pip install` into it. Always isolate. This skill prevents the most common failure modes: wrong Python version, dependency conflicts, and stale SDKs.

Original source
huggingface
License
Apache-2.0
Pinned revision
25910b3d0ba31a2ba102f901cdc9e008c278a69c

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read huggingface--hf-cloud-python-env-setup at revision 25910b3d0ba31a2ba102f901cdc9e008c278a69c, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 2

requirements.txt

Core AWS dependencies for SageMaker deployment.

No version pins. We want the latest of each — if scripts break against the

latest, fix the script, not the version. Newer boto3/awscli have current

API surfaces and security fixes.

We do NOT depend on the SageMaker Python SDK (sagemaker / sagemaker-core /

sagemaker-serve). The deployment scripts call boto3 directly, and image URIs

are read from AWS's published catalog page rather than resolved via the SDK.

See hf-cloud-python-env-setup SKILL.md ("Why no SageMaker SDK").

Add per-deployment extras (huggingface_hub for model inspection, transformers

for tokenizer validation) to a deployment-specific requirements file alongside

this one. Do not pin versions here unless you have a documented reason.

boto3 awscli