# Uv Python Workflow

> >

- **Type:** Skill
- **Install:** `agentstack add skill-mitodl-agent-kit-uv-python-workflow`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [mitodl](https://agentstack.voostack.com/s/mitodl)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** BSD-3-Clause
- **Upstream author:** [mitodl](https://github.com/mitodl)
- **Source:** https://github.com/mitodl/agent-kit/tree/main/skills/python/uv-python-workflow

## Install

```sh
agentstack add skill-mitodl-agent-kit-uv-python-workflow
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# uv Python Workflow

All Python dependency and environment management in this codebase uses **`uv`** exclusively.

## Package management

- Add dependencies: `uv add `
- Remove dependencies: `uv remove `
- Install/sync the current project: `uv sync`
- Run a command inside the project environment: `uv run `
- Never use `pip install`, `pip-compile`, or bare `python -m venv`.

## Workspace layout

Projects may be organized as a `uv` workspace. Code locations managed by `dg`
do **not** use `uv` workspaces — they rely on the `dg` workspace instead.

## Docker / container images

When building a Python app inside a Docker image, create a *relocatable* virtual
environment so it works after the image layers are assembled:

```dockerfile
RUN uv venv --relocatable /app/.venv
RUN uv sync --frozen --no-dev
```

Do **not** mount `ol-orchestrate-lib` (or any shared library) as a volume at
runtime. Shared libraries are installed as build-time dependencies only.

## Running pre-commit and type checks

```bash
uv run pre-commit run --all-files
uv run mypy 
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [mitodl](https://github.com/mitodl)
- **Source:** [mitodl/agent-kit](https://github.com/mitodl/agent-kit)
- **License:** BSD-3-Clause

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mitodl-agent-kit-uv-python-workflow
- Seller: https://agentstack.voostack.com/s/mitodl
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
